Skip to content

MonitorConfigProps

Properties for defining a MonitorConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-monitorconfig

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dns;
new MonitorConfigProps {
    object AddrPoolId,
    object EvaluationCount,
    object Interval,
    object IspCityNode,
    object MonitorExtendInfo,
    object ProtocolType,
    object Timeout
};

Properties

Name Type Description
AddrPoolId object Property addrPoolId: The ID of the address pool.
EvaluationCount object Property evaluationCount: The evaluation count of the monitor.
Interval object Property interval: The health check interval.
IspCityNode object Property ispCityNode: The ISP city node list.
MonitorExtendInfo object Property monitorExtendInfo: The extended information.
ProtocolType object Property protocolType: The health check protocol.
Timeout object Property timeout: The timeout period.

AddrPoolIdRequired

public object AddrPoolId { get; set; }
  • Type: object

Property addrPoolId: The ID of the address pool.


EvaluationCountRequired

public object EvaluationCount { get; set; }
  • Type: object

Property evaluationCount: The evaluation count of the monitor.


IntervalRequired

public object Interval { get; set; }
  • Type: object

Property interval: The health check interval.

Unit: seconds.


IspCityNodeRequired

public object IspCityNode { get; set; }
  • Type: object

Property ispCityNode: The ISP city node list.


MonitorExtendInfoRequired

public object MonitorExtendInfo { get; set; }
  • Type: object

Property monitorExtendInfo: The extended information.

The parameters vary based on the protocol type.

  • HTTP or HTTPS
  • port: The health check port.
  • host: The Host header.
  • path: The URL path.
  • code: The health check is considered abnormal if the returned HTTP status code is greater than this value.
  • failureRate: The failure rate.
  • sni: Specifies whether to enable Server Name Indication (SNI). This parameter is used only when the health check protocol is HTTPS. Valid values:
  • true
  • false
  • nodeType: The type of the monitoring node. This parameter is used when the address pool type is DOMAIN. Valid values:
  • IPV4
  • IPV6
  • PING
  • failureRate: The failure rate.
  • packetNum: The number of ping packets.
  • packetLossRate: The packet loss rate.
  • nodeType: The type of the monitoring node. This parameter is used when the address pool type is DOMAIN. Valid values:
  • IPV4
  • IPV6
  • TCP
  • port: The health check port.
  • failureRate: The failure rate.
  • nodeType: The type of the monitoring node. This parameter is used when the address pool type is DOMAIN. Valid values:
  • IPV4
  • IPV6

This parameter must be a JSON string.


ProtocolTypeRequired

public object ProtocolType { get; set; }
  • Type: object

Property protocolType: The health check protocol.

Valid values:

  • HTTP
  • HTTPS
  • PING
  • TCP

TimeoutRequired

public object Timeout { get; set; }
  • Type: object

Property timeout: The timeout period.

Unit: milliseconds.