MetricAlertCriteria Class
The rule criteria that defines the conditions of the alert rule.
You probably want to use the sub-classes and not this class directly. Known sub-classes are: MetricAlertMultipleResourceMultipleMetricCriteria, MetricAlertSingleResourceMultipleMetricCriteria, WebtestLocationAvailabilityCriteria
All required parameters must be populated in order to send to server.
Constructor
MetricAlertCriteria(*, additional_properties: Dict[str, MutableMapping[str, Any]] | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. Default value: None
|
Variables
| Name | Description |
|---|---|
|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. |
|
odata_type
|
specifies the type of the alert criteria. Required. Known values are: "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria", "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria", and "Microsoft.Azure.Monitor.WebtestLocationAvailabilityCriteria". |