Azure / Azure/azure-rest-api-specs
`Microsoft.Network/virtualNetworks` - `peeringState` not marked as readonly
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
From the issue reported under https://github.com/Azure/azure-resource-manager-schemas/issues/1551, this field is not settable with a PUT and should be marked as readonly.
https://github.com/Azure/azure-rest-api-specs/blob/88e7838a09868a51de3894114355c75929847a46/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualNetwork.json#L1610-L1622
Please also ensure that other API versions with the same issue are fixed.
Contributor guide
Research direction
Start with specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualNetwork.json around lines 1610-1622 and compare the peeringState definition with related API versions. Check how readonly fields are represented in these specifications, update every version with the same issue, and run the repository's schema validation to confirm the changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100