You can call this operation to query the available configurations of a disaster recovery plan 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 DescribeGtmRecoveryPlanAvailableConfig

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

Lang String No en

The language used by the user.

Response parameters

Parameter Type Example Description
Instances Array

The list of GTM instances involved in the disaster recovery plan.

Instance

The details about a GTM instance.

AddrPools Array

The list of address pools for the GTM instance.

AddrPool

The details about an address pool.

AddrPoolId String Address pool 1

The ID of the address pool.

Name String hra0i9

The name of the address pool.

InstanceId String instance-example

The ID of the GTM instance.

InstanceName String instance-name-example

The name of the GTM instance.

RequestId String F8F8EF50-8B7F-4702-B294-97170A423403

The ID of the request.

Examples

Sample requests


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

Sample success responses

XML format

<DescribeGtmRecoveryPlanAvailableConfigResponse>
	  <RequestId>F8F8EF50-8B7F-4702-B294-97170A423403</RequestId>
	  <Instances>
		    <Instance>
			      <InstanceId>instance-example</InstanceId>
			      <AddrPools>
				        <AddrPool>
					          <Name>Address pool 2</Name>
					          <AddrPoolId>hra0i9</AddrPoolId>
				        </AddrPool>
				        <AddrPool>
					          <Name>Address pool 1</Name>
					          <AddrPoolId>hra0ig</AddrPoolId>
				        </AddrPool>
			      </AddrPools>
			      <InstanceName>instance-name-example</InstanceName>
		    </Instance>
	  </Instances>
</DescribeGtmRecoveryPlanAvailableConfigResponse>

JSON format

{
	"RequestId":"F8F8EF50-8B7F-4702-B294-97170A423403",
	"Instances":{
		"Instance":[
			{
				"InstanceId":"instance-example",
				"InstanceName":"instance-name-example",
				"AddrPools":{
					"AddrPool":[
						{
							"Name":"Address pool 2",
							"AddrPoolId":"hra0i9"
						},
						{
							"Name":"Address pool 1",
							"AddrPoolId":"hra0ig"
						}
					]
				}
			}
		]
	}
}

Error codes

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