{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-dev-azure-monitor-type-metric-definition-list",
  "title": "Azure Metric Definition List",
  "section": "Library asset reference",
  "description": "Reusable Azure Metric Definition List contract.",
  "kind": "type",
  "url": "/wiki/reference-dev-azure-monitor-type-metric-definition-list/",
  "markdown": "/wiki/reference-dev-azure-monitor-type-metric-definition-list/index.md",
  "json": "/wiki/reference-dev-azure-monitor-type-metric-definition-list/index.json",
  "headings": [
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "azure-monitor",
  "pack": "pack_azure",
  "contract": {
    "key": "dev.azure-monitor.type.metric-definition-list",
    "slug": "dev-azure-monitor-type-metric-definition-list",
    "name": "Azure Metric Definition List",
    "kind": "type",
    "family": "azure-monitor",
    "packId": "pack_azure",
    "category": "Developer integrations",
    "description": "Reusable Azure Metric Definition List contract.",
    "inputs": [],
    "outputs": [],
    "configSchema": {
      "type": "object",
      "properties": {},
      "additionalProperties": false
    },
    "documentation": "Azure Metric Definition List preserves known provider fields and explicit JSON extensions. It is shared across the Azure Monitor operations that use this resource. Optional absence and explicit null are distinct.\n\nSchema:\n\n```json\n{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"id\": {\n        \"type\": \"string\"\n      },\n      \"namespace\": {\n        \"type\": \"string\"\n      },\n      \"name\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"value\": {\n            \"type\": \"string\"\n          },\n          \"localizedValue\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [],\n        \"additionalProperties\": {\n          \"$ref\": \"#/definitions/ONFJsonValue\"\n        }\n      },\n      \"unit\": {\n        \"type\": \"string\"\n      },\n      \"primaryAggregationType\": {\n        \"type\": \"string\"\n      },\n      \"supportedAggregationTypes\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"string\"\n        }\n      },\n      \"metricAvailabilities\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"timeGrain\": {\n              \"type\": \"string\"\n            },\n            \"retention\": {\n              \"type\": \"string\"\n            }\n          },\n          \"required\": [],\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      },\n      \"dimensions\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"localizedValue\": {\n              \"type\": \"string\"\n            }\n          },\n          \"required\": [],\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      },\n      \"isDimensionRequired\": {\n        \"type\": \"boolean\"\n      }\n    },\n    \"required\": [],\n    \"additionalProperties\": {\n      \"$ref\": \"#/definitions/ONFJsonValue\"\n    }\n  },\n  \"maxItems\": 5000,\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```\n\nSource: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/monitor/resource-manager/Microsoft.Insights/Insights/stable/2023-10-01/metrics_API.json https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/monitor/resource-manager/Microsoft.Insights/Insights/stable/2023-10-01/metricDefinitions_API.json https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/monitor/resource-manager/Microsoft.Insights/Insights/stable/2018-03-01/metricAlert_API.json https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/monitor/resource-manager/Microsoft.Insights/Insights/stable/2023-01-01/actionGroups_API.json https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/monitor/resource-manager/Microsoft.Insights/Insights/stable/2015-04-01/activityLogs_API.json https://learn.microsoft.com/en-us/rest/api/logsquery/query/execute?view=rest-logsquery-v1 https://learn.microsoft.com/en-us/rest/api/application-insights/query/execute?view=rest-application-insights-v1\n\nPure type; no credentials or external effects.",
    "schema": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "name": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "localizedValue": {
                "type": "string"
              }
            },
            "required": [],
            "additionalProperties": {
              "$ref": "#/definitions/ONFJsonValue"
            }
          },
          "unit": {
            "type": "string"
          },
          "primaryAggregationType": {
            "type": "string"
          },
          "supportedAggregationTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metricAvailabilities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "timeGrain": {
                  "type": "string"
                },
                "retention": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          },
          "dimensions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string"
                },
                "localizedValue": {
                  "type": "string"
                }
              },
              "required": [],
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          },
          "isDimensionRequired": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": {
          "$ref": "#/definitions/ONFJsonValue"
        }
      },
      "maxItems": 5000,
      "definitions": {
        "ONFJsonValue": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "runtime": "javascript",
    "tags": [
      "azure-monitor",
      "developer-packs",
      "type"
    ],
    "source": "developer-catalog"
  }
}
