public static class ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
aggregate
The method used to calculate the metric values that trigger alerts.
|
String |
metricName
The metric for which the alert feature is enabled.
|
String |
operator
The comparison operator that is used in the alert rule.
|
Integer |
times
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
String |
value
The alert threshold.
|
| 构造器和说明 |
|---|
ModifyHostAvailabilityRequestAlertConfigEscalationList() |
@NameInMap(value="Aggregate") public String aggregate
The method used to calculate the metric values that trigger alerts. Valid values of N: 1 to 21. The value of this parameter varies based on the metric. The following items show the correspondence between metrics and calculation methods:
* HttpStatus: Value
* HttpLatency: Average
* TelnetStatus: Value
* TelnetLatency: Average
* PingLostRate: Average
> The value Value indicates the original value and is used for metrics such as status codes. The value Average indicates the average value and is used for metrics such as the latency and packet loss rate.
@NameInMap(value="MetricName") public String metricName
The metric for which the alert feature is enabled. Valid values of N: 1 to 21. Valid values:
* HttpStatus: HTTP status code
* HttpLatency: HTTP response time
* TelnetStatus: Telnet status code
* TelnetLatency: Telnet response time
* PingLostRate: Ping packet loss rate
@NameInMap(value="Operator") public String operator
The comparison operator that is used in the alert rule. Valid values of N: 1 to 21. Valid values:
* `>`
* `>=`
* `<`
* `<=`
* `=`
@NameInMap(value="Times") public Integer times
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered. Valid values of N: 1 to 21.
@NameInMap(value="Value") public String value
The alert threshold. Valid values of N: 1 to 21.
public ModifyHostAvailabilityRequestAlertConfigEscalationList()
public static ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList build(Map<String,?> map) throws Exception
Exceptionpublic ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList setAggregate(String aggregate)
public String getAggregate()
public ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList setMetricName(String metricName)
public String getMetricName()
public ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList setOperator(String operator)
public String getOperator()
public ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList setTimes(Integer times)
public Integer getTimes()
public ModifyHostAvailabilityRequest.ModifyHostAvailabilityRequestAlertConfigEscalationList setValue(String value)
public String getValue()
Copyright © 2024. All rights reserved.