Package version:

Interface BlockBlobParallelUploadOptions

Option interface for BlockBlobClient.uploadFile and BlockBlobClient.uploadSeekableStream.

interface BlockBlobParallelUploadOptions {
    abortSignal?: any;
    blobHTTPHeaders?: BlobHTTPHeaders;
    blockSize?: number;
    concurrency?: number;
    conditions?: BlobRequestConditions;
    encryptionScope?: string;
    maxSingleShotSize?: number;
    metadata?: {
        [propertyName: string]: string;
    };
    onProgress?: ((progress: TransferProgressEvent) => void);
    tags?: any;
    tier?: string;
    tracingOptions?: any;
}

Hierarchy (view full)

Properties

abortSignal?: any

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.

blobHTTPHeaders?: BlobHTTPHeaders

Blob HTTP Headers. A common header to set is blobContentType, enabling the browser to provide functionality based on file type.

blockSize?: number

Destination block blob size in bytes.

concurrency?: number

Concurrency of parallel uploading. Must be greater than or equal to 0.

Access conditions headers.

encryptionScope?: string

Optional. Version 2019-07-07 and later. Specifies the name of the encryption scope to use to encrypt the data provided in the request. If not specified, encryption is performed with the default account encryption scope. For more information, see Encryption at Rest for Azure Storage Services.

maxSingleShotSize?: number

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?: {
    [propertyName: string]: string;
}

Metadata of block blob.

onProgress?: ((progress: TransferProgressEvent) => void)

Progress updater.

tags?: any

Blob tags.

tier?: string
tracingOptions?: any

Options to configure spans created when tracing is enabled.