Properties
| Name | Type | Description |
|---|---|---|
| metricName | string | The name of the metric that defines what the rule monitors. |
| metricNamespace | string | The namespace of the metric. |
| metricResourceUri | string | The resource identifier of the resource the rule monitors. |
| metricResourceLocation | string | The location of the resource the rule monitors. |
| timeGrain | string | The granularity of metrics the rule monitors in ISO 8601 duration format. |
| statistic | string | The metric statistic type. |
| timeWindow | string | The range of time in which instance data is collected in ISO 8601 format. |
| timeAggregation | string | The time aggregation type. |
| operator | string | The operator used to compare the metric data and the threshold. |
| threshold | number | The threshold of the metric that triggers the scale action. |
| dimensions | array | List of dimension conditions. |
| dividePerInstance | boolean | Indicates whether the metric should divide per instance. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MetricTrigger",
"title": "MetricTrigger",
"type": "object",
"required": [
"metricName",
"metricResourceUri",
"timeGrain",
"statistic",
"timeWindow",
"timeAggregation",
"operator",
"threshold"
],
"properties": {
"metricName": {
"type": "string",
"description": "The name of the metric that defines what the rule monitors."
},
"metricNamespace": {
"type": "string",
"description": "The namespace of the metric."
},
"metricResourceUri": {
"type": "string",
"description": "The resource identifier of the resource the rule monitors."
},
"metricResourceLocation": {
"type": "string",
"description": "The location of the resource the rule monitors."
},
"timeGrain": {
"type": "string",
"description": "The granularity of metrics the rule monitors in ISO 8601 duration format."
},
"statistic": {
"type": "string",
"enum": [
"Average",
"Min",
"Max",
"Sum"
],
"description": "The metric statistic type."
},
"timeWindow": {
"type": "string",
"description": "The range of time in which instance data is collected in ISO 8601 format."
},
"timeAggregation": {
"type": "string",
"enum": [
"Average",
"Minimum",
"Maximum",
"Total",
"Count",
"Last"
],
"description": "The time aggregation type."
},
"operator": {
"type": "string",
"enum": [
"Equals",
"NotEquals",
"GreaterThan",
"GreaterThanOrEqual",
"LessThan",
"LessThanOrEqual"
],
"description": "The operator used to compare the metric data and the threshold."
},
"threshold": {
"type": "number",
"format": "double",
"description": "The threshold of the metric that triggers the scale action."
},
"dimensions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ScaleRuleMetricDimension"
},
"description": "List of dimension conditions."
},
"dividePerInstance": {
"type": "boolean",
"description": "Indicates whether the metric should divide per instance."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-monitor-metrictrigger"
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.