CmdID / az / az monitor / az monitor metrics
az monitor metrics alert
Manage near-realtime metric alert rules. Azure CLI reference
7 commands 11 options Its page in the Azure CLI reference
Commands
conditionManage near-realtime metric alert rule conditions.createCreate a metric-based alert rule.deleteDelete a metrics-based alert rule.dimensionManage near-realtime metric alert rule dimensions.listList metric-based alert rules.showShow a metrics-based alert rule.updateUpdate a metric-based alert rule.Options
--auto-mitigateAutomatically resolve the alert.--condition, --disabled--descriptionFree-text description of the rule.--enabledWhether the metric alert rule is enabled.--evaluation-frequencyFrequency with which to evaluate the rule in "##h##m##s" format.--name, -nName of the alert rule.--scopesSpace-separated list of scopes the rule applies to.--severitySeverity of the alert from 0 (critical) to 4 (verbose).--target-resource-region, --regionThe region of the target resource(s) in scopes.--target-resource-type, --typeThe resource type of the target resource(s) in scopes.--window-sizeTime over which to aggregate metrics in "##h##m##s" format.