public static class CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList
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.
|
| 构造器和说明 |
|---|
CreateHostAvailabilityRequestAlertConfigEscalationList() |
@NameInMap(value="Aggregate") public String aggregate
The method used to calculate the metric values that trigger alerts. Valid values of N: 1 to 21. Valid values:
* 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 CreateHostAvailabilityRequestAlertConfigEscalationList()
public static CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList build(Map<String,?> map) throws Exception
Exceptionpublic CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList setAggregate(String aggregate)
public String getAggregate()
public CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList setMetricName(String metricName)
public String getMetricName()
public CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList setOperator(String operator)
public String getOperator()
public CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList setTimes(Integer times)
public Integer getTimes()
public CreateHostAvailabilityRequest.CreateHostAvailabilityRequestAlertConfigEscalationList setValue(String value)
public String getValue()
Copyright © 2024. All rights reserved.