Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.62k stars 5.04k forks source link

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

Open willvelida opened 3 years ago

willvelida commented 3 years ago

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 :)

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzMonEssential.

Issue Details
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 :)
Author: willvelida
Assignees: ruowan
Labels: `Monitor - Autoscale`, `Service Attention`, `customer-reported`, `needs-triage`, `question`
Milestone: -