Queries the list of created image repair tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageFixTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
integer |
No |
The start timestamp of the repair task that you want to query. Unit: milliseconds. |
1634725571000 |
| EndTime |
integer |
No |
The end timestamp of the repair task that you want to query. Unit: milliseconds. |
1635575219000 |
| Status |
string |
No |
The status of the image repair task that you want to query. Valid values:
|
1 |
| CurrentPage |
integer |
Yes |
The page number of the results to return. Default value: 1, which indicates that the results start from page 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page in a paginated query. Default value: 20, which indicates that up to 20 entries are returned per page. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID, which is a unique identifier that Alibaba Cloud generates for the request. You can use the ID to troubleshoot issues. |
8AC52BBA-85D3-5F64-9B48-D08437CAF916 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the results returned. Default value: 1, which indicates that the results start from page 1. |
1 |
| PageSize |
integer |
The number of entries per page in a paginated query. Default value: 20, which indicates that up to 20 entries are returned per page. |
20 |
| TotalCount |
integer |
The total number of image repair tasks. |
12 |
| Count |
integer |
The number of image repair tasks on the current page. |
12 |
| BuildTasks |
array<object> |
The details of the image repair tasks. |
|
|
object |
|||
| BuildTaskId |
string |
The ID of the image repair task. |
ivf-939536b5-c3ca-427b-8183-91007756 |
| TaskType |
string |
The type of the image repair task. The value is fixed as IMAGE_REPAIR, which indicates image repair. |
IMAGE_REPAIR |
| RepoNamespace |
string |
The namespace of the image. |
name-002 |
| RepoName |
string |
The name of the image repository. |
test-redhat |
| RegionId |
string |
The region ID of the image. |
cn-hangzhou |
| OldTag |
string |
The tag of the original image. |
centos8.1-ja |
| OldUuid |
string |
The UUID of the original image. |
2fa731681911ae8d1b5f11893ace**** |
| NewTag |
string |
The tag of the repaired image. |
redhat8-vault |
| NewUuid |
string |
The UUID of the repaired image. |
2fa731681911ae8d1b5f11893ace**** |
| FixTime |
string |
The timestamp when the repair task ended. Unit: milliseconds. |
2021-10-14 20:32:05 |
| FinishTime |
string |
The timestamp when the repair task started. Unit: milliseconds. |
2021-10-14 20:34:07 |
| Status |
integer |
The status of the image repair task. Valid values:
|
2 |
| VulAlias |
string |
The name of the vulnerability that was repaired. |
CVE-2007-5686:rpath_linux Information Disclosure |
Examples
Success response
JSON format
{
"RequestId": "8AC52BBA-85D3-5F64-9B48-D08437CAF916",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 12,
"Count": 12
},
"BuildTasks": [
{
"BuildTaskId": "ivf-939536b5-c3ca-427b-8183-91007756",
"TaskType": "IMAGE_REPAIR",
"RepoNamespace": "name-002",
"RepoName": "test-redhat",
"RegionId": "cn-hangzhou",
"OldTag": "centos8.1-ja",
"OldUuid": "2fa731681911ae8d1b5f11893ace****",
"NewTag": "redhat8-vault",
"NewUuid": "2fa731681911ae8d1b5f11893ace****",
"FixTime": "2021-10-14 20:32:05",
"FinishTime": "2021-10-14 20:34:07",
"Status": 2,
"VulAlias": "CVE-2007-5686:rpath_linux Information Disclosure"
}
]
}
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.