Queries the progress of a virus scan task.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskId | long | Yes | The ID of the virus scan task. NoteYou can call the StartVirusScanTask operation to query the IDs of virus scan tasks. | 282832 |
Response parameters
Examples
Sample success responses
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 |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.