Azure Monitor · Schema

ScheduledQueryRuleProperties

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
createdWithApiVersion string The API version used when creating this alert rule.
isLegacyLogAnalyticsRule boolean True if this alert rule is a legacy Log Analytics rule.
description string The description of the scheduled query rule.
displayName string The display name of the alert rule.
severity integer Severity of the alert. Should be an integer between 0-4. Value of 0 is severest.
enabled boolean The flag that indicates whether this scheduled query rule is enabled.
scopes array The list of resource IDs that this scheduled query rule is scoped to.
evaluationFrequency string How often the scheduled query rule is evaluated in ISO 8601 duration format.
windowSize string The period of time in ISO 8601 duration format on which the alert rule will be executed.
overrideQueryTimeRange string If specified, overrides the query time range.
targetResourceTypes array List of resource type of the target resources on which the alert is created.
criteria object
muteActionsDuration string Mute actions for the chosen period of time in ISO 8601 duration format.
actions object
isWorkspaceAlertsStorageConfigured boolean The flag that indicates whether this scheduled query rule has been configured to be stored in the customer's storage.
checkWorkspaceAlertsStorageConfigured boolean The flag that indicates whether this scheduled query rule should be stored in the customer's storage.
skipQueryValidation boolean The flag that indicates whether the provided query should be validated.
autoMitigate boolean The flag that indicates whether the alert should be automatically resolved.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-scheduledqueryruleproperties-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScheduledQueryRuleProperties",
  "title": "ScheduledQueryRuleProperties",
  "type": "object",
  "required": [
    "severity",
    "enabled",
    "scopes",
    "evaluationFrequency",
    "windowSize",
    "criteria"
  ],
  "properties": {
    "createdWithApiVersion": {
      "type": "string",
      "readOnly": true,
      "description": "The API version used when creating this alert rule."
    },
    "isLegacyLogAnalyticsRule": {
      "type": "boolean",
      "readOnly": true,
      "description": "True if this alert rule is a legacy Log Analytics rule."
    },
    "description": {
      "type": "string",
      "description": "The description of the scheduled query rule."
    },
    "displayName": {
      "type": "string",
      "description": "The display name of the alert rule."
    },
    "severity": {
      "type": "integer",
      "format": "int64",
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "description": "Severity of the alert. Should be an integer between 0-4. Value of 0 is severest."
    },
    "enabled": {
      "type": "boolean",
      "description": "The flag that indicates whether this scheduled query rule is enabled."
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The list of resource IDs that this scheduled query rule is scoped to."
    },
    "evaluationFrequency": {
      "type": "string",
      "description": "How often the scheduled query rule is evaluated in ISO 8601 duration format."
    },
    "windowSize": {
      "type": "string",
      "description": "The period of time in ISO 8601 duration format on which the alert rule will be executed."
    },
    "overrideQueryTimeRange": {
      "type": "string",
      "description": "If specified, overrides the query time range."
    },
    "targetResourceTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of resource type of the target resources on which the alert is created."
    },
    "criteria": {
      "$ref": "#/components/schemas/ScheduledQueryRuleCriteria"
    },
    "muteActionsDuration": {
      "type": "string",
      "description": "Mute actions for the chosen period of time in ISO 8601 duration format."
    },
    "actions": {
      "$ref": "#/components/schemas/Actions"
    },
    "isWorkspaceAlertsStorageConfigured": {
      "type": "boolean",
      "readOnly": true,
      "description": "The flag that indicates whether this scheduled query rule has been configured to be stored in the customer's storage."
    },
    "checkWorkspaceAlertsStorageConfigured": {
      "type": "boolean",
      "description": "The flag that indicates whether this scheduled query rule should be stored in the customer's storage."
    },
    "skipQueryValidation": {
      "type": "boolean",
      "description": "The flag that indicates whether the provided query should be validated."
    },
    "autoMitigate": {
      "type": "boolean",
      "description": "The flag that indicates whether the alert should be automatically resolved."
    }
  }
}

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