Queries the list of general-purpose scheduled nodes, including image scan, emergency vulnerability scanning, and virus scan nodes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCycleTaskList |
get |
*CycleTask
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
No |
The node name. Valid values:
|
IMAGE_SCAN |
| TaskType |
string |
No |
The node type. Valid values:
|
IMAGE_SCAN |
| CurrentPage |
integer |
No |
The page number of the current page when using paging. |
1 |
| PageSize |
integer |
No |
The maximum number of entries per page when using paging. Default value: 20. |
20 |
| ConfigId |
string |
No |
The ID of the configuration. Note
Call the CreateCycleTask operation to obtain this parameter. |
f93b6ee24cfd0aad44b897ad5051**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
A4EB8B1C-1DEC-5E18-BCD0-D1BBB393**** |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page when using paging. |
1 |
| PageSize |
integer |
The maximum number of entries per page when using paging. |
20 |
| TotalCount |
integer |
The total number of entries. |
149 |
| Count |
integer |
The number of entries on the current page when using paging. |
9 |
| CycleScheduleResponseList |
array<object> |
The list of cyclic scan tasks. |
|
|
object |
The list of cyclic scan tasks. |
||
| LastTaskId |
string |
The ID of the last task. |
38730bb078f4a1461d4ed283994c**** |
| ConfigId |
string |
The ID of the configuration. |
2cdbdeba8dd70586d5814d4cbf21**** |
| TargetEndTime |
integer |
The task end time, in hours. |
7 |
| NextStartTimeStr |
integer |
The next execution time. The value is a millisecond-level timestamp. |
1671184531000 |
| TaskName |
string |
The task name. |
IMAGE_SCAN |
| TaskType |
string |
The task type. |
IMAGE_SCAN |
| IntervalPeriod |
integer |
The interval period. |
3 |
| FirstDateStr |
integer |
The first execution time. |
1667491200000 |
| Param |
string |
The extended information field. |
{"userAgreement":"yes","lang":"zh"} |
| PeriodUnit |
string |
The unit of the scan period. Valid values:
|
day |
| TargetStartTime |
integer |
The task start time, in hours. |
0 |
| Enable |
integer |
Indicates whether the task is enabled. Valid values:
|
1 |
Examples
Success response
JSON format
{
"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 |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.