{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azure Monitor Autoscale API",
    "version": "2022-10-01"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Autoscale Settings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure Monitor List autoscale settings in a resource group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Lists the autoscale settings for a resource group. Returns all configured autoscale settings within the specified resource group."
        },
        {
          "info": {
            "name": "Azure Monitor List autoscale settings in a subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/providers/Microsoft.Insights/autoscalesettings",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Lists the autoscale settings for a subscription. Returns all configured autoscale settings within the specified subscription."
        },
        {
          "info": {
            "name": "Azure Monitor Get an autoscale setting",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings/:autoscaleSettingName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "autoscaleSettingName",
                "value": "",
                "type": "path",
                "description": "The autoscale setting name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Gets an autoscale setting by name from a resource group."
        },
        {
          "info": {
            "name": "Azure Monitor Create or update an autoscale setting",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings/:autoscaleSettingName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "autoscaleSettingName",
                "value": "",
                "type": "path",
                "description": "The autoscale setting name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates an autoscale setting. Autoscale settings define the rules and profiles for automatically scaling Azure resources."
        },
        {
          "info": {
            "name": "Azure Monitor Update an autoscale setting",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings/:autoscaleSettingName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "autoscaleSettingName",
                "value": "",
                "type": "path",
                "description": "The autoscale setting name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing autoscale setting resource. Only tag and property changes are supported."
        },
        {
          "info": {
            "name": "Azure Monitor Delete an autoscale setting",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings/:autoscaleSettingName",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "autoscaleSettingName",
                "value": "",
                "type": "path",
                "description": "The autoscale setting name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              }
            ]
          },
          "docs": "Deletes an autoscale setting from a resource group."
        }
      ]
    },
    {
      "info": {
        "name": "Predictive Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure Monitor Get predictive autoscale metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Insights/autoscalesettings/:autoscaleSettingName/predictiveMetrics",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "The ID of the target subscription."
              },
              {
                "name": "resourceGroupName",
                "value": "",
                "type": "path",
                "description": "The name of the resource group."
              },
              {
                "name": "autoscaleSettingName",
                "value": "",
                "type": "path",
                "description": "The autoscale setting name."
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Client API version."
              },
              {
                "name": "timespan",
                "value": "",
                "type": "query",
                "description": "The timespan of the query in ISO 8601 format."
              },
              {
                "name": "interval",
                "value": "",
                "type": "query",
                "description": "The interval of the query in ISO 8601 duration format."
              },
              {
                "name": "metricNamespace",
                "value": "",
                "type": "query",
                "description": "Metric namespace to query."
              },
              {
                "name": "metricName",
                "value": "",
                "type": "query",
                "description": "The names of the metrics to retrieve."
              },
              {
                "name": "aggregation",
                "value": "",
                "type": "query",
                "description": "The list of aggregation types to retrieve."
              }
            ]
          },
          "docs": "Get predictive autoscale metric data for an autoscale setting. Returns predicted values based on the autoscale setting's predictive policy."
        }
      ]
    }
  ],
  "bundled": true
}