Interface MetricAlertCondition
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<MetricCriteria>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent<MetricAlert>
public interface MetricAlertCondition
extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<MetricCriteria>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent<MetricAlert>
An immutable client-side representation of an Azure metric dynamic alert criteria.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of metric alerts condition definition stages.static interfaceThe entirety of a metric alert condition definition as a part of a parent metric alert update.static interfaceGrouping of metric alert condition update stages. -
Method Summary
Modifier and TypeMethodDescriptionGet the criteria operator.Get list of dimension conditions.Get name of the metric signal.Get namespace of the metric.name()Get name of the criteria.doubleGet the criteria threshold value that activates the alert.Get the criteria time aggregation types.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parent
-
Method Details
-
name
-
metricName
-
metricNamespace
-
condition
MetricAlertRuleCondition condition()Get the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.- Returns:
- the operator value
-
timeAggregation
MetricAlertRuleTimeAggregation timeAggregation()Get the criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.- Returns:
- the timeAggregation value
-
threshold
double threshold()Get the criteria threshold value that activates the alert.- Returns:
- the threshold value
-
dimensions
Collection<MetricDimension> dimensions()Get list of dimension conditions.- Returns:
- the dimensions value
-