Partager via


StorageBlobManagement.SetPageBlobTierAsync Method

Definition

Overloads

SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set Premium page blob Tier

SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set Premium page blob Tier

public System.Threading.Tasks.Task SetPageBlobTierAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob blob, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier tier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member SetPageBlobTierAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPageBlobTierAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetPageBlobTierAsync (blob As CloudPageBlob, tier As PremiumPageBlobTier, options As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

blob
CloudPageBlob

CloudPageBlob object

tier
PremiumPageBlobTier

Premium pageblob Tier

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

An object that represents the context for the current operation.

cmdletCancellationToken
CancellationToken

Cancellation token

Returns

Implements

Applies to

SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task SetPageBlobTierAsync (Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob blob, Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier tier, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member SetPageBlobTierAsync : Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob * Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPageBlobTierAsync : Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob * Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetPageBlobTierAsync (blob As CloudPageBlob, tier As PremiumPageBlobTier, options As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Implements

Applies to