Creates a one-time virus scan task that is immediately executed.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SelectionKey | string | No | The key that stores the asset information. Note
You can call the GetAssetSelectionConfig operation to obtain the key value.
| 845de1ec-4b08-42e1-b564-31321e48xxxx |
ScanType | string | No | The type of the virus scan. Valid values:
| system |
ScanPath | array | No | The information about the scan path that is required for a custom scan. | |
string | No | The absolute path of the file. | /var/spool/cron |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CE500770-42D3-442E-9DDD-156E0F9F3B45"
}
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.
Change history
Change time | Summary of changes | Operation |
---|
No change history