Queries the progress of a database scan task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:QueryDiscoverDatabase |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CreateMark |
string |
No |
The ID of the scan task. Note
You can call the StartDiscoverDatabaseTask operation to obtain the task ID. |
7f7b051f-7d1c-46da-b253-a03f3a27**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| TaskProgress |
integer |
The progress of the database scan task, as a percentage. |
90 |
| RequestId |
string |
The request ID, used to locate and troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B5E92**** |
Examples
Success response
JSON format
{
"TaskProgress": 90,
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.