Queries the configurations of a periodic virus scan task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskType | string | No | The type of the task. Valid values:
| VIRUS_VUL_SCHEDULE_SCAN |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "028CF634-5268-5660-9575-48C9ED6BDEFC",
"Data": {
"SelectionKey": "345ddbea-a57f-437e-832f-fb7a1202xxxx",
"TaskType": "VIRUS_VUL_SCHEDULE_SCAN",
"ScanType": "user",
"ScanPath": [
"/root"
],
"PeriodUnit": "day",
"TargetStartTime": 0,
"TargetEndTime": 6,
"IntervalPeriod": 7,
"Enable": 1,
"ConfigId": "97a1fed216908e417407344e1505xxxx"
}
}
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.