Query the image list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageInfoList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Uuids |
string |
Yes |
The UUID of the server. Separate multiple UUIDs with commas (,). Note
Call the DescribeCloudCenterInstances operation to obtain this parameter. |
391abd09184cbd3743d7f5ec125d****, e6aeb2a5b6004479398b0bcd1160**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request. You can use the ID to troubleshoot issues. |
BC3B0DAE-CC0E-59E9-9383-6F060F22**** |
| ImageInfos |
array<object> |
An array that consists of the information about images. |
|
|
object |
The image object. |
||
| Status |
string |
The image status. |
NORMAL |
| Endpoints |
string |
The list of endpoints for the image service. |
cn-hangzhou-x7 |
| RiskStatus |
string |
Indicates whether the image has security risks. Valid values:
|
YES |
| VulStatus |
string |
Indicates whether the instance has vulnerabilities. Valid values:
|
YES |
| ImageCreate |
integer |
The time when the image was created. |
1636962328000 |
| AlarmStatus |
string |
Indicates whether the asset has security alerts. Valid values:
|
YES |
| Digest |
string |
The digest value of the image. |
a3521b04dfdd1361a24be6263f2983cf12ba910989f4d9f7324da7e1e89f**** |
| RegistryType |
string |
The registry type. |
harbor |
| ImageUpdate |
integer |
The time when the image was last updated. |
1636974116000 |
| Tag |
string |
The image tag. |
v1 |
| InstanceId |
string |
The ID of the image instance. |
i-wz95abw6pa7y79ve**** |
| RepoType |
string |
The repository type. Valid values:
|
PUBLIC |
| RegionId |
string |
The region ID of the image instance. |
cn-hangzhou |
| Uuid |
string |
The UUID of the server. |
ff9ca084-7faa-4ab2-8728-69024755**** |
| ImageSize |
integer |
The image size. |
157408623 |
| RepoId |
string |
The ID of the image repository. |
crr-5qk9v2rdt0s**** |
| TagImmutable |
integer |
The tag immutability. Valid values:
|
0 |
| VulCount |
integer |
The total number of vulnerabilities in your assets. |
1 |
| AlarmCount |
integer |
The number of alerts detected in the current pod, application, namespace, or cluster. |
10 |
| ImageId |
string |
The ID of the image. |
bb0175afea16138815a8900adeeb0315d88a83a2376eeffa14db1d693a15**** |
| RepoName |
string |
The name of the image repository. |
opa-test |
| RepoNamespace |
string |
The namespace of the image repository. |
libssh2 |
| SourceBizTag |
string |
The business purpose tag of the image. |
PAI |
Examples
Success response
JSON format
{
"RequestId": "BC3B0DAE-CC0E-59E9-9383-6F060F22****",
"ImageInfos": [
{
"Status": "NORMAL",
"Endpoints": "cn-hangzhou-x7",
"RiskStatus": "YES",
"VulStatus": "YES",
"ImageCreate": 1636962328000,
"AlarmStatus": "YES",
"Digest": "a3521b04dfdd1361a24be6263f2983cf12ba910989f4d9f7324da7e1e89f****",
"RegistryType": "harbor",
"ImageUpdate": 1636974116000,
"Tag": "v1",
"InstanceId": "i-wz95abw6pa7y79ve****",
"RepoType": "PUBLIC",
"RegionId": "cn-hangzhou",
"Uuid": "ff9ca084-7faa-4ab2-8728-69024755****",
"ImageSize": 157408623,
"RepoId": "crr-5qk9v2rdt0s****",
"TagImmutable": 0,
"VulCount": 1,
"AlarmCount": 10,
"ImageId": "bb0175afea16138815a8900adeeb0315d88a83a2376eeffa14db1d693a15****",
"RepoName": "opa-test",
"RepoNamespace": "libssh2",
"SourceBizTag": "PAI"
}
]
}
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.