Azure / Azure/azure-rest-api-specs

Potentially outdated ARM template specification for AutoscaleSetting property in microsoft.insights/autoscalesettings

Open
#15,423 1 comment 0 reactions 0 assignees View on GitHub
customer-reported Monitor - Autoscale question Service Attention
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.