All Products
Search
Document Center

Alibaba Cloud DNS:SearchCloudGtmInstanceConfigs

Last Updated:Apr 21, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Queries the configurations of an access domain name.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
alidns:SearchCloudGtmInstanceConfigslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh-CN: Chinese
  • en-US (default): English
zh-CN
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request. You can specify a custom value for this parameter, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

1ae05db4-10e7-11ef-b126-00163e24**22
PageNumberintegerNo

Current page number, starting from 1, default is 1.

1
PageSizeintegerNo

The number of rows per page when paginating queries, with a maximum value of 100, and a default of 20.

20
InstanceIdstringNo

The ID of the Global Traffic Manager (GTM) 3.0 instance.

gtm-cn-wwo3a3hbz**
ScheduleZoneNamestringNo

The zone such as example.com or subzone such as a.example.com of the access domain name. In most cases, the zone or subzone is hosted by the Public Authoritative DNS module of Alibaba Cloud DNS. This zone belongs to the account to which the GTM instance belongs.

example.com
ScheduleDomainNamestringNo

The access domain name. The value of this parameter is composed of the value of ScheduleHostname and the value of ScheduleZoneName.

www.example.com
EnableStatusstringNo

The enabling state of the access domain name. Valid values:

  • enable: The access domain name is enabled and the intelligent scheduling policy of the corresponding GTM instance takes effect.
  • disable: The access domain name is disabled and the intelligent scheduling policy of the corresponding GTM instance does not take effect.
enable
RemarkstringNo

Remarks for the domain instance.

test
HealthStatusstringNo

The health state of the access domain name. Valid values:

  • ok: The health state of the access domain name is normal and all address pools that are referenced by the access domain name are available.
  • ok_alert: The health state of the access domain name is warning and some of the address pools that are referenced by the access domain name are unavailable. In this case, only the available address pools are returned for Domain Name System (DNS) requests.
  • exceptional: The health state of the access domain name is abnormal and all address pools that are referenced by the access domain name are unavailable. In this case, addresses in the non-empty address pool with the smallest sequence number are preferentially used for fallback resolution. This returns DNS results for clients as much as possible.
ok
AvailableStatusstringNo

The availability state of the access domain name. Valid values:

  • available: If the access domain name is enabled and the health state is normal, the access domain name is deemed available.
  • unavailable: If the access domain name is disabled or the health state is abnormal, the access domain name is deemed unavailable.
available

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Unique request identification code.

6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF
PageNumberinteger

Current page number, starting from 1, default is 1.

1
PageSizeinteger

The number of rows per page when paginating queries, with a maximum value of 100, and a default of 20.

20
TotalPagesinteger

Total number of pages.

1
TotalItemsinteger

Total number of instance configuration entries.

15
InstanceConfigsarray<object>

The instances list.

InstanceConfigobject

The instance.

InstanceIdstring

The ID of the GTM 3.0 instance.

gtm-cn-x0r38e0**03
ConfigIdstring

The configuration ID of the access domain name. Two configuration IDs exist when the access domain name is bound to the same GTM instance but an A record and an AAAA record are configured for the access domain name. The configuration ID uniquely identifies a configuration.

Config-000**11
CreateTimestring

Domain instance creation time.

2024-03-15T01:46Z
CreateTimestamplong

Domain instance creation time (timestamp).

1527690629357
UpdateTimestring

The last modification time of the domain instance.

2024-03-15T01:46Z
UpdateTimestamplong

The last modification time of the domain instance (timestamp).

1527690629357
VersionCodestring

Global Traffic Management version 3.0 instance types:

  • standard: Standard Edition
  • ultimate: Ultimate Edition
ultimate
CommodityCodestring

The commodity code. Valid values:

  • dns_gtm_public_cn: the commodity code on the China site (aliyun.com)
  • dns_gtm_public_intl: the commodity code on the international site (alibabacloud.com)
dns_gtm_public_cn
ScheduleZoneModestring

The allocation mode of the access domain name. Valid values:

  • custom: custom allocation. You must specify a custom hostname and associate the hostname with a zone that is hosted by the Public Authoritative DNS module within the account to which the GTM instance belongs to generate an access domain name.
  • sys_assign: system allocation. This mode is not supported. Do not set ScheduleZoneMode to sys_assign.
custom
ScheduleZoneNamestring

The zone such as example.com or subzone such as a.example.com of the access domain name. In most cases, the zone or subzone is hosted by the Public Authoritative DNS module of Alibaba Cloud DNS. This zone belongs to the account to which the GTM instance belongs.

example.com
ScheduleHostnamestring

Host record of the domain accessed by GTM.

www
ScheduleDomainNamestring

The access domain name. The value of this parameter is composed of the value of ScheduleHostname and the value of ScheduleZoneName.

www.example.com
ScheduleRrTypestring

DNS record types for the scheduling domain:

  • A: IPv4 address
  • AAAA: IPv6 address
  • CNAME: Domain name
A
Ttlinteger

Global TTL (in seconds), the TTL value for resolving the access domain name to the address pool, which affects the caching time of DNS records in the operator's LocalDNS. Supports custom TTL values.

60
AddressPoolLbStrategystring

The policy for load balancing between address pools. Valid values:

  • round_robin: All address pools are returned for DNS requests from any source. All address pools are sorted in round-robin mode each time they are returned.
  • sequence: The address pool with the smallest sequence number is preferentially returned for DNS requests from any source. The sequence number indicates the priority for returning the address pool. A smaller sequence number indicates a higher priority. If the address pool with the smallest sequence number is unavailable, the address pool with the second smallest sequence number is returned.
  • weight: You can set a different weight value for each address pool. This way, address pools are returned based on the weight values.
  • source_nearest: Different address pools are returned based on the sources of DNS requests. This way, users can access nearby address pools.
round_robin
SequenceLbStrategyModestring

The mode used if the address pool with the smallest sequence number is recovered. This parameter is returned when AddressPoolLbStrategy is set to sequence. Valid values:

  • preemptive: The address pool with the smallest sequence number is preferentially used if this address pool is recovered.
  • non_preemptive: The current address pool is still used even if the address pool with the smallest sequence number is recovered.
preemptive
AvailableStatusstring

The availability state of the access domain name. Valid values:

  • available: If the access domain name is enabled and the health state is normal, the access domain name is deemed available.
  • unavailable: If the access domain name is disabled or the health state is abnormal, the access domain name is deemed unavailable.
available
EnableStatusstring

The enabling state of the access domain name. Valid values:

  • enable: The access domain name is enabled and the intelligent scheduling policy of the corresponding GTM instance takes effect.
  • disable: The access domain name is disabled and the intelligent scheduling policy of the corresponding GTM instance does not take effect.
enable
HealthStatusstring

The health state of the access domain name. Valid values:

  • ok: The health state of the access domain name is normal and all address pools that are referenced by the access domain name are available.
  • ok_alert: The health state of the access domain name is warning and some of the address pools that are referenced by the access domain name are unavailable. In this case, only the available address pools are returned for DNS requests.
  • exceptional: The health state of the access domain name is abnormal and all address pools that are referenced by the access domain name are unavailable. In this case, addresses in the non-empty address pool with the smallest sequence number are preferentially used for fallback resolution. This returns DNS results for clients as much as possible.
ok
Remarkstring

Remarks for the domain instance.

test
AddressPoolsarray<object>

The address pools.

AddressPoolobject

The address pool.

CreateTimestring

Address pool creation time.

2024-03-15T01:46Z
CreateTimestamplong

Address pool creation time (timestamp).

1527690629357
UpdateTimestring

Last modification time of the address pool.

2024-03-15T01:46Z
UpdateTimestamplong

Update time (timestamp).

1527690629357
AddressPoolIdstring

Address pool ID, uniquely identifying the address pool.

pool-89564504435014**60
WeightValueinteger

Weight value (an integer between 1 and 100, inclusive), allowing different weight values to be set for each address pool, implementing the return of address pools according to weight ratios in resolution queries.

1
SerialNumberinteger

Sequence number. For any parsing request, the address pool with the smaller sequence number (indicating the priority of the address pool returned, with smaller numbers having higher priority) will be returned.

1
RequestSourcearray

Parse the request source list.

RequestSourcestring
["default"]
AddressPoolNamestring

Address pool name.

AddressPool-1
AddressPoolTypestring

Address pool type:

  • IPv4
  • IPv6
  • domain
IPv4
AddressLbStrategystring

Load balancing policy among addresses in the address pool:

  • round_robin: Round-robin, where for any source of DNS resolution requests, all addresses are returned, with a rotation of the order for every request.
  • sequence: Sequential, where for any source of DNS resolution requests, the address with the lower sequence number (indicating a higher priority, the smaller the number, the higher the priority) is returned. If the address with the lower sequence number is unavailable, the next address with a lower sequence number is returned.
  • weight: Weighted, supporting the setting of different weight values for each address to realize returning addresses according to the ratio of weights in DNS query resolutions.
  • source_nearest: Source-nearest, referring to the intelligent resolution feature, where GTM can return different addresses based on the source of different DNS resolution requests, achieving the effect of users accessing the nearest server.
round_robin
SequenceLbStrategyModestring

The mode used if the address with the smallest sequence number is recovered. This parameter is required only when the policy for load balancing between addresses is sequence. Valid values:

  • preemptive: The address with the smallest sequence number is preferentially used if this address is recovered.
  • non_preemptive: The current address is still used even if the address with the smallest sequence number is recovered.
preemptive
EnableStatusstring

Address pool status:

  • enable: Enabled status
  • disable: Disabled status
enable
HealthJudgementstring

The condition for determining the health status of the address pool. Valid values:

  • 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.
any_ok
HealthStatusstring

The health state of the address pool. Valid values:

  • ok: The health state of the address pool is normal and all addresses that are referenced by the address pool are available.
  • ok_alert: The health state of the address pool is warning and some of the addresses that are referenced by the address pool are unavailable. However, the address pool is deemed normal. In this case, only the available addresses are returned for DNS requests.
  • exceptional: The health state of the address pool is abnormal and some or all of the addresses that are referenced by the address pool are unavailable. In this case, the address pool is deemed abnormal.
ok
AvailableStatusstring

Address pool availability status:

  • available: Available
  • unavailable: Unavailable
available
SeqNonPreemptiveScheduleboolean

Indicates whether it is a sequential (non-preemptive) scheduling object for hybrid cloud management scenarios:

  • true: yes
  • false: no
false

Examples

Sample success responses

JSONformat

{
  "RequestId": "6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalPages": 1,
  "TotalItems": 15,
  "InstanceConfigs": {
    "InstanceConfig": [
      {
        "InstanceId": "gtm-cn-x0r38e0**03",
        "ConfigId": "Config-000**11\n",
        "CreateTime": "2024-03-15T01:46Z",
        "CreateTimestamp": 1527690629357,
        "UpdateTime": "2024-03-15T01:46Z",
        "UpdateTimestamp": 1527690629357,
        "VersionCode": "ultimate",
        "CommodityCode": "dns_gtm_public_cn",
        "ScheduleZoneMode": "custom",
        "ScheduleZoneName": "example.com",
        "ScheduleHostname": "www",
        "ScheduleDomainName": "www.example.com",
        "ScheduleRrType": "A",
        "Ttl": 60,
        "AddressPoolLbStrategy": "round_robin",
        "SequenceLbStrategyMode": "preemptive",
        "AvailableStatus": "available",
        "EnableStatus": "enable",
        "HealthStatus": "ok",
        "Remark": "test",
        "AddressPools": {
          "AddressPool": [
            {
              "CreateTime": "2024-03-15T01:46Z",
              "CreateTimestamp": 1527690629357,
              "UpdateTime": "2024-03-15T01:46Z",
              "UpdateTimestamp": 1527690629357,
              "AddressPoolId": "pool-89564504435014**60",
              "WeightValue": 1,
              "SerialNumber": 1,
              "RequestSource": {
                "RequestSource": [
                  "[\"default\"]"
                ]
              },
              "AddressPoolName": "AddressPool-1",
              "AddressPoolType": "IPv4",
              "AddressLbStrategy": "round_robin",
              "SequenceLbStrategyMode": "preemptive",
              "EnableStatus": "enable",
              "HealthJudgement": "any_ok",
              "HealthStatus": "ok",
              "AvailableStatus": " available",
              "SeqNonPreemptiveSchedule": false
            }
          ]
        }
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history