Azure / Azure/azure-rest-api-specs
`Microsoft.Network/applicationSecurityGroups` - `location` is not marked as `required`.
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
In the following definition, the `location` property should be required, as it must be provided on a `PUT`:
https://github.com/Azure/azure-rest-api-specs/blob/b69b3fa5c26c94aa6efe6dadb76f599c204f297b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/applicationSecurityGroup.json#L353-L371
Initially reported here: https://github.com/Azure/bicep/issues/5071
Contributor guide
Research direction
Open specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/applicationSecurityGroup.json and inspect the application security group definition around lines 353-371. Confirm how required properties are represented in nearby definitions, then update the location property so the specification reflects the PUT requirement and review the resulting diff.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100