DescribeSqlFlashbakTask
查看闪回任务的列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeSqlFlashbakTask |
系统规定参数。取值:DescribeSqlFlashbakTask。 |
DrdsInstanceId | String | 是 | drds****c6vxxyzd |
DRDS实例ID |
AccessKeyId | String | 否 | ***** |
拥有该资源账号的ak |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 5D64DE5944A1E541E0CB908A |
请求唯一ID,如果遇到问题请提供这个请求ID,由工作人员为您排查。 |
SqlFlashbackTasks |
闪回任务返回对象 |
||
SqlFlashbackTask |
闪回任务返回对象 |
||
DbName | String | drds_flashback |
闪回任务的db名 |
DownloadUrl | String | http://... |
下载地址 |
ExpireTime | Long | 1569216270000 |
下载地址过期时间 |
GmtCreate | Long | 1568611408000 |
创建时间 |
GmtModified | Long | 1568611469000 |
修改时间 |
Id | Long | 238 |
主键Id |
InstId | String | drdshbga76p61861 |
DRDS实例Id |
RecallProgress | Integer | 10 |
逆向召回进度 |
RecallRestoreType | Integer | 0 |
恢复类型,镜像恢复 or 逆向恢复 |
RecallStatus | Integer | 1 |
数据召回任务状态 |
RecallType | Integer | 1 |
回溯类型,精确查找 or 模糊查找 |
SearchEndTime | Long | 1568609597000 |
搜索的结束时间 |
SearchStartTime | Long | 1568609597000 |
搜索的开始时间 |
SqlCounter | Long | 0 |
恢复的数据行数 |
SqlPk | String | id |
sql设计的主键值 |
SqlType | String | Insert,Update,Delete |
sql的类型 |
TableName | String | drds_params |
数据所属的表 |
TraceId | String | trace |
sql的trace_id |
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"
}
错误码
访问错误中心查看更多错误码。
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论