public class UpdateApplicationMonitorRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
address
The URL or IP address that is probed.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
detectEnable
Specifies whether to enable the automatic diagnostics feature.
|
Integer |
detectThreshold
Set the threshold that is used to trigger the automatic diagnostics feature.
|
Integer |
detectTimes
The number of times that the threshold must be reached before the automatic diagnostics feature is triggered.
|
String |
listenerId
The ID of the listener that you want to modify.
|
String |
optionsJson
The extended options of the listener protocol that is used by the origin probing task.
|
String |
regionId
The ID of the region where the Global Accelerator (GA) instance is deployed.
|
Integer |
silenceTime
The silence period of the automatic diagnostics feature.
|
String |
taskId
The ID of the origin probing task that you want to modify.
|
String |
taskName
The name of the origin probing task.
|
构造器和说明 |
---|
UpdateApplicationMonitorRequest() |
@NameInMap(value="Address") public String address
The URL or IP address that is probed.
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="DetectEnable") public Boolean detectEnable
Specifies whether to enable the automatic diagnostics feature. Valid values:
* **true**
* **false** (default)
@NameInMap(value="DetectThreshold") public Integer detectThreshold
Set the threshold that is used to trigger the automatic diagnostics feature. If the liveness of the origin in percentile drops below the specified threshold, the automatic diagnostics feature is triggered.
Valid values: **0** to **100**.
@NameInMap(value="DetectTimes") public Integer detectTimes
The number of times that the threshold must be reached before the automatic diagnostics feature is triggered.
Valid values: **1** to **20**.
@NameInMap(value="ListenerId") public String listenerId
The ID of the listener that you want to modify. The listener runs the origin probing task.
@NameInMap(value="OptionsJson") public String optionsJson
The extended options of the listener protocol that is used by the origin probing task. The options vary based on the listener protocol.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the Global Accelerator (GA) instance is deployed. The value is set to **cn-hangzhou**.
@NameInMap(value="SilenceTime") public Integer silenceTime
The silence period of the automatic diagnostics feature. This parameter specifies the interval at which the automatic diagnostics feature is triggered. If the availability rate does not return to normal after GA triggers an automatic diagnostic task, GA must wait until the silence period ends before GA can trigger another automatic diagnostic task.
If the number of consecutive times that the availability rate drops below the threshold of automatic diagnostics reaches the value of the **DetectTimes** parameter, the automatic diagnostics feature is triggered. The automatic diagnostics feature is not triggered again within the silence period even if the availability rate stays below the threshold. If the availability rate does not return to normal after the silence period ends, the automatic diagnostics feature is triggered again.
Unit: seconds. Valid values: **300** to **86400**.
@NameInMap(value="TaskId") public String taskId
The ID of the origin probing task that you want to modify.
@NameInMap(value="TaskName") public String taskName
The name of the origin probing task.
The name must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
public static UpdateApplicationMonitorRequest build(Map<String,?> map) throws Exception
Exception
public UpdateApplicationMonitorRequest setAddress(String address)
public String getAddress()
public UpdateApplicationMonitorRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateApplicationMonitorRequest setDetectEnable(Boolean detectEnable)
public Boolean getDetectEnable()
public UpdateApplicationMonitorRequest setDetectThreshold(Integer detectThreshold)
public Integer getDetectThreshold()
public UpdateApplicationMonitorRequest setDetectTimes(Integer detectTimes)
public Integer getDetectTimes()
public UpdateApplicationMonitorRequest setListenerId(String listenerId)
public String getListenerId()
public UpdateApplicationMonitorRequest setOptionsJson(String optionsJson)
public String getOptionsJson()
public UpdateApplicationMonitorRequest setRegionId(String regionId)
public String getRegionId()
public UpdateApplicationMonitorRequest setSilenceTime(Integer silenceTime)
public Integer getSilenceTime()
public UpdateApplicationMonitorRequest setTaskId(String taskId)
public String getTaskId()
public UpdateApplicationMonitorRequest setTaskName(String taskName)
public String getTaskName()
Copyright © 2024. All rights reserved.