Updates the configurations of a scheduled image fix.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyImageFixCycleConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageFixSwitch |
string |
No |
Specifies whether to enable the schedule image fix.
|
on |
| ImageFixCycle |
integer |
No |
The cycle of the scheduled fix. Unit: day. |
7 |
| ImageFixTarget |
string |
No |
The range of the scheduled fix. The value of this parameter is in the JSON format and contains the following fields:
|
{\"type\":\"repo\",\"target\":[\"cdp-uat/zentao\",\"qa-dac/yyuan9\",\"cafdms-qa/xxl-job-admin\"]} |
| ImageTimeRange |
integer |
No |
The time range during which the image was modified. Unit: day. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
boolean |
Indicates whether the configurations of the scheduled image fix are modified.
|
true |
| RequestId |
string |
The request ID. |
F7A4DF7E-57A4-5BBF-8290-223754AD**** |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "F7A4DF7E-57A4-5BBF-8290-223754AD****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.