Azure / Azure/azure-rest-api-specs
Microsoft.Insights/components - retentionInDays incorrectly marked `readonly`
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
Originally reported under https://github.com/Azure/bicep/issues/3212. On testing, the service actually allows this value to be modified via a PUT.
See https://github.com/Azure/azure-rest-api-specs/blob/b5f8384dac84b9a5b3870507502999942e6d9b05/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json#L552-L556
This may also affect other apiVersions.
Contributor guide
Research direction
Start with specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json around lines 552-556 and inspect the retentionInDays definition. Check whether other apiVersions contain the same readonly marking, then update the affected specification entries and verify that retentionInDays is writable as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100