Share via


cloud_page_blob::open_write Method

Opens a stream for writing to an existing page blob.

concurrency::streams::ostream open_write();

concurrency::streams::ostream open_write(
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

concurrency::streams::ostream open_write(
   utility::size64_t size
);

concurrency::streams::ostream open_write(
   utility::size64_t size,
   int64_t sequence_number,
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

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.
  • size
    The size of the write operation, in bytes. The size must be a multiple of 512.
  • sequence_number
    A user-controlled number to track request sequence, whose value must be between 0 and 2^63 - 1.

Return Value

A stream to be used for writing to the blob.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_page_blob Class