{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azure Monitor Action Groups Predictive Metrics API",
    "version": "2022-06-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": "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
}