共用方式為


ContainerRegistryClient.GetRepository(String) Method

Definition

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

public virtual Azure.Containers.ContainerRegistry.ContainerRepository GetRepository (string repositoryName);
abstract member GetRepository : string -> Azure.Containers.ContainerRegistry.ContainerRepository
override this.GetRepository : string -> Azure.Containers.ContainerRegistry.ContainerRepository
Public Overridable Function GetRepository (repositoryName As String) As ContainerRepository

Parameters

repositoryName
String

The name of the repository to reference.

Returns

A new ContainerRepository for the desired repository.

Exceptions

Thrown when repositoryName is null.

Thrown when repositoryName is empty.

Applies to