public final class MetricAnomalyAlertConditions extends Object
Constructor and Description |
---|
MetricAnomalyAlertConditions() |
Modifier and Type | Method and Description |
---|---|
MetricBoundaryCondition |
getMetricBoundaryCondition()
Gets the boundary condition, an anomaly will be included in the alert
if it's value is not within the boundary.
|
SeverityCondition |
getSeverityCondition()
Gets the severity range based condition, an anomaly will be included in the alert
only if it's severity falls in the range.
|
MetricAnomalyAlertConditions |
setMetricBoundaryCondition(MetricBoundaryCondition boundaryCondition)
Gets the boundary condition, an anomaly will be included in the alert
only if it's value is not within the boundary.
|
MetricAnomalyAlertConditions |
setSeverityCondition(AnomalySeverity min,
AnomalySeverity max)
Sets the severity range based condition, an anomaly will be included in the alert
only if it's severity falls in the range.
|
MetricAnomalyAlertConditions |
setSeverityRangeCondition(SeverityCondition severityCondition)
Sets the severity range based condition, an anomaly will be included in the alert
only if it's severity falls in the range.
|
public MetricBoundaryCondition getMetricBoundaryCondition()
public SeverityCondition getSeverityCondition()
public MetricAnomalyAlertConditions setMetricBoundaryCondition(MetricBoundaryCondition boundaryCondition)
boundaryCondition
- The boundary condition.public MetricAnomalyAlertConditions setSeverityCondition(AnomalySeverity min, AnomalySeverity max)
min
- The lower bound of severity range.max
- The upper bound of severity range.public MetricAnomalyAlertConditions setSeverityRangeCondition(SeverityCondition severityCondition)
severityCondition
- The condition based on severity of anomalies.Copyright © 2021 Microsoft Corporation. All rights reserved.