Azure Monitor · Schema

MetricDefinition

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
isDimensionRequired boolean Flag to indicate whether the dimension is required.
resourceId string The resource identifier of the resource that emitted the metric.
namespace string The namespace the metric belongs to.
name object
displayDescription string Detailed description of this metric.
category string Custom category name for this metric.
metricClass string The class of the metric.
unit string The unit of the metric.
primaryAggregationType string The primary aggregation type value defining how to use the values.
supportedAggregationTypes array The collection of what aggregation types are supported.
metricAvailabilities array The collection of what aggregation intervals are available.
id string The resource identifier of the metric definition.
dimensions array The name and the display name of the dimension, i.e. the localized string representation.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-metricdefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetricDefinition",
  "title": "MetricDefinition",
  "type": "object",
  "properties": {
    "isDimensionRequired": {
      "type": "boolean",
      "description": "Flag to indicate whether the dimension is required."
    },
    "resourceId": {
      "type": "string",
      "description": "The resource identifier of the resource that emitted the metric."
    },
    "namespace": {
      "type": "string",
      "description": "The namespace the metric belongs to."
    },
    "name": {
      "$ref": "#/components/schemas/LocalizableString"
    },
    "displayDescription": {
      "type": "string",
      "description": "Detailed description of this metric."
    },
    "category": {
      "type": "string",
      "description": "Custom category name for this metric."
    },
    "metricClass": {
      "type": "string",
      "enum": [
        "Availability",
        "Transactions",
        "Errors",
        "Latency",
        "Saturation"
      ],
      "description": "The class of the metric."
    },
    "unit": {
      "type": "string",
      "enum": [
        "Count",
        "Bytes",
        "Seconds",
        "CountPerSecond",
        "BytesPerSecond",
        "Percent",
        "MilliSeconds",
        "ByteSeconds",
        "Unspecified",
        "Cores",
        "MilliCores",
        "NanoCores",
        "BitsPerSecond"
      ],
      "description": "The unit of the metric."
    },
    "primaryAggregationType": {
      "type": "string",
      "enum": [
        "None",
        "Average",
        "Count",
        "Minimum",
        "Maximum",
        "Total"
      ],
      "description": "The primary aggregation type value defining how to use the values."
    },
    "supportedAggregationTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "None",
          "Average",
          "Count",
          "Minimum",
          "Maximum",
          "Total"
        ]
      },
      "description": "The collection of what aggregation types are supported."
    },
    "metricAvailabilities": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/MetricAvailability"
      },
      "description": "The collection of what aggregation intervals are available."
    },
    "id": {
      "type": "string",
      "description": "The resource identifier of the metric definition."
    },
    "dimensions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LocalizableString"
      },
      "description": "The name and the display name of the dimension, i.e. the localized string representation."
    }
  }
}

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-metricdefinition"
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 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. See our Privacy Policy and Terms.

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