6 #include "azure/core/credentials/credentials.hpp"
7 #include "azure/storage/blobs/blob_client.hpp"
8 #include "azure/storage/blobs/blob_options.hpp"
9 #include "azure/storage/blobs/protocol/blob_rest_client.hpp"
10 #include "azure/storage/common/storage_credential.hpp"
14 namespace Azure {
namespace Storage {
namespace Blobs {
38 const std::string& connectionString,
39 const std::string& containerName,
40 const std::string& blobName,
55 const std::string& blobUri,
56 std::shared_ptr<SharedKeyCredential> credential,
70 const std::string& blobUri,
71 std::shared_ptr<Core::Credentials::ClientSecretCredential> credential,
85 const std::string& blobUri,
117 Azure::Core::Response<CreateAppendBlobResult>
Create(
130 Azure::Core::Response<AppendBlockResult>
AppendBlock(
131 Azure::Core::Http::BodyStream* content,
147 const std::string& sourceUri,
156 Azure::Core::Response<SealAppendBlobResult>
Seal(
Azure::Core::Response< CreateAppendBlobResult > Create(const CreateAppendBlobOptions &options=CreateAppendBlobOptions()) const
Creates a new 0-length append blob. The content of any existing blob is overwritten with the newly in...
Definition: append_blob_client.cpp:75
AppendBlobClient WithSnapshot(const std::string &snapshot) const
Initializes a new instance of the AppendBlobClient class with an identical uri source but the specifi...
Definition: append_blob_client.cpp:47
AppendBlobClient(const std::string &blobUri, std::shared_ptr< SharedKeyCredential > credential, const AppendBlobClientOptions &options=AppendBlobClientOptions())
Initialize a new instance of AppendBlobClient.
Definition: append_blob_client.cpp:22
Optional parameters for AppendBlobClient::AppendBlock.
Definition: blob_options.hpp:1151
The BlobClient allows you to manipulate Azure Storage blobs.
Definition: blob_client.hpp:30
Append blob client options used to initalize AppendBlobClient.
Definition: blob_options.hpp:548
Optional parameters for AppendBlobClient::AppendBlockFromUri.
Definition: blob_options.hpp:1181
Optional parameters for AppendBlobClient::Create.
Definition: blob_options.hpp:1125
Azure::Core::Response< AppendBlockFromUriResult > AppendBlockFromUri(const std::string &sourceUri, const AppendBlockFromUriOptions &options=AppendBlockFromUriOptions()) const
Commits a new block of data, represented by the content BodyStream to the end of the existing append ...
Definition: append_blob_client.cpp:124
AppendBlobClient WithVersionId(const std::string &versionId) const
Creates a clone of this instance that references a version ID rather than the base blob.
Definition: append_blob_client.cpp:61
Optional parameters for AppendBlobClient::Seal.
Definition: blob_options.hpp:1222
Azure::Core::Response< AppendBlockResult > AppendBlock(Azure::Core::Http::BodyStream *content, const AppendBlockOptions &options=AppendBlockOptions()) const
Commits a new block of data, represented by the content BodyStream to the end of the existing append ...
Definition: append_blob_client.cpp:98
The AppendBlobClient allows you to manipulate Azure Storage append blobs.
Definition: append_blob_client.hpp:24
static AppendBlobClient CreateFromConnectionString(const std::string &connectionString, const std::string &containerName, const std::string &blobName, const AppendBlobClientOptions &options=AppendBlobClientOptions())
Initialize a new instance of AppendBlobClient.
Definition: append_blob_client.cpp:11
Azure::Core::Response< SealAppendBlobResult > Seal(const SealAppendBlobOptions &options=SealAppendBlobOptions()) const
Seals the append blob, making it read only. Any subsequent appends will fail.
Definition: append_blob_client.cpp:164