AddressPoolProps
Properties for defining a AddressPool.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-addresspool
Initializer
import { AddressPoolProps } from '@alicloud/ros-cdk-dns'
const addressPoolProps: AddressPoolProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
addr | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddrProperty[] | Property addr: The list of addresses in the address pool. |
instanceId | string | @alicloud/ros-cdk-core.IResolvable | Property instanceId: The ID of the GTM instance. |
lbaStrategy | string | @alicloud/ros-cdk-core.IResolvable | Property lbaStrategy: The load balancing policy. |
name | string | @alicloud/ros-cdk-core.IResolvable | Property name: The name of the address pool. |
type | string | @alicloud/ros-cdk-core.IResolvable | Property type: The type of the address pool. |
evaluationCount | number | @alicloud/ros-cdk-core.IResolvable | Property evaluationCount: The number of times that the system waits for a response from each address before it marks the address as unhealthy. |
interval | number | @alicloud/ros-cdk-core.IResolvable | Property interval: The interval between two consecutive health checks, in seconds. |
ispCityNode | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IspCityNodeProperty[] | Property ispCityNode: The list of ISP city nodes. |
monitorExtendInfo | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property monitorExtendInfo: The extended information. |
monitorStatus | string | @alicloud/ros-cdk-core.IResolvable | Property monitorStatus: The status of the health check feature. |
protocolType | string | @alicloud/ros-cdk-core.IResolvable | Property protocolType: The protocol type. |
timeout | number | @alicloud/ros-cdk-core.IResolvable | Property timeout: The timeout period of a health check, in seconds. |
addrRequired
public readonly addr: IResolvable | IResolvable | AddrProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddrProperty[]
Property addr: The list of addresses in the address pool.
instanceIdRequired
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the GTM instance.
lbaStrategyRequired
public readonly lbaStrategy: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property lbaStrategy: The load balancing policy.
Valid values: - ALL_RR: returns all addresses. - RATIO: returns addresses by weight.
nameRequired
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the address pool.
typeRequired
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property type: The type of the address pool.
Valid values: - IPV4: IPv4 address - IPV6: IPv6 address - DOMAIN: domain name
evaluationCountOptional
public readonly evaluationCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
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 readonly interval: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property interval: The interval between two consecutive health checks, in seconds.
ispCityNodeOptional
public readonly ispCityNode: IResolvable | IResolvable | IspCityNodeProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | IspCityNodeProperty[]
Property ispCityNode: The list of ISP city nodes.
monitorExtendInfoOptional
public readonly monitorExtendInfo: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
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 readonly monitorStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly protocolType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protocolType: The protocol type.
timeoutOptional
public readonly timeout: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property timeout: The timeout period of a health check, in seconds.