PageBlobURL Class


Represents a URL to a page blob. It may be obtained by direct construction or via the create method on a ContainerURL object. This class does not hold any state about a particular blob but is instead a convenient way of sending off appropriate requests to the resource on the service. Please refer to the Azure Docs for more information.

public class PageBlobURL extends BlobURL

Inherited Members


PageBlobURL(URL url, HttpPipeline pipeline)

Creates aPageBlobURL 

</code> object pointing to the account specified by the URL and using the provided pipeline to make HTTP requests.</p>



Indicates the maximum number of bytes that may be sent in a call to putPage.


Indicates the number of bytes in a page.


clearPages(PageRange pageRange, PageBlobAccessConditions pageBlobAccessConditions, Context context)

Frees the specified pages from the page blob. For more information, see the Azure Docs.

copyIncremental(URL source, String snapshot, ModifiedAccessConditions modifiedAccessConditions, Context context)

Begins an operation to start an incremental copy from one page blob's snapshot to this 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. For more information, see the Azure Docs here and here.

create(long size, Long sequenceNumber, BlobHTTPHeaders headers, Metadata metadata, BlobAccessConditions accessConditions, Context context)

Creates a page blob of the specified length. Call PutPage to upload data data to a page blob. For more information, see the Azure Docs.

getPageRanges(BlobRange blobRange, BlobAccessConditions accessConditions, Context context)

Returns the list of valid page ranges for a page blob or snapshot of a page blob. For more information, see the Azure Docs.

getPageRangesDiff(BlobRange blobRange, String prevSnapshot, BlobAccessConditions accessConditions, Context context)

Gets the collection of page ranges that differ between a specified snapshot and this page blob. For more information, see the Azure Docs.

resize(long size, BlobAccessConditions accessConditions, Context context)

Resizes the page blob to the specified size (which must be a multiple of 512). For more information, see the Azure Docs.

updateSequenceNumber(SequenceNumberActionType action, Long sequenceNumber, BlobAccessConditions accessConditions, Context context)

Sets the page blob's sequence number. For more information, see the Azure Docs.

uploadPages(PageRange pageRange, Flowable<ByteBuffer> body, PageBlobAccessConditions pageBlobAccessConditions, Context context)

Writes 1 or more pages to the page blob. The start and end offsets must be a multiple of 512. For more information, see the Azure Docs.

Note that the data passed must be replayable if retries are enabled (the default). In other words, the Flowable 

</code> must produce the same data each time it is subscribed to.</p>

withPipeline(HttpPipeline pipeline)

Creates a new PageBlobURL with the given pipeline.

withSnapshot(String snapshot)

Creates a new PageBlobURL with the given snapshot.

Applies to