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

Precautions

You can choose Enterprise Edition in the upper-left corner of the OpenAPI Developer Portal. Enterprise Edition and Personal Edition correspond to different versions:
  • 2018-12-01: Enterprise Edition
  • 2016-06-07: Personal Edition
API

Instance management

API Description
CreateInstance Creates a Container Registry Enterprise Edition instance.

GetInstance

Queries the details of an instance.

GetInstanceUsage

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

ListInstance

Queries instances.

Access control management

API Description

CreateInstanceEndpointAclPolicy

Creates a whitelist of IP addresses allowed to access an instance from the Internet.

CreateInstanceVpcEndpointLinkedVpc

Associates a virtual private cloud (VPC) with an instance.

DeleteInstanceEndpointAclPolicy

Deletes an public endpoint from the instance whitelist policy.
DeleteInstanceVpcEndpointLinkedVpc Disassociates a VPC from an instance.

GetInstanceEndpoint

Queries an endpoint of an instance.

ListInstanceEndpoint

Queries endpoints of an instance.

UpdateInstanceEndpointStatus

Updates the status of an endpoint.

CreateInstanceVpcEndpointLinkedVpc

DeleteInstanceVpcEndpointLinkedVpc
GetInstanceVpcEndpoint Queries the VPCs associated with an instance.

Image synchronization management

API 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 an image repository.

GetRepoSyncTask

Queries an image synchronization task in an instance.

ListRepoSyncRule

Queries image synchronization rules created for an instance.

ListRepoSyncTask

Queries image synchronization tasks in an instance.

UpdateRepoBuildRule

Updates an image build rule for an image repository.

Namespace management

API Description

CreateNamespace

Creates a namespace.

DeleteNamespace

Deletes a namespace.

GetNamespace

Queries the details of a namespace.

ListNamespace

Queries namespaces.

UpdateNamespace

Updates a namespace.

Image repository management

API Description

CreateRepository

Creates an image repository.

DeleteRepository

Deletes an image repository.

GetRepository

Queries the details of an image repository.

ListRepository

Queries image repositories.

UpdateRepository

Updates an image repository.

Image management

API Description
CreateRepoTag Creates an image tag based on an existing image tag in an image repository.

DeleteRepoTag

Delete an image from an image repository.

GetRepoTagLayers

Queries the information about image layers of an image tag.

GetRepoTagManifest

Queries the manifest information of an image tag.

ListRepoTag

Queries image tags in a repository.

Image security management

API Description

CreateRepoTagScanTask

Creates a security scan task for an image.
GetRepoTagScanStatus Queries the scanning state of an image tag.
GetRepoTagScanSummary Queries the number of vulnerabilities for each severity level.
ListRepoTagScanResult Queries the results of a security scan that is created for an image tag.

Image build management

API Description

CreateBuildRecordByRule

Creates an image build record based on a rule.

CreateRepoBuildRule

Creates an image build rule for an repository.
CreateRepoSourceCodeRepo Binds a source code repository to a repository.
CancelRepoBuildRecord Cancels an image build.

DeleteRepoBuildRule

Deletes an image build rule of a repository.

GetRepoBuildRecord

Queries the status of an image build.

GetRepoBuildRecordStatus

Queries image build records of an image repository.
GetRepoSourceCodeRepo Queries the information about the source code repository that is bound to an image repository.
UpdateRepoBuildRule Updates an image build rule for an image repository.
UpdateRepoSourceCodeRepo Updates the source code repository that is bound to an image repository.
ListRepoBuildRecord Queries image build records of an image repository.
ListRepoBuildRule Queries image build rules for an image repository.
ListRepoBuildRecordLog Queries the log of an image build record.

Trigger management

API Description

CreateRepoTrigger

Creates a trigger for an image repository.

DeleteRepoTrigger

Deletes a trigger of an image repository.

ListRepoTrigger

Queries the triggers of an image repository.

UpdateRepoTrigger

Updates a trigger for an image repository.

Helm chart namespace management

API 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 the chart namespaces in an instance.

UpdateChartNamespace

Updates a chart namespace in an instance.

Chart repository management

API Description

CreateChartRepository

Creates a chart repository in an instance.

DeleteChartRepository

Deletes a chart repository from an instance.

GetChartRepository

Queries a chart repository in an instance.

ListChartRepository

Queries chart repositories in an instance.

UpdateChartRepository

Updates a chart repository in an instance.

Chart version management

API Description
DeleteChartRelease Deletes a chart version for a repository.

ListChartRelease

Queries the versions of a chart in a repository.

Access credential management

API Description

GetAuthorizationToken

Obtains a pair of temporary username and password that is used to log on to a Container Registry instance.

ResetLoginPassword

Resets the logon password of a Container Registry instance.

Artifact build

API Description
CancelArtifactBuildTask Cancels an artifact build task.
GetArtifactBuildTask Queries the details of an artifact build task.
ListArtifactBuildTaskLog Queries the log entries of an artifact build task.

Cloud native delivery chain management

API Description
CreateChain Creates a delivery chain.
DeleteChain Deletes a delivery chain.
UpdateChain Modifies the information of a delivery chain.
GetChain Obtains the information of a delivery chain to understand the node execution sequence of the delivery chain.
ListChain Queries delivery chains.
ListChainInstance Queries the records of delivery chains.

Event notification

API Description
CreateEventCenterRule Creates an event rule.
DeleteEventCenterRule Deletes an event rule.
UpdateEventCenterRule Updates an event rule.
ListEventCenterRecord Queries the historical events of an event rule.
ListEventCenterRuleName Queries the name of an event rule.
ListEventCenterRule Queries event rules.