Retrieves a list of image repositories.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeImageRepoDetailList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Criteria |
string |
No |
The search conditions for assets. This parameter is in JSON format and contains the following fields:
Note
Call the DescribeImageRepoCriteria operation to query the supported search conditions. |
[{"name":"vulStatus","value":"YES","logicalExp":"AND"}] |
| LogicalExp |
string |
No |
The logical relationship among multiple search conditions. Valid values:
|
OR |
| PageSize |
integer |
No |
The maximum number of entries per page when using paging. Default value: 20. If you leave this parameter empty, 20 entries are returned per page. Note
Do not leave PageSize empty. |
20 |
| CurrentPage |
integer |
No |
The page number of the first page to return. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
0B48AB3C-84FC-424D-A01D-B9270EF46038 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of image repositories. |
19 |
| Count |
integer |
The number of entries returned on the current page in a paged query. |
2 |
| ImageRepoResponses |
array<object> |
The list of image repositories. |
|
|
object |
The image repository information. |
||
| Endpoints |
string |
The endpoint of the image repository. |
[ { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "internet" }, { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "intranet" }, { "domains": [ "****.cn-shenzhen.cr.aliyuncs.com" ], "type": "vpc" } ] |
| RiskStatus |
string |
Indicates whether the image repository has security risks. Valid values:
|
NO |
| VulStatus |
string |
Indicates whether the image repository has vulnerabilities. Valid values:
|
NO |
| AlarmStatus |
string |
Indicates whether the image repository has security alerts. Valid values:
|
NO |
| RegistryType |
string |
The type of the image repository. Valid values:
|
acr |
| InstanceId |
string |
The instance ID of the image asset. |
i-uf6fsg6xlmorug5**** |
| RegionId |
string |
The region ID of the image instance. |
cn-shanghai |
| RepoId |
string |
The ID of the image repository. |
crr-2chlzf47w2rk**** |
| HcCount |
integer |
The number of baseline risks in the image repository. |
0 |
| VulCount |
integer |
The number of vulnerabilities in the image repository. |
0 |
| HcStatus |
string |
Indicates whether the image repository has baseline risks. Valid values:
|
NO |
| AlarmCount |
integer |
The number of security alerts in the image repository. |
0 |
| RepoName |
string |
The name of the image repository. |
zeus |
| RepoNamespace |
string |
The namespace of the image repository. |
test-dev |
| ImageCount |
integer |
The number of images. |
3 |
| HasRiskImageCount |
integer |
The number of images that have risks in the image repository. |
2 |
| SourceBizTag |
string |
The business purpose tag of the image. |
PAI |
Examples
Success response
JSON format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 19,
"Count": 2
},
"ImageRepoResponses": [
{
"Endpoints": "[\n {\n \"domains\": [\n \"****.cn-shenzhen.cr.aliyuncs.com\"\n ],\n \"type\": \"internet\"\n },\n {\n \"domains\": [\n \"****.cn-shenzhen.cr.aliyuncs.com\"\n ],\n \"type\": \"intranet\"\n },\n {\n \"domains\": [\n \"****.cn-shenzhen.cr.aliyuncs.com\"\n ],\n \"type\": \"vpc\"\n }\n]",
"RiskStatus": "NO",
"VulStatus": "NO",
"AlarmStatus": "NO",
"RegistryType": "acr",
"InstanceId": "i-uf6fsg6xlmorug5****",
"RegionId": "cn-shanghai",
"RepoId": "crr-2chlzf47w2rk****",
"HcCount": 0,
"VulCount": 0,
"HcStatus": "NO",
"AlarmCount": 0,
"RepoName": "zeus",
"RepoNamespace": "test-dev",
"ImageCount": 3,
"HasRiskImageCount": 2,
"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.