Autoscale Setting Provision
A 3-step recipe with Azure Monitor. We can help you get access.
Recipe · 3 steps
Autoscale Setting Provision
with Azure Monitor · Capacity & Performance Management
Create an autoscale setting, confirm it, and read its predictive metrics.
- Create or update an autoscale setting with one profile that scales out by one instance on high CPU and in by one instance on low CPU.
- Read the autoscale setting back to confirm it is enabled and capture its profiles.
- Query the predictive autoscale metric data for the setting over the supplied timespan and interval.
What you'll need to have ready
- subscriptionId: The ID of the target subscription.
- resourceGroupName: The name of the resource group.
- autoscaleSettingName: The autoscale setting name.
- location: The Azure location for the autoscale setting resource.
- targetResourceUri: The resource identifier of the resource to autoscale.
- metricResourceUri: The resource identifier of the resource the scale rule monitors.
- timespan: The timespan of the predictive metrics query in ISO 8601 format.
- interval: The interval of the predictive metrics query in ISO 8601 duration format.
For your developer
Arazzo workflow microsoft-azure-monitor:provision-autoscale-setting, 3 operations: AutoscaleSettings_CreateOrUpdate → AutoscaleSettings_Get → PredictiveMetric_Get. Specs on APIs.io.