Queries periodic scan tasks. The tasks include image scan tasks, urgent vulnerability scan tasks, and virus scan tasks.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| TaskName | string | No | The name of the task. Valid values:
| IMAGE_SCAN |
| TaskType | string | No | The type of the task. Valid values:
| IMAGE_SCAN |
| CurrentPage | integer | No | The number of the page to return. | 1 |
| PageSize | integer | No | The number of entries to return on each page. | 20 |
| ConfigId | string | No | The ID of the task configuration. Note
You can call the CreateCycleTask operation to query the IDs of task configurations.
| f93b6ee24cfd0aad44b897ad5051**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "A4EB8B1C-1DEC-5E18-BCD0-D1BBB393****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149,
"Count": 9
},
"CycleScheduleResponseList": [
{
"LastTaskId": "38730bb078f4a1461d4ed283994c****",
"ConfigId": "2cdbdeba8dd70586d5814d4cbf21****",
"TargetEndTime": 7,
"NextStartTimeStr": 1671184531000,
"TaskName": "IMAGE_SCAN",
"TaskType": "IMAGE_SCAN",
"IntervalPeriod": 3,
"FirstDateStr": 1667491200000,
"Param": {
"userAgreement": "yes",
"lang": "zh"
},
"PeriodUnit": "day",
"TargetStartTime": 0,
"Enable": 1
}
]
}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 |
|---|---|---|
| 2025-12-15 | The Error code has changed | View Change Details |
