Queries the progress of a virus scan task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeScanTaskProgress |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
integer |
Yes |
The ID of the virus scan task that you want to query. Note
You can call the StartVirusScanTask operation to obtain this parameter. |
282832 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TargetInfo |
string |
The asset information scanned by the virus scan node. This parameter is a string converted from a JSON array in character format. The following fields are included:
|
[{"type":"uuid","name":"host001","target":"503201a7-14c6-4280-801b-1169ed42****"}] |
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
EA15BA8A-D631-4375-8D40-CB7C769B0279 |
| ScanTaskProgress |
string |
The progress of the virus scan task. Valid values:
|
Success |
Examples
Success response
JSON format
{
"TargetInfo": "[{\"type\":\"uuid\",\"name\":\"host001\",\"target\":\"503201a7-14c6-4280-801b-1169ed42****\"}]",
"RequestId": "EA15BA8A-D631-4375-8D40-CB7C769B0279",
"ScanTaskProgress": "Success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.