B
Beacon Globe News

azure-storage-blobs: Azure::Storage::Blobs::BlobContainerClient Class Reference

Author

Andrew Vasquez

Published Feb 17, 2026

 BlobContainerClient (const std::string &blobContainerUrl, std::shared_ptr< StorageSharedKeyCredential > credential, const BlobClientOptions &options=BlobClientOptions()) Initialize a new instance of BlobContainerClient. More...
  BlobContainerClient (const std::string &blobContainerUrl, std::shared_ptr< Core::Credentials::TokenCredential > credential, const BlobClientOptions &options=BlobClientOptions()) Initialize a new instance of BlobContainerClient. More...
  BlobContainerClient (const std::string &blobContainerUrl, const BlobClientOptions &options=BlobClientOptions()) Initialize a new instance of BlobContainerClient. More...
 BlobClient GetBlobClient (const std::string &blobName) const Create a new BlobClient object by appending blobName to the end of URL. The new BlobClient uses the same request policy pipeline as this BlobContainerClient. More...
 BlockBlobClient GetBlockBlobClient (const std::string &blobName) const Create a new BlockBlobClient object by appending blobName to the end of URL. The new BlockBlobClient uses the same request policy pipeline as this BlobContainerClient. More...
 AppendBlobClient GetAppendBlobClient (const std::string &blobName) const Create a new AppendBlobClient object by appending blobName to the end of URL. The new AppendBlobClient uses the same request policy pipeline as this BlobContainerClient. More...
 PageBlobClient GetPageBlobClient (const std::string &blobName) const Create a new PageBlobClient object by appending blobName to the end of URL. The new PageBlobClient uses the same request policy pipeline as this BlobContainerClient. More...
 std::string GetUrl () const Gets the container's primary URL endpoint. More...
 Azure::Response< Models::CreateBlobContainerResultCreate (const CreateBlobContainerOptions &options=CreateBlobContainerOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Creates a new container under the specified account. If the container with the same name already exists, the operation fails. More...
 Azure::Response< Models::CreateBlobContainerResultCreateIfNotExists (const CreateBlobContainerOptions &options=CreateBlobContainerOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Creates a new container under the specified account. If the container with the same name already exists, it is not changed. More...
 Azure::Response< Models::DeleteBlobContainerResultDelete (const DeleteBlobContainerOptions &options=DeleteBlobContainerOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Marks the specified container for deletion. The container and any blobs contained within it are later deleted during garbage collection. More...
 Azure::Response< Models::DeleteBlobContainerResultDeleteIfExists (const DeleteBlobContainerOptions &options=DeleteBlobContainerOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Marks the specified container for deletion if it exists. The container and any blobs contained within it are later deleted during garbage collection. More...
 Azure::Response< Models::BlobContainerPropertiesGetProperties (const GetBlobContainerPropertiesOptions &options=GetBlobContainerPropertiesOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Returns all user-defined metadata and system properties for the specified container. The data returned does not include the container's list of blobs. More...
 Azure::Response< Models::SetBlobContainerMetadataResultSetMetadata (Metadata metadata, SetBlobContainerMetadataOptions options=SetBlobContainerMetadataOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Sets one or more user-defined name-value pairs for the specified container. More...
 ListBlobsPagedResponse ListBlobs (const ListBlobsOptions &options=ListBlobsOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Returns a sequence of blobs in this container. Enumerating the blobs may make multiple requests to the service while fetching all the values. Blobs are ordered lexicographically by name. More...
 ListBlobsByHierarchyPagedResponse ListBlobsByHierarchy (const std::string &delimiter, const ListBlobsOptions &options=ListBlobsOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Returns a collection of blobs in this container. Enumerating the blobs may make multiple requests to the service while fetching all the values. Blobs are ordered lexicographically by name. A delimiter can be used to traverse a virtual hierarchy of blobs as though it were a file system. More...
 Azure::Response< Models::BlobContainerAccessPolicyGetAccessPolicy (const GetBlobContainerAccessPolicyOptions &options=GetBlobContainerAccessPolicyOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Gets the permissions for this container. The permissions indicate whether container data may be accessed publicly. More...
 Azure::Response< Models::SetBlobContainerAccessPolicyResultSetAccessPolicy (const SetBlobContainerAccessPolicyOptions &options=SetBlobContainerAccessPolicyOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Sets the permissions for the specified container. The permissions indicate whether blob container data may be accessed publicly. More...
 Azure::Response< Models::DeleteBlobResultDeleteBlob (const std::string &blobName, const DeleteBlobOptions &options=DeleteBlobOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection. Note that in order to delete a blob, you must delete all of its snapshots. You can delete both at the same time using DeleteBlobOptions.DeleteSnapshots. More...
 Azure::Response< BlockBlobClientUploadBlob (const std::string &blobName, Azure::Core::IO::BodyStream &content, const UploadBlockBlobOptions &options=UploadBlockBlobOptions(), const Azure::Core::Context &context=Azure::Core::Context()) const Creates a new block blob under this container. For partial block blob updates and other advanced features, please see BlockBlobClient. To create or modify page or see PageBlobClient or AppendBlobClient. More...