Skip to content

Failed to enable Zone-redundant for Public IP #9526

Open

Description

Symptom:
According by azure doc, seems “Public IP” supports “Zone-redundant” when “Sku” is “Standard”. After tried with rest api, seems it failed and threw below error message while passing “Zone-redundant” to service side. If it's a bug, could you help to fix it? Thanks.

PUT https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/acctestRG-pip-tester2/providers/Microsoft.Network/publicIPAddresses/acctestpublicip-tester2

Request body:
{
"location": "westus2",
"properties": {
"publicIPAllocationMethod": "Static",
"publicIPAddressVersion": "IPv4",
"idleTimeoutInMinutes": 4
},
"sku": {
"name": "Standard"
},
"tags": {},
"zones": [
"Zone-redundant"
]
}

Response body:
network.PublicIPAddressesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidAvailabilityZone" Message="The zone(s) 'Zone-redundant' for resource 'Microsoft.Network/publicIPAddresses/acctestpublicip-tester2' is not supported. The supported zones for location 'westus2' are '1,2,3'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions