Dela via


BlobBatchClient Class

Definition

The BlobBatchClient allows you to batch multiple Azure Storage operations in a single request.

public class BlobBatchClient
type BlobBatchClient = class
Public Class BlobBatchClient
Inheritance
BlobBatchClient

Constructors

BlobBatchClient()

Initializes a new instance of the BlobBatchClient class for mocking.

BlobBatchClient(BlobContainerClient)

Initializes a new instance of the BlobBatchClient class for container associated with the BlobContainerClient. The new BlobBatchClient uses the same request policy pipeline as the BlobContainerClient.

BlobBatchClient(BlobServiceClient)

Initializes a new instance of the BlobBatchClient class for the same account as the BlobServiceClient. The new BlobBatchClient uses the same request policy pipeline as the BlobServiceClient.

Properties

Uri

Gets the blob service's primary Uri endpoint.

Methods

CreateBatch()

Creates a new BlobBatch to collect sub-operations that can be submitted together via SubmitBatch(BlobBatch, Boolean, CancellationToken).

DeleteBlobs(IEnumerable<Uri>, DeleteSnapshotsOption, CancellationToken)

The DeleteBlobs operation marks the specified blobs for deletion. The blobs are later deleted during garbage collection which could take several minutes. All of the deletions are sent as a single batched request.

DeleteBlobsAsync(IEnumerable<Uri>, DeleteSnapshotsOption, CancellationToken)

The DeleteBlobsAsync operation marks the specified blobs for deletion. The blobs are later deleted during garbage collection which could take several minutes. All of the deletions are sent as a single batched request.

SetBlobsAccessTier(IEnumerable<Uri>, AccessTier, Nullable<RehydratePriority>, CancellationToken)

The SetBlobsAccessTier operation sets the tier on blobs. The operation is allowed on block blobs in a blob storage or general purpose v2 account.

SetBlobsAccessTierAsync(IEnumerable<Uri>, AccessTier, Nullable<RehydratePriority>, CancellationToken)

The SetBlobsAccessTierAsync operation sets the tier on blobs. The operation is allowed on block blobs in a blob storage or general purpose v2 account.

SubmitBatch(BlobBatch, Boolean, CancellationToken)

Submit a BlobBatch of sub-operations.

SubmitBatchAsync(BlobBatch, Boolean, CancellationToken)

Submit a BlobBatch of sub-operations.

Applies to