alicloud.dns.AccessStrategy
Provides a DNS Access Strategy resource.
For information about DNS Access Strategy and how to use it, see What is Access Strategy.
NOTE: Available in v1.152.0+.
Create AccessStrategy Resource
new AccessStrategy(name: string, args: AccessStrategyArgs, opts?: CustomResourceOptions);
@overload
def AccessStrategy(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_mode: Optional[str] = None,
default_addr_pool_type: Optional[str] = None,
default_addr_pools: Optional[Sequence[AccessStrategyDefaultAddrPoolArgs]] = None,
default_latency_optimization: Optional[str] = None,
default_lba_strategy: Optional[str] = None,
default_max_return_addr_num: Optional[int] = None,
default_min_available_addr_num: Optional[int] = None,
failover_addr_pool_type: Optional[str] = None,
failover_addr_pools: Optional[Sequence[AccessStrategyFailoverAddrPoolArgs]] = None,
failover_latency_optimization: Optional[str] = None,
failover_lba_strategy: Optional[str] = None,
failover_max_return_addr_num: Optional[int] = None,
failover_min_available_addr_num: Optional[int] = None,
instance_id: Optional[str] = None,
lang: Optional[str] = None,
lines: Optional[Sequence[AccessStrategyLineArgs]] = None,
strategy_mode: Optional[str] = None,
strategy_name: Optional[str] = None)
@overload
def AccessStrategy(resource_name: str,
args: AccessStrategyArgs,
opts: Optional[ResourceOptions] = None)
func NewAccessStrategy(ctx *Context, name string, args AccessStrategyArgs, opts ...ResourceOption) (*AccessStrategy, error)
public AccessStrategy(string name, AccessStrategyArgs args, CustomResourceOptions? opts = null)
public AccessStrategy(String name, AccessStrategyArgs args)
public AccessStrategy(String name, AccessStrategyArgs args, CustomResourceOptions options)
type: alicloud:dns:AccessStrategy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessStrategyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccessStrategyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccessStrategyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessStrategyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessStrategyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AccessStrategy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AccessStrategy resource accepts the following input properties:
- Default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Default
Addr List<Pulumi.Pools Ali Cloud. Dns. Inputs. Access Strategy Default Addr Pool Args> List of primary address pool collections. See the following
Block default_addr_pools
.- int
The minimum number of available addresses for the primary address pool set.
- Instance
Id string The Id of the associated instance.
- Strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- Strategy
Name string The name of the access policy.
- Access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- Default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- Default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- Default
Max intReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- Failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Failover
Addr List<Pulumi.Pools Ali Cloud. Dns. Inputs. Access Strategy Failover Addr Pool Args> List of backup address pool sets. See the following
Block failover_addr_pools
.- Failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- Failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- Failover
Max intReturn Addr Num The maximum number of returned addresses in the standby address pool.
- int
The minimum number of available addresses in the standby address pool.
- Lang string
The lang.
- Lines
List<Pulumi.
Ali Cloud. Dns. Inputs. Access Strategy Line Args> The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
- Default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Default
Addr []AccessPools Strategy Default Addr Pool Args List of primary address pool collections. See the following
Block default_addr_pools
.- int
The minimum number of available addresses for the primary address pool set.
- Instance
Id string The Id of the associated instance.
- Strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- Strategy
Name string The name of the access policy.
- Access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- Default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- Default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- Default
Max intReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- Failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Failover
Addr []AccessPools Strategy Failover Addr Pool Args List of backup address pool sets. See the following
Block failover_addr_pools
.- Failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- Failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- Failover
Max intReturn Addr Num The maximum number of returned addresses in the standby address pool.
- int
The minimum number of available addresses in the standby address pool.
- Lang string
The lang.
- Lines
[]Access
Strategy Line Args The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
- default
Addr StringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr List<AccessPools Strategy Default Addr Pool Args> List of primary address pool collections. See the following
Block default_addr_pools
.- Integer
The minimum number of available addresses for the primary address pool set.
- instance
Id String The Id of the associated instance.
- strategy
Mode String The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name String The name of the access policy.
- access
Mode String The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba StringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max IntegerReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- failover
Addr StringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr List<AccessPools Strategy Failover Addr Pool Args> List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba StringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max IntegerReturn Addr Num The maximum number of returned addresses in the standby address pool.
- Integer
The minimum number of available addresses in the standby address pool.
- lang String
The lang.
- lines
List<Access
Strategy Line Args> The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
- default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr AccessPools Strategy Default Addr Pool Args[] List of primary address pool collections. See the following
Block default_addr_pools
.- number
The minimum number of available addresses for the primary address pool set.
- instance
Id string The Id of the associated instance.
- strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name string The name of the access policy.
- access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max numberReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr AccessPools Strategy Failover Addr Pool Args[] List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max numberReturn Addr Num The maximum number of returned addresses in the standby address pool.
- number
The minimum number of available addresses in the standby address pool.
- lang string
The lang.
- lines
Access
Strategy Line Args[] The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
- default_
addr_ strpool_ type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default_
addr_ Sequence[Accesspools Strategy Default Addr Pool Args] List of primary address pool collections. See the following
Block default_addr_pools
.- default_
min_ intavailable_ addr_ num The minimum number of available addresses for the primary address pool set.
- instance_
id str The Id of the associated instance.
- strategy_
mode str The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy_
name str The name of the access policy.
- access_
mode str The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default_
latency_ stroptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default_
lba_ strstrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default_
max_ intreturn_ addr_ num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- failover_
addr_ strpool_ type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover_
addr_ Sequence[Accesspools Strategy Failover Addr Pool Args] List of backup address pool sets. See the following
Block failover_addr_pools
.- failover_
latency_ stroptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover_
lba_ strstrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover_
max_ intreturn_ addr_ num The maximum number of returned addresses in the standby address pool.
- failover_
min_ intavailable_ addr_ num The minimum number of available addresses in the standby address pool.
- lang str
The lang.
- lines
Sequence[Access
Strategy Line Args] The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
- default
Addr StringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr List<Property Map>Pools List of primary address pool collections. See the following
Block default_addr_pools
.- Number
The minimum number of available addresses for the primary address pool set.
- instance
Id String The Id of the associated instance.
- strategy
Mode String The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name String The name of the access policy.
- access
Mode String The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba StringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max NumberReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- failover
Addr StringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr List<Property Map>Pools List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba StringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max NumberReturn Addr Num The maximum number of returned addresses in the standby address pool.
- Number
The minimum number of available addresses in the standby address pool.
- lang String
The lang.
- lines List<Property Map>
The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessStrategy resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing AccessStrategy Resource
Get an existing AccessStrategy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccessStrategyState, opts?: CustomResourceOptions): AccessStrategy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_mode: Optional[str] = None,
default_addr_pool_type: Optional[str] = None,
default_addr_pools: Optional[Sequence[AccessStrategyDefaultAddrPoolArgs]] = None,
default_latency_optimization: Optional[str] = None,
default_lba_strategy: Optional[str] = None,
default_max_return_addr_num: Optional[int] = None,
default_min_available_addr_num: Optional[int] = None,
failover_addr_pool_type: Optional[str] = None,
failover_addr_pools: Optional[Sequence[AccessStrategyFailoverAddrPoolArgs]] = None,
failover_latency_optimization: Optional[str] = None,
failover_lba_strategy: Optional[str] = None,
failover_max_return_addr_num: Optional[int] = None,
failover_min_available_addr_num: Optional[int] = None,
instance_id: Optional[str] = None,
lang: Optional[str] = None,
lines: Optional[Sequence[AccessStrategyLineArgs]] = None,
strategy_mode: Optional[str] = None,
strategy_name: Optional[str] = None) -> AccessStrategy
func GetAccessStrategy(ctx *Context, name string, id IDInput, state *AccessStrategyState, opts ...ResourceOption) (*AccessStrategy, error)
public static AccessStrategy Get(string name, Input<string> id, AccessStrategyState? state, CustomResourceOptions? opts = null)
public static AccessStrategy get(String name, Output<String> id, AccessStrategyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- Default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Default
Addr List<Pulumi.Pools Ali Cloud. Dns. Inputs. Access Strategy Default Addr Pool Args> List of primary address pool collections. See the following
Block default_addr_pools
.- Default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- Default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- Default
Max intReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- int
The minimum number of available addresses for the primary address pool set.
- Failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Failover
Addr List<Pulumi.Pools Ali Cloud. Dns. Inputs. Access Strategy Failover Addr Pool Args> List of backup address pool sets. See the following
Block failover_addr_pools
.- Failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- Failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- Failover
Max intReturn Addr Num The maximum number of returned addresses in the standby address pool.
- int
The minimum number of available addresses in the standby address pool.
- Instance
Id string The Id of the associated instance.
- Lang string
The lang.
- Lines
List<Pulumi.
Ali Cloud. Dns. Inputs. Access Strategy Line Args> The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- Strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- Strategy
Name string The name of the access policy.
- Access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- Default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Default
Addr []AccessPools Strategy Default Addr Pool Args List of primary address pool collections. See the following
Block default_addr_pools
.- Default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- Default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- Default
Max intReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- int
The minimum number of available addresses for the primary address pool set.
- Failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- Failover
Addr []AccessPools Strategy Failover Addr Pool Args List of backup address pool sets. See the following
Block failover_addr_pools
.- Failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- Failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- Failover
Max intReturn Addr Num The maximum number of returned addresses in the standby address pool.
- int
The minimum number of available addresses in the standby address pool.
- Instance
Id string The Id of the associated instance.
- Lang string
The lang.
- Lines
[]Access
Strategy Line Args The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- Strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- Strategy
Name string The name of the access policy.
- access
Mode String The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Addr StringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr List<AccessPools Strategy Default Addr Pool Args> List of primary address pool collections. See the following
Block default_addr_pools
.- default
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba StringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max IntegerReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- Integer
The minimum number of available addresses for the primary address pool set.
- failover
Addr StringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr List<AccessPools Strategy Failover Addr Pool Args> List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba StringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max IntegerReturn Addr Num The maximum number of returned addresses in the standby address pool.
- Integer
The minimum number of available addresses in the standby address pool.
- instance
Id String The Id of the associated instance.
- lang String
The lang.
- lines
List<Access
Strategy Line Args> The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- strategy
Mode String The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name String The name of the access policy.
- access
Mode string The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Addr stringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr AccessPools Strategy Default Addr Pool Args[] List of primary address pool collections. See the following
Block default_addr_pools
.- default
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba stringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max numberReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- number
The minimum number of available addresses for the primary address pool set.
- failover
Addr stringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr AccessPools Strategy Failover Addr Pool Args[] List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency stringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba stringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max numberReturn Addr Num The maximum number of returned addresses in the standby address pool.
- number
The minimum number of available addresses in the standby address pool.
- instance
Id string The Id of the associated instance.
- lang string
The lang.
- lines
Access
Strategy Line Args[] The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- strategy
Mode string The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name string The name of the access policy.
- access_
mode str The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default_
addr_ strpool_ type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default_
addr_ Sequence[Accesspools Strategy Default Addr Pool Args] List of primary address pool collections. See the following
Block default_addr_pools
.- default_
latency_ stroptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default_
lba_ strstrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default_
max_ intreturn_ addr_ num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- default_
min_ intavailable_ addr_ num The minimum number of available addresses for the primary address pool set.
- failover_
addr_ strpool_ type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover_
addr_ Sequence[Accesspools Strategy Failover Addr Pool Args] List of backup address pool sets. See the following
Block failover_addr_pools
.- failover_
latency_ stroptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover_
lba_ strstrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover_
max_ intreturn_ addr_ num The maximum number of returned addresses in the standby address pool.
- failover_
min_ intavailable_ addr_ num The minimum number of available addresses in the standby address pool.
- instance_
id str The Id of the associated instance.
- lang str
The lang.
- lines
Sequence[Access
Strategy Line Args] The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- strategy_
mode str The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy_
name str The name of the access policy.
- access
Mode String The primary/secondary switchover policy for address pool groups. Valid values:
AUTO
,DEFAULT
,FAILOVER
.- default
Addr StringPool Type The type of the primary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- default
Addr List<Property Map>Pools List of primary address pool collections. See the following
Block default_addr_pools
.- default
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the primary address pool group. Valid values:
OPEN
,CLOSE
.- default
Lba StringStrategy The load balancing policy of the primary address pool group. Valid values:
ALL_RR
,RATIO
. NOTE: Thedefault_lba_strategy
is required under the condition thatstrategy_mode
isGEO
.- default
Max NumberReturn Addr Num The maximum number of addresses returned by the primary address pool set. NOTE: The
default_max_return_addr_num
is required under the condition thatstrategy_mode
isLATENCY
.- Number
The minimum number of available addresses for the primary address pool set.
- failover
Addr StringPool Type The type of the secondary address pool. Valid values:
IPV4
,IPV6
,DOMAIN
.- failover
Addr List<Property Map>Pools List of backup address pool sets. See the following
Block failover_addr_pools
.- failover
Latency StringOptimization Specifies whether to enable scheduling optimization for latency resolution for the secondary address pool group. Valid values:
OPEN
,CLOSE
.- failover
Lba StringStrategy The load balancing policy of the secondary address pool group. Valid values:
ALL_RR
,RATIO
.- failover
Max NumberReturn Addr Num The maximum number of returned addresses in the standby address pool.
- Number
The minimum number of available addresses in the standby address pool.
- instance
Id String The Id of the associated instance.
- lang String
The lang.
- lines List<Property Map>
The source regions. See the following
Block lines
. NOTE: Thelines
is required under the condition thatstrategy_mode
isGEO
.- strategy
Mode String The type of the access policy. Valid values:
GEO
orLATENCY
.GEO
: based on geographic location.LATENCY
: Based on delay.- strategy
Name String The name of the access policy.
Supporting Types
AccessStrategyDefaultAddrPool
- Addr
Pool stringId The ID of the address pool in the secondary address pool group.
- Lba
Weight int The weight of the address pool in the secondary address pool group.
- Addr
Pool stringId The ID of the address pool in the secondary address pool group.
- Lba
Weight int The weight of the address pool in the secondary address pool group.
- addr
Pool StringId The ID of the address pool in the secondary address pool group.
- lba
Weight Integer The weight of the address pool in the secondary address pool group.
- addr
Pool stringId The ID of the address pool in the secondary address pool group.
- lba
Weight number The weight of the address pool in the secondary address pool group.
- addr_
pool_ strid The ID of the address pool in the secondary address pool group.
- lba_
weight int The weight of the address pool in the secondary address pool group.
- addr
Pool StringId The ID of the address pool in the secondary address pool group.
- lba
Weight Number The weight of the address pool in the secondary address pool group.
AccessStrategyFailoverAddrPool
- Addr
Pool stringId The ID of the address pool in the secondary address pool group.
- Lba
Weight int The weight of the address pool in the secondary address pool group.
- Addr
Pool stringId The ID of the address pool in the secondary address pool group.
- Lba
Weight int The weight of the address pool in the secondary address pool group.
- addr
Pool StringId The ID of the address pool in the secondary address pool group.
- lba
Weight Integer The weight of the address pool in the secondary address pool group.
- addr
Pool stringId The ID of the address pool in the secondary address pool group.
- lba
Weight number The weight of the address pool in the secondary address pool group.
- addr_
pool_ strid The ID of the address pool in the secondary address pool group.
- lba_
weight int The weight of the address pool in the secondary address pool group.
- addr
Pool StringId The ID of the address pool in the secondary address pool group.
- lba
Weight Number The weight of the address pool in the secondary address pool group.
AccessStrategyLine
- Line
Code string The line code of the source region.
- Line
Code string The line code of the source region.
- line
Code String The line code of the source region.
- line
Code string The line code of the source region.
- line_
code str The line code of the source region.
- line
Code String The line code of the source region.
Import
DNS Access Strategy can be imported using the id, e.g.
$ pulumi import alicloud:dns/accessStrategy:AccessStrategy example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.