Share via


ContainerRegistryContentClient.GetManifestAsync Method

Definition

Get a manifest.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.GetManifestResult>> GetManifestAsync (string tagOrDigest, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManifestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.GetManifestResult>>
override this.GetManifestAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Containers.ContainerRegistry.GetManifestResult>>
Public Overridable Function GetManifestAsync (tagOrDigest As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GetManifestResult))

Parameters

tagOrDigest
String

The tag or digest of the manifest to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

The manifest result.

Exceptions

If tagOrDigest is null.

Thrown when a failure is returned by the Container Registry service.

Applies to