CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Commands

7, each with its page

Options

11 in the Azure CLI reference
--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.