IStorageBlobManagement.SetPageBlobTierAsync 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.
Overloads
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
Public Function SetPageBlobTierAsync (blob As CloudPageBlob, tier As PremiumPageBlobTier, options As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task
Parameters
- blob
- CloudPageBlob
- tier
- PremiumPageBlobTier
- options
- BlobRequestOptions
- operationContext
- OperationContext
- cmdletCancellationToken
- CancellationToken
Returns
Applies to
SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)
Return a task that asynchronously set 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
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
page blob Tier
- options
- BlobRequestOptions
Blob request options
- operationContext
- OperationContext
An object that represents the context for the current operation.
- cmdletCancellationToken
- CancellationToken
Cancellation token