cloud_page_blob::download_page_ranges_async Method
Intitiates an asynchronous operation to get a collection of valid page ranges and their starting and ending bytes.
pplx::task<std::vector<page_range>> download_page_ranges_async() const;
pplx::task<std::vector<page_range>> download_page_ranges_async(
const access_condition& condition,
const blob_request_options& options,
operation_context context
) const;
pplx::task<std::vector<page_range>> download_page_ranges_async(
utility::size64_t offset,
utility::size64_t length
) const;
WASTORAGE_API pplx::task<std::vector<page_range>> download_page_ranges_async(
utility::size64_t offset,
utility::size64_t length,
const access_condition& condition,
const blob_request_options& options,
operation_context context
) const;
Parameters
- condition
An azure::storage::access_condition object that represents the access condition for the operation.
- options
A azure::storage::blob_request_options object that specifies additional options for the request.
- context
An azure::storage::operation_context object that represents the context for the current operation.
- offset
The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512.
- length
The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512.
Return Value
A pplx::task object of type std::vector, of type page_range, that represents the current operation.
Requirements
Header: blob.h
Namespace: azure::storage