Container Registry
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | CreateRegistry | The API name. The current API's name is CreateRegistry. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
Name | String | Yes | exampleregistry | The name of the Standard Edition instance, which must be unique within the same region. It supports lowercase English letters, numbers, and hyphens (-), but numbers can not appear at the beginning, and hyphens (-) can not appear at the beginning or end. The length limit is 3 to 30 characters. |
Type | String | No | Enterprise | If not filled in, a Standard Edition instance will be created by default.
|
Project | String | No | default | The project to which the instance needs to be associated. Each instance supports association with only one project. |
ResourceTags | No | Refer to the general data structure | Allow customizing instance labels using key-value pairs. You can view billing information based on instance tags in the splitting bills. For details, see Splitting bills. | |
ClientToken | String | No | BC028527-33B9-4990-A633-84E9F9****** | A string used to ensure the idempotency of the request. This string is passed in by the caller and must be unique across different requests. ClientToken is case-sensitive and can consist of 64 ASCII characters at most. |
ProxyCacheEnabled | Boolean | No | true | Indicates whether it is a proxy cache registry. |
ProxyCache | No | { "Type": "Dockerhub", "Username": "", "Password": "" } | The configuration for the proxy cache registry. It is required when creating a proxy cache registry. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Key | String | Yes | key1 | The Key value of the label. |
Value | String | Yes | val1 | The list of values for the label. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Type | String | Yes | DockerHub | The type supported by the proxy cache registry.
|
Endpoint | String | No | https://***.com | The access address of the source image.
|
Password | String | No | 5pWw5o2u5a6J5YWo**** | Password or AccessKeySecret required for access to the source image. |
Username | String | No | username-1 | Username or AccessKeyID required for access to the source image. |
SkipSSLVerify | Boolean | No | true | Indicates whether to ignore SSL certificate verification. |
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
400 | QuotaExceeded.Registry | The quota of cr registry is exceeded. | The number of instances has reached the quota limit. For product limit descriptions, please refer to the Limit documentation. If you definitely need to increase the quota, you can submit a ticket to apply. |