Skip to content

AccessStrategyProps

Properties for defining a AccessStrategy.

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

Initializer

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

Properties

Name Type Description
defaultAddrPool @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DefaultAddrPoolProperty[] Property defaultAddrPool: The default address pool of the access strategy.
defaultAddrPoolType string | @alicloud/ros-cdk-core.IResolvable Property defaultAddrPoolType: The type of the default address pool.
defaultMinAvailableAddrNum number | @alicloud/ros-cdk-core.IResolvable Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of the Dns instance.
strategyMode string | @alicloud/ros-cdk-core.IResolvable Property strategyMode: The mode of the access strategy.
strategyName string | @alicloud/ros-cdk-core.IResolvable Property strategyName: The name of the access strategy.
accessMode string | @alicloud/ros-cdk-core.IResolvable Property accessMode: The access mode of the access strategy.
defaultLatencyOptimization string | @alicloud/ros-cdk-core.IResolvable Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool.
defaultLbaStrategy string | @alicloud/ros-cdk-core.IResolvable Property defaultLbaStrategy: The load balancing strategy of the default address pool.
defaultMaxReturnAddrNum number | @alicloud/ros-cdk-core.IResolvable Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool.
failoverAddrPool @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | FailoverAddrPoolProperty[] Property failoverAddrPool: The failover address pool of the access strategy.
failoverAddrPoolType string | @alicloud/ros-cdk-core.IResolvable Property failoverAddrPoolType: The type of the failover address pool.
failoverLatencyOptimization string | @alicloud/ros-cdk-core.IResolvable Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool.
failoverLbaStrategy string | @alicloud/ros-cdk-core.IResolvable Property failoverLbaStrategy: The load balancing strategy of the failover address pool.
failoverMaxReturnAddrNum number | @alicloud/ros-cdk-core.IResolvable Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool.
failoverMinAvailableAddrNum number | @alicloud/ros-cdk-core.IResolvable Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool.
lines @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property lines: The lines of the access strategy.

defaultAddrPoolRequired

public readonly defaultAddrPool: IResolvable | IResolvable | DefaultAddrPoolProperty[];

Property defaultAddrPool: The default address pool of the access strategy.


defaultAddrPoolTypeRequired

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

Property defaultAddrPoolType: The type of the default address pool.


defaultMinAvailableAddrNumRequired

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

Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool.


instanceIdRequired

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

Property instanceId: The ID of the Dns instance.


strategyModeRequired

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

Property strategyMode: The mode of the access strategy.


strategyNameRequired

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

Property strategyName: The name of the access strategy.


accessModeOptional

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

Property accessMode: The access mode of the access strategy.


defaultLatencyOptimizationOptional

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

Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool.


defaultLbaStrategyOptional

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

Property defaultLbaStrategy: The load balancing strategy of the default address pool.


defaultMaxReturnAddrNumOptional

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

Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool.


failoverAddrPoolOptional

public readonly failoverAddrPool: IResolvable | IResolvable | FailoverAddrPoolProperty[];

Property failoverAddrPool: The failover address pool of the access strategy.


failoverAddrPoolTypeOptional

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

Property failoverAddrPoolType: The type of the failover address pool.


failoverLatencyOptimizationOptional

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

Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool.


failoverLbaStrategyOptional

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

Property failoverLbaStrategy: The load balancing strategy of the failover address pool.


failoverMaxReturnAddrNumOptional

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

Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool.


failoverMinAvailableAddrNumOptional

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

Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool.


linesOptional

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

Property lines: The lines of the access strategy.