Queries the details of a Global Traffic Manager (GTM) instance.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:DescribeGtmInstance | get | *gtminstance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Lang | string | No | The language. | en |
InstanceId | string | Yes | The ID of the GTM instance. | instance1 |
NeedDetailAttributes | boolean | No | Specifies whether to return additional information. The default value is false. If you set this parameter to true, the response includes AccessStrategyNum (the number of access policies) and AddressPoolNum (the number of address pools). | false |
Response elements
Element | Type | Description | Example |
object | |||
ExpireTimestamp | integer | The expiration time of the instance. This is a UNIX timestamp. | 1528284856000 |
UserDomainName | string | The custom domain name. | dns-example.top |
RequestId | string | The unique ID of the request. | E41AA251-F9BA-48C6-99B2-2B82B26A573A |
LbaStrategy | string | The load balancing policy.
| RATIO |
InstanceId | string | The ID of the GTM instance. | gtm-cn-wwo3a3hbz** |
CreateTime | string | The time when the instance was created. | 2018-06-06T11:34Z |
CnameMode | string | The CNAME access mode. Valid values:
| CUSTOM |
Ttl | integer | The global TTL. | 60 |
Cname | string | The CNAME access domain name. | gtm-cn-wwo3a3hbz**.dns-example.top |
InstanceName | string | The name of the instance. | test |
VersionCode | string | The version code. | biaozhun |
AlertGroup | string | The alert contact group. | [\"Testing for R&D team\"] |
AddressPoolNum | integer | The number of address pools. | 5 |
AccessStrategyNum | integer | The number of access policies. | 5 |
ExpireTime | string | The time when the instance expires. | 2018-06-06T11:34Z |
CreateTimestamp | integer | The time when the instance was created. This is a UNIX timestamp. | 1528284856000 |
ResourceGroupId | string | The ID of the resource group. | rg-testgroupid |
Examples
Success response
JSON format
{
"ExpireTimestamp": 1528284856000,
"UserDomainName": "dns-example.top",
"RequestId": "E41AA251-F9BA-48C6-99B2-2B82B26A573A",
"LbaStrategy": "RATIO",
"InstanceId": "gtm-cn-wwo3a3hbz**",
"CreateTime": "2018-06-06T11:34Z",
"CnameMode": "CUSTOM",
"Ttl": 60,
"Cname": "gtm-cn-wwo3a3hbz**.dns-example.top",
"InstanceName": "test",
"VersionCode": "biaozhun",
"AlertGroup": "[\\\"日常测试-研发组\\\"]",
"AddressPoolNum": 5,
"AccessStrategyNum": 5,
"ExpireTime": "2018-06-06T11:34Z",
"CreateTimestamp": 1528284856000,
"ResourceGroupId": "rg-testgroupid"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.