MonitorConfigProps
Properties for defining a MonitorConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-monitorconfig
Initializer
import ros_cdk_dns
ros_cdk_dns.MonitorConfigProps(
addr_pool_id: typing.Union[str, IResolvable],
evaluation_count: typing.Union[typing.Union[int, float], IResolvable],
interval: typing.Union[typing.Union[int, float], IResolvable],
isp_city_node: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, IspCityNodeProperty]]],
monitor_extend_info: typing.Union[IResolvable, typing.Mapping[typing.Any]],
protocol_type: typing.Union[str, IResolvable],
timeout: typing.Union[typing.Union[int, float], IResolvable]
)
Properties
| Name | Type | Description |
|---|---|---|
addr_pool_id | typing.Union[str, ros_cdk_core.IResolvable] | Property addrPoolId: The ID of the address pool. |
evaluation_count | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property evaluationCount: The evaluation count of the monitor. |
interval | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property interval: The health check interval. |
isp_city_node | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, IspCityNodeProperty]]] | Property ispCityNode: The ISP city node list. |
monitor_extend_info | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property monitorExtendInfo: The extended information. |
protocol_type | typing.Union[str, ros_cdk_core.IResolvable] | Property protocolType: The health check protocol. |
timeout | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property timeout: The timeout period. |
addr_pool_idRequired
addr_pool_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property addrPoolId: The ID of the address pool.
evaluation_countRequired
evaluation_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property evaluationCount: The evaluation count of the monitor.
intervalRequired
interval: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property interval: The health check interval.
Unit: seconds.
isp_city_nodeRequired
isp_city_node: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, IspCityNodeProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, IspCityNodeProperty]]]
Property ispCityNode: The ISP city node list.
monitor_extend_infoRequired
monitor_extend_info: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
protocol_typeRequired
protocol_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property protocolType: The health check protocol.
Valid values:
- HTTP
- HTTPS
- PING
- TCP
timeoutRequired
timeout: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property timeout: The timeout period.
Unit: milliseconds.