共用方式為


BlobSetTierBatchOperation.AddSubOperation Method

Definition

Overloads

AddSubOperation(CloudBlockBlob, StandardBlobTier, AccessCondition, BlobRequestOptions)

Adds an operation to be submitted as part of the batch.

AddSubOperation(CloudPageBlob, PremiumPageBlobTier, AccessCondition, BlobRequestOptions)

Adds an operation be submitted as part of the batch.

AddSubOperation(CloudBlockBlob, StandardBlobTier, AccessCondition, BlobRequestOptions)

Adds an operation to be submitted as part of the batch.

public void AddSubOperation (Microsoft.Azure.Storage.Blob.CloudBlockBlob blockBlob, Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default);
member this.AddSubOperation : Microsoft.Azure.Storage.Blob.CloudBlockBlob * Microsoft.Azure.Storage.Blob.StandardBlobTier * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions -> unit
Public Sub AddSubOperation (blockBlob As CloudBlockBlob, standardBlobTier As StandardBlobTier, Optional accessCondition As AccessCondition = Nothing, Optional blobRequestOptions As BlobRequestOptions = Nothing)

Parameters

blockBlob
CloudBlockBlob

The CloudBlockBlob whose tier will be set.

standardBlobTier
StandardBlobTier

A StandardBlobTier representing the tier to set.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

blobRequestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

Applies to

AddSubOperation(CloudPageBlob, PremiumPageBlobTier, AccessCondition, BlobRequestOptions)

Adds an operation be submitted as part of the batch.

public void AddSubOperation (Microsoft.Azure.Storage.Blob.CloudPageBlob pageBlob, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default);
member this.AddSubOperation : Microsoft.Azure.Storage.Blob.CloudPageBlob * Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions -> unit
Public Sub AddSubOperation (pageBlob As CloudPageBlob, premiumPageBlobTier As PremiumPageBlobTier, Optional accessCondition As AccessCondition = Nothing, Optional blobRequestOptions As BlobRequestOptions = Nothing)

Parameters

pageBlob
CloudPageBlob

The CloudPageBlob whose tier will be set.

premiumPageBlobTier
PremiumPageBlobTier

A PremiumPageBlobTier representing the tier to set.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

blobRequestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

Applies to