Skip to content

MonitorConfigProps

Properties for defining a MonitorConfig.

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

Initializer

import { MonitorConfigProps } from '@alicloud/ros-cdk-dns'
const monitorConfigProps: MonitorConfigProps = { ... }

Properties

Name Type Description
addrPoolId string | @alicloud/ros-cdk-core.IResolvable Property addrPoolId: The ID of the address pool.
evaluationCount number | @alicloud/ros-cdk-core.IResolvable Property evaluationCount: The evaluation count of the monitor.
interval number | @alicloud/ros-cdk-core.IResolvable Property interval: The health check interval.
ispCityNode @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IspCityNodeProperty[] Property ispCityNode: The ISP city node list.
monitorExtendInfo @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property monitorExtendInfo: The extended information.
protocolType string | @alicloud/ros-cdk-core.IResolvable Property protocolType: The health check protocol.
timeout number | @alicloud/ros-cdk-core.IResolvable Property timeout: The timeout period.

addrPoolIdRequired

public readonly addrPoolId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property addrPoolId: The ID of the address pool.


evaluationCountRequired

public readonly evaluationCount: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property evaluationCount: The evaluation count of the monitor.


intervalRequired

public readonly interval: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property interval: The health check interval.

Unit: seconds.


ispCityNodeRequired

public readonly ispCityNode: IResolvable | IResolvable | IspCityNodeProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IspCityNodeProperty[]

Property ispCityNode: The ISP city node list.


monitorExtendInfoRequired

public readonly monitorExtendInfo: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

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 readonly protocolType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property protocolType: The health check protocol.

Valid values: - HTTP - HTTPS - PING - TCP


timeoutRequired

public readonly timeout: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property timeout: The timeout period.

Unit: milliseconds.