Azure Monitor · Schema

DataCollectionRule

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
description string Description of the data collection rule.
immutableId string The immutable ID of this data collection rule.
dataCollectionEndpointId string The resource ID of the data collection endpoint.
streamDeclarations object Declaration of custom streams used in this rule.
dataSources object
destinations object
dataFlows array The specification of data flows.
provisioningState string The resource provisioning state.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-datacollectionrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DataCollectionRule",
  "title": "DataCollectionRule",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Description of the data collection rule."
    },
    "immutableId": {
      "type": "string",
      "readOnly": true,
      "description": "The immutable ID of this data collection rule."
    },
    "dataCollectionEndpointId": {
      "type": "string",
      "description": "The resource ID of the data collection endpoint."
    },
    "streamDeclarations": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The name of the column."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "string",
                    "int",
                    "long",
                    "real",
                    "boolean",
                    "datetime",
                    "dynamic"
                  ],
                  "description": "The type of the column data."
                }
              }
            }
          }
        }
      },
      "description": "Declaration of custom streams used in this rule."
    },
    "dataSources": {
      "$ref": "#/components/schemas/DataSources"
    },
    "destinations": {
      "$ref": "#/components/schemas/Destinations"
    },
    "dataFlows": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DataFlow"
      },
      "description": "The specification of data flows."
    },
    "provisioningState": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "Creating",
        "Updating",
        "Deleting",
        "Succeeded",
        "Canceled",
        "Failed"
      ],
      "description": "The resource provisioning state."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-monitor-datacollectionrule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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