MetricAlertCriteria Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. MetricAlertCriteria
- com.
Implements
public class MetricAlertCriteria
implements JsonSerializable<MetricAlertCriteria>
The rule criteria that defines the conditions of the alert rule.
Constructor Summary
Constructor | Description |
---|---|
MetricAlertCriteria() |
Creates an instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
Odatatype |
odataType()
Get the odata |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Metric |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Methods inherited from java.lang.Object
Constructor Details
MetricAlertCriteria
public MetricAlertCriteria()
Creates an instance of MetricAlertCriteria class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: The rule criteria that defines the conditions of the alert rule.
Returns:
fromJson
public static MetricAlertCriteria fromJson(JsonReader jsonReader)
Reads an instance of MetricAlertCriteria from the JsonReader.
Parameters:
Returns:
Throws:
odataType
public Odatatype odataType()
Get the odataType property: specifies the type of the alert criteria.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MetricAlertCriteria withAdditionalProperties(Map
Set the additionalProperties property: The rule criteria that defines the conditions of the alert rule.
Parameters:
Returns:
Applies to
Azure SDK for Java