Queries the complete configuration of a Global Traffic Manager instance, including the access domain name, alerts, address pools, and details of the addresses.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:DescribeCloudGtmInstanceConfigFullInfo | get | *GtmInstance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
AcceptLanguage | string | No | The language of the response. Valid values:
| en-US |
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. Generate a unique token for each request. The token can contain a maximum of 64 ASCII characters. | 1ae05db4-10e7-11ef-b126-00163e24**** |
InstanceId | string | No | The ID of the Global Traffic Manager 3.0 instance. | gtm-cn-wwo3a3h**** |
ConfigId | string | No | The ID of the instance configuration. You can configure both A and AAAA records for the same access domain name and Global Traffic Manager (GTM) instance. In this case, the GTM instance has two configurations. The ConfigId uniquely identifies an instance configuration. For more information, see ListCloudGtmInstanceConfigs. | Config-000**** |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The unique request ID. | 29D0F8F8-5499-4F6C-9FDC-1EE13BF55925 |
InstanceId | string | The ID of the Global Traffic Manager 3.0 instance. | gtm-cn-wwo3a3h**** |
ConfigId | string | The ID of the instance configuration. You can configure both A and AAAA records for the same access domain name and Global Traffic Manager (GTM) instance. In this case, the GTM instance has two configurations. The ConfigId uniquely identifies an instance configuration. | Config-000**** |
CreateTime | string | The time when the instance was created. | 2024-03-15T01:46Z |
CreateTimestamp | integer | The UNIX timestamp that indicates when the instance was created. | 1527690629357 |
UpdateTime | string | The time when the instance was last modified. | 2024-03-15T01:46Z |
UpdateTimestamp | integer | The UNIX timestamp that indicates when the instance was last modified. | 1527690629357 |
VersionCode | string | The edition of the Global Traffic Manager 3.0 instance.
| ultimate |
CommodityCode | string | The commodity code.
| dns_gtm_public_cn |
InstanceName | string | The name of the GTM instance. | test |
ScheduleZoneMode | string | The assignment mode of the access domain name.
| custom |
ScheduleZoneName | string | The primary domain name (example.com) or subdomain name (a.example.com) of the GTM access domain name. This is typically a domain name hosted in the authoritative zone of the Alibaba Cloud DNS console under the account to which the GTM instance belongs. | example.com |
ScheduleHostname | string | The host record of the GTM access domain name. | www |
ScheduleDomainName | string | The GTM access domain name. The format is ScheduleHostname + ScheduleZoneName. | www.example.com |
ScheduleRrType | string | The DNS record type of the GTM access domain name.
| A |
Ttl | integer | The global time to live (TTL) in seconds. This is the TTL value for the DNS records that map the access domain name to the addresses in the address pool. It affects the cache duration of the DNS records on carrier Local DNS servers. You can customize the TTL value. | 60 |
AddressPoolLbStrategy | string | The load balancing policy for the address pools.
| round_robin |
SequenceLbStrategyMode | string | When the load balancing policy for address pools is sequence, this parameter specifies the service recovery mode for a resource that becomes available again.
| preemptive |
AvailableStatus | string | The service availability status of the instance.
| available |
EnableStatus | string | The enabled status of the instance.
| enable |
HealthStatus | string | The health status of the instance.
| ok |
AlertGroup | string | The alert group. | [\"Alert contact\"] |
AlertConfig | string | The alert notification configuration. | [{\"NoticeType\":\"addr_alert\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_resume\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_pool_unavailable\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_pool_available\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true}]" |
Remark | string | The remarks on the instance configuration. | test |
| AddressPools | object | ||
| AddressPool | array<object> | The list of address pools. | |
object | The configuration of the address pool. | ||
CreateTime | string | The time when the address pool was created. | 2024-03-15T01:46Z |
CreateTimestamp | integer | The UNIX timestamp that indicates when the address pool was created. | 1527690629357 |
UpdateTime | string | The time when the address pool was last modified. | 2024-03-15T01:46Z |
UpdateTimestamp | integer | The UNIX timestamp that indicates when the address pool was last modified. | 1527690629357 |
AddressPoolId | string | The ID of the address pool. This is the unique identifier of the address pool. | pool-89528023225442**** |
WeightValue | integer | The weight of the address pool. The value is an integer from 1 to 100. You can set different weights for each address pool to return address pools based on the specified weight ratio. | 1 |
SerialNumber | integer | The ordinal number of the address pool. For any DNS request, the address pool with the smallest ordinal number is returned. The ordinal number indicates the priority of the address pool. A smaller value indicates a higher priority. | 1 |
| RequestSource | object | ||
| RequestSource | array | The list of DNS request sources. | |
string | The source of the DNS request. GTM schedules traffic based on the egress IP address of the local DNS server that the client uses. If the local DNS server supports Extension Mechanisms for DNS (EDNS) client subnet (ECS), GTM can also schedule traffic based on the client IP address. | ["default"] | |
AddressPoolName | string | The name of the address pool. | AddressPool-1 |
AddressPoolType | string | The type of the address pool.
| IPv4 |
AddressLbStrategy | string | The load balancing policy for the addresses in the address pool.
| round_robin |
SequenceLbStrategyMode | string | When the load balancing policy for addresses is sequence, this parameter specifies the service recovery mode for a resource that becomes available again.
| preemptive |
EnableStatus | string | The enabled status of the address pool.
| enable |
HealthJudgement | string | The condition for determining the health status of the address pool.
| any_ok |
HealthStatus | string | The health status of the address pool.
| ok |
AvailableStatus | string | The availability status of the address pool.
| available |
| Addresses | object | ||
| Address | array<object> | The list of addresses. | |
object | The information about the address. | ||
CreateTime | string | The time when the address was created. | 2024-03-15T01:46Z |
CreateTimestamp | integer | The UNIX timestamp that indicates when the address was created. | 1527690629357 |
UpdateTime | string | The time when the address was last modified. | 2024-03-15T01:46Z |
UpdateTimestamp | integer | The UNIX timestamp that indicates when the address was last modified. | 1527690629357 |
AddressId | string | The ID of the address. This is the unique identifier of the address. | addr-89564712295703**** |
WeightValue | integer | The weight of the address. The value is an integer from 1 to 100. You can set different weights for each address to return addresses based on the specified weight ratio. | 1 |
SerialNumber | integer | The ordinal number of the address. This indicates the priority of the address. A smaller value indicates a higher priority. | 1 |
| RequestSource | object | ||
| RequestSource | array | The list of DNS request sources. | |
string | The source of the DNS request. GTM schedules 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 also schedule traffic based on the client IP address. | ["default"] | |
Name | string | The name of the address. | Address-1 |
Type | string | The type of the address.
| IPv4 |
Address | string | The IP address or domain name. | 223.5.XX.XX |
AttributeInfo | string | The source of the address. This parameter is not returned in the current version. | 当前版本不支持返回此参数。 |
Remark | string | The remarks on the address. | test |
EnableStatus | string | The enabled status of the address. This indicates whether the address is currently available.
| enable |
AvailableMode | string | The failover mode for the address that becomes unavailable.
| auto |
ManualAvailableStatus | string | When the failover mode for the address is manual, this parameter specifies the availability status of the address.
| available |
AvailableStatus | string | The availability status of the address.
| available |
HealthStatus | string | The health check status of the address.
| ok |
HealthJudgement | string | The condition for determining the health status of the address.
| any_ok |
SeqNonPreemptiveSchedule | boolean | Indicates whether the address is a scheduling object in sequential (non-preemptive) mode. This is for hybrid cloud management scenarios.
| false |
SeqNonPreemptiveSchedule | boolean | Indicates whether the address is a scheduling object in sequential (non-preemptive) mode. This is for hybrid cloud management scenarios.
| false |
Examples
Success response
JSON format
{
"RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925",
"InstanceId": "gtm-cn-wwo3a3h****",
"ConfigId": "Config-000****",
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"VersionCode": "ultimate",
"CommodityCode": "dns_gtm_public_cn",
"InstanceName": "test",
"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",
"AlertGroup": "[\\\"云账号报警联系人\\\"]",
"AlertConfig": "[{\\\"NoticeType\\\":\\\"addr_alert\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_resume\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_pool_unavailable\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_pool_available\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true}]\"",
"Remark": "test",
"AddressPools": {
"AddressPool": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressPoolId": "pool-89528023225442****",
"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",
"Addresses": {
"Address": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressId": "addr-89564712295703****",
"WeightValue": 1,
"SerialNumber": 1,
"RequestSource": {
"RequestSource": [
"[\"default\"]"
]
},
"Name": "Address-1",
"Type": "IPv4",
"Address": "223.5.XX.XX",
"AttributeInfo": "当前版本不支持返回此参数。",
"Remark": "test",
"EnableStatus": "enable",
"AvailableMode": "auto",
"ManualAvailableStatus": "available",
"AvailableStatus": "available",
"HealthStatus": "ok",
"HealthJudgement": "any_ok",
"SeqNonPreemptiveSchedule": false
}
]
},
"SeqNonPreemptiveSchedule": false
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.