From 27d77494b1c78b2547e603f1c96a3de4a95784f5 Mon Sep 17 00:00:00 2001 From: karthikka4820 <88366202+karthikka4820@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:24:58 -0700 Subject: [PATCH] Update compute.json 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 - https://github.com/Azure/azure-rest-api-specs/issues/10190 --- .../Microsoft.Compute/stable/2021-11-01/compute.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json index 30c7da4aa986..03f42c8dbf6d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json @@ -13262,6 +13262,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",