Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PageBlobClient

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

clearPages

create

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

getPageBlobClient

getPageRanges

  • Parameters

    Returns Promise<PageBlobGetPageRangesResponse>

    Response data for the Page Blob Get Ranges operation.

getPageRangesDiff

  • getPageRangesDiff(offset: number, count: number, prevSnapshot: string, options?: PageBlobGetPageRangesDiffOptions): Promise<PageBlobGetPageRangesDiffResponse>
  • Parameters

    Returns Promise<PageBlobGetPageRangesDiffResponse>

    Response data for the Page Blob Get Page Range Diff operation.

getProperties

resize

setAccessTier

setHTTPHeaders

setMetadata

startCopyIncremental

syncCopyFromURL

undelete

updateSequenceNumber

uploadPages

uploadPagesFromURL

withSnapshot

Generated using TypeDoc