Azure Monitor Data Collection Rule Configuration Metadata API

The DataCollectionRuleConfigurationMetadata API from Azure Monitor — 1 operation(s) for datacollectionruleconfigurationmetadata.

GitHub OpenAPI

Operations 1

POST /subscriptions/{subscriptionId}/providers/Microsoft.Insights/locations/{location}/fetchDataCollectionRuleConfigurationMetadata Data collection rule configuration metadata fetch #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metrics
📖
Authentication
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/rest-api-walkthrough
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/rest-api-walkthrough
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metric-definitions
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/metrics-batch
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/loganalytics/
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/api/overview
📖
Documentation
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/scheduledqueryrule-2021-08-01/scheduled-query-rules
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/action-groups
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/autoscale-settings
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-best-practices
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/application-insights/
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/diagnostic-settings
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/activity-logs
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-rules
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-create-edit
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/monitor/data-collection-endpoints
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-endpoint-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/private-link-configure

Specifications

Schemas & Data

Other Resources

🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/metrics/migrate-to-batch-api
🔗
Query Language
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-code
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-log-api-switch
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups
🔗
SDKs
https://learn.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log-schema
🔗
Reference
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/private-link-design
🔗
APIsJSON
https://artifacts.apis.io/microsoft-azure-monitor/apis.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-action-group-lifecycle-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-action-group-receiver-recovery-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-action-group-with-metric-alert-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-activity-log-to-metrics-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-alert-rule-audit-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-autoscale-inventory-reconfigure-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-autoscale-setting-provision-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-batch-metrics-query-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-diagnostic-setting-provision-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/microsoft-azure-monitor/arazzo/microsoft-azure-monitor-resource-metrics-explorer-workflow.yml

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-monitor:microsoft-azure-monitor-datacollectionruleconfigurationmetadata-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-monitor-datacollectionruleconfigurationmetadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Monitor Data Collection Rule Configuration Metadata…
  version: '2025-01-01'
  description: 'Azure Monitor Data Collection Rule Configuration Metadata API

    Provides operations for fetching configuration metadata for data collection rules,

    including supported data sources, destinations, and stream specifications.'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DataCollectionRuleConfigurationMetadata
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Insights/locations/{location}/fetchDataCollectionRuleConfigurationMetadata
  : post:
      operationId: DataCollectionRuleConfigurationMetadata_Fetch
      tags:
      - DataCollectionRuleConfigurationMetadata
      description: Fetches configuration metadata for data collection rules. When withStreamMetadata is true, returns detailed stream information.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: location
        in: path
        description: The Azure region for the metadata request.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataCollectionRuleConfigurationMetadataResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataCollectionRuleConfigurationMetadataRequest'
        description: Request body containing filter options and stream metadata flag.
      summary: Data collection rule configuration metadata fetch
      x-summary-source: derived
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  schemas:
    DataCollectionRuleConfigurationMetadataResponse:
      type: object
      description: Response containing configuration metadata for data collection rules.
      properties:
        configurationMetadata:
          $ref: '#/components/schemas/ConfigurationMetadata'
          description: The configuration metadata for platform telemetry.
    PlatformTelemetryMetadata:
      type: object
      description: Metadata for platform telemetry (logs and metrics).
      properties:
        platformLogs:
          $ref: '#/components/schemas/TelemetryTypeMetadata'
          description: Configuration metadata for platform logs.
        platformMetrics:
          $ref: '#/components/schemas/TelemetryTypeMetadata'
          description: Configuration metadata for platform metrics.
    StreamDetailMetadata:
      type: object
      description: Detailed metadata for a stream (logs or metrics specification).
      properties:
        logsSpecification:
          $ref: '#/components/schemas/LogsSpecification'
          description: Specification for logs stream.
        metricsSpecification:
          $ref: '#/components/schemas/MetricsSpecification'
          description: Specification for metrics stream.
    LogsSpecification:
      type: object
      description: Specification for a logs stream.
      properties:
        name:
          type: string
          description: The name of the logs stream.
        displayName:
          type: string
          description: The display name of the logs stream.
        groups:
          type: array
          description: Categorization groups for the logs stream.
          items:
            type: string
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    DataCollectionRuleConfigurationMetadataRequest:
      type: object
      description: Request body for fetching configuration metadata.
      properties:
        dcrKind:
          type: string
          description: DCR Kind for which metadata is being requested (e.g., PlatformTelemetry).
        resourceType:
          type: string
          description: Optional resource type filter (e.g., Microsoft.Compute/virtualMachines). If specified, returns configuration metadata for that resource type.
        withStreamMetadata:
          type: boolean
          description: When true, returns detailed stream metadata in the response. Defaults to false.
    ConfigurationMetadata:
      type: object
      description: Configuration metadata for data collection.
      properties:
        platformTelemetry:
          $ref: '#/components/schemas/PlatformTelemetryMetadata'
          description: Platform telemetry configuration metadata.
    MetricsSpecification:
      type: object
      description: Specification for a metrics stream. Properties are driven by the service and are manifest driven.
      properties:
        name:
          type: string
          description: The name of the metric.
        displayName:
          type: string
          description: The display name of the metric.
        description:
          type: string
          description: Description of the metric.
        unit:
          type: string
          description: 'The unit of measurement for the metric.

            This value is provided by the service and is manifest-driven; the set of possible values may evolve over time.

            Example: "Count".'
        aggregationType:
          type: string
          description: 'The aggregation type for the metric.

            This value is provided by the service and is manifest-driven; the set of possible values may evolve over time.

            Example: "Total".'
        groups:
          type: array
          description: Categorization groups for the metric.
          items:
            type: string
    StreamMetadata:
      type: object
      description: Metadata for a specific data stream.
      properties:
        streamId:
          type: string
          description: The unique identifier for the stream.
        metadata:
          $ref: '#/components/schemas/StreamDetailMetadata'
          description: Additional metadata about the stream.
    TelemetryTypeMetadata:
      type: object
      description: Metadata for a specific telemetry type (logs or metrics).
      properties:
        supportedDestinations:
          type: array
          description: List of supported destination resource types.
          items:
            type: string
        supportedResourceTypes:
          type: array
          description: List of supported source resource types.
          items:
            type: string
        supportedStreams:
          type: array
          description: Detailed stream information. Only returned when withStreamMetadata is true in the request.
          items:
            $ref: '#/components/schemas/StreamMetadata'
          x-ms-identifiers:
          - streamId
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.