You can call this operation to preview a disaster recovery plan of a Global Traffic Manager (GTM) instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language used by the user. | en |
RecoveryPlanId | long | Yes | The ID of the disaster recovery plan that you want to preview. | 100 |
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on per page. Maximum value: 20. Default value: 5. | 5 |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalPages": 3,
"TotalItems": 15,
"PageNumber": 1,
"PageSize": 5,
"RequestId": "853805EA-3D47-47D5-9A1A-A45C24313ABD",
"Previews": {
"Preview": [
{
"InstanceId": "instance-example",
"Name": "name-example",
"UserDomainName": "30.yyy.com",
"SwitchInfos": {
"SwitchInfo": [
{
"Content": "",
"StrategyName": "strategy-name-example-1"
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.