BlobBaseClient.DeleteImmutabilityPolicyAsync(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.
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.