Microsoft Azure Anomaly Alerting API

The AnomalyAlerting API from Microsoft Azure, for anomalyalerting.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /alert/anomaly/configurations/{configurationId} Get an anomaly alerting configuration · Microsoft Azure Query A Single Anomaly Alerting Configuration #
Ask an LLM
“What hooks and metric rules does a specific anomaly alert configuration use?”
“Can I look up one alerting configuration by its id?”
Tell an agent
Get anomaly alerting configuration {configurationId}.
Show the settings of alert configuration {configurationId}.
PATCH /alert/anomaly/configurations/{configurationId} Update an anomaly alerting configuration · Microsoft Azure Update Anomaly Alerting Configuration #
Ask an LLM
“Can I change which hooks an existing anomaly alert notifies?”
“How do I rename or re-split an alert configuration by dimensions?”
Tell an agent
Update alerting configuration {configurationId} to notify hooks {hookIds}.
Rename existing alert configuration {configurationId} to {name}.
DELETE /alert/anomaly/configurations/{configurationId} Delete an anomaly alerting configuration · Microsoft Azure Delete Anomaly Alerting Configuration #
Ask an LLM
“Can I remove an anomaly alert configuration I no longer want?”
“What id do I need to delete an alerting configuration?”
Tell an agent destructive · confirm first
Delete anomaly alerting configuration {configurationId}.
Remove the alert configuration {configurationId} so it stops firing.
POST /alert/anomaly/configurations Create an anomaly alerting configuration · Microsoft Azure Create Anomaly Alerting Configuration #
Ask an LLM
“How do I set up alerts when anomalies are detected on my metrics?”
“Can one new alert configuration combine several metrics with a cross-metric operator?”
Tell an agent
Create an anomaly alerting configuration named {name} that notifies hooks {hookIds} using rules {metricAlertingConfigurations}.
Set up a new alert {name} across metrics {metricAlertingConfigurations} joined by {crossMetricsOperator}, sent to {hookIds}.
POST /alert/anomaly/configurations/{configurationId}/alerts/query Query alerts fired by an alerting configuration · Microsoft Azure Query Alerts Under Anomaly Alerting Configuration #
Ask an LLM
“Which alerts did an anomaly alert configuration fire last week?”
“Can I page through alerts for a configuration within a time window?”
Tell an agent
Find alerts from configuration {configurationId} between {startTime} and {endTime} using time mode {timeMode}.
Query up to {maxpagesize} alerts per page for configuration {configurationId} from {startTime} to {endTime} by {timeMode}.
GET /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies List anomalies behind a specific alert · Microsoft Azure Query Anomalies Under A Specific Alert #
Ask an LLM
“What anomalies triggered a particular alert?”
“Can I drill into the individual anomalies inside one alert?”
Tell an agent
List anomalies for alert {alertId} under configuration {configurationId}.
Show the anomaly points behind alert {alertId} from configuration {configurationId}, skipping {skip}.
GET /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents List incidents behind a specific alert · Microsoft Azure Query Incidents Under A Specific Alert #
Ask an LLM
“Which incidents are grouped under a particular anomaly alert?”
“Can I page through the incidents attached to one alert?”
Tell an agent
List incidents for alert {alertId} under configuration {configurationId}.
Show {maxpagesize} incidents per page for alert {alertId} in configuration {configurationId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-anomalyalerting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-anomalyalerting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Metrics Advisor Anomaly Alerting API
  description: Microsoft Azure Metrics Advisor REST API (OpenAPI v2)
  version: '1.0'
security:
- apim_key: []
  ma_api_key: []
tags:
- name: AnomalyAlerting
paths:
  /alert/anomaly/configurations/{configurationId}:
    get:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Query A Single Anomaly Alerting Configuration
      operationId: microsoftAzureGetanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnomalyAlertingConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-examples:
        Query a single anomaly alerting configuration:
          $ref: ./examples/getAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
    patch:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Update Anomaly Alerting Configuration
      operationId: microsoftAzureUpdateanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnomalyAlertingConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-examples:
        Update anomaly alerting configuration:
          $ref: ./examples/updateAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/AnomalyAlertingConfigurationPatch'
        description: anomaly alerting configuration
        required: true
    delete:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Delete Anomaly Alerting Configuration
      operationId: microsoftAzureDeleteanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: The resource is deleted successfully or does not exist.
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-examples:
        Delete anomaly alerting configuration:
          $ref: ./examples/deleteAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
  /alert/anomaly/configurations:
    post:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Create Anomaly Alerting Configuration
      operationId: microsoftAzureCreateanomalyalertingconfiguration
      responses:
        '201':
          description: Success
          headers:
            Location:
              description: Location of the newly created resource.
              schema:
                type: string
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-examples:
        Create anomaly alerting configuration:
          $ref: ./examples/createAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnomalyAlertingConfiguration'
        description: anomaly alerting configuration
        required: true
  /alert/anomaly/configurations/{configurationId}/alerts/query:
    post:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Query Alerts Under Anomaly Alerting Configuration
      operationId: microsoftAzureGetalertsbyanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      - in: query
        name: $skip
        description: for paging, skipped number
        schema:
          type: integer
          format: int32
      - in: query
        name: $maxpagesize
        description: the maximum number of items in one page
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query alerts under anomaly alerting configuration:
          $ref: ./examples/getAlertsByAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertingResultQuery'
        description: query alerting result request
        required: true
  /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies:
    get:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Query Anomalies Under A Specific Alert
      operationId: microsoftAzureGetanomaliesfromalertbyanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: alertId
        description: alert id
        required: true
        schema:
          type: string
      - in: query
        name: $skip
        description: for paging, skipped number
        schema:
          type: integer
          format: int32
      - in: query
        name: $maxpagesize
        description: the maximum number of items in one page
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnomalyResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query anomalies under a specific alert:
          $ref: ./examples/getAnomaliesFromAlertByAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
  /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents:
    get:
      tags:
      - AnomalyAlerting
      summary: Microsoft Azure Query Incidents Under A Specific Alert
      operationId: microsoftAzureGetincidentsfromalertbyanomalyalertingconfiguration
      parameters:
      - in: path
        name: configurationId
        description: anomaly alerting configuration unique id
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: alertId
        description: alert id
        required: true
        schema:
          type: string
      - in: query
        name: $skip
        description: for paging, skipped number
        schema:
          type: integer
          format: int32
      - in: query
        name: $maxpagesize
        description: the maximum number of items in one page
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query incidents under a specific alert:
          $ref: ./examples/getIncidentsFromAlertByAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
components:
  schemas:
    ValueCondition:
      required:
      - direction
      type: object
      properties:
        lower:
          format: double
          description: 'lower bound


            should be specified when direction is Both or Down'
          type: number
        upper:
          format: double
          description: 'upper bound


            should be specified when direction is Both or Up'
          type: number
        direction:
          description: value filter direction
          enum:
          - Both
          - Down
          - Up
          type: string
          x-ms-enum:
            name: Direction
            modelAsString: true
        type:
          description: data used to implement value filter
          default: Value
          enum:
          - Value
          - Mean
          type: string
          x-ms-enum:
            name: ValueType
            modelAsString: true
        metricId:
          format: uuid
          description: the other metric unique id used for value filter
          type: string
        triggerForMissing:
          description: 'trigger alert when the corresponding point is missing in the other metric


            should be specified only when using other metric to filter'
          type: boolean
    AlertResultList:
      required:
      - value
      type: object
      properties:
        '@nextLink':
          type: string
          readOnly: true
        value:
          type: array
          items:
            $ref: '#/components/schemas/AlertResult'
    AnomalyResult:
      required:
      - dimension
      - property
      - timestamp
      type: object
      properties:
        dataFeedId:
          format: uuid
          description: 'data feed unique id


            only return for alerting anomaly result'
          type: string
          readOnly: true
        metricId:
          format: uuid
          description: 'metric unique id


            only return for alerting anomaly result'
          type: string
          readOnly: true
        anomalyDetectionConfigurationId:
          format: uuid
          description: 'anomaly detection configuration unique id


            only return for alerting anomaly result'
          type: string
          readOnly: true
        timestamp:
          format: date-time
          description: anomaly time
          type: string
        createdTime:
          format: date-time
          description: 'created time


            only return for alerting result'
          type: string
          readOnly: true
        modifiedTime:
          format: date-time
          description: 'modified time


            only return for alerting result'
          type: string
          readOnly: true
        dimension:
          description: dimension specified for series
          type: object
          additionalProperties:
            type: string
        property:
          $ref: '#/components/schemas/AnomalyProperty'
    AlertResult:
      type: object
      properties:
        alertId:
          description: alert id
          type: string
          readOnly: true
        timestamp:
          format: date-time
          description: anomaly time
          type: string
          readOnly: true
        createdTime:
          format: date-time
          description: created time
          type: string
          readOnly: true
        modifiedTime:
          format: date-time
          description: modified time
          type: string
          readOnly: true
    TopNGroupScope:
      required:
      - minTopCount
      - period
      - top
      type: object
      properties:
        top:
          format: int32
          description: 'top N, value range : [1, +∞)'
          type: integer
        period:
          format: int32
          description: 'point count used to look back, value range : [1, +∞)'
          type: integer
        minTopCount:
          format: int32
          description: 'min count should be in top N, value range : [1, +∞)


            should be less than or equal to period'
          type: integer
    AlertSnoozeCondition:
      required:
      - autoSnooze
      - onlyForSuccessive
      - snoozeScope
      type: object
      properties:
        autoSnooze:
          format: int32
          description: 'snooze point count, value range : [0, +∞)'
          type: integer
        snoozeScope:
          description: snooze scope
          enum:
          - Metric
          - Series
          type: string
          x-ms-enum:
            name: SnoozeScope
            modelAsString: true
        onlyForSuccessive:
          description: only snooze for successive anomalies
          type: boolean
    AnomalyResultList:
      required:
      - value
      type: object
      properties:
        '@nextLink':
          type: string
          readOnly: true
        value:
          type: array
          items:
            $ref: '#/components/schemas/AnomalyResult'
    MetricAlertingConfiguration:
      required:
      - anomalyDetectionConfigurationId
      - anomalyScopeType
      type: object
      properties:
        anomalyDetectionConfigurationId:
          format: uuid
          description: Anomaly detection configuration unique id
          type: string
        anomalyScopeType:
          description: Anomaly scope
          enum:
          - All
          - Dimension
          - TopN
          type: string
          example: All
          x-ms-enum:
            name: AnomalyScope
            modelAsString: true
        negationOperation:
          description: Negation operation
          default: false
          type: boolean
        dimensionAnomalyScope:
          $ref: '#/components/schemas/DimensionGroupIdentity'
        topNAnomalyScope:
          $ref: '#/components/schemas/TopNGroupScope'
        severityFilter:
          $ref: '#/components/schemas/SeverityCondition'
        snoozeFilter:
          $ref: '#/components/schemas/AlertSnoozeCondition'
        valueFilter:
          $ref: '#/components/schemas/ValueCondition'
    IncidentResultList:
      required:
      - value
      type: object
      properties:
        '@nextLink':
          type: string
          readOnly: true
        value:
          type: array
          items:
            $ref: '#/components/schemas/IncidentResult'
    IncidentResult:
      required:
      - incidentId
      - lastTime
      - property
      - rootNode
      - startTime
      type: object
      properties:
        dataFeedId:
          format: uuid
          description: 'data feed unique id


            only return for alerting anomaly result'
          type: string
          readOnly: true
        metricId:
          format: uuid
          description: 'metric unique id


            only return for alerting incident result'
          type: string
          readOnly: true
        anomalyDetectionConfigurationId:
          format: uuid
          description: 'anomaly detection configuration unique id


            only return for alerting incident result'
          type: string
          readOnly: true
        incidentId:
          description: incident id
          type: string
        startTime:
          format: date-time
          description: incident start time
          type: string
        lastTime:
          format: date-time
          description: incident last time
          type: string
        rootNode:
          $ref: '#/components/schemas/SeriesIdentity'
        property:
          $ref: '#/components/schemas/IncidentProperty'
    SeverityCondition:
      required:
      - maxAlertSeverity
      - minAlertSeverity
      type: object
      properties:
        minAlertSeverity:
          description: min alert severity
          enum:
          - Low
          - Medium
          - High
          type: string
          x-ms-enum:
            name: Severity
            modelAsString: true
        maxAlertSeverity:
          description: max alert severity
          enum:
          - Low
          - Medium
          - High
          type: string
          x-ms-enum:
            name: Severity
            modelAsString: true
    AnomalyProperty:
      required:
      - anomalySeverity
      type: object
      properties:
        anomalySeverity:
          description: anomaly severity
          enum:
          - Low
          - Medium
          - High
          type: string
          x-ms-enum:
            name: Severity
            modelAsString: true
        anomalyStatus:
          description: 'anomaly status


            only return for alerting anomaly result'
          enum:
          - Active
          - Resolved
          type: string
          readOnly: true
          x-ms-enum:
            name: AnomalyStatus
            modelAsString: true
        value:
          format: double
          description: value of the anomaly
          type: number
          readOnly: true
        expectedValue:
          format: double
          description: expected value of the anomaly given by smart detector
          type: number
          readOnly: true
    AlertingResultQuery:
      required:
      - endTime
      - startTime
      - timeMode
      type: object
      properties:
        startTime:
          format: date-time
          description: start time
          type: string
        endTime:
          format: date-time
          description: end time
          type: string
        timeMode:
          description: time mode
          enum:
          - AnomalyTime
          - CreatedTime
          - ModifiedTime
          type: string
          x-ms-enum:
            name: TimeMode
            modelAsString: true
      example:
        startTime: '2020-01-01T00:00:00Z'
        endTime: '2020-02-01T00:00:00Z'
        timeMode: AnomalyTime
    AnomalyAlertingConfiguration:
      required:
      - hookIds
      - metricAlertingConfigurations
      - name
      type: object
      properties:
        anomalyAlertingConfigurationId:
          format: uuid
          description: anomaly alerting configuration unique id
          type: string
          readOnly: true
        name:
          description: anomaly alerting configuration name
          type: string
        description:
          description: anomaly alerting configuration description
          default: ''
          type: string
        crossMetricsOperator:
          description: 'cross metrics operator


            should be specified when setting up multiple metric alerting configurations'
          enum:
          - AND
          - OR
          - XOR
          type: string
          x-ms-enum:
            name: AnomalyAlertingConfigurationLogicType
            modelAsString: true
        splitAlertByDimensions:
          description: dimensions used to split alert
          uniqueItems: true
          type: array
          items:
            type: string
        hookIds:
          description: hook unique ids
          uniqueItems: true
          type: array
          items:
            format: uuid
            type: string
        metricAlertingConfigurations:
          description: Anomaly alerting configurations
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/MetricAlertingConfiguration'
      example:
        name: alerting configuration name
        crossMetricsOperator: AND
        hookIds:
        - 00000000-0000-0000-0000-000000000001
        metricAlertingConfigurations:
        - anomalyDetectionConfigurationId: 33333333-3333-3333-3333-000000000001
          anomalyScopeType: All
          negationOperation: false
          severityFilter:
            minAlertSeverity: Medium
            maxAlertSeverity: High
          snoozeFilter:
            autoSnooze: 0
            snoozeScope: Series
            onlyForSuccessive: true
        - anomalyDetectionConfigurationId: 33333333-3333-3333-3333-000000000002
          anomalyScopeType: Dimension
          negationOperation: false
          dimensionAnomalyScope:
            dimension:
              city: Beijing
          severityFilter:
            minAlertSeverity: Low
            maxAlertSeverity: High
          snoozeFilter:
            autoSnooze: 0
            snoozeScope: Series
            onlyForSuccessive: true
          valueFilter:
            lower: 0
            upper: 1000
            direction: Both
            type: Value
    SeriesIdentity:
      required:
      - dimension
      type: object
      properties:
        dimension:
          description: dimension specified for series
          type: object
          additionalProperties:
            type: string
    IncidentProperty:
      required:
      - maxSeverity
      type: object
      properties:
        maxSeverity:
          description: max severity of latest anomalies in the incident
          enum:
          - Low
          - Medium
          - High
          type: string
          x-ms-enum:
            name: Severity
            modelAsString: true
        incidentStatus:
          description: 'incident status


            only return for alerting incident result'
          enum:
          - Active
          - Resolved
          type: string
          readOnly: true
          x-ms-enum:
            name: IncidentStatus
            modelAsString: true
        valueOfRootNode:
          format: double
          description: value of the root node
          type: number
          readOnly: true
        expectedValueOfRootNode:
          format: double
          description: expected value of the root node given by smart detector
          type: number
          readOnly: true
    ErrorCode:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
    AnomalyAlertingConfigurationPatch:
      type: object
      properties:
        name:
          description: Anomaly alerting configuration name
          type: string
        description:
          description: anomaly alerting configuration description
          default: ''
          type: string
        crossMetricsOperator:
          description: cross metrics operator
          enum:
          - AND
          - OR
          - XOR
          type: string
          x-ms-enum:
            name: AnomalyAlertingConfigurationLogicType
            modelAsString: true
        splitAlertByDimensions:
          description: dimensions used to split alert
          uniqueItems: true
          type: array
          items:
            type: string
        hookIds:
          description: hook unique ids
          uniqueItems: true
          type: array
          items:
            format: uuid
            type: string
        metricAlertingConfigurations:
          description: Anomaly alerting configurations
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/MetricAlertingConfiguration'
      example:
        name: alerting configuration name
        description: this is an anomaly alerting configuration
        crossMetricsOperator: AND
        hookIds:
        - 00000000-0000-0000-0000-000000000001
        metricAlertingConfigurations:
        - anomalyDetectionConfigurationId: 33333333-3333-3333-3333-000000000001
          anomalyScopeType: All
          negationOperation: false
          severityFilter:
            minAlertSeverity: Medium
            maxAlertSeverity: High
          snoozeFilter:
            autoSnooze: 0
            snoozeScope: Series
            onlyForSuccessive: true
        - anomalyDetectionConfigurationId: 33333333-3333-3333-3333-000000000002
          anomalyScopeType: Dimension
          negationOperation: false
          dimensionAnomalyScope:
            dimension:
              city: Beijing
          severityFilter:
            minAlertSeverity: Low
            maxAlertSeverity: High
          snoozeFilter:
            autoSnooze: 0
            snoozeScope: Series
            onlyForSuccessive: true
          valueFilter:
            lower: 0
            upper: 1000
            direction: Both
    DimensionGroupIdentity:
      required:
      - dimension
      type: object
      properties:
        dimension:
          description: dimension specified for series group
          type: object
          additionalProperties:
            type: string
  securitySchemes:
    ma_api_key:
      type: apiKey
      name: x-api-key
      in: header
    apim_key:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
x-ms-parameterized-host:
  hostTemplate: '{endpoint}/metricsadvisor/v1.0'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'