Queries the scheduled image fix configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageFixCycleConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The response data. |
|
| ImageFixSwitch |
string |
The scheduled image fix switch. Valid values:
|
on |
| ImageFixCycle |
integer |
The scheduled fix cycle. Unit: days. |
7 |
| ImageFixTarget |
string |
The scope of the scheduled image fix. This parameter is in JSON format and contains the following fields:
|
{\"type\":\"repo\",\"target\":[\"qa-dac/yyuan9\",\"cdp-uat/zentao\",\"cafdms-qa/xxl-job-admin\",\"cafdms-qa/utils/jdk\",\"cafmfbi/ui\",\"cdp-uat/tradingdesk-webapp\"]} |
| ImageTimeRange |
integer |
The time range during which the image was modified. Unit: days. |
30 |
| RequestId |
string |
The request ID. |
D65AADFC-1D20-5A6A-8F6A-9FA53C0D**** |
Examples
Success response
JSON format
{
"Data": {
"ImageFixSwitch": "on",
"ImageFixCycle": 7,
"ImageFixTarget": "{\\\"type\\\":\\\"repo\\\",\\\"target\\\":[\\\"qa-dac/yyuan9\\\",\\\"cdp-uat/zentao\\\",\\\"cafdms-qa/xxl-job-admin\\\",\\\"cafdms-qa/utils/jdk\\\",\\\"cafmfbi/ui\\\",\\\"cdp-uat/tradingdesk-webapp\\\"]}",
"ImageTimeRange": 30
},
"RequestId": "D65AADFC-1D20-5A6A-8F6A-9FA53C0D****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.