Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Represents a Windows Azure storage account. More...
Public Member Functions | |
cloud_storage_account () | |
Initializes a new instance of the azure::storage::cloud_storage_account class. More... | |
cloud_storage_account (const storage_credentials &credentials, const storage_uri &blob_endpoint, const storage_uri &queue_endpoint, const storage_uri &table_endpoint) | |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and service endpoints. More... | |
cloud_storage_account (const storage_credentials &credentials, const storage_uri &blob_endpoint, const storage_uri &queue_endpoint, const storage_uri &table_endpoint, const storage_uri &file_endpoint) | |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and service endpoints. More... | |
cloud_storage_account (const storage_credentials &credentials, bool use_https) | |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and the default service endpoints. More... | |
cloud_storage_account (const storage_credentials &credentials, const utility::string_t &endpoint_suffix, bool use_https) | |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and the default service endpoints. More... | |
WASTORAGE_API cloud_blob_client | create_cloud_blob_client () const |
Creates the Blob service client. More... | |
WASTORAGE_API cloud_blob_client | create_cloud_blob_client (const blob_request_options &default_request_options) const |
Creates the Blob service client. More... | |
WASTORAGE_API cloud_queue_client | create_cloud_queue_client () const |
Creates the Queue service client. More... | |
WASTORAGE_API cloud_queue_client | create_cloud_queue_client (const queue_request_options &default_request_options) const |
Creates the Queue service client. More... | |
WASTORAGE_API cloud_table_client | create_cloud_table_client () const |
Creates the Table service client. More... | |
WASTORAGE_API cloud_table_client | create_cloud_table_client (const table_request_options &default_request_options) const |
Creates the Table service client. More... | |
WASTORAGE_API cloud_file_client | create_cloud_file_client () const |
Creates the File service client. More... | |
WASTORAGE_API cloud_file_client | create_cloud_file_client (const file_request_options &default_request_options) const |
Creates the File service client. More... | |
utility::string_t | to_string () |
Returns a connection string for this storage account, without sensitive data. More... | |
WASTORAGE_API utility::string_t | to_string (bool export_secrets) |
Returns a connection string for the storage account, optionally with sensitive data. More... | |
const storage_uri & | blob_endpoint () const |
Gets the endpoint for the Blob service for all location. More... | |
const storage_uri & | queue_endpoint () const |
Gets the endpoint for the Queue service for all location. More... | |
const storage_uri & | table_endpoint () const |
Gets the endpoint for the Table service for all location. More... | |
const storage_uri & | file_endpoint () const |
Gets the endpoint for the File service for all location. More... | |
const storage_credentials & | credentials () const |
Gets the credentials used to create this azure::storage::cloud_storage_account object. More... | |
bool | is_initialized () const |
Indicates whether the storage account has been initialized. More... | |
WASTORAGE_API utility::string_t | get_shared_access_signature (const account_shared_access_policy &policy) const |
Returns a shared access signature for the account. More... | |
Static Public Member Functions | |
static WASTORAGE_API cloud_storage_account | parse (const utility::string_t &connection_string) |
Parses a connection string and returns an azure::storage::cloud_storage_account created from the connection string. More... | |
static WASTORAGE_API cloud_storage_account | development_storage_account () |
Gets an azure::storage::cloud_storage_account object that references the development storage account. More... | |
Represents a Windows Azure storage account.
|
inline |
Initializes a new instance of the azure::storage::cloud_storage_account class.
|
inline |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and service endpoints.
credentials | The azure::storage::storage_credentials to use. |
blob_endpoint | The Blob service endpoint. |
queue_endpoint | The Queue service endpoint. |
table_endpoint | The Table service endpoint. |
|
inline |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and service endpoints.
credentials | The azure::storage::storage_credentials to use. |
blob_endpoint | The Blob service endpoint. |
queue_endpoint | The Queue service endpoint. |
table_endpoint | The Table service endpoint. |
file_endpoint | The File service endpoint. |
|
inline |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and the default service endpoints.
credentials | The azure::storage::storage_credentials to use. |
use_https | true to use HTTPS to connect to storage service endpoints; otherwise, false . |
|
inline |
Initializes a new instance of the azure::storage::cloud_storage_account class using the specified credentials and the default service endpoints.
credentials | The azure::storage::storage_credentials to use. |
endpoint_suffix | The DNS endpoint suffix for the storage services, e.g., "core.windows.net". |
use_https | true to use HTTPS to connect to storage service endpoints; otherwise, false . |
|
inline |
Gets the endpoint for the Blob service for all location.
WASTORAGE_API cloud_blob_client azure::storage::cloud_storage_account::create_cloud_blob_client | ( | ) | const |
Creates the Blob service client.
WASTORAGE_API cloud_blob_client azure::storage::cloud_storage_account::create_cloud_blob_client | ( | const blob_request_options & | default_request_options | ) | const |
Creates the Blob service client.
WASTORAGE_API cloud_file_client azure::storage::cloud_storage_account::create_cloud_file_client | ( | ) | const |
Creates the File service client.
WASTORAGE_API cloud_file_client azure::storage::cloud_storage_account::create_cloud_file_client | ( | const file_request_options & | default_request_options | ) | const |
Creates the File service client.
WASTORAGE_API cloud_queue_client azure::storage::cloud_storage_account::create_cloud_queue_client | ( | ) | const |
Creates the Queue service client.
WASTORAGE_API cloud_queue_client azure::storage::cloud_storage_account::create_cloud_queue_client | ( | const queue_request_options & | default_request_options | ) | const |
Creates the Queue service client.
WASTORAGE_API cloud_table_client azure::storage::cloud_storage_account::create_cloud_table_client | ( | ) | const |
Creates the Table service client.
WASTORAGE_API cloud_table_client azure::storage::cloud_storage_account::create_cloud_table_client | ( | const table_request_options & | default_request_options | ) | const |
Creates the Table service client.
|
inline |
Gets the credentials used to create this azure::storage::cloud_storage_account object.
|
static |
Gets an azure::storage::cloud_storage_account object that references the development storage account.
|
inline |
Gets the endpoint for the File service for all location.
WASTORAGE_API utility::string_t azure::storage::cloud_storage_account::get_shared_access_signature | ( | const account_shared_access_policy & | policy | ) | const |
Returns a shared access signature for the account.
policy | The access policy for the shared access signature. |
|
inline |
Indicates whether the storage account has been initialized.
true
if the storage account has been initialized.
|
static |
Parses a connection string and returns an azure::storage::cloud_storage_account created from the connection string.
connection_string | A valid connection string. |
|
inline |
Gets the endpoint for the Queue service for all location.
|
inline |
Gets the endpoint for the Table service for all location.
|
inline |
Returns a connection string for this storage account, without sensitive data.
WASTORAGE_API utility::string_t azure::storage::cloud_storage_account::to_string | ( | bool | export_secrets | ) |
Returns a connection string for the storage account, optionally with sensitive data.
export_secrets | true to include sensitive data in the string; otherwise, false . |