Retrieves instance configurations that match the specified parameters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:SearchCloudGtmInstanceConfigs |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| ClientToken |
string |
No |
A client-generated token to ensure the idempotence of the request. The token must be unique across requests and can contain up to 64 ASCII characters. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| PageNumber |
integer |
No |
The page number. Pages start from 1. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page for a paged query. The maximum value is 100 and the default value is 20. |
20 |
| InstanceId |
string |
No |
The ID of the Global Traffic Manager (GTM) 3.0 instance. |
gtm-cn-wwo3a3h**** |
| ScheduleZoneName |
string |
No |
The primary domain name (for example, |
example.com |
| ScheduleDomainName |
string |
No |
The GTM access domain. It is formed by combining the host record ( |
www.example.com |
| EnableStatus |
string |
No |
The status of the instance configuration. Valid values:
|
enable |
| Remark |
string |
No |
A note for the instance configuration. |
test |
| HealthStatus |
string |
No |
The health status of the instance configuration. Valid values:
|
ok |
| AvailableStatus |
string |
No |
The service availability status of the instance configuration. Valid values:
|
available |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF |
| PageNumber |
integer |
The page number. The start value is 1. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries to return on each page. Maximum value: 100. Default value: 20. |
20 |
| TotalPages |
integer |
The total number of pages. |
1 |
| TotalItems |
integer |
The total number of instance configurations. |
15 |
| InstanceConfigs |
object |
||
| InstanceConfig |
array<object> |
The list of instance configurations. |
|
|
array<object> |
The instance configuration. |
||
| InstanceId |
string |
The ID of the Global Traffic Manager (GTM) 3.0 instance. |
gtm-cn-x0r38e0**** |
| ConfigId |
string |
The unique ID of the instance configuration. An access domain name can have both A and AAAA records on the same GTM instance, each with a separate configuration. This ID distinguishes between these configurations. |
Config-000**** |
| CreateTime |
string |
The time when the instance configuration was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp when the instance configuration was created. |
1527690629357 |
| UpdateTime |
string |
The time when the instance configuration was last updated. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp when the instance configuration was last updated. |
1527690629357 |
| VersionCode |
string |
The edition of the GTM 3.0 instance. Valid values:
|
ultimate |
| CommodityCode |
string |
The commodity code. Valid values:
|
dns_gtm_public_cn |
| ScheduleZoneMode |
string |
The assignment mode for the access domain name. Valid values:
|
custom |
| ScheduleZoneName |
string |
The root domain (for example, |
example.com |
| ScheduleHostname |
string |
The host record of the GTM access domain name. |
www |
| ScheduleDomainName |
string |
The GTM access domain name, formed by combining the host record ( |
www.example.com |
| ScheduleRrType |
string |
The record type of the access domain name. Valid values:
|
A |
| Ttl |
integer |
The Time to Live (TTL) for the DNS record, in seconds. This value determines how long the record for the access domain name is cached by ISP DNS servers. |
60 |
| AddressPoolLbStrategy |
string |
The load balancing policy for address pools. Valid values:
|
round_robin |
| SequenceLbStrategyMode |
string |
When using the
|
preemptive |
| AvailableStatus |
string |
The availability status of the instance configuration. Valid values:
|
available |
| EnableStatus |
string |
The enabled status of the instance configuration. Valid values:
|
enable |
| HealthStatus |
string |
The health status of the instance configuration. Valid values:
|
ok |
| Remark |
string |
The remark for the instance configuration. |
test |
| AddressPools |
object |
||
| AddressPool |
array<object> |
The list of address pools. |
|
|
array<object> |
The address pool. |
||
| CreateTime |
string |
The time when the address pool was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp when the address pool was created. |
1527690629357 |
| UpdateTime |
string |
The time when the address pool was last updated. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp when the address pool was last updated. |
1527690629357 |
| AddressPoolId |
string |
The unique ID of the address pool. |
pool-89564504435014**60 |
| WeightValue |
integer |
The weight of the address pool. You can set a weight for each address pool to route DNS requests based on weight ratios. Valid values: integers from 1 to 100, inclusive. |
1 |
| SerialNumber |
integer |
The priority of the address pool, used for sequence-based load balancing. A smaller value indicates a higher priority, and the address pool with the highest priority is returned first. |
1 |
| RequestSource |
object |
||
| RequestSource |
array |
The list of DNS request sources. |
|
|
string |
The source of the DNS request. GTM routes traffic based on the egress IP address of the local DNS server that the client uses. If the local DNS server supports EDNS Client Subnet (ECS), GTM can perform more precise routing based on the client's IP address. |
["default"] |
|
| AddressPoolName |
string |
The name of the address pool. |
AddressPool-1 |
| AddressPoolType |
string |
The type of the address pool. Valid values:
|
IPv4 |
| AddressLbStrategy |
string |
The load balancing policy for addresses in the address pool. Valid values:
|
round_robin |
| SequenceLbStrategyMode |
string |
If the load balancing policy for addresses is
|
preemptive |
| EnableStatus |
string |
The enabled status of the address pool. Valid values:
|
enable |
| HealthJudgement |
string |
The condition for determining the health status of the address pool. Valid values:
|
any_ok |
| HealthStatus |
string |
The health status of the address pool. Valid values:
|
ok |
| AvailableStatus |
string |
The availability status of the address pool. Valid values:
|
available |
| SeqNonPreemptiveSchedule |
boolean |
Indicates whether non-preemptive sequential scheduling is used for this address pool. This mode is typically used in a multi-cloud management scenario. Valid values:
|
false |
| ConfigLoggingSwitchStatus |
string |
ENABLE |
Examples
Success response
JSON format
{
"RequestId": "6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF",
"PageNumber": 1,
"PageSize": 20,
"TotalPages": 1,
"TotalItems": 15,
"InstanceConfigs": {
"InstanceConfig": [
{
"InstanceId": "gtm-cn-x0r38e0****",
"ConfigId": "Config-000****\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
}
]
},
"ConfigLoggingSwitchStatus": "ENABLE"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.