Queries the progress of a virus scan task.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeScanTaskProgress |
The operation that you want to perform. Set the value to DescribeScanTaskProgress. |
TaskId | Long | Yes | 282832 |
The ID of the virus scan task. Note You can call the StartVirusScanTask operation to query the IDs of virus scan tasks.
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | EA15BA8A-D631-4375-8D40-CB7C769B0279 |
The ID of the request. |
ScanTaskProgress | String | Success |
The progress of the virus scan task. Valid values:
|
TargetInfo | String | [{"type":"uuid","name":"host001","target":"503201a7-14c6-4280-801b-1169ed42****"}] |
The information about the asset on which the virus scan task runs. This parameter is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that includes the following fields:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeScanTaskProgress
&TaskId=282832
&<Common request parameters>
Sample success responses
XML
format
<DescribeScanTaskProgressResponse>
<TargetInfo>[{"type":"uuid","name":"host001","target":"503201a7-14c6-4280-801b-1169ed42****"}]</TargetInfo>
<RequestId>EA15BA8A-D631-4375-8D40-CB7C769B0279</RequestId>
<ScanTaskProgress>Success</ScanTaskProgress>
</DescribeScanTaskProgressResponse>
JSON
format
{
"TargetInfo": "[{\"type\":\"uuid\",\"name\":\"host001\",\"target\":\"503201a7-14c6-4280-801b-1169ed42****\"}]",
"RequestId": "EA15BA8A-D631-4375-8D40-CB7C769B0279",
"ScanTaskProgress": "Success"
}
Error codes
For a list of error codes, visit the API Error Center.