public static class BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
address
The URL or IP address that is monitored by the task.
|
String |
ispCities
The detection points.
|
String |
optionsJson
The extended options of the protocol that is used by the site monitoring task.
|
String |
taskName
The name of the site monitoring task.
|
String |
taskType
The type of the site monitoring task.
|
| 构造器和说明 |
|---|
BatchCreateInstantSiteMonitorRequestTaskList() |
@NameInMap(value="Address") public String address
The URL or IP address that is monitored by the task.
example:You must create at least one site monitoring task. You must specify all of the
Address,TaskName, andTaskTypeparameters in each request.
@NameInMap(value="IspCities") public String ispCities
The detection points. If you leave this parameter empty, the system randomly selects three detection points.
The value is a JSON array. Example: {"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}. The values of the city field indicate Beijing, Hangzhou, and Qingdao.
For information about how to obtain detection points, see DescribeSiteMonitorISPCityList.
example:[{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]
@NameInMap(value="OptionsJson") public String optionsJson
The extended options of the protocol that is used by the site monitoring task. The options vary based on the protocol.
example:{"time_out":5000}
@NameInMap(value="TaskName") public String taskName
The name of the site monitoring task.
The name must be 4 to 100 characters in length, and can contain letters, digits, and underscores (_).
example:You must create at least one site monitoring task. You must specify all of the
Address,TaskName, andTaskTypeparameters in each request.
HangZhou_ECS1
@NameInMap(value="TaskType") public String taskType
The type of the site monitoring task.
Valid values: HTTP, PING, TCP, UDP, DNS, SMTP, POP3, and FTP.
example:You must create at least one site monitoring task. You must specify all of the
Address,TaskName, andTaskTypeparameters in each request.
HTTP
public BatchCreateInstantSiteMonitorRequestTaskList()
public static BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList build(Map<String,?> map) throws Exception
Exceptionpublic BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList setAddress(String address)
public String getAddress()
public BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList setIspCities(String ispCities)
public String getIspCities()
public BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList setOptionsJson(String optionsJson)
public String getOptionsJson()
public BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList setTaskName(String taskName)
public String getTaskName()
public BatchCreateInstantSiteMonitorRequest.BatchCreateInstantSiteMonitorRequestTaskList setTaskType(String taskType)
public String getTaskType()
Copyright © 2026. All rights reserved.