public static class DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
endTime
The end of the time period during which the alert rule is effective.
|
DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationList |
escalationList
The trigger conditions of the alert rule.
|
Integer |
notifyType
The alert notification methods.
|
Integer |
silenceTime
The mute period during which new alerts are not sent even if the trigger conditions are met.
|
Integer |
startTime
The beginning of the time period during which the alert rule is effective.
|
DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetList |
targetList |
String |
webHook
The callback URL.
|
| 构造器和说明 |
|---|
DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig() |
@NameInMap(value="EndTime") public Integer endTime
The end of the time period during which the alert rule is effective. Valid values: 0 to 23.
For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
> Alert notifications are sent based on the specified threshold only if the alert rule is effective.
@NameInMap(value="EscalationList") public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationList escalationList
The trigger conditions of the alert rule.
@NameInMap(value="NotifyType") public Integer notifyType
The alert notification methods. Valid values:
0: Alert notifications are sent by using emails and DingTalk chatbots.
@NameInMap(value="SilenceTime") public Integer silenceTime
The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
@NameInMap(value="StartTime") public Integer startTime
The beginning of the time period during which the alert rule is effective. Valid values: 0 to 23.
For example, if the `AlertConfig.StartTime` parameter is set to 0 and the `AlertConfig.EndTime` parameter is set to 22, the alert rule is effective from 00:00:00 to 22:00:00.
> Alert notifications are sent based on the specified threshold only if the alert rule is effective.
@NameInMap(value="TargetList") public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetList targetList
@NameInMap(value="WebHook") public String webHook
The callback URL.
CloudMonitor pushes an alert notification to the specified callback URL by sending an HTTP POST request. Only the HTTP protocol is supported.
public DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig()
public static DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig build(Map<String,?> map) throws Exception
Exceptionpublic DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setEndTime(Integer endTime)
public Integer getEndTime()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setEscalationList(DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationList escalationList)
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigEscalationList getEscalationList()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setNotifyType(Integer notifyType)
public Integer getNotifyType()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setSilenceTime(Integer silenceTime)
public Integer getSilenceTime()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setStartTime(Integer startTime)
public Integer getStartTime()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setTargetList(DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetList targetList)
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfigTargetList getTargetList()
public DescribeHostAvailabilityListResponseBody.DescribeHostAvailabilityListResponseBodyTaskListNodeTaskConfigAlertConfig setWebHook(String webHook)
public String getWebHook()
Copyright © 2024. All rights reserved.