public static class DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The comparison operator that is used to compare the metric value with the threshold.
|
String |
preCondition
The additional conditions for triggering Critical-level alerts.
|
String |
statistics
The statistical methods for Critical-level alerts.
|
String |
threshold
The threshold for Critical-level alerts.
|
Integer |
times
The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
|
| 构造器和说明 |
|---|
DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The comparison operator that is used to compare the metric value with the threshold. Valid values:
* GreaterThanOrEqualToThreshold: greater than or equal to the threshold
* GreaterThanThreshold: greater than the threshold
* LessThanOrEqualToThreshold: less than or equal to the threshold
* LessThanThreshold: less than the threshold
* NotEqualToThreshold: not equal to the threshold
* GreaterThanYesterday: greater than the metric value at the same time yesterday
* LessThanYesterday: less than the metric value at the same time yesterday
* GreaterThanLastWeek: greater than the metric value at the same time last week
* LessThanLastWeek: less than the metric value at the same time last week
* GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
* LessThanLastPeriod: less than the metric value in the last monitoring cycle
@NameInMap(value="PreCondition") public String preCondition
The additional conditions for triggering Critical-level alerts. The additional conditions take effect when the value of the ComparisonOperator parameter is GreaterThanYesterday, LessThanYesterday, GreaterThanLastWeek, LessThanLastWeek, GreaterThanLastPeriod, or LessThanLastPeriod.
For example, the values of the PreCondition, ComparisonOperator, and Threshold parameters are set to $Average>80, GreaterThanYesterday, and 10, respectively. An alert is triggered only when the average metric value is greater than 80 and 10% greater than the average metric value at the same time yesterday.
> $Average is a placeholder that consists of `a dollar sign ($) and the statistical method`. CloudMonitor replaces the placeholder with the aggregated value or original value before value comparison.
@NameInMap(value="Statistics") public String statistics
The statistical methods for Critical-level alerts.
@NameInMap(value="Threshold") public String threshold
The threshold for Critical-level alerts.
@NameInMap(value="Times") public Integer times
The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
public DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical()
public static DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical build(Map<String,?> map) throws Exception
Exceptionpublic DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical setPreCondition(String preCondition)
public String getPreCondition()
public DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical setStatistics(String statistics)
public String getStatistics()
public DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical setThreshold(String threshold)
public String getThreshold()
public DescribeMetricRuleListResponseBody.DescribeMetricRuleListResponseBodyAlarmsAlarmEscalationsCritical setTimes(Integer times)
public Integer getTimes()
Copyright © 2024. All rights reserved.