Queries the list of flashback tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeSqlFlashbakTask |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drds****c6vxxyzd |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
5D64DE59-44A1-E541-E0CB-B7E5C4305162 |
| SqlFlashbackTasks |
object |
||
| SqlFlashbackTask |
array<object> |
The flashback task object. |
|
|
object |
|||
| TableName |
string |
Indicates the name of the table that contains the data that are flashed back. |
drds_params |
| SearchEndTime |
integer |
Indicates the start time of the reverse call. |
1568509597000 |
| ExpireTime |
integer |
Indicates the time when the download URL expires. |
1569216270000 |
| DownloadUrl |
string |
Indicates the download URL. |
http://... |
| RecallProgress |
integer |
Indicates the progress of the reverse call. |
10 |
| SqlPk |
string |
Indicates the primary key specified in the SQL statements. |
id |
| InstId |
string |
Indicates the ID of the instance. |
drdshbga76p6**** |
| RecallType |
integer |
Indicates the type of the reverse call. Valid values:
|
1 |
| SearchStartTime |
integer |
Indicates the end time of the reverse call. |
1568609597000 |
| GmtModified |
integer |
Indicates the point in time when the flashback task is performed. |
1568611469000 |
| SqlCounter |
integer |
Indicates the number of data rows that are flashed back. |
0 |
| DbName |
string |
Indicates the name of the database on which a flashback task is performed. |
drds_flashback |
| RecallRestoreType |
integer |
Indicates the type of the flashback task. Valid values:
|
1 |
| GmtCreate |
integer |
Indicates the point in time when the instance was created. |
1568611408000 |
| TraceId |
string |
Indicates the ID of the trace of the SQL query. |
trace |
| Id |
integer |
Indicates the ID of the primary key that corresponds to a table used in the flashback task. |
238 |
| RecallStatus |
integer |
Indicates the status of the data recall task. |
1 |
| SqlType |
string |
Indicates the types of the SQL statements. |
Insert,Update,Delete |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "5D64DE59-44A1-E541-E0CB-B7E5C4305162",
"SqlFlashbackTasks": {
"SqlFlashbackTask": [
{
"TableName": "drds_params",
"SearchEndTime": 1568509597000,
"ExpireTime": 1569216270000,
"DownloadUrl": "http://...",
"RecallProgress": 10,
"SqlPk": "id",
"InstId": "drdshbga76p6****",
"RecallType": 1,
"SearchStartTime": 1568609597000,
"GmtModified": 1568611469000,
"SqlCounter": 0,
"DbName": "drds_flashback",
"RecallRestoreType": 1,
"GmtCreate": 1568611408000,
"TraceId": "trace",
"Id": 238,
"RecallStatus": 1,
"SqlType": "Insert,Update,Delete"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.