BlobBaseClient.DeleteImmutabilityPolicy(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 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
Azure SDK for .NET