Microsoft Azure Metrics Advisor

Microsoft Azure Metrics Advisor is a powerful tool that helps organizations monitor and analyze their data in real-time to make informed decisions. By using advanced machine learning algorithms, Metrics Advisor can detect anomalies, forecast trends, and provide recommendations for optimizing performance. It allows users to easily track key metrics and KPIs across various data sources, enabling them to quickly identify issues and take proactive measures to address them.

OpenAPI Specification

metrics-advisor-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure Metrics Advisor
  description: Microsoft Azure Metrics Advisor REST API (OpenAPI v2)
  version: '1.0'
paths:
  /stats/latest:
    get:
      tags:
        - Admin
      summary: Microsoft Azure Get Latest Usage Stats
      operationId: microsoftAzureGetactiveseriescount
      produces:
        - application/json
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/UsageStats'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Get latest usage stats:
          $ref: ./examples/getActiveSeriesCount.json
      description: Needs a more full description created.
  /alert/anomaly/configurations/{configurationId}:
    get:
      tags:
        - AnomalyAlerting
      summary: Microsoft Azure Query A Single Anomaly Alerting Configuration
      operationId: microsoftAzureGetanomalyalertingconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyAlertingConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/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
      consumes:
        - application/merge-patch+json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          type: string
          format: uuid
        - in: body
          name: body
          description: anomaly alerting configuration
          required: true
          schema:
            $ref: '#/definitions/AnomalyAlertingConfigurationPatch'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyAlertingConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Update anomaly alerting configuration:
          $ref: ./examples/updateAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
    delete:
      tags:
        - AnomalyAlerting
      summary: Microsoft Azure Delete Anomaly Alerting Configuration
      operationId: microsoftAzureDeleteanomalyalertingconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          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)
          schema:
            $ref: '#/definitions/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
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: anomaly alerting configuration
          required: true
          schema:
            $ref: '#/definitions/AnomalyAlertingConfiguration'
      responses:
        '201':
          description: Success
          headers:
            Location:
              description: Location of the newly created resource.
              type: string
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Create anomaly alerting configuration:
          $ref: ./examples/createAnomalyAlertingConfiguration.json
      description: Needs a more full description created.
  /alert/anomaly/configurations/{configurationId}/alerts/query:
    post:
      tags:
        - AnomalyAlerting
      summary: Microsoft Azure Query Alerts Under Anomaly Alerting Configuration
      operationId: microsoftAzureGetalertsbyanomalyalertingconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
        - in: body
          name: body
          description: query alerting result request
          required: true
          schema:
            $ref: '#/definitions/AlertingResultQuery'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AlertResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/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.
  /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies:
    get:
      tags:
        - AnomalyAlerting
      summary: Microsoft Azure Query Anomalies Under A Specific Alert
      operationId: microsoftAzureGetanomaliesfromalertbyanomalyalertingconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          type: string
          format: uuid
        - in: path
          name: alertId
          description: alert id
          required: true
          type: string
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/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
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly alerting configuration unique id
          required: true
          type: string
          format: uuid
        - in: path
          name: alertId
          description: alert id
          required: true
          type: string
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/IncidentResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/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.
  /enrichment/anomalyDetection/configurations/{configurationId}:
    get:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query A Single Anomaly Detection Configuration
      operationId: microsoftAzureGetanomalydetectionconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyDetectionConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Query a single anomaly detection configuration:
          $ref: ./examples/getAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
    patch:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Update Anomaly Detection Configuration
      operationId: microsoftAzureUpdateanomalydetectionconfiguration
      consumes:
        - application/merge-patch+json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: body
          name: body
          description: anomaly detection configuration
          required: true
          schema:
            $ref: '#/definitions/AnomalyDetectionConfigurationPatch'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyDetectionConfiguration'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Update anomaly detection configuration:
          $ref: ./examples/updateAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
    delete:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Delete Anomaly Detection Configuration
      operationId: microsoftAzureDeleteanomalydetectionconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          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)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Delete anomaly detection configuration:
          $ref: ./examples/deleteAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations:
    post:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Create Anomaly Detection Configuration
      operationId: microsoftAzureCreateanomalydetectionconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: anomaly detection configuration
          required: true
          schema:
            $ref: '#/definitions/AnomalyDetectionConfiguration'
      responses:
        '201':
          description: Success
          headers:
            Location:
              description: Location of the newly created resource.
              type: string
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Create anomaly detection configuration:
          $ref: ./examples/createAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/alert/anomaly/configurations:
    get:
      tags:
        - AnomalyDetection
      summary: >-
        Microsoft Azure List All Anomaly Alerting Configurations For Specific Anomaly Detection Configuration
      operationId: >-
        microsoftAzureGetanomalyalertingconfigurationsbyanomalydetectionconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyAlertingConfigurationList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        List all anomaly alerting configurations for specific anomaly detection configuration:
          $ref: >-
            ./examples/getAnomalyAlertingConfigurationsByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/series/query:
    post:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Series Enriched By Anomaly Detection
      operationId: microsoftAzureGetseriesbyanomalydetectionconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: body
          name: body
          description: query series detection result request
          required: true
          schema:
            $ref: '#/definitions/DetectionSeriesQuery'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/SeriesResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Query series enriched by anomaly detection:
          $ref: ./examples/getSeriesByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/anomalies/query:
    post:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Anomalies Under Anomaly Detection Configuration
      operationId: microsoftAzureGetanomaliesbyanomalydetectionconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
        - in: body
          name: body
          description: query detection anomaly result request
          required: true
          schema:
            $ref: '#/definitions/DetectionAnomalyResultQuery'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query anomalies under anomaly detection configuration:
          $ref: ./examples/getAnomaliesByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/anomalies/dimension/query:
    post:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Dimension Values Of Anomalies
      operationId: microsoftAzureGetdimensionofanomaliesbyanomalydetectionconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
        - in: body
          name: body
          description: query dimension values request
          required: true
          schema:
            $ref: '#/definitions/AnomalyDimensionQuery'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/AnomalyDimensionList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query dimension values of anomalies:
          $ref: >-
            ./examples/getDimensionOfAnomaliesByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/incidents/query:
    post:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Incidents Under Anomaly Detection Configuration
      operationId: microsoftAzureGetincidentsbyanomalydetectionconfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
        - in: body
          name: body
          description: query detection incident result request
          required: true
          schema:
            $ref: '#/definitions/DetectionIncidentResultQuery'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/IncidentResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query incidents under anomaly detection configuration:
          $ref: ./examples/getIncidentsByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
    get:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Incidents Under Anomaly Detection Configuration
      operationId: microsoftAzureGetincidentsbyanomalydetectionconfigurationnextpages
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
        - in: query
          name: $token
          description: the token for getting the next page
          type: string
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/IncidentResultList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        Query incidents under anomaly detection configuration:
          $ref: ./examples/getIncidentsByAnomalyDetectionConfigurationNextPages.json
      description: Needs a more full description created.
  /enrichment/anomalyDetection/configurations/{configurationId}/incidents/{incidentId}/rootCause:
    get:
      tags:
        - AnomalyDetection
      summary: Microsoft Azure Query Root Cause For Incident
      operationId: microsoftAzureGetrootcauseofincidentbyanomalydetectionconfiguration
      produces:
        - application/json
      parameters:
        - in: path
          name: configurationId
          description: anomaly detection configuration unique id
          required: true
          type: string
          format: uuid
        - in: path
          name: incidentId
          description: incident id
          required: true
          type: string
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/RootCauseList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Query root cause for incident:
          $ref: >-
            ./examples/getRootCauseOfIncidentByAnomalyDetectionConfiguration.json
      description: Needs a more full description created.
  /credentials:
    post:
      tags:
        - Credential
      summary: Microsoft Azure Create A New Data Source Credential
      operationId: microsoftAzureCreatecredential
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Create data source credential request
          required: true
          schema:
            $ref: '#/definitions/DataSourceCredential'
      responses:
        '201':
          description: Success
          headers:
            Location:
              description: Location of the newly created resource.
              type: string
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Create a new data source credential:
          $ref: ./examples/createCredential.json
      description: Needs a more full description created.
    get:
      tags:
        - Credential
      summary: Microsoft Azure List All Credentials
      operationId: microsoftAzureListcredentials
      produces:
        - application/json
      parameters:
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/DataSourceCredentialList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        List all credentials:
          $ref: ./examples/listCredentials.json
      description: Needs a more full description created.
  /credentials/{credentialId}:
    patch:
      tags:
        - Credential
      summary: Microsoft Azure Update A Data Source Credential
      operationId: microsoftAzureUpdatecredential
      consumes:
        - application/merge-patch+json
      produces:
        - application/json
      parameters:
        - in: path
          name: credentialId
          description: Data source credential unique ID
          required: true
          type: string
          format: uuid
        - in: body
          name: body
          description: Update data source credential request
          required: true
          schema:
            $ref: '#/definitions/DataSourceCredentialPatch'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/DataSourceCredential'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Update a data source credential:
          $ref: ./examples/updateCredential.json
      description: Needs a more full description created.
    delete:
      tags:
        - Credential
      summary: Microsoft Azure Delete A Data Source Credential
      operationId: microsoftAzureDeletecredential
      produces:
        - application/json
      parameters:
        - in: path
          name: credentialId
          description: Data source credential unique ID
          required: true
          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)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Delete a data source credential:
          $ref: ./examples/deleteCredential.json
      description: Needs a more full description created.
    get:
      tags:
        - Credential
      summary: Microsoft Azure Get A Data Source Credential
      operationId: microsoftAzureGetcredential
      produces:
        - application/json
      parameters:
        - in: path
          name: credentialId
          description: Data source credential unique ID
          required: true
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/DataSourceCredential'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Get a data source credential:
          $ref: ./examples/getCredential.json
      description: Needs a more full description created.
  /dataFeeds:
    get:
      tags:
        - DataFeed
      summary: Microsoft Azure List All Data Feeds
      operationId: microsoftAzureListdatafeeds
      produces:
        - application/json
      parameters:
        - in: query
          name: dataFeedName
          description: filter data feed by its name
          type: string
        - in: query
          name: dataSourceType
          description: filter data feed by its source type
          type: string
          enum:
            - AzureApplicationInsights
            - AzureBlob
            - AzureCosmosDB
            - AzureDataExplorer
            - AzureDataLakeStorageGen2
            - AzureEventHubs
            - AzureLogAnalytics
            - AzureTable
            - InfluxDB
            - MongoDB
            - MySql
            - PostgreSql
            - SqlServer
          x-ms-enum:
            name: DataSourceType
            modelAsString: true
        - in: query
          name: granularityName
          description: filter data feed by its granularity
          type: string
          enum:
            - Yearly
            - Monthly
            - Weekly
            - Daily
            - Hourly
            - Minutely
            - Custom
          x-ms-enum:
            name: Granularity
            modelAsString: true
        - in: query
          name: status
          description: filter data feed by its status
          type: string
          enum:
            - Active
            - Paused
          x-ms-enum:
            name: EntityStatus
            modelAsString: true
        - in: query
          name: creator
          description: filter data feed by its creator
          type: string
        - in: query
          name: $skip
          description: for paging, skipped number
          type: integer
          format: int32
        - in: query
          name: $maxpagesize
          description: the maximum number of items in one page
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/DataFeedList'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-pageable:
        nextLinkName: '@nextLink'
      x-ms-examples:
        List all data feeds:
          $ref: ./examples/listDataFeeds.json
      description: Needs a more full description created.
    post:
      tags:
        - DataFeed
      summary: Microsoft Azure Create A New Data Feed
      operationId: microsoftAzureCreatedatafeed
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: parameters to create a data feed
          required: true
          schema:
            $ref: '#/definitions/DataFeedDetail'
      responses:
        '201':
          description: Success
          headers:
            Location:
              description: Location of the newly created resource.
              type: string
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Create a new data feed:
          $ref: ./examples/createDataFeed.json
      description: Needs a more full description created.
  /dataFeeds/{dataFeedId}:
    get:
      tags:
        - DataFeed
      summary: Microsoft Azure Get A Data Feed By Its Id
      operationId: microsoftAzureGetdatafeedbyid
      produces:
        - application/json
      parameters:
        - in: path
          name: dataFeedId
          description: The data feed unique id
          required: true
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/DataFeedDetail'
        default:
          description: Client error or server error (4xx or 5xx)
          schema:
            $ref: '#/definitions/ErrorCode'
      x-ms-examples:
        Get a data feed by its id:
          $ref: ./examples/getDataFeedById.json
      description: Needs a more full description created.
    patch:
      tags:
        - DataFeed
      summary: Microsoft Azure Update A Data Fe

# --- truncated at 32 KB (141 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/metrics-advisor-openapi-original.yml