Share via


cloud_page_blob::upload_pages Method

Writes pages to a page blob.

void upload_pages(
   concurrency::streams::istream page_data,
   int64_t start_offset,
   const utility::string_t& content_md5
);

void upload_pages(
   concurrency::streams::istream page_data,
   int64_t start_offset,
   const utility::string_t& content_md5,
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

Parameters

  • page_data
    A stream providing the page data.
  • start_offset
    The offset at which to begin writing, in bytes. The offset must be a multiple of 512.
  • content_md5
    An optional hash value that will be used to set the Content-MD5 property on the blob. May be an empty string.
  • 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.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_page_blob Class