Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlockBlobClient

Package version

Hierarchy

Index

Constructors

constructor

Properties

accountName

accountName: string

credential

credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential

Protected isHttps

isHttps: boolean

Protected storageClientContext

storageClientContext: StorageClientContext

url

url: string

Accessors

containerName

containerName:

name

name:

Methods

abortCopyFromURL

beginCopyFromURL

commitBlockList

createSnapshot

delete

download

  • download(offset?: number, count: undefined | number, options?: BlobDownloadOptions): Promise<BlobDownloadResponseModel>

downloadToBuffer

  • downloadToBuffer(offset: undefined | number, count: undefined | number, options: BlobDownloadToBufferOptions): Promise<Buffer>
  • downloadToBuffer(buffer: Buffer, offset: undefined | number, count: undefined | number, options: BlobDownloadToBufferOptions): Promise<Buffer>

downloadToFile

  • downloadToFile(filePath: string, offset?: number, count: undefined | number, options?: BlobDownloadOptions): Promise<BlobDownloadResponseModel>
  • Parameters

    • filePath: string
    • Default value offset: number = 0
    • Optional count: undefined | number
    • Default value options: BlobDownloadOptions = {}

    Returns Promise<BlobDownloadResponseModel>

    The response data for blob download operation, but with readableStreamBody set to undefined since its content is already read and written into a local file at the specified path.

exists

getAppendBlobClient

getBlobLeaseClient

getBlockBlobClient

getBlockList

getPageBlobClient

getProperties

setAccessTier

setHTTPHeaders

setMetadata

stageBlock

stageBlockFromURL

syncCopyFromURL

undelete

upload

uploadBrowserData

uploadFile

uploadStream

withSnapshot

Generated using TypeDoc