MonitorConfigProps
Properties for defining a MonitorConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-monitorconfig
Initializer
import com.aliyun.ros.cdk.dns.MonitorConfigProps;
MonitorConfigProps.builder()
.addrPoolId(java.lang.String)
.addrPoolId(IResolvable)
.evaluationCount(java.lang.Number)
.evaluationCount(IResolvable)
.interval(java.lang.Number)
.interval(IResolvable)
.ispCityNode(IResolvable)
.ispCityNode(java.util.List<IResolvable)
.ispCityNode(IspCityNodeProperty>)
.monitorExtendInfo(IResolvable)
.monitorExtendInfo(java.util.Map<java.lang.String, java.lang.Object>)
.protocolType(java.lang.String)
.protocolType(IResolvable)
.timeout(java.lang.Number)
.timeout(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
addrPoolId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property addrPoolId: The ID of the address pool. |
evaluationCount | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property evaluationCount: The evaluation count of the monitor. |
interval | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property interval: The health check interval. |
ispCityNode | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property ispCityNode: The ISP city node list. |
monitorExtendInfo | com.aliyun.ros.cdk.core.IResolvable OR java.util.Map | Property monitorExtendInfo: The extended information. |
protocolType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property protocolType: The health check protocol. |
timeout | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property timeout: The timeout period. |
addrPoolIdRequired
public java.lang.Object getAddrPoolId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property addrPoolId: The ID of the address pool.
evaluationCountRequired
public java.lang.Object getEvaluationCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property evaluationCount: The evaluation count of the monitor.
intervalRequired
public java.lang.Object getInterval();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property interval: The health check interval.
Unit: seconds.
ispCityNodeRequired
public java.lang.Object getIspCityNode();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
IspCityNodeProperty>
Property ispCityNode: The ISP city node list.
monitorExtendInfoRequired
public java.lang.Object getMonitorExtendInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
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 java.lang.Object getProtocolType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property protocolType: The health check protocol.
Valid values:
- HTTP
- HTTPS
- PING
- TCP
timeoutRequired
public java.lang.Object getTimeout();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property timeout: The timeout period.
Unit: milliseconds.