AccessStrategyArgs

data class AccessStrategyArgs(val accessMode: Output<String>? = null, val defaultAddrPoolType: Output<String>? = null, val defaultAddrPools: Output<List<AccessStrategyDefaultAddrPoolArgs>>? = null, val defaultLatencyOptimization: Output<String>? = null, val defaultLbaStrategy: Output<String>? = null, val defaultMaxReturnAddrNum: Output<Int>? = null, val defaultMinAvailableAddrNum: Output<Int>? = null, val failoverAddrPoolType: Output<String>? = null, val failoverAddrPools: Output<List<AccessStrategyFailoverAddrPoolArgs>>? = null, val failoverLatencyOptimization: Output<String>? = null, val failoverLbaStrategy: Output<String>? = null, val failoverMaxReturnAddrNum: Output<Int>? = null, val failoverMinAvailableAddrNum: Output<Int>? = null, val instanceId: Output<String>? = null, val lang: Output<String>? = null, val lines: Output<List<AccessStrategyLineArgs>>? = null, val strategyMode: Output<String>? = null, val strategyName: Output<String>? = null) : ConvertibleToJava<AccessStrategyArgs>

Provides a DNS Access Strategy resource. For information about DNS Access Strategy and how to use it, see What is Access Strategy.

NOTE: Available since v1.152.0.

Import

DNS Access Strategy can be imported using the id, e.g.

$ pulumi import alicloud:dns/accessStrategy:AccessStrategy example <id>

Constructors

Link copied to clipboard
constructor(accessMode: Output<String>? = null, defaultAddrPoolType: Output<String>? = null, defaultAddrPools: Output<List<AccessStrategyDefaultAddrPoolArgs>>? = null, defaultLatencyOptimization: Output<String>? = null, defaultLbaStrategy: Output<String>? = null, defaultMaxReturnAddrNum: Output<Int>? = null, defaultMinAvailableAddrNum: Output<Int>? = null, failoverAddrPoolType: Output<String>? = null, failoverAddrPools: Output<List<AccessStrategyFailoverAddrPoolArgs>>? = null, failoverLatencyOptimization: Output<String>? = null, failoverLbaStrategy: Output<String>? = null, failoverMaxReturnAddrNum: Output<Int>? = null, failoverMinAvailableAddrNum: Output<Int>? = null, instanceId: Output<String>? = null, lang: Output<String>? = null, lines: Output<List<AccessStrategyLineArgs>>? = null, strategyMode: Output<String>? = null, strategyName: Output<String>? = null)

Properties

Link copied to clipboard
val accessMode: Output<String>? = null

The primary/secondary switchover policy for address pool groups. Valid values: AUTO, DEFAULT, FAILOVER.

Link copied to clipboard

List of primary address pool collections. See default_addr_pools below for details.

Link copied to clipboard
val defaultAddrPoolType: Output<String>? = null

The type of the primary address pool. Valid values: IPV4, IPV6, DOMAIN.

Link copied to clipboard
val defaultLatencyOptimization: Output<String>? = null

Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: OPEN, CLOSE.

Link copied to clipboard
val defaultLbaStrategy: Output<String>? = null

The load balancing policy of the primary address pool group. Valid values: ALL_RR, RATIO. NOTE: The default_lba_strategy is required under the condition that strategy_mode is GEO.

Link copied to clipboard
val defaultMaxReturnAddrNum: Output<Int>? = null

The maximum number of addresses returned by the primary address pool set. NOTE: The default_max_return_addr_num is required under the condition that strategy_mode is LATENCY.

Link copied to clipboard
val defaultMinAvailableAddrNum: Output<Int>? = null

The minimum number of available addresses for the primary address pool set.

Link copied to clipboard

List of backup address pool sets. See failover_addr_pools below for details.

Link copied to clipboard
val failoverAddrPoolType: Output<String>? = null

The type of the secondary address pool. Valid values: IPV4, IPV6, DOMAIN.

Link copied to clipboard
val failoverLatencyOptimization: Output<String>? = null

Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: OPEN, CLOSE.

Link copied to clipboard
val failoverLbaStrategy: Output<String>? = null

The load balancing policy of the secondary address pool group. Valid values: ALL_RR, RATIO.

Link copied to clipboard
val failoverMaxReturnAddrNum: Output<Int>? = null

The maximum number of returned addresses in the standby address pool.

Link copied to clipboard
val failoverMinAvailableAddrNum: Output<Int>? = null

The minimum number of available addresses in the standby address pool.

Link copied to clipboard
val instanceId: Output<String>? = null

The Id of the associated instance.

Link copied to clipboard
val lang: Output<String>? = null

The lang.

Link copied to clipboard
val lines: Output<List<AccessStrategyLineArgs>>? = null

The source regions. See lines below for details. NOTE: The lines is required under the condition that strategy_mode is GEO.

Link copied to clipboard
val strategyMode: Output<String>? = null

The type of the access policy. Valid values: GEO or LATENCY. GEO: based on geographic location. LATENCY: Based on delay.

Link copied to clipboard
val strategyName: Output<String>? = null

The name of the access policy.

Functions

Link copied to clipboard
open override fun toJava(): AccessStrategyArgs