Delen via


BlobBaseClient.DeleteImmutabilityPolicy(CancellationToken) Method

Definition

Deletes the Immutability Policy associated with the Blob. Note that Blob Versioning must be enabled on your storage account, and the blob must be in a Container with immutable storage with versioning enabled to call this API.

public virtual Azure.Response DeleteImmutabilityPolicy (System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteImmutabilityPolicy : System.Threading.CancellationToken -> Azure.Response
override this.DeleteImmutabilityPolicy : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteImmutabilityPolicy (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to