The following tables list API operations available for use in Container Registry.

Instance management

API operation Description

GetInstance

Queries the information of an instance.

GetInstanceUsage

Queries the quota usage of an instance.
ListInstanceRegion Queries regions where you can create instances.

ListInstance

Queries instances.

Access control management

API operation Description

CreateInstanceEndpointAclPolicy

Adds an access control entry to control access from the Internet to an instance.

DeleteInstanceEndpointAclPolicy

Deletes an access control entry to control access from the Internet to an instance.

GetInstanceEndpoint

Queries an endpoint of an instance.

ListInstanceEndpoint

Queries endpoints of an instance.

UpdateInstanceEndpointStatus

Updates the status of the endpoint.

CreateInstanceVpcEndpointLinkedVpc

Associates a virtual private cloud (VPC) with an instance.
DeleteInstanceVpcEndpointLinkedVpc Disassociates a VPC from an instance.
GetInstanceVpcEndpoint Queries the VPCs associated with an instance.

Image synchronization management

API operation Description

CreateRepoSyncRule

Creates an image synchronization rule for an image repository.

CreateRepoSyncTaskByRule

Creates an image synchronization task based on a manual synchronization rule.

DeleteRepoSyncRule

Deletes an image synchronization rule for a repository.

GetRepoSyncTask

Queries an image synchronization task in an instance.

ListRepoSyncRule

Queries image synchronization rules created for an instance.

ListRepoSyncTask

Queries an image synchronization task in an instance.

UpdateRepoBuildRule

Updates an image build rule for an image repository.

Namespace management

API Description

CreateNamespace

Creates a namespace in an instance.

DeleteNamespace

Deletes a namespace from an instance.

GetNamespace

Queries the information of a namespace in an instance.

ListNamespace

Queries namespaces created in an instance.

UpdateNamespace

Updates a namespace in an instance.

Image repository management

API operation Description

CreateRepository

Creates an image repository.

DeleteRepository

Deletes an image repository from an instance.

GetRepository

Queries the information about an image repository.

ListRepository

Queries image repositories.

UpdateRepository

Updates the information about an image repository.

Image management

API operation Description

DeleteRepoTag

Deletes an image from a repository.

GetRepoTagLayers

Queries the information about image layers of an image.

GetRepoTagManifest

Queries the manifest information of an image tag.

ListRepoTag

Queries image tags in a repository.

Image security management

API operation Description

CreateRepoTagScanTask

Creates a security scan task for an image.

Image build management

API operation Description

CancelRepoBuildRecord

Cancels an image build.

CreateBuildRecordByRule

Generates an image build record based on a rule.

CreateRepoBuildRule

Creates an image build rule for an image repository.

DeleteRepoBuildRule

Deletes an image build rule for an image repository.

GetRepoBuildRecord

Queries the status of an image build.

GetRepoBuildRecordStatus

Queries an image build record in a repository.
ListRepoBuildRecord Queries image build records in an image repository.
ListRepoBuildRule Queries image build rules for an image repository.

Webhook management

API operation Description

CreateRepoTrigger

Creates a webhook for a repository.

DeleteRepoTrigger

Deletes a webhook for a repository.

ListRepoTrigger

Queries the webhooks of a repository.

UpdateRepoTrigger

Updates a webhook for a repository.

Chart namespace management

API operation Description

CreateChartNamespace

Creates a chart namespace in an instance.

DeleteChartNamespace

Deletes a chart namespace from an instance.

GetChartNamespace

Queries a chart namespace in an instance.

ListChartNamespace

Queries chart namespaces in an instance.

UpdateChartNamespace

Updates a chart namespace in an instance.

Chart repository management

API operation Description

CreateChartRepository

Creates a chart repository in an instance.

DeleteChartRepository

Deletes a chart repository from an instance.

GetChartRepository

Queries the information of a chart repository in an instance.

ListChartRepository

Queries chart repositories created in an instance.

UpdateChartRepository

Updates the information of a chart repository in an instance.

Chart version management

API operation Description

ListChartRelease

Retrieves chart versions of a repository.

DeleteChartRelease

Deletes a chart version for a repository.

Access credential management

API operation Description

GetAuthorizationToken

Obtains a temporary account and password used to log on to an instance.

ResetLoginPassword

Resets the logon password of an instance.