Azure / Azure/azure-rest-api-specs
change Microsoft.Insights/scheduledQueryRules enabled property to boolean
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
The enabled property is defined as a string enum with values **"true"** and **"false"**, as [the documentation](https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-04-16/scheduledQueryRules) reflects.
In other places - like [Microsoft.Insights/metricAlerts](https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-03-01/metricalerts) - the same property is defined as boolean, accepting values **true** and **false**.
Please change the property to boolean to improve consistency.
Contributor guide
Research direction
Start by locating the Microsoft.Insights scheduledQueryRules specification and read the definition of its enabled property. Confirm the current string enum and compare it with the metricAlerts definition; done means the scheduledQueryRules property accepts boolean true and false consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100