Azure / Azure/azure-rest-api-specs
Potentially outdated ARM template specification for AutoscaleSetting property in microsoft.insights/autoscalesettings
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
In the microsoft.insights/autoscalesettings ARM Template reference under AutoscaleSetting object, the `enabled` property is listed as not required: https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/autoscalesettings?tabs=json
However, after leaving out the `enabled property` in my ARM template, autoscaling for my App Service Plan was not enabled. I had to explicitly enable this in my ARM template for my Autoscale rules to take effect.
Is this documentation potentially incorrect? The default value is true, but in order for my autoscale rules to work I had to define it explicitly.
If this not the right place to raise this issue, please let me know where I can raise the issue :)
Contributor guide
Research direction
Start with the linked Microsoft.Insights/autoscalesettings ARM template reference and inspect the AutoscaleSetting.enabled property specification. Compare its documented required/default behavior with the reported deployment behavior; done means the reference accurately explains whether enabled must be set explicitly for autoscale rules to take effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100