BlobBaseClient.SetImmutabilityPolicyAsync(BlobImmutabilityPolicy, BlobRequestConditions, CancellationToken) Method

Definition

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobImmutabilityPolicy>> SetImmutabilityPolicyAsync (Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SetImmutabilityPolicyAsync : Azure.Storage.Blobs.Models.BlobImmutabilityPolicy * Azure.Storage.Blobs.Models.BlobRequestConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobImmutabilityPolicy>>
override this.SetImmutabilityPolicyAsync : Azure.Storage.Blobs.Models.BlobImmutabilityPolicy * Azure.Storage.Blobs.Models.BlobRequestConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobImmutabilityPolicy>>
Public Overridable Function SetImmutabilityPolicyAsync (immutabilityPolicy As BlobImmutabilityPolicy, Optional conditions As BlobRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlobImmutabilityPolicy))

Parameters

immutabilityPolicy
BlobImmutabilityPolicy
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<Response<BlobImmutabilityPolicy>>

Applies to