请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeSqlFlashbakTask | 系统规定参数。取值:DescribeSqlFlashbakTask。 |
DrdsInstanceId | String | 是 | drds****c6vxxyzd | DRDS实例ID |
AccessKeyId | String | 否 | ***** | 拥有该资源账号的ak |
返回数据
名称 | 类型 | 示例值 | 描述 |
RequestId | String | 5D64DE5944A1E541E0CB908A | 请求唯一ID,如果遇到问题请提供这个请求ID,由工作人员为您排查。 |
SqlFlashbackTasks | 闪回任务返回对象 |
||
Success | Boolean | true | 当前API是否请求成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeSqlFlashbakTask &DrdsInstanceId=drds****c6vxxyzd &<公共请求参数>
正常返回示例
XML
格式
<DescribeSqlFlashbakTaskResponse> <code>200</code> <data> <SqlFlashbackTasks> <SqlFlashbackTask> <GmtModified>1568611469000</GmtModified> <SearchEndTime>1568611397000</SearchEndTime> <RecallStatus>2</RecallStatus> <SqlPk></SqlPk> <RecallRestoreType>0</RecallRestoreType> <TableName>drds_params</TableName> <GmtCreate>1568611408000</GmtCreate> <SearchStartTime>1568609597000</SearchStartTime> <InstId>drdshbga76p61861</InstId> <RecallType>1</RecallType> <TraceId></TraceId> <DbName>drds_flashback</DbName> <SqlType>Insert,Update,Delete</SqlType> <Id>238</Id> <ExpireTime>1569216270000</ExpireTime> <SqlCounter>0</SqlCounter> <RecallProgress>100</RecallProgress> <DownloadUrl></DownloadUrl> </SqlFlashbackTask> </SqlFlashbackTasks> <RequestId>11449CF1-6D32-4759-8F93-EAF36F176C41</RequestId> <Success>true</Success> </data> <requestId>11449CF1-6D32-4759-8F93-EAF36F176C41</requestId> <successResponse>true</successResponse> </DescribeSqlFlashbakTaskResponse>
JSON
格式
{ "successResponse":true, "requestId":"11449CF1-6D32-4759-8F93-EAF36F176C41", "data":{ "RequestId":"11449CF1-6D32-4759-8F93-EAF36F176C41", "SqlFlashbackTasks":{ "SqlFlashbackTask":[ { "SearchStartTime":1568609597000, "DbName":"drds_flashback", "RecallStatus":2, "InstId":"drdshbga76p61861", "SqlType":"Insert,Update,Delete", "SqlPk":"", "RecallProgress":100, "GmtCreate":1568611408000, "GmtModified":1568611469000, "RecallRestoreType":0, "ExpireTime":1569216270000, "DownloadUrl":"", "TraceId":"", "Id":238, "TableName":"drds_params", "SqlCounter":0, "SearchEndTime":1568611397000, "RecallType":1 } ] }, "Success":true }, "code":"200" }
错误码
访问错误中心查看更多错误码。