Queries a list of instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDnsGtmInstances |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Default value: en. Valid values: en, zh, and ja. |
en |
| PageNumber |
integer |
No |
The number of the page to return. The value starts from 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Maximum value: 100. Default value: 20. |
1 |
| Keyword |
string |
No |
The keyword for the query. Fuzzy search by instance ID and instance name is supported. |
test |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-testgroupid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries per page. Maximum value: 100. Default value: 20. |
1 |
| RequestId |
string |
The unique request ID. |
84314904-D047-4176-A0EC-256D7F68C7F5 |
| PageNumber |
integer |
The number of the page returned. The value starts from 1. Default value: 1. |
1 |
| GtmInstances |
array<object> |
The list of Global Traffic Manager (GTM) instances. |
|
|
object |
|||
| PaymentType |
string |
The billing method. Valid value:
|
Subscription |
| ExpireTime |
string |
The time when the instance expires. |
2020-10-14T06:58Z |
| CreateTime |
string |
The time when the instance was created. |
2020-10-14T06:58Z |
| SmsQuota |
integer |
The total quota of text message notifications. |
1 |
| InstanceId |
string |
The ID of the instance. |
gtm-cn-wwo3a3hbz** |
| Config |
object |
The configuration of the instance. |
|
| Ttl |
integer |
The global TTL. |
60 |
| AlertGroup |
string |
The alert contact group. The value is a JSON-formatted list of strings. |
["test1","test2"] |
| PublicZoneName |
string |
The domain name used for Internet access. |
gtm-cn-wwo3a3hbz**.dns-example.top |
| CnameType |
string |
The type of the CNAME domain name used for access. Valid value:
|
PUBLIC |
| StrategyMode |
string |
The mode of the access policy. Valid values:
|
GEO |
| InstanceName |
string |
The name of the instance. |
instanceTest |
| PublicCnameMode |
string |
The method to access the instance over the Internet using a CNAME record. Valid values:
|
CUSTOM |
| AlertConfig |
array<object> |
The alert notification methods. |
|
|
object |
|||
| SmsNotice |
string |
Indicates whether text message notifications are configured. Valid values:
|
true |
| NoticeType |
string |
The type of the alert event. Valid values:
|
ADDR_ALERT |
| EmailNotice |
string |
Indicates whether email notifications are configured. Valid values:
|
true |
| DingtalkNotice |
string |
Indicates whether DingTalk notifications are configured. Valid values:
|
true |
| PublicUserDomainName |
string |
The user's service domain name that is accessible over the Internet. |
dns-example.top |
| PublicRr |
string |
The hostname for Internet access. |
test.rr |
| ExpireTimestamp |
integer |
The timestamp that indicates when the instance expires. |
1602658709000 |
| ResourceGroupId |
string |
The ID of the resource group. |
resourceGroupid123 |
| VersionCode |
string |
The version of the instance. |
standard |
| UsedQuota |
object |
The used quota. |
|
| EmailUsedCount |
integer |
The total number of emails that were sent. |
100 |
| TaskUsedCount |
integer |
The number of health check tasks that were created. |
100 |
| SmsUsedCount |
integer |
The total number of text messages that were sent. |
100 |
| DingtalkUsedCount |
integer |
The total number of DingTalk messages that were sent. |
100 |
| TaskQuota |
integer |
The total number of health check tasks. |
1 |
| CreateTimestamp |
integer |
The timestamp that indicates when the instance was created. |
1602658709000 |
| TotalPages |
integer |
The total number of pages. |
123 |
| TotalItems |
integer |
The total number of entries. |
100 |
Examples
Success response
JSON format
{
"PageSize": 1,
"RequestId": "84314904-D047-4176-A0EC-256D7F68C7F5",
"PageNumber": 1,
"GtmInstances": [
{
"PaymentType": "Subscription",
"ExpireTime": "2020-10-14T06:58Z",
"CreateTime": "2020-10-14T06:58Z",
"SmsQuota": 1,
"InstanceId": "gtm-cn-wwo3a3hbz**",
"Config": {
"Ttl": 60,
"AlertGroup": "[\"test1\",\"test2\"]",
"PublicZoneName": "gtm-cn-wwo3a3hbz**.dns-example.top",
"CnameType": "PUBLIC",
"StrategyMode": "GEO",
"InstanceName": "instanceTest",
"PublicCnameMode": "CUSTOM",
"AlertConfig": [
{
"SmsNotice": "true",
"NoticeType": "ADDR_ALERT",
"EmailNotice": "true",
"DingtalkNotice": "true"
}
],
"PublicUserDomainName": "dns-example.top",
"PublicRr": "test.rr"
},
"ExpireTimestamp": 1602658709000,
"ResourceGroupId": "resourceGroupid123",
"VersionCode": "standard",
"UsedQuota": {
"EmailUsedCount": 100,
"TaskUsedCount": 100,
"SmsUsedCount": 100,
"DingtalkUsedCount": 100
},
"TaskQuota": 1,
"CreateTimestamp": 1602658709000
}
],
"TotalPages": 123,
"TotalItems": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.