MetricAlertCriteria Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.MetricAlertCriteria

public class MetricAlertCriteria

The rule criteria that defines the conditions of the alert rule.

Constructor Summary

Constructor Description
MetricAlertCriteria()

Creates an instance of MetricAlertCriteria class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: The rule criteria that defines the conditions of the alert rule.

void validate()

Validates the instance.

MetricAlertCriteria withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: The rule criteria that defines the conditions of the alert rule.

Methods inherited from java.lang.Object

Constructor Details

MetricAlertCriteria

public MetricAlertCriteria()

Creates an instance of MetricAlertCriteria class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: The rule criteria that defines the conditions of the alert rule.

Returns:

the additionalProperties value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MetricAlertCriteria withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: The rule criteria that defines the conditions of the alert rule.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MetricAlertCriteria object itself.

Applies to