Skip to content

MonitorConfigProps

Properties for defining a MonitorConfig.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdns"
&alicloudroscdkdns.MonitorConfigProps {
    AddrPoolId: interface{},
    EvaluationCount: interface{},
    Interval: interface{},
    IspCityNode: interface{},
    MonitorExtendInfo: interface{},
    ProtocolType: interface{},
    Timeout: interface{},
}

Properties

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

AddrPoolIdRequired

AddrPoolId interface{}
  • Type: interface{}

Property addrPoolId: The ID of the address pool.


EvaluationCountRequired

EvaluationCount interface{}
  • Type: interface{}

Property evaluationCount: The evaluation count of the monitor.


IntervalRequired

Interval interface{}
  • Type: interface{}

Property interval: The health check interval.

Unit: seconds.


IspCityNodeRequired

IspCityNode interface{}
  • Type: interface{}

Property ispCityNode: The ISP city node list.


MonitorExtendInfoRequired

MonitorExtendInfo interface{}
  • Type: interface{}

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

ProtocolType interface{}
  • Type: interface{}

Property protocolType: The health check protocol.

Valid values:

  • HTTP
  • HTTPS
  • PING
  • TCP

TimeoutRequired

Timeout interface{}
  • Type: interface{}

Property timeout: The timeout period.

Unit: milliseconds.