AddressPoolProps
Properties for defining a AddressPool.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-addresspool
Initializer
using AlibabaCloud.SDK.ROS.CDK.Dns;
new AddressPoolProps {
object Addr,
object InstanceId,
object LbaStrategy,
object Name,
object Type,
object EvaluationCount = null,
object Interval = null,
object IspCityNode = null,
object MonitorExtendInfo = null,
object MonitorStatus = null,
object ProtocolType = null,
object Timeout = null
};
Properties
| Name | Type | Description |
|---|---|---|
Addr | object | Property addr: The list of addresses in the address pool. |
InstanceId | object | Property instanceId: The ID of the GTM instance. |
LbaStrategy | object | Property lbaStrategy: The load balancing policy. |
Name | object | Property name: The name of the address pool. |
Type | object | Property type: The type of the address pool. |
EvaluationCount | object | Property evaluationCount: The number of times that the system waits for a response from each address before it marks the address as unhealthy. |
Interval | object | Property interval: The interval between two consecutive health checks, in seconds. |
IspCityNode | object | Property ispCityNode: The list of ISP city nodes. |
MonitorExtendInfo | object | Property monitorExtendInfo: The extended information. |
MonitorStatus | object | Property monitorStatus: The status of the health check feature. |
ProtocolType | object | Property protocolType: The protocol type. |
Timeout | object | Property timeout: The timeout period of a health check, in seconds. |
AddrRequired
public object Addr { get; set; }
- Type: object
Property addr: The list of addresses in the address pool.
InstanceIdRequired
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the GTM instance.
LbaStrategyRequired
public object LbaStrategy { get; set; }
- Type: object
Property lbaStrategy: The load balancing policy.
Valid values:
- ALL_RR: returns all addresses.
- RATIO: returns addresses by weight.
NameRequired
public object Name { get; set; }
- Type: object
Property name: The name of the address pool.
TypeRequired
public object Type { get; set; }
- Type: object
Property type: The type of the address pool.
Valid values:
- IPV4: IPv4 address
- IPV6: IPv6 address
- DOMAIN: domain name
EvaluationCountOptional
public object EvaluationCount { get; set; }
- Type: object
Property evaluationCount: The number of times that the system waits for a response from each address before it marks the address as unhealthy.
IntervalOptional
public object Interval { get; set; }
- Type: object
Property interval: The interval between two consecutive health checks, in seconds.
IspCityNodeOptional
public object IspCityNode { get; set; }
- Type: object
Property ispCityNode: The list of ISP city nodes.
MonitorExtendInfoOptional
public object MonitorExtendInfo { get; set; }
- Type: object
Property monitorExtendInfo: The extended information.
This parameter is a JSON string. The required parameters vary based on the health check protocol:
- HTTP and HTTPS:
- port: The health check port.
- host: The host settings.
- path: The URL path.
- code: The return code. A response with a status code greater than this value is considered abnormal. Valid values: 400 and 500.
- failureRate: The failure rate.
- sni: Specifies whether to enable Server Name Indication (SNI). This parameter is available only for the HTTPS protocol.
- true: Enable SNI.
- Other values: Disable SNI.
- nodeType: The type of the health check node 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 health check node 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 health check node when the address pool type is DOMAIN. Valid values:
- IPV4
- IPV6
MonitorStatusOptional
public object MonitorStatus { get; set; }
- Type: object
Property monitorStatus: The status of the health check feature.
Default value: CLOSE. If you set this parameter to OPEN, the health check configuration is verified. Otherwise, the configuration is ignored.
- OPEN: enabled
- CLOSE: disabled
ProtocolTypeOptional
public object ProtocolType { get; set; }
- Type: object
Property protocolType: The protocol type.
TimeoutOptional
public object Timeout { get; set; }
- Type: object
Property timeout: The timeout period of a health check, in seconds.