CloudPageBlob.downloadPageRangesDiff Method

Definition

Overloads

downloadPageRangesDiff(final String previousSnapshot)

Gets the collection of page ranges that differ between a specified snapshot and this object.

downloadPageRangesDiff(final String previousSnapshot, final Long offset, final Long length, final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Gets the collection of page ranges that differ between a specified snapshot and this object.

downloadPageRangesDiff(final String previousSnapshot)

Gets the collection of page ranges that differ between a specified snapshot and this object.

public List<PageRangeDiff> downloadPageRangesDiff(final String previousSnapshot)

Parameters

previousSnapshot
final String

A string representing the snapshot to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshot parameter must be prior to the current snapshot.

Returns

A List object containing the set of differing page ranges.

Exceptions

StorageException

If a storage service error occurred.

downloadPageRangesDiff(final String previousSnapshot, final Long offset, final Long length, final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Gets the collection of page ranges that differ between a specified snapshot and this object.

public List<PageRangeDiff> downloadPageRangesDiff(final String previousSnapshot, final Long offset, final Long length, final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Parameters

previousSnapshot
final String

A string representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshot parameter must be prior to the current snapshot.

offset
final Long

The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512.

length
final Long

The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512.

accessCondition
final AccessCondition

An AccessCondition object which represents the access conditions for the blob.

options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
OperationContext

An OperationContext object which represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Returns

A List object containing the set of differing page ranges.

Exceptions

StorageException

If a storage service error occurred.

Applies to