Deploy an Autoscale Setting for Virtual Machine ScaleSet
The following template deploys a Virtual Machine ScaleSet + Autoscale Setting for Virtual Machine ScaleSet plan based on a single metric.
If the metric is above the upper threshold, the example autoscale setting will scale out the instance count. If the metric is below the lower threshold, the example autoscale setting will scale in the instance count. This sample illustrates how easy it is to automate autoscale setting configuration for Virtual Machine ScaleSets via templates.
Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/loadBalancers, Microsoft.Compute/virtualMachineScaleSets, Microsoft.Insights/autoscalesettings, PercentChangeCount