You can call the DescribeRestoreOrder operation to view the details of the order.

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 DescribeRestoreOrder The operation that you want to perform. The value is DescribeRestoreOrder.
DrdsInstanceId String Yes drds************ The ID of the instance for which to modify the backup policy.
PreferredBackupTime String No 2019-09-16 15:12:53 The preferred backup time.
BackupMode String No phy The backup mode. Valid values: logic or phy.
BackupLevel String No db The level of the backup. Valid values:
  • DB: The database Level
  • instance : instance level
BackupDbNames String No drds_flashback The name of the database involved in the backup.
BackupId String No Configure Internal Audit alarm rules * The ID of the backup set.

Response parameters

Parameter Type Example Description
RequestId String 0AD2DE5D-B86B-40B5-9678-487D37****** The ID of the request.
RestoreOrderDO Struct The returned data object.
DrdsOrderDOList Array The information of the restored order.
DrdsOrderDOList
AzoneId String cn-hangzhou-e The ID of the zone for which to query resources.
InstSpec String 4C8G * 2 The instance type of the instance.
Network String vpc The network type. Valid values:
  • Classic : Classic Network
  • vpc: VPC
RegionId String cn-hangzhou The region ID of the instance.
VSwtichId String vsw-******************* The ID of the vSwitch in the VPC.
VpcId String vpc-******************* The ID of the VPC network.
PolarOrderDOList Array The ID of the restored apsaradb for PolarDB cluster.
PolarOrderDOList
AzoneId String cn-hangzhou-b The zone ID of the node.
DbInstanceStorage String 10240 The capacity of disk.
Engine String POLARDB The storage engine of PolarDB.
InstanceClass String polar.mysql.x4.large The type of the instance.
Network String VPC The network type. Valid values:
  • Classic : Classic Network
  • vpc: VPC
Num Long 1 The number of streams that were returned.
RegionId String cn-hangzhou The region ID of the instance.
Version String 5.6 The version of the operating system.
RdsOrderDOList Array The information of the restored RDS order.
RdsOrderDOList
AzoneId String cn-hangzhou-b The zone ID of the node.
DbInstanceStorage String 10240 The capacity of disk.
Engine String MYSQL The storage engine of the instance.
InstanceClass String rds.mysql.s2.large The instance type of the instance.
Network String VPC The network type. Valid values:
  • Classic : Classic Network
  • vpc: VPC
Num Long 1 The number of streams that were returned.
RegionId String cn-hangzhou The region ID of the instance.
Version String 5.6 The version of the operating system.
Success Boolean true Indicates whether the request was successful.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=DescribeRestoreOrder
&DrdsInstanceId=drds************
&<Common request parameters>

Sample success responses

XML format

<RequestId>0AD2DE5D-B86B-40B5-9678-487D37******</RequestId>
<RestoreOrderDO>
    <RdsOrderDOList>
    </RdsOrderDOList>
    <DrdsOrderDOList>
        <DrdsOrderDOList>
            <InstSpec>4C8G * 2</InstSpec>
            <AzoneId>cn-hangzhou-e</AzoneId>
            <Network>vpc</Network>
            <RegionId>cn-hangzhou</RegionId>
            <VpcId>vpc-*******************</VpcId>
        </DrdsOrderDOList>
    </DrdsOrderDOList>
    <PolarOrderDOList>
        <PolarOrderDOList>
            <InstanceClass>polar.mysql.x4.large</InstanceClass>
            <Num>1</Num>
            <AzoneId>cn-hangzhou-g</AzoneId>
            <Network>VPC</Network>
            <RegionId>cn-hangzhou</RegionId>
            <DbInstanceStorage>10240</DbInstanceStorage>
            <Version>5.6</Version>
            <Engine>POLARDB</Engine>
        </PolarOrderDOList>
        <PolarOrderDOList>
            <InstanceClass>polar.mysql.x4.large</InstanceClass>
            <Num>1</Num>
            <AzoneId>cn-hangzhou-g</AzoneId>
            <Network>VPC</Network>
            <RegionId>cn-hangzhou</RegionId>
            <DbInstanceStorage>10240</DbInstanceStorage>
            <Version>5.6</Version>
            <Engine>POLARDB</Engine>
        </PolarOrderDOList>
    </PolarOrderDOList>
</RestoreOrderDO>
<Success>true</Success>

JSON format

{
        "RequestId":"0AD2DE5D-B86B-40B5-9678-487D37******",
        "RestoreOrderDO":{
            "RdsOrderDOList":{
                "RdsOrderDOList":[]
            },
            "DrdsOrderDOList":{
                "DrdsOrderDOList":[
                    {
                        "InstSpec":"4C8G * 2",
                        "AzoneId":"cn-hangzhou-e",
                        "Network":"vpc",
                        "RegionId":"cn-hangzhou",
                        "VpcId":"vpc-*******************"
                    }
                ]
            },
            "PolarOrderDOList":{
                "PolarOrderDOList":[
                    {
                        "InstanceClass":"polar.mysql.x4.large",
                        "Num":1,
                        "AzoneId":"cn-hangzhou-g",
                        "Network":"VPC",
                        "RegionId":"cn-hangzhou",
                        "DbInstanceStorage":"10240",
                        "Version":"5.6",
                        "Engine":"POLARDB"
                    },
                    {
                        "InstanceClass":"polar.mysql.x4.large",
                        "Num":1,
                        "AzoneId":"cn-hangzhou-g",
                        "Network":"VPC",
                        "RegionId":"cn-hangzhou",
                        "DbInstanceStorage":"10240",
                        "Version":"5.6",
                        "Engine":"POLARDB"
                    }
                ]
            }
        },
        "Success":true
    }

Error codes

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