Azure / Azure/azure-cli

az resource update command fails on all resources of type publicIPAddresses.

Đang mở
#16,653 1 bình luận 0 reaction 1 người được giao Được @zhoxing-ms nhận Xem trên GitHub
act-identity-squad ARM feature-request
Ngôn ngữ chính
Python
Star
4.6k
Fork
3.5k
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
60

Mô tả

The az resource update command fails on all resources of type publicIPAddresses.

> az resource update --id $resource.id

BadRequestError: Resource /subscriptions/SUBID/resourceGroups/RGID/providers/Microsoft.Network/publicIPAddresses/IPID has an existing availability zone constraint 1, 2, 3 and the request has availability zone constraint NoZone, which do not match. Zones cannot be added/updated/removed once the resource is created. The resource cannot be updated from regional to zonal or vice-versa

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: e76a8ad2-efd8-9e8a-9b2b-eebeb1e9d1d4
* Version Independent ID: 280b7ea9-eb6c-9601-464b-09bf8e0cff5d
* Content: [az resource](https://docs.microsoft.com/en-us/cli/azure/resource?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/resource.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/resource.yml)
* Service: **azure-resource-manager**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.