published on Tuesday, Apr 28, 2026 by Pulumi
published on Tuesday, Apr 28, 2026 by Pulumi
Provides a Alidns Cloud Gtm Address Pool resource.
CloudGtm Address Pool .
For information about Alidns Cloud Gtm Address Pool and how to use it, see What is Cloud Gtm Address Pool.
NOTE: Available since v1.277.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = new alicloud.alidnscloudgtmaddress.Pool("default", {
addressPoolName: "pool-example-1",
healthJudgement: "all_ok",
addressPoolType: "IPv4",
enableStatus: "enable",
addressLbStrategy: "sequence",
sequenceLbStrategyMode: "preemptive",
remark: "remark",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.alidnscloudgtmaddress.Pool("default",
address_pool_name="pool-example-1",
health_judgement="all_ok",
address_pool_type="IPv4",
enable_status="enable",
address_lb_strategy="sequence",
sequence_lb_strategy_mode="preemptive",
remark="remark")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alidnscloudgtmaddress"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := alidnscloudgtmaddress.NewPool(ctx, "default", &alidnscloudgtmaddress.PoolArgs{
AddressPoolName: pulumi.String("pool-example-1"),
HealthJudgement: pulumi.String("all_ok"),
AddressPoolType: pulumi.String("IPv4"),
EnableStatus: pulumi.String("enable"),
AddressLbStrategy: pulumi.String("sequence"),
SequenceLbStrategyMode: pulumi.String("preemptive"),
Remark: pulumi.String("remark"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = new AliCloud.AlidnsCloudGtmAddress.Pool("default", new()
{
AddressPoolName = "pool-example-1",
HealthJudgement = "all_ok",
AddressPoolType = "IPv4",
EnableStatus = "enable",
AddressLbStrategy = "sequence",
SequenceLbStrategyMode = "preemptive",
Remark = "remark",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.alidnscloudgtmaddress.Pool;
import com.pulumi.alicloud.alidnscloudgtmaddress.PoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new Pool("default", PoolArgs.builder()
.addressPoolName("pool-example-1")
.healthJudgement("all_ok")
.addressPoolType("IPv4")
.enableStatus("enable")
.addressLbStrategy("sequence")
.sequenceLbStrategyMode("preemptive")
.remark("remark")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
default:
type: alicloud:alidnscloudgtmaddress:Pool
properties:
addressPoolName: pool-example-1
healthJudgement: all_ok
addressPoolType: IPv4
enableStatus: enable
addressLbStrategy: sequence
sequenceLbStrategyMode: preemptive
remark: remark
📚 Need more examples? VIEW MORE EXAMPLES
Create Pool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);@overload
def Pool(resource_name: str,
args: PoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Pool(resource_name: str,
opts: Optional[ResourceOptions] = None,
address_pool_name: Optional[str] = None,
address_pool_type: Optional[str] = None,
enable_status: Optional[str] = None,
health_judgement: Optional[str] = None,
address_lb_strategy: Optional[str] = None,
remark: Optional[str] = None,
sequence_lb_strategy_mode: Optional[str] = None)func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)type: alicloud:alidnscloudgtmaddress:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PoolArgs
- 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 PoolArgs
- 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 PoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var poolResource = new AliCloud.AlidnsCloudGtmAddress.Pool("poolResource", new()
{
AddressPoolName = "string",
AddressPoolType = "string",
EnableStatus = "string",
HealthJudgement = "string",
AddressLbStrategy = "string",
Remark = "string",
SequenceLbStrategyMode = "string",
});
example, err := alidnscloudgtmaddress.NewPool(ctx, "poolResource", &alidnscloudgtmaddress.PoolArgs{
AddressPoolName: pulumi.String("string"),
AddressPoolType: pulumi.String("string"),
EnableStatus: pulumi.String("string"),
HealthJudgement: pulumi.String("string"),
AddressLbStrategy: pulumi.String("string"),
Remark: pulumi.String("string"),
SequenceLbStrategyMode: pulumi.String("string"),
})
var poolResource = new Pool("poolResource", PoolArgs.builder()
.addressPoolName("string")
.addressPoolType("string")
.enableStatus("string")
.healthJudgement("string")
.addressLbStrategy("string")
.remark("string")
.sequenceLbStrategyMode("string")
.build());
pool_resource = alicloud.alidnscloudgtmaddress.Pool("poolResource",
address_pool_name="string",
address_pool_type="string",
enable_status="string",
health_judgement="string",
address_lb_strategy="string",
remark="string",
sequence_lb_strategy_mode="string")
const poolResource = new alicloud.alidnscloudgtmaddress.Pool("poolResource", {
addressPoolName: "string",
addressPoolType: "string",
enableStatus: "string",
healthJudgement: "string",
addressLbStrategy: "string",
remark: "string",
sequenceLbStrategyMode: "string",
});
type: alicloud:alidnscloudgtmaddress:Pool
properties:
addressLbStrategy: string
addressPoolName: string
addressPoolType: string
enableStatus: string
healthJudgement: string
remark: string
sequenceLbStrategyMode: string
Pool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Pool resource accepts the following input properties:
- Address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- Address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- Enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- Health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- Address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- Remark string
- A remark for the address pool to help users distinguish its usage scenario.
- Sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- Address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- Address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- Enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- Health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- Address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- Remark string
- A remark for the address pool to help users distinguish its usage scenario.
- Sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Pool StringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool StringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- enable
Status String - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement String - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- address
Lb StringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- remark String
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb StringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- remark string
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address_
pool_ strname - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address_
pool_ strtype - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- enable_
status str - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health_
judgement str - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- address_
lb_ strstrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- remark str
- A remark for the address pool to help users distinguish its usage scenario.
- sequence_
lb_ strstrategy_ mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Pool StringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool StringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- enable
Status String - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement String - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- address
Lb StringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- remark String
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb StringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:
- Create
Time string - Creation time of the address pool.
- Id string
- The provider-assigned unique ID for this managed resource.
- Create
Time string - Creation time of the address pool.
- Id string
- The provider-assigned unique ID for this managed resource.
- create
Time String - Creation time of the address pool.
- id String
- The provider-assigned unique ID for this managed resource.
- create
Time string - Creation time of the address pool.
- id string
- The provider-assigned unique ID for this managed resource.
- create_
time str - Creation time of the address pool.
- id str
- The provider-assigned unique ID for this managed resource.
- create
Time String - Creation time of the address pool.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Pool Resource
Get an existing Pool 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?: PoolState, opts?: CustomResourceOptions): Pool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_lb_strategy: Optional[str] = None,
address_pool_name: Optional[str] = None,
address_pool_type: Optional[str] = None,
create_time: Optional[str] = None,
enable_status: Optional[str] = None,
health_judgement: Optional[str] = None,
remark: Optional[str] = None,
sequence_lb_strategy_mode: Optional[str] = None) -> Poolfunc GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)public static Pool get(String name, Output<String> id, PoolState state, CustomResourceOptions options)resources: _: type: alicloud:alidnscloudgtmaddress:Pool get: id: ${id}- 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.
- Address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- Address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- Address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- Create
Time string - Creation time of the address pool.
- Enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- Health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- Remark string
- A remark for the address pool to help users distinguish its usage scenario.
- Sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- Address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- Address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- Address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- Create
Time string - Creation time of the address pool.
- Enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- Health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- Remark string
- A remark for the address pool to help users distinguish its usage scenario.
- Sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Lb StringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- address
Pool StringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool StringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- create
Time String - Creation time of the address pool.
- enable
Status String - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement String - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- remark String
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb StringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Lb stringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- address
Pool stringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool stringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- create
Time string - Creation time of the address pool.
- enable
Status string - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement string - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- remark string
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb stringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address_
lb_ strstrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- address_
pool_ strname - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address_
pool_ strtype - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- create_
time str - Creation time of the address pool.
- enable_
status str - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health_
judgement str - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- remark str
- A remark for the address pool to help users distinguish its usage scenario.
- sequence_
lb_ strstrategy_ mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
- address
Lb StringStrategy - Load balancing strategy among addresses in the address pool:
- round_robin: Round robin. For any incoming DNS query, all addresses are returned, and their order is rotated with each request.
- sequence: Sequential. For any incoming DNS query, addresses with lower sequence numbers are returned first (the sequence number indicates the priority of an address, where a lower number means higher priority). If an address with a lower sequence number is unavailable, the next available address with the next lowest sequence number is returned.
- weight: Weighted. Each address can be assigned a different weight, allowing DNS responses to return addresses according to their weight ratios.
- source_nearest: Source proximity. This intelligent resolution feature allows GTM to return different addresses based on the geographic location of the DNS query source, enabling users to access the nearest available endpoint.
- address
Pool StringName - The name of the address pool. Fuzzy search is supported for the entered address pool name.
- address
Pool StringType - Address pool type:
- IPv4: Indicates that the service address to be resolved is an IPv4 address.
- IPv6: Indicates that the service address to be resolved is an IPv6 address.
- domain: Indicates that the service address to be resolved is a domain name.
- create
Time String - Creation time of the address pool.
- enable
Status String - Enable status of the address pool:
- enable: Enabled. The address pool participates in DNS resolution when its health check is normal.
- disable: Disabled. The address pool does not participate in DNS resolution regardless of its health check status.
- health
Judgement String - Conditions for determining the health status of the address pool:
- any_ok: At least one address in the address pool is available.
- p30_ok: At least 30% of the addresses in the address pool are available.
- p50_ok: At least 50% of the addresses in the address pool are available.
- p70_ok: At least 70% of the addresses in the address pool are available.
- all_ok: All addresses in the address pool are available.
- remark String
- A remark for the address pool to help users distinguish its usage scenario.
- sequence
Lb StringStrategy Mode - Service recovery mode for preceding resources when the load balancing strategy among addresses is set to sequential mode:
- preemptive: Preemptive mode. When a preceding resource recovers, the address with the smaller sequence number is prioritized.
- non_preemptive: Non-preemptive mode. When a preceding resource recovers, the current address continues to be used.
Import
Alidns Cloud Gtm Address Pool can be imported using the id, e.g.
$ pulumi import alicloud:alidnscloudgtmaddress/pool:Pool example <address_pool_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Tuesday, Apr 28, 2026 by Pulumi
