cloud_page_blob::upload_from_stream Method
Uploads a stream to a page blob.
void upload_from_stream(
concurrency::streams::istream source
);
void upload_from_stream(
concurrency::streams::istream source,
int64_t sequence_number,
const access_condition& condition,
const blob_request_options& options,
operation_context context
);
void upload_from_stream(
concurrency::streams::istream source,
utility::size64_t length
);
void upload_from_stream(
concurrency::streams::istream source,
utility::size64_t length,
int64_t sequence_number,
const access_condition& condition,
const blob_request_options& options,
operation_context context
);
Parameters
- source
The stream providing the blob content.
- 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.
- length
The number of bytes to write from the source stream at its current position.
- sequence_number
A user-controlled number to track request sequence, whose value must be between 0 and 2^63 - 1.
Requirements
Header: blob.h
Namespace: azure::storage