PolarDB-X 1.0-API参考-1.0(2019版本)-备份和恢复-DescribeRestoreOrder

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeRestoreOrder

系统规定参数。取值为DescribeRestoreOrder

DrdsInstanceId String drds************

实例ID

PreferredBackupTime String 2019-09-16 15:12:53

备份时间。

BackupMode String phy

备份模式,取值为logicphy

BackupLevel String db

备份级别,取值范围如下:

  • db:库级别
  • instance:实例级别
BackupDbNames String drds_flashback

备份涉及的数据库名称。

BackupId String 1918df27-4563-11e9-8403-af4fbe******

备份ID。

返回数据

名称 类型 示例值 描述
RequestId String 0AD2DE5D-B86B-40B5-9678-487D37******

请求ID。

RestoreOrderDO Struct

返回数据对象。

Success Boolean true

当前API是否请求成功。

示例

请求示例


http(s)://drds.aliyuncs.com/?Action=DescribeRestoreOrder
&DrdsInstanceId=drds************
&<公共请求参数>

正常返回示例

XML 格式


<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 格式


{
        "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
    }

错误码

访问错误中心查看更多错误码。

上一篇:简单的php文件上传系统


下一篇:【玩转数据系列十五】机器学习PAI为你自动写歌词,妈妈再也不用担心我的freestyle了(提供数据、代码)