public class CreateApplicationMonitorRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceleratorId
The ID of the GA instance on which you want to perform the origin probing task.
|
String |
address
The URL or IP address that you want to probe.
|
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
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 on which you want to perform the origin probing task.
|
String |
optionsJson
The extended options of the listener protocol that is used by the origin probing task.
|
String |
regionId
The region ID of the GA instance.
|
Integer |
silenceTime
The silence period of the automatic diagnostics feature.
|
String |
taskName
The name of the origin probing task.
|
构造器和说明 |
---|
CreateApplicationMonitorRequest() |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the GA instance on which you want to perform the origin probing task.
@NameInMap(value="Address") public String address
The URL or IP address that you want to probe.
@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
The threshold that is used to trigger the automatic diagnostics feature. Unit: percentage.
Valid values: **0** to **100**.
The default value is **0**, which indicates that the automatic diagnostics feature is not triggered.
@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**. Default value: **1**.
@NameInMap(value="ListenerId") public String listenerId
The ID of the listener on which you want to perform 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 region ID of the GA instance. Set the value 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 **DetectTimes**, the automatic diagnostics feature is triggered. The automatic diagnostics feature is not triggered again within the silence period even if the availability rate remains 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**. Default value: **300**.
@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 CreateApplicationMonitorRequest build(Map<String,?> map) throws Exception
Exception
public CreateApplicationMonitorRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public CreateApplicationMonitorRequest setAddress(String address)
public String getAddress()
public CreateApplicationMonitorRequest setClientToken(String clientToken)
public String getClientToken()
public CreateApplicationMonitorRequest setDetectEnable(Boolean detectEnable)
public Boolean getDetectEnable()
public CreateApplicationMonitorRequest setDetectThreshold(Integer detectThreshold)
public Integer getDetectThreshold()
public CreateApplicationMonitorRequest setDetectTimes(Integer detectTimes)
public Integer getDetectTimes()
public CreateApplicationMonitorRequest setListenerId(String listenerId)
public String getListenerId()
public CreateApplicationMonitorRequest setOptionsJson(String optionsJson)
public String getOptionsJson()
public CreateApplicationMonitorRequest setRegionId(String regionId)
public String getRegionId()
public CreateApplicationMonitorRequest setSilenceTime(Integer silenceTime)
public Integer getSilenceTime()
public CreateApplicationMonitorRequest setTaskName(String taskName)
public String getTaskName()
Copyright © 2024. All rights reserved.