Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BlobDownloadToBufferOptions

Package version

Option interface for the BlobClient.downloadToBuffer operation.

Hierarchy

Index

Properties

Optional abortSignal

abortSignal: AbortSignalLike

An implementation of the AbortSignalLike interface to signal the request to cancel the operation. For example, use the @azure/abort-controller to create an AbortSignal.

Optional blockSize

blockSize: undefined | number

blockSize is the data every request trying to download. Must be greater than or equal to 0. If set to 0 or undefined, blockSize will automatically calculated according to the blob size.

Optional concurrency

concurrency: undefined | number

Concurrency of parallel download.

Optional conditions

Access conditions headers.

Optional customerProvidedKey

customerProvidedKey: CpkInfo

Customer Provided Key Info.

Optional maxRetryRequestsPerBlock

maxRetryRequestsPerBlock: undefined | number

Optional. ONLY AVAILABLE IN NODE.JS.

How many retries will perform when original block download stream unexpected ends. Above kind of ends will not trigger retry policy defined in a pipeline, because they doesn't emit network errors.

With this option, every additional retry means an additional FileClient.download() request will be made from the broken point, until the requested block has been successfully downloaded or maxRetryRequestsPerBlock is reached.

Default value is 5, please set a larger value when in poor network.

Optional onProgress

onProgress: undefined | ((progress: TransferProgressEvent) => void)

Progress updater.

Optional tracingOptions

tracingOptions: OperationTracingOptions

Options to configure spans created when tracing is enabled.

Generated using TypeDoc