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

blobHTTPHeaders

Blob HTTP Headers.

blobHTTPHeaders?: Models.BlobHTTPHeaders

Property Value

Models.BlobHTTPHeaders

blockSize

Destination block blob size in bytes.

blockSize?: undefined | number

Property Value

undefined | 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?: undefined | number

Property Value

undefined | number

metadata

Metadata of block blob.

metadata?: undefined | [key: string]: string

Property Value

undefined | [key: string]: string

parallelism

Concurrency of parallel uploading. Must be >= 0.

parallelism?: undefined | number

Property Value

undefined | number

progress

Progress updater.

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

Property Value

undefined | (progress: TransferProgressEvent) => void