Runs a virus scan task on one or more servers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:StartVirusScanTask |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TargetInfo |
string |
Yes |
The asset to scan for viruses. You can specify servers or server groups. The value is a JSON array string. Each element is a JSON struct that contains the following fields:
|
[{"type":"uuid","name":"Host001","target":"503201a7-14c6-4280-801b-1169ed42****"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ScanTaskId |
integer |
The ID of the virus scan task. |
282832 |
| RequestId |
string |
The request ID, used to locate and troubleshoot issues. |
DAE17926-4ABE-4DBD-9600-DDCB9B200F35 |
Examples
Success response
JSON format
{
"ScanTaskId": 282832,
"RequestId": "DAE17926-4ABE-4DBD-9600-DDCB9B200F35"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 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.