Modifies the run epoch of periodic 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:ModifyCycleTask |
update |
*CycleTask
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
string |
Yes |
The ID of the configuration. Note
Call the DescribeCycleTaskList operation to obtain this parameter. |
00cfa8161da093089e6804ba6a33**** |
| TaskName |
string |
No |
The node name. Valid values:
Valid values:
|
EMG_VUL_SCHEDULE_SCAN |
| TaskType |
string |
No |
The node type. Valid values:
Valid values:
|
VIRUS_VUL_SCHEDULE_SCAN |
| PeriodUnit |
string |
No |
The unit of the scan cycle. Valid values:
|
day |
| IntervalPeriod |
integer |
No |
The interval period. |
14 |
| FirstDateStr |
integer |
No |
The first execution time. |
1664380800000 |
| TargetStartTime |
integer |
No |
The task start time, in hours. |
0 |
| TargetEndTime |
integer |
No |
The task end time, in hours. |
6 |
| Param |
string |
No |
The extended information field. |
{ "targetInfo": [ { "type": "groupId", "name": "TI HOST", "target": 10597*** }, { "type": "groupId", "name": "expense HOST", "target": 10597*** } ] } |
| Enable |
integer |
No |
Specifies whether to enable the task. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues. |
1AA33E30-7192-5648-93CD-D0E476A2**** |
Examples
Success response
JSON format
{
"RequestId": "1AA33E30-7192-5648-93CD-D0E476A2****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | -106 | The data is not found. | |
| 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.