Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.63k stars 5.08k forks source link

`Microsoft.Network/virtualNetworks` resource missing various `required` definitions #16265

Open anthony-c-martin opened 3 years ago

anthony-c-martin commented 3 years ago

I suspect this also applies to different Microsoft.Network resources, different properties, and different API versions.

First raised here: https://github.com/Azure/bicep/issues/784#issuecomment-932373032

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vnetsuppgithub.

Issue Details
* "properties" is not marked as required, even though it MUST be specified on a PUT https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualNetwork.json#L1851-L1855 * "location" is not marked as required, even though it's required on a PUT: https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/network.json#L156-L159 I suspect this also applies to different `Microsoft.Network` resources, different properties, and different API versions. First raised here: https://github.com/Azure/bicep/issues/784#issuecomment-932373032
Author: anthony-c-martin
Assignees: zhenglaizhang
Labels: `Service Attention`, `Network - Virtual Network`, `needs-triage`
Milestone: -