Access Strategy
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>
Properties
The primary/secondary switchover policy for address pool groups. Valid values: AUTO
, DEFAULT
, FAILOVER
.
List of primary address pool collections. See default_addr_pools
below for details.
The type of the primary address pool. Valid values: IPV4
, IPV6
, DOMAIN
.
Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values: OPEN
, CLOSE
.
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
.
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
.
The minimum number of available addresses for the primary address pool set.
List of backup address pool sets. See failover_addr_pools
below for details.
The type of the secondary address pool. Valid values: IPV4
, IPV6
, DOMAIN
.
Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values: OPEN
, CLOSE
.
The load balancing policy of the secondary address pool group. Valid values: ALL_RR
, RATIO
.
The maximum number of returned addresses in the standby address pool.
The minimum number of available addresses in the standby address pool.
The Id of the associated instance.
The source regions. See lines
below for details. NOTE: The lines
is required under the condition that strategy_mode
is GEO
.
The type of the access policy. Valid values: GEO
or LATENCY
. GEO
: based on geographic location. LATENCY
: Based on delay.
The name of the access policy.