CmdID / az / az monitor / az monitor metrics / az monitor metrics alert
az monitor metrics alert update
Update a metric-based alert rule. Azure CLI reference
9 options Its page in the Azure CLI reference
Options
--auto-mitigateAutomatically resolve the alert.--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).--tagsSpace-separated tags: key[=value] [key[=value] ...].--window-sizeTime over which to aggregate metrics in ##h##m##s format.