All Products
Search
Document Center

Alibaba Cloud DNS:DescribeGtmRecoveryPlan

Last Updated:Oct 24, 2024

Queries the details of a disaster recovery plan.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
alidns:DescribeGtmRecoveryPlanget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the response. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

en
RecoveryPlanIdlongYes

The ID of the disaster recovery plan.

100

Response parameters

ParameterTypeDescriptionExample
object
Statusstring

The status of the disaster recovery plan.

UNEXECUTED
LastRollbackTimestring

The time when the disaster recovery plan was last rolled back. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

2019-08-11T06:45Z
FaultAddrPoolNuminteger

The number of faulty address pools.

2
FaultAddrPoolsarray<object>

The faulty address pools.

FaultAddrPoolobject
Addrsarray<object>
Addrobject
Valuestring

The address.

1.1.1.1
Modestring

The address mode.

OFFLINE
Idlong

The address ID.

739
AddrPoolIdstring

The address pool ID.

hra0oq
InstanceIdstring

The instance ID.

instance-zwy-38
AddrPoolNamestring

The address pool name.

LastExecuteTimestring

The time when the disaster recovery plan was last executed. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

2019-08-11T05:04Z
RequestIdstring

The request ID.

0A5F4315-D6E8-435E-82DF-24F4C97D6999
CreateTimestring

The time when the disaster recovery plan was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

2019-08-11T05:04Z
LastExecuteTimestamplong

The time when the disaster recovery plan was last executed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

1565505898000
Remarkstring

The description of the disaster recovery plan.

remark-example
Namestring

The name of the disaster recovery plan.

name-example
RecoveryPlanIdlong

The ID of the disaster recovery plan.

55
UpdateTimestring

The time when the disaster recovery plan was last modified. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

2019-08-11T06:45Z
UpdateTimestamplong

The time when the disaster recovery plan was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

1565499867000
LastRollbackTimestamplong

The time when the disaster recovery plan was last rolled back. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

1565505919000
CreateTimestamplong

The time when the disaster recovery plan was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.

1565499867000

Examples

Sample success responses

JSONformat

{
  "Status": "UNEXECUTED",
  "LastRollbackTime": "2019-08-11T06:45Z",
  "FaultAddrPoolNum": 2,
  "FaultAddrPools": {
    "FaultAddrPool": [
      {
        "Addrs": {
          "Addr": [
            {
              "Value": "1.1.1.1",
              "Mode": "OFFLINE",
              "Id": 739
            }
          ]
        },
        "AddrPoolId": "hra0oq",
        "InstanceId": "instance-zwy-38",
        "AddrPoolName": ""
      }
    ]
  },
  "LastExecuteTime": "2019-08-11T05:04Z",
  "RequestId": "0A5F4315-D6E8-435E-82DF-24F4C97D6999",
  "CreateTime": "2019-08-11T05:04Z",
  "LastExecuteTimestamp": 1565505898000,
  "Remark": "remark-example",
  "Name": "name-example",
  "RecoveryPlanId": 55,
  "UpdateTime": "2019-08-11T06:45Z",
  "UpdateTimestamp": 1565499867000,
  "LastRollbackTimestamp": 1565505919000,
  "CreateTimestamp": 1565499867000
}

Error codes

For a list of error codes, visit the Service error codes.