Retrieves image repositories.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListPrivateRegistryList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegistryType |
string |
No |
The type of the image repository. Valid values:
|
harbor |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The unique ID generated by Alibaba Cloud for the request. Use this ID to troubleshoot issues. |
BE120DAB-F4E7-4C53-ADC3-A97578AB**** |
| ImageRegistryInfos |
array<object> |
An array of private image registries. |
|
|
object |
A private image registry. |
||
| VpcId |
string |
The ID of the VPC instance. |
vpc-bp12897gqrex01zn0**** |
| Token |
string |
The user authentication token. |
0da12bce-cc36-4c48-b3e6-2215fc3a**** |
| WhiteList |
string |
The IP whitelist. |
100.104.XXX.XXX |
| AliUid |
integer |
The user ID. |
1766185894****** |
| RegistryType |
string |
The image registry type. Valid values:
|
harbor |
| DomainName |
string |
The domain name of the image registry. |
example.com |
| RegionId |
string |
The region ID of the image registry. |
cn-hangzhou |
| Password |
string |
The password for the image registry. |
Harbor****** |
| NetType |
integer |
The network type. Valid values:
|
1 |
| RegistryVersion |
string |
The version of the image registry. Valid values:
|
V1 |
| ProtocolType |
integer |
The protocol type. Valid values:
|
1 |
| RegistryHostIp |
string |
The IP address of the image registry. |
114.55.XXX.XXX |
| UserName |
string |
The username for the image registry. |
RegistryUser |
| Id |
integer |
The unique ID of the image registry. |
66485 |
| RegistryName |
string |
The alias of the image registry. |
test1 |
| PersistenceDay |
integer |
The asset retention period in days. |
90 |
| JenkinsEnv |
string |
The Jenkins environment information. |
JenkinsInfo |
| TransPerHour |
integer |
The number of scan tasks per hour. |
30 |
| Port |
integer |
The port number. |
80 |
Examples
Success response
JSON format
{
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578AB****",
"ImageRegistryInfos": [
{
"VpcId": "vpc-bp12897gqrex01zn0****",
"Token": "0da12bce-cc36-4c48-b3e6-2215fc3a****",
"WhiteList": "100.104.XXX.XXX",
"AliUid": 0,
"RegistryType": "harbor",
"DomainName": "example.com",
"RegionId": "cn-hangzhou",
"Password": "Harbor******",
"NetType": 1,
"RegistryVersion": "V1",
"ProtocolType": 1,
"RegistryHostIp": "114.55.XXX.XXX",
"UserName": "RegistryUser",
"Id": 66485,
"RegistryName": "test1",
"PersistenceDay": 90,
"JenkinsEnv": "JenkinsInfo",
"TransPerHour": 30,
"Port": 80
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.