IUploadToBlockBlobOptions interface

Option interface for uploadFileToBlockBlob and uploadSeekableStreamToBlockBlob.

Properties

blobAccessConditions

Access conditions headers.

blobHTTPHeaders

Blob HTTP Headers.

blockSize

Destination block blob size in bytes.

maxSingleShotSize

Blob size threshold in bytes to start concurrency uploading. Default value is 256MB, blob size less than this option will be uploaded via one I/O operation without concurrency. You can customize a value less equal than the default value.

metadata

Metadata of block blob.

parallelism

Concurrency of parallel uploading. Must be >= 0.

progress

Progress updater.

Property Details

blobAccessConditions

Access conditions headers.

blobAccessConditions?: IBlobAccessConditions

Property Value

IBlobAccessConditions

blobHTTPHeaders

Blob HTTP Headers.

blobHTTPHeaders?: BlobHTTPHeaders

Property Value

blockSize

Destination block blob size in bytes.

blockSize?: number

Property Value

number

maxSingleShotSize

Blob size threshold in bytes to start concurrency uploading. Default value is 256MB, blob size less than this option will be uploaded via one I/O operation without concurrency. You can customize a value less equal than the default value.

maxSingleShotSize?: number

Property Value

number

metadata

Metadata of block blob.

metadata?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

parallelism

Concurrency of parallel uploading. Must be >= 0.

parallelism?: number

Property Value

number

progress

Progress updater.

progress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void