Package version:

Interface BlockBlobSyncUploadFromURLOptions

Options to configure BlockBlobClient.syncUploadFromURL operation.

interface BlockBlobSyncUploadFromURLOptions {
    abortSignal?: any;
    blobHTTPHeaders?: BlobHTTPHeaders;
    conditions?: BlobRequestConditions;
    copySourceBlobProperties?: boolean;
    copySourceTags?: BlobCopySourceTags;
    customerProvidedKey?: CpkInfo;
    encryptionScope?: string;
    metadata?: Metadata;
    sourceAuthorization?: HttpAuthorization;
    sourceConditions?: ModifiedAccessConditions;
    sourceContentMD5?: any;
    sourceShareTokenIntent?: string;
    tags?: any;
    tier?: string;
    timeoutInSeconds?: number;
    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

HTTP headers to set when uploading to a block blob.

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

Conditions to meet for the destination Azure Blob.

copySourceBlobProperties?: boolean

Optional, default is true. Indicates if properties from the source blob should be copied.

copySourceTags?: BlobCopySourceTags

Optional, default 'replace'. Indicates if source tags should be copied or replaced with the tags specified by tags.

customerProvidedKey?: CpkInfo

Customer Provided Key Info.

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.

metadata?: Metadata

Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.

sourceAuthorization?: HttpAuthorization

Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source.

sourceConditions?: ModifiedAccessConditions

Optional. Conditions to meet for the source Azure Blob.

sourceContentMD5?: any

Specify the md5 calculated for the range of bytes that must be read from the copy source.

sourceShareTokenIntent?: string

Valid value is backup

tags?: any

Blob tags.

tier?: string
timeoutInSeconds?: number

Server timeout in seconds. For more information,

tracingOptions?: any

Options to configure spans created when tracing is enabled.