Queries the details of a task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeTaskInfo |
get |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the cluster. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hongkong |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. Note
You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters within a region. |
am-bp1xxxxxxxx47 |
| TaskId |
integer |
Yes |
The task ID. |
225685759 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TaskInfo |
object |
The task details. |
|
| Status |
string |
The task status. Valid values:
|
Finished |
| FinishTime |
string |
The time when the task ended, in the yyyy-MM-ddTHH:mm:ssZ format (ISO 8601). |
2020-01-07T08:08:50Z |
| Progress |
string |
The task progress, in percentage. |
100 |
| BeginTime |
string |
The time when the task started, in the yyyy-MM-ddTHH:mm:ssZ format (ISO 8601). |
2020-01-07T07:39:56Z |
| TaskId |
integer |
The task ID. |
225685759 |
| RequestId |
string |
The request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
Examples
Success response
JSON format
{
"TaskInfo": {
"Status": "Finished",
"FinishTime": "2020-01-07T08:08:50Z",
"Progress": "100",
"BeginTime": "2020-01-07T07:39:56Z",
"TaskId": 225685759
},
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.