6#include "azure/storage/blobs/blob_options.hpp"
8#include <azure/core/azure_assert.hpp>
9#include <azure/core/operation.hpp>
10#include <azure/core/paged_response.hpp>
17namespace Azure {
namespace Storage {
19 namespace Files {
namespace DataLake {
20 class ListFileSystemsPagedResponse;
25 class BlobServiceClient;
26 class BlobContainerClient;
245 std::string GetResumeToken()
const override { AZURE_NOT_IMPLEMENTED(); }
247 std::unique_ptr<Azure::Core::Http::RawResponse> PollInternal(
248 const Azure::Core::Context& context)
override;
250 Azure::Response<Models::BlobProperties> PollUntilDoneInternal(
251 std::chrono::milliseconds period,
252 Azure::Core::Context& context)
override;
254 std::shared_ptr<BlobClient> m_blobClient;
255 Models::BlobProperties m_pollResult;
265 :
public Azure::Core::PagedResponse<ListBlobContainersPagedResponse> {
283 void OnNextPage(
const Azure::Core::Context& context);
285 std::shared_ptr<BlobServiceClient> m_blobServiceClient;
290 friend class Files::DataLake::ListFileSystemsPagedResponse;
297 :
public Azure::Core::PagedResponse<FindBlobsByTagsPagedResponse> {
310 void OnNextPage(
const Azure::Core::Context& context);
312 std::shared_ptr<BlobServiceClient> m_blobServiceClient;
313 std::shared_ptr<BlobContainerClient> m_blobContainerClient;
315 std::string m_tagFilterSqlExpression;
345 std::vector<Models::BlobItem>
Blobs;
348 void OnNextPage(
const Azure::Core::Context& context);
350 std::shared_ptr<BlobContainerClient> m_blobContainerClient;
361 :
public Azure::Core::PagedResponse<ListBlobsByHierarchyPagedResponse> {
387 std::vector<Models::BlobItem>
Blobs;
395 void OnNextPage(
const Azure::Core::Context& context);
397 std::shared_ptr<BlobContainerClient> m_blobContainerClient;
399 std::string m_delimiter;
409 :
public Azure::Core::PagedResponse<GetPageRangesPagedResponse> {
432 void OnNextPage(
const Azure::Core::Context& context);
434 std::shared_ptr<PageBlobClient> m_pageBlobClient;
446 :
public Azure::Core::PagedResponse<GetPageRangesDiffPagedResponse> {
474 void OnNextPage(
const Azure::Core::Context& context);
476 std::shared_ptr<PageBlobClient> m_pageBlobClient;
478 Azure::Nullable<std::string> m_previousSnapshot;
479 Azure::Nullable<std::string> m_previousSnapshotUrl;
The BlobClient allows you to manipulate Azure Storage blobs.
Definition blob_client.hpp:39
Definition blob_container_client.hpp:21
Definition blob_service_client.hpp:22
Response type for Azure::Storage::Blobs::BlobServiceClient::FindBlobsByTags.
Definition blob_responses.hpp:297
std::vector< Models::TaggedBlobItem > TaggedBlobs
Definition blob_responses.hpp:307
std::string ServiceEndpoint
Definition blob_responses.hpp:302
Response type for Azure::Storage::Blobs::PageBlobClient::GetPageRangesDiff and Azure::Storage::Blobs:...
Definition blob_responses.hpp:446
std::vector< Azure::Core::Http::HttpRange > PageRanges
Definition blob_responses.hpp:466
int64_t BlobSize
Definition blob_responses.hpp:461
Azure::ETag ETag
Definition blob_responses.hpp:451
Azure::DateTime LastModified
Definition blob_responses.hpp:456
std::vector< Azure::Core::Http::HttpRange > ClearRanges
Definition blob_responses.hpp:471
Response type for Azure::Storage::Blobs::PageBlobClient::GetPageRanges.
Definition blob_responses.hpp:409
Azure::ETag ETag
Definition blob_responses.hpp:414
int64_t BlobSize
Definition blob_responses.hpp:424
Azure::DateTime LastModified
Definition blob_responses.hpp:419
std::vector< Azure::Core::Http::HttpRange > PageRanges
Definition blob_responses.hpp:429
Response type for Azure::Storage::Blobs::BlobServiceClient::ListBlobContainers.
Definition blob_responses.hpp:265
std::string ServiceEndpoint
Definition blob_responses.hpp:270
std::vector< Models::BlobContainerItem > BlobContainers
Definition blob_responses.hpp:280
std::string Prefix
Definition blob_responses.hpp:275
Response type for Azure::Storage::Blobs::BlobContainerClient::ListBlobsByHierarchy.
Definition blob_responses.hpp:361
std::string BlobContainerName
Definition blob_responses.hpp:371
std::string Delimiter
Definition blob_responses.hpp:382
std::string ServiceEndpoint
Definition blob_responses.hpp:366
std::vector< Models::BlobItem > Blobs
Definition blob_responses.hpp:387
std::string Prefix
Definition blob_responses.hpp:376
std::vector< std::string > BlobPrefixes
Definition blob_responses.hpp:392
Response type for Azure::Storage::Blobs::BlobContainerClient::ListBlobs.
Definition blob_responses.hpp:325
std::vector< Models::BlobItem > Blobs
Definition blob_responses.hpp:345
std::string BlobContainerName
Definition blob_responses.hpp:335
std::string Prefix
Definition blob_responses.hpp:340
std::string ServiceEndpoint
Definition blob_responses.hpp:330
Type of the blob.
Definition rest_client.hpp:1307
Definition page_blob_client.hpp:23
A long-running operation to copy a blob.
Definition blob_responses.hpp:221
StartBlobCopyOperation(StartBlobCopyOperation &&)=default
Construct a StartBlobCopyOperation from a StartBlobCopyOperation.
Models::BlobProperties Value() const override
Get the Azure::Storage::Blobs::Models::BlobProperties object, which includes the latest copy informat...
Definition blob_responses.hpp:229
StartBlobCopyOperation & operator=(StartBlobCopyOperation &&)=default
Optional parameters for Azure::Storage::Blobs::PageBlobClient::GetPageRanges.
Definition blob_options.hpp:1524
Optional parameters for Azure::Storage::Blobs::BlobServiceClient::ListBlobContainers.
Definition blob_options.hpp:219
Optional parameters for Azure::Storage::Blobs::BlobContainerClient::ListBlobs and Azure::Storage::Blo...
Definition blob_options.hpp:398
Response type for Azure::Storage::Blobs::BlobLeaseClient::Acquire.
Definition blob_responses.hpp:69
std::string LeaseId
Definition blob_responses.hpp:85
Azure::ETag ETag
Definition blob_responses.hpp:73
Azure::DateTime LastModified
Definition blob_responses.hpp:78
Properties of a blob.
Definition rest_client.hpp:1135
An Azure Storage blob.
Definition blob_responses.hpp:170
Nullable< bool > HasVersionsOnly
Definition blob_responses.hpp:198
std::string Snapshot
Definition blob_responses.hpp:182
BlobItemDetails Details
Definition blob_responses.hpp:194
int64_t BlobSize
Definition blob_responses.hpp:202
Nullable< std::string > VersionId
Definition blob_responses.hpp:186
bool IsDeleted
Definition blob_responses.hpp:178
Models::BlobType BlobType
Definition blob_responses.hpp:206
std::string Name
Definition blob_responses.hpp:174
Nullable< bool > IsCurrentVersion
Definition blob_responses.hpp:190
Response type for Azure::Storage::Blobs::BlobClient::GetProperties.
Definition rest_client.hpp:1620
Response type for Azure::Storage::Blobs::BlobLeaseClient::Break.
Definition blob_responses.hpp:92
Azure::DateTime LastModified
Definition blob_responses.hpp:101
Azure::ETag ETag
Definition blob_responses.hpp:96
Response type for Azure::Storage::Blobs::BlobLeaseClient::Change.
Definition blob_responses.hpp:108
Azure::ETag ETag
Definition blob_responses.hpp:112
Azure::DateTime LastModified
Definition blob_responses.hpp:117
std::string LeaseId
Definition blob_responses.hpp:124
Detailed information of the downloaded blob.
Definition rest_client.hpp:1445
Response type for Azure::Storage::Blobs::BlobClient::DownloadTo.
Definition blob_responses.hpp:36
Azure::Nullable< ContentHash > TransactionalContentHash
Definition blob_responses.hpp:55
int64_t BlobSize
Definition blob_responses.hpp:50
Models::BlobType BlobType
Definition blob_responses.hpp:40
Azure::Core::Http::HttpRange ContentRange
Definition blob_responses.hpp:45
DownloadBlobDetails Details
Definition blob_responses.hpp:60
Response type for Azure::Storage::Blobs::BlobLeaseClient::Release.
Definition blob_responses.hpp:131
Azure::ETag ETag
Definition blob_responses.hpp:135
Azure::DateTime LastModified
Definition blob_responses.hpp:140
Response type for Azure::Storage::Blobs::BlobLeaseClient::Renew.
Definition blob_responses.hpp:147
std::string LeaseId
Definition blob_responses.hpp:163
Azure::ETag ETag
Definition blob_responses.hpp:151
Azure::DateTime LastModified
Definition blob_responses.hpp:156
Response type for BlobClient::SubmitBatch.
Definition blob_responses.hpp:213
Response type for Azure::Storage::Blobs::BlockBlobClient::Upload.
Definition rest_client.hpp:2949