Interface MetricAlertCondition
-
- All Superinterfaces:
HasInnerModel<MetricCriteria>,HasParent<MetricAlert>
public interface MetricAlertCondition extends HasInnerModel<MetricCriteria>, HasParent<MetricAlert>
An immutable client-side representation of an Azure metric dynamic alert criteria.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMetricAlertCondition.DefinitionStagesGrouping of metric alerts condition definition stages.static interfaceMetricAlertCondition.UpdateDefinitionStagesThe entirety of a metric alert condition definition as a part of a parent metric alert update.static interfaceMetricAlertCondition.UpdateStagesGrouping of metric alert condition update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAlertRuleConditioncondition()Get the criteria operator.Collection<MetricDimension>dimensions()Get list of dimension conditions.StringmetricName()Get name of the metric signal.StringmetricNamespace()Get namespace of the metric.Stringname()Get name of the criteria.doublethreshold()Get the criteria threshold value that activates the alert.MetricAlertRuleTimeAggregationtimeAggregation()Get the criteria time aggregation types.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
name
String name()
Get name of the criteria.- Returns:
- the name value
-
metricName
String metricName()
Get name of the metric signal.- Returns:
- the metricName value
-
metricNamespace
String metricNamespace()
Get namespace of the metric.- Returns:
- the metricNamespace value
-
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
-
-