Condividi tramite


BlobBaseClient.DeleteImmutabilityPolicyAsync(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 System.Threading.Tasks.Task<Azure.Response> DeleteImmutabilityPolicyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteImmutabilityPolicyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteImmutabilityPolicyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteImmutabilityPolicyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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