public static class PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
comparisonOperator
The operator that is used to compare the metric value with the threshold for Info-level alerts.
|
String |
statistics
The statistical methods for Info-level alerts.
|
String |
threshold
The threshold for Info-level alerts.
|
Integer |
times
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
|
| 构造器和说明 |
|---|
PutGroupMetricRuleRequestEscalationsInfo() |
@NameInMap(value="ComparisonOperator") public String comparisonOperator
The operator that is used to compare the metric value with the threshold for Info-level alerts. 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="Statistics") public String statistics
The statistical methods for Info-level alerts. Separate multiple statistical methods with commas (,).
The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` parameter of the specified cloud service. The value of this parameter can be Maximum, Minimum, or Average. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Threshold") public String threshold
The threshold for Info-level alerts.
@NameInMap(value="Times") public Integer times
The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
public static PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo build(Map<String,?> map) throws Exception
Exceptionpublic PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo setComparisonOperator(String comparisonOperator)
public String getComparisonOperator()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo setStatistics(String statistics)
public String getStatistics()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo setThreshold(String threshold)
public String getThreshold()
public PutGroupMetricRuleRequest.PutGroupMetricRuleRequestEscalationsInfo setTimes(Integer times)
public Integer getTimes()
Copyright © 2024. All rights reserved.