CloudPageBlob.SetPremiumBlobTierAsync Method

Definition

Overloads

SetPremiumBlobTierAsync(PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set the premium tier of the blob.

SetPremiumBlobTierAsync(PremiumPageBlobTier, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to set the tier of the premium blob.

SetPremiumBlobTierAsync(PremiumPageBlobTier)

Initiates an asynchronous operation to set the tier of the premium blob.

SetPremiumBlobTierAsync(PremiumPageBlobTier, CancellationToken)

Initiates an asynchronous operation to set the tier of the premium blob.

SetPremiumBlobTierAsync(PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set the premium tier of the blob.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync (Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPremiumBlobTierAsync (premiumPageBlobTier As PremiumPageBlobTier, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

premiumPageBlobTier
PremiumPageBlobTier

A PremiumPageBlobTier representing the tier to set.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetPremiumBlobTierAsync(PremiumPageBlobTier, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to set the tier of the premium blob.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync (Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetPremiumBlobTierAsync (premiumPageBlobTier As PremiumPageBlobTier, options As BlobRequestOptions, operationContext As OperationContext) As Task

Parameters

premiumPageBlobTier
PremiumPageBlobTier

A PremiumPageBlobTier representing the tier to set.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetPremiumBlobTierAsync(PremiumPageBlobTier)

Initiates an asynchronous operation to set the tier of the premium blob.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync (Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier -> System.Threading.Tasks.Task
override this.SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier -> System.Threading.Tasks.Task
Public Overridable Function SetPremiumBlobTierAsync (premiumPageBlobTier As PremiumPageBlobTier) As Task

Parameters

premiumPageBlobTier
PremiumPageBlobTier

A PremiumPageBlobTier representing the tier to set.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetPremiumBlobTierAsync(PremiumPageBlobTier, CancellationToken)

Initiates an asynchronous operation to set the tier of the premium blob.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync (Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPremiumBlobTierAsync : Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPremiumBlobTierAsync (premiumPageBlobTier As PremiumPageBlobTier, cancellationToken As CancellationToken) As Task

Parameters

premiumPageBlobTier
PremiumPageBlobTier

A PremiumPageBlobTier representing the tier to set.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to