Share via


ContainerRegistryContentClient.DeleteBlob(String, CancellationToken) Method

Definition

Delete a blob.

public virtual Azure.Response DeleteBlob (string digest, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteBlob : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteBlob : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteBlob (digest As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

digest
String

The digest of the blob to delete.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

The response received from the delete operation.

Exceptions

If digest is null.

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

Applies to