Azure Monitor · Schema

Condition

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
query string Log query alert query.
timeAggregation string Aggregation type.
metricMeasureColumn string The column containing the metric measure number.
resourceIdColumn string The column containing the resource ID.
dimensions array List of dimension conditions.
operator string The criteria operator.
threshold number The criteria threshold value that activates the alert.
failingPeriods object The minimum number of violations required within the selected lookback time window.
metricName string The name of the metric to be sent.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Condition",
  "title": "Condition",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Log query alert query."
    },
    "timeAggregation": {
      "type": "string",
      "enum": [
        "Count",
        "Average",
        "Minimum",
        "Maximum",
        "Total"
      ],
      "description": "Aggregation type."
    },
    "metricMeasureColumn": {
      "type": "string",
      "description": "The column containing the metric measure number."
    },
    "resourceIdColumn": {
      "type": "string",
      "description": "The column containing the resource ID."
    },
    "dimensions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Dimension"
      },
      "description": "List of dimension conditions."
    },
    "operator": {
      "type": "string",
      "enum": [
        "Equals",
        "GreaterThan",
        "GreaterThanOrEqual",
        "LessThan",
        "LessThanOrEqual"
      ],
      "description": "The criteria operator."
    },
    "threshold": {
      "type": "number",
      "format": "double",
      "description": "The criteria threshold value that activates the alert."
    },
    "failingPeriods": {
      "type": "object",
      "properties": {
        "numberOfEvaluationPeriods": {
          "type": "integer",
          "format": "int64",
          "description": "The number of aggregated lookback points.",
          "default": 1
        },
        "minFailingPeriodsToAlert": {
          "type": "integer",
          "format": "int64",
          "description": "The number of violations to trigger an alert.",
          "default": 1
        }
      },
      "description": "The minimum number of violations required within the selected lookback time window."
    },
    "metricName": {
      "type": "string",
      "description": "The name of the metric to be sent."
    }
  }
}

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-condition"
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.