Container Registry
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | UpdatePublicEndpoint | The API name. The current API's name is UpdatePublicEndpoint. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
Registry | String | Yes | registrya | The name of the Container Registry instance. On the instance list page of the Container Registry console, obtain the instance name. |
Enabled | Boolean | no | true | Indicates whether to enable public network access. Available methods:
The default is false. |
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. |
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. |
400 | OperationDenied.NothingToUpdate | The action has been denied due to nothing to update. | The content specified for update is the same as the current information of the resource, and there are no properties to be updated. |