Share via


ContainerRegistryClient Class

Definition

The Azure Container Registry service client.

public class ContainerRegistryClient
type ContainerRegistryClient = class
Public Class ContainerRegistryClient
Inheritance
ContainerRegistryClient

Constructors

ContainerRegistryClient()

Initializes a new instance of RepositoryClient for mocking.

ContainerRegistryClient(Uri, ContainerRegistryClientOptions)

Initializes a new instance of the ContainerRegistryClient for managing container images and artifacts, using anonymous access to the registry. Only operations that support anonymous access are enabled. Other service methods will throw RequestFailedException if called from this client.

ContainerRegistryClient(Uri, TokenCredential, ContainerRegistryClientOptions)

Initializes a new instance of the ContainerRegistryClient for managing container images and artifacts.

ContainerRegistryClient(Uri, TokenCredential)

Initializes a new instance of the ContainerRegistryClient for managing container images and artifacts.

ContainerRegistryClient(Uri)

Initializes a new instance of the ContainerRegistryClient for managing container images and artifacts, using anonymous access to the registry. Only operations that support anonymous access are enabled. Other service methods will throw RequestFailedException if called from this client.

Properties

Endpoint

Gets the registry service endpoint for this client.

Pipeline

The HttpPipeline.

Methods

DeleteRepository(String, CancellationToken)

Delete the repository identified by repository and all associated artifacts.

DeleteRepositoryAsync(String, CancellationToken)

Delete the repository identified by repository and all associated artifacts.

GetArtifact(String, String)

Create a new RegistryArtifact object for calling service methods related to the artifact specified by repositoryName and tagOrDigest.

GetRepository(String)

Create a new ContainerRepository object for calling service methods related to the repository specified by repositoryName.

GetRepositoryNames(CancellationToken)

List the names of the repositories in this registry.

GetRepositoryNamesAsync(CancellationToken)

List the names of the repositories in this registry.

Applies to