Modifies the configurations of a scheduled image fix.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 parameters
Examples
Sample success responses
JSON
format
{
"Data": true,
"RequestId": "F7A4DF7E-57A4-5BBF-8290-223754AD****"
}
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 | ||
---|---|---|---|---|
2023-10-07 | The internal configuration of the API is changed, but the call is not affected | see changesets | ||
|