CmdID

CmdID / az / az monitor / az monitor metrics / az monitor metrics alert / az monitor metrics alert condition

az monitor metrics alert condition create

Build a metric alert rule condition. Azure CLI reference

12 options Its page in the Azure CLI reference

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

Options

12 in the Azure CLI reference
--aggregationTime aggregation.
--dimensionDimension created by 'az monitor metrics alert dimension create'.
--metricName of the metric to base the rule on.
--namespaceNamespace of metric.
--num-periodsThe number of evaluation periods for dynamic threshold.
--num-violationsThe number of violations to trigger an dynamic alert.
--operator, --opOperator for static threshold can be 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan' or 'LessThanOrEqual'.
--sensitivityAlert sensitivity for dynamic threshold.
--since
--skip-metric-validationCause the metric validation to be skipped.
--thresholdStatic threshold value.
--type, -tType of condition threshold.