请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeRestoreOrder | 系统规定参数。取值为DescribeRestoreOrder。 |
DrdsInstanceId | String | 是 | drds************ | 实例ID |
PreferredBackupTime | String | 否 | 2019-09-16 15:12:53 | 备份时间。 |
BackupMode | String | 否 | phy | 备份模式,取值为logic或phy。 |
BackupLevel | String | 否 | db |
备份级别,取值范围如下:
|
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 }
错误码
访问错误中心查看更多错误码。