Skip to content

Commit

Permalink
Update compute.json (#16482)
Browse files Browse the repository at this point in the history
When a customer tries to scale VMSS using Terraform, since the current definitions do not have publicIpPrefix property, the new VM will be assigned a random IP address which is outside the range of public Ip prefix. Customer has to resolve the issue by deleting the Vmss and recreating it. This PR tries to resolve the issue by adding the publicIpPrefix property in the JSON definition which is used to generate a request for VMSS update.

More details about the issue can be found here - #10190
  • Loading branch information
karthikka4820 authored Dec 16, 2021
1 parent 4ae766e commit 2fb16b5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14125,6 +14125,10 @@
"$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings",
"description": "The dns settings to be applied on the publicIP addresses ."
},
"publicIPPrefix": {
"$ref": "#/definitions/SubResource",
"description": "The PublicIPPrefix from which to allocate publicIP addresses."
},
"deleteOption": {
"type": "string",
"description": "Specify what happens to the public IP when the VM is deleted",
Expand Down

0 comments on commit 2fb16b5

Please sign in to comment.