SiteMonitorProps
Properties for defining a SiteMonitor.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-sitemonitor
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cms;
new SiteMonitorProps {
object Address,
object TaskName,
object TaskType,
object AlertIds = null,
object Interval = null,
object IspCities = null,
object OptionsJson = null
};
Properties
| Name | Type | Description |
|---|---|---|
Address | object | Property address: The URL or IP address monitored by the monitoring task. |
TaskName | object | Property taskName: The name of the monitoring task. |
TaskType | object | Property taskType: The type of monitoring task. |
AlertIds | object | Property alertIds:. |
Interval | object | Property interval: The monitoring frequency in minutes. |
IspCities | object | Property ispCities: The information about detection points, which is specified in a JSON array. |
OptionsJson | object | Property optionsJson: The extended options of the protocol that is used by the site monitoring task. |
AddressRequired
public object Address { get; set; }
- Type: object
Property address: The URL or IP address monitored by the monitoring task.
TaskNameRequired
public object TaskName { get; set; }
- Type: object
Property taskName: The name of the monitoring task.
The name must be 4 to 100 characters long and can contain letters, digits, underscores (_), and Chinese characters.
TaskTypeRequired
public object TaskType { get; set; }
- Type: object
Property taskType: The type of monitoring task.
Valid protocols include HTTP(S), PING, TCP, UDP, DNS, SMTP, POP3, FTP, and WEBSOCKET.
AlertIdsOptional
public object AlertIds { get; set; }
- Type: object
Property alertIds:.
IntervalOptional
public object Interval { get; set; }
- Type: object
Property interval: The monitoring frequency in minutes.
Valid values: 1, 5, 15, 30, and 60. Default: 1.
IspCitiesOptional
public object IspCities { get; set; }
- Type: object
Property ispCities: The information about detection points, which is specified in a JSON array.
Example: [{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]. The three city codes represent Beijing, Hangzhou, and Qingdao. Note You can call the DescribeSiteMonitorISPCityList API operation to query the detection points that can be used to create site monitoring tasks. For more information, see DescribeSiteMonitorISPCityList . If this parameter is not specified, the system randomly selects three detection points for site monitoring.
OptionsJsonOptional
public object OptionsJson { get; set; }
- Type: object
Property optionsJson: The extended options of the protocol that is used by the site monitoring task.
The options vary based on the protocol.