Queries the status of a Global Traffic Manager (GTM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDnsGtmInstanceStatus

The operation that you want to perform. Set the value to DescribeDnsGtmInstanceStatus.

InstanceId String Yes instance1

The ID of the instance.

Lang String No en

The language to return some response parameters. Default value: en. Valid values: en, zh, and ja.

Response parameters

Parameter Type Example Description
AddrAvailableNum Integer 1

The number of available addresses.

AddrNotAvailableNum Integer 1

The number of unavailable addresses.

AddrPoolGroupNotAvailableNum Integer 1

The number of unavailable address pool groups.

RequestId String 389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA

The ID of the request.

StrategyNotAvailableNum Integer 1

The number of access policies that are unavailable in the current active address pool group.

SwitchToFailoverStrategyNum Integer 1

The number of access policies switched to the secondary address pool group.

Examples

Sample requests

http(s)://alidns.aliyuncs.com/? Action=DescribeDnsGtmInstanceStatus
&InstanceId=instance1
&<Common request parameters>

Sample success responses

XML format

<AddrAvailableNum>1</AddrAvailableNum>
<StrategyNotAvailableNum>1</StrategyNotAvailableNum>
<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>
<SwitchToFailoverStrategyNum>1</SwitchToFailoverStrategyNum>
<AddrNotAvailableNum>1</AddrNotAvailableNum>
<AddrPoolGroupNotAvailableNum>1</AddrPoolGroupNotAvailableNum>

JSON format

{
	"AddrAvailableNum": "1",
	"StrategyNotAvailableNum": "1",
	"RequestId": "389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA",
	"SwitchToFailoverStrategyNum": "1",
	"AddrNotAvailableNum": "1",
	"AddrPoolGroupNotAvailableNum": "1"
}

Error codes

For a list of error codes, visit the API Error Center.