Dela via


ContainerRegistryContentClient.GetManifest(String, CancellationToken) Method

Definition

Gets a manifest.

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

Parameters

tagOrDigest
String

The tag or digest of the manifest to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

The GET manifest result.

Exceptions

If tagOrDigest is null.

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

Applies to