public static final class CreateHostAvailabilityRequest.AlertConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateHostAvailabilityRequest.AlertConfig |
build() |
CreateHostAvailabilityRequest.AlertConfig.Builder |
endTime(Integer endTime)
The name of the availability monitoring task.
|
CreateHostAvailabilityRequest.AlertConfig.Builder |
notifyType(Integer notifyType)
The content of the HTTP POST request.
|
CreateHostAvailabilityRequest.AlertConfig.Builder |
silenceTime(Integer silenceTime)
The interval at which detection requests are sent.
|
CreateHostAvailabilityRequest.AlertConfig.Builder |
startTime(Integer startTime)
The method used to calculate metric values that trigger alerts.
|
CreateHostAvailabilityRequest.AlertConfig.Builder |
webHook(String webHook)
The range of instances that are monitored by the availability monitoring task.
|
public CreateHostAvailabilityRequest.AlertConfig.Builder endTime(Integer endTime)
public CreateHostAvailabilityRequest.AlertConfig.Builder notifyType(Integer notifyType)
public CreateHostAvailabilityRequest.AlertConfig.Builder silenceTime(Integer silenceTime)
> This parameter is available only for the CloudMonitor agent V3.5.1 or later.
public CreateHostAvailabilityRequest.AlertConfig.Builder startTime(Integer startTime)
* 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.
public CreateHostAvailabilityRequest.AlertConfig.Builder webHook(String webHook)
* GROUP: All ECS instances in the application group are monitored. * GROUP_SPEC_INSTANCE: Specified ECS instances in the application group are monitored. The TaskScope parameter must be used in combination with the InstanceList.N parameter. The InstanceList.N parameter specifies the ECS instances to be monitored.
public CreateHostAvailabilityRequest.AlertConfig build()
Copyright © 2023. All rights reserved.