ContainerRegistryContentClient.DeleteBlob(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.