Container Registry
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | UpdateVpcEndpoint | The API name. The current API name is UpdateVpcEndpoint. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
Registry | String | Yes | test-cr | The name of the Container Registry instance. |
Vpcs | no | [{"VpcId": "vpc-3rfawyc34g0sg5zsk2idd****"}] | Specifies which VPCs can access this Standard Edition Container Registry instance. For specific fields, you may refer to the definition of VpcMeta in the general data structure. Each time UpdateVpcEndpoint is called, this field should contain all the VPCs for which you want to enable access endpoints. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
VpcId | String | Yes | vpc-3rfawyc34g0sg5zsk2idd**** | The VPC ID. The Container Registry instance will configure the access endpoint within this VPC. |
SubnetId | String | no | subnet-jhhsrhjjdfssi**** | The subnet ID under the VPC. If not specified, the subnet with the most remaining IP addresses in the VPC will be automatically selected, and it cannot be changed afterwards. |
AccountId | Long | no | 1400000001 | The ID of the root user to which the VPC belongs. This ID needs to be specified when exposing a Standard Edition instance to a VPC under another root user. |
HTTP Status Code | Error code | Error Message | Descriptions |
HTTP Status Code | Error code | Error Message | Descriptions |
400 | OperationDenied.RegistryStatus | The action has been denied due to wrong status %s. | The specified operation is not allowed under the current instance status. Please wait for the status transition to complete and try again. |
400 | OperationDenied.Status | The action has been denied due to wrong status %s. | The specified operation is not allowed under the current access endpoint status. Please wait for the status transition to complete and try again. |