Skip to content

Commit

Permalink
Azure Templates | Update VMSS LBs to use existing pools
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-danhe authored Jul 31, 2024
1 parent 2682698 commit dc3015e
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions azure/templates/marketplace-vmss/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,21 +404,12 @@
"validationMessage": "Resource Id only allow alphanumeric characters, periods, underscores, hyphens, slash, and parenthesis"
}
},
{
"name": "elbInfoBox",
"type": "Microsoft.Common.InfoBox",
"visible": "[and(equals(steps('autoprovision').upgrading, 'yes'), not(equals(steps('autoprovision').deploymentMode, 'ILBOnly')))]",
"options": {
"icon": "Info",
"text": "Make sure you have created a new backend address pool for the target external load balancer."
}
},
{
"name": "elbBEAddressPoolName",
"type": "Microsoft.Common.TextBox",
"visible": "[and(equals(steps('autoprovision').upgrading, 'yes'), not(equals(steps('autoprovision').deploymentMode, 'ILBOnly')))]",
"label": "External load balancer's new backend pool name",
"toolTip": "The name of the new Target External Load Balancer's Backend Pool.",
"label": "Target external load balancer's backend pool name",
"toolTip": "The name of the target external load Balancer's Backend Pool.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z_\\-\\.\\/\\(\\)]",
Expand All @@ -438,21 +429,12 @@
"validationMessage": "Resource Id only allow alphanumeric characters, periods, underscores, hyphens, slash, and parenthesis"
}
},
{
"name": "ilbInfoBox",
"type": "Microsoft.Common.InfoBox",
"visible": "[and(equals(steps('autoprovision').upgrading, 'yes'), not(equals(steps('autoprovision').deploymentMode, 'ELBOnly')))]",
"options": {
"icon": "Info",
"text": "Make sure you have created a new backend address pool for the target internal load balancer."
}
},
{
"name": "ilbBEAddressPoolName",
"type": "Microsoft.Common.TextBox",
"visible": "[and(equals(steps('autoprovision').upgrading, 'yes'), not(equals(steps('autoprovision').deploymentMode, 'ELBOnly')))]",
"label": "Internal load balancer's new backend pool name",
"toolTip": "The name of the new target internal load balancer's backend pool.",
"label": "Target internal load balancer's backend pool name",
"toolTip": "The name of the target internal load balancer's backend pool.",
"constraints": {
"required": true,
"regex": "^[a-z0-9A-Z_\\-\\.\\/\\(\\)]",
Expand Down

0 comments on commit dc3015e

Please sign in to comment.