Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PageBlob

Package version

Class representing a PageBlob.

Hierarchy

  • PageBlob

Index

Constructors

constructor

Methods

clearPages

copyIncremental

  • The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob. The snapshot is copied such that only the differential changes between the previously copied snapshot are transferred to the destination. The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual. This API is supported since REST version 2016-05-31.

    Parameters

    • copySource: string

      Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature.

    • Optional options: PageBlobCopyIncrementalOptionalParams

      The options parameters.

    Returns Promise<PageBlobCopyIncrementalResponse>

create

getPageRanges

getPageRangesDiff

resize

updateSequenceNumber

uploadPages

uploadPagesFromURL

  • The Upload Pages operation writes a range of pages to a page blob where the contents are read from a URL

    Parameters

    • sourceUrl: string

      Specify a URL to the copy source.

    • sourceRange: string

      Bytes of source data in the specified range. The length of this range should match the ContentLength header and x-ms-range/Range destination range header.

    • contentLength: number

      The length of the request.

    • range: string

      The range of bytes to which the source range would be written. The range should be 512 aligned and range-end is required.

    • Optional options: PageBlobUploadPagesFromURLOptionalParams

      The options parameters.

    Returns Promise<PageBlobUploadPagesFromURLResponse>

Generated using TypeDoc