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++.
|
Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service. More...
Public Member Functions | |
cloud_queue_client () | |
Initializes a new instance of the azure::storage::cloud_queue_client class. More... | |
cloud_queue_client (storage_uri base_uri) | |
Initializes a new instance of the azure::storage::cloud_queue_client class. More... | |
cloud_queue_client (storage_uri base_uri, azure::storage::storage_credentials credentials) | |
Initializes a new instance of the azure::storage::cloud_queue_client class. More... | |
cloud_queue_client (storage_uri base_uri, azure::storage::storage_credentials credentials, queue_request_options default_request_options) | |
Initializes a new instance of the azure::storage::cloud_queue_client class using the specified Queue service endpoint and account credentials. More... | |
queue_result_iterator | list_queues () const |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues. More... | |
queue_result_iterator | list_queues (const utility::string_t &prefix) const |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues that begin with the specified prefix. More... | |
WASTORAGE_API queue_result_iterator | list_queues (const utility::string_t &prefix, bool get_metadata, utility::size64_t max_results, const queue_request_options &options, operation_context context) const |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues that begin with the specified prefix. More... | |
queue_result_segment | list_queues_segmented (const continuation_token &token) const |
Returns a result segment containing a collection of queues in the storage account. More... | |
queue_result_segment | list_queues_segmented (const utility::string_t &prefix, const continuation_token &token) const |
Returns a result segment containing a collection of queues in the storage account. More... | |
queue_result_segment | list_queues_segmented (const utility::string_t &prefix, bool get_metadata, int max_results, const continuation_token &token, const queue_request_options &options, operation_context context) const |
Returns a result segment containing a collection of queues in the storage account. More... | |
pplx::task< queue_result_segment > | list_queues_segmented_async (const continuation_token &token) const |
Intitiates an asynchronous operation to return a result segment containing a collection of queue items. More... | |
pplx::task< queue_result_segment > | list_queues_segmented_async (const utility::string_t &prefix, const continuation_token &token) const |
Intitiates an asynchronous operation to return a result segment containing a collection of queue items. More... | |
WASTORAGE_API pplx::task< queue_result_segment > | list_queues_segmented_async (const utility::string_t &prefix, bool get_metadata, int max_results, const continuation_token &token, const queue_request_options &options, operation_context context) const |
Returns a result segment containing a collection of queues in the storage account. More... | |
service_properties | download_service_properties () const |
Gets the service properties for the Queue service client. More... | |
service_properties | download_service_properties (const queue_request_options &options, operation_context context) const |
Gets the service properties for the Queue service client. More... | |
pplx::task< service_properties > | download_service_properties_async () const |
Intitiates an asynchronous operation to get the properties of the service. More... | |
WASTORAGE_API pplx::task< service_properties > | download_service_properties_async (const queue_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to get the properties of the service. More... | |
void | upload_service_properties (const service_properties &properties, const service_properties_includes &includes) const |
Sets the service properties for the Queue service client. More... | |
void | upload_service_properties (const service_properties &properties, const service_properties_includes &includes, const queue_request_options &options, operation_context context) const |
Sets the service properties for the Queue service client. More... | |
pplx::task< void > | upload_service_properties_async (const service_properties &properties, const service_properties_includes &includes) const |
Intitiates an asynchronous operation to set the service properties for the Queue service client. More... | |
WASTORAGE_API pplx::task< void > | upload_service_properties_async (const service_properties &properties, const service_properties_includes &includes, const queue_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to set the service properties for the Queue service client. More... | |
service_stats | download_service_stats () const |
Gets the service stats for the Queue service client. More... | |
service_stats | download_service_stats (const queue_request_options &options, operation_context context) const |
Gets the service stats for the Queue service client. More... | |
pplx::task< service_stats > | download_service_stats_async () const |
Intitiates an asynchronous operation to get the stats of the service. More... | |
WASTORAGE_API pplx::task< service_stats > | download_service_stats_async (const queue_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to get the stats of the service. More... | |
WASTORAGE_API cloud_queue | get_queue_reference (utility::string_t queue_name) const |
Returns a reference to a queue object with the specified name. More... | |
const queue_request_options & | default_request_options () const |
WASTORAGE_API void | set_authentication_scheme (azure::storage::authentication_scheme value) override |
Sets the authentication scheme to use to sign HTTP requests. More... | |
![]() | |
const storage_uri & | base_uri () const |
Gets the base URI for the service client. More... | |
const azure::storage::storage_credentials & | credentials () const |
Gets the storage account credentials for the service client. More... | |
azure::storage::authentication_scheme | authentication_scheme () const |
Gets the authentication scheme to use to sign HTTP requests for the service client. More... | |
std::shared_ptr< protocol::authentication_handler > | authentication_handler () const |
Gets the authentication handler to use to sign HTTP requests. More... | |
Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service.
The service client encapsulates the base URI for the Queue service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account.
|
inline |
Initializes a new instance of the azure::storage::cloud_queue_client class.
|
inlineexplicit |
Initializes a new instance of the azure::storage::cloud_queue_client class.
base_uri | An azure::storage::storage_uri object containing the Queue service endpoint for all locations. |
|
inline |
Initializes a new instance of the azure::storage::cloud_queue_client class.
base_uri | An azure::storage::storage_uri object containing the Queue service endpoint for all locations. |
credentials | The azure::storage::storage_credentials to use. |
|
inline |
Initializes a new instance of the azure::storage::cloud_queue_client class using the specified Queue service endpoint and account credentials.
base_uri | An azure::storage::storage_uri object containing the Queue service endpoint for all locations. |
credentials | The azure::storage::storage_credentials to use. |
default_request_options | The default azure::storage::queue_request_options object to use for all requests made with this client object. |
|
inline |
Gets the service properties for the Queue service client.
|
inline |
Gets the service properties for the Queue service client.
options | An azure::storage::queue_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. |
|
inline |
Intitiates an asynchronous operation to get the properties of the service.
WASTORAGE_API pplx::task<service_properties> azure::storage::cloud_queue_client::download_service_properties_async | ( | const queue_request_options & | options, |
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to get the properties of the service.
options | An azure::storage::queue_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. |
|
inline |
Gets the service stats for the Queue service client.
|
inline |
Gets the service stats for the Queue service client.
options | An azure::storage::queue_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. |
|
inline |
Intitiates an asynchronous operation to get the stats of the service.
WASTORAGE_API pplx::task<service_stats> azure::storage::cloud_queue_client::download_service_stats_async | ( | const queue_request_options & | options, |
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to get the stats of the service.
options | An azure::storage::queue_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. |
WASTORAGE_API cloud_queue azure::storage::cloud_queue_client::get_queue_reference | ( | utility::string_t | queue_name | ) | const |
Returns a reference to a queue object with the specified name.
queue_name | The name of the queue, or an absolute URI to the queue. |
|
inline |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues.
|
inline |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues that begin with the specified prefix.
prefix | The queue name prefix. |
WASTORAGE_API queue_result_iterator azure::storage::cloud_queue_client::list_queues | ( | const utility::string_t & | prefix, |
bool | get_metadata, | ||
utility::size64_t | max_results, | ||
const queue_request_options & | options, | ||
operation_context | context | ||
) | const |
Returns an azure::storage::queue_result_iterator that can be used to to lazily enumerate a collection of queues that begin with the specified prefix.
prefix | The queue name prefix. |
get_metadata | A flag that specifies whether to retrieve queue metadata. |
max_results | A non-negative integer value that indicates the maximum number of results to be returned. If this value is zero, the maximum possible number of results will be returned. |
options | An azure::storage::queue_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. |
|
inline |
Returns a result segment containing a collection of queues in the storage account.
token | A continuation token returned by a previous listing operation. |
|
inline |
Returns a result segment containing a collection of queues in the storage account.
token | A continuation token returned by a previous listing operation. |
prefix | The queue name prefix. |
|
inline |
Returns a result segment containing a collection of queues in the storage account.
token | A continuation token returned by a previous listing operation. |
prefix | The queue name prefix. |
get_metadata | A flag that specifies whether to retrieve queue metadata. |
max_results | A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the per-operation limit of 5000. If this value is 0, the maximum possible number of results will be returned, up to 5000. |
options | An azure::storage::queue_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. |
|
inline |
Intitiates an asynchronous operation to return a result segment containing a collection of queue items.
token | A continuation token returned by a previous listing operation. |
|
inline |
Intitiates an asynchronous operation to return a result segment containing a collection of queue items.
token | A continuation token returned by a previous listing operation. |
prefix | The queue name prefix. |
WASTORAGE_API pplx::task<queue_result_segment> azure::storage::cloud_queue_client::list_queues_segmented_async | ( | const utility::string_t & | prefix, |
bool | get_metadata, | ||
int | max_results, | ||
const continuation_token & | token, | ||
const queue_request_options & | options, | ||
operation_context | context | ||
) | const |
Returns a result segment containing a collection of queues in the storage account.
token | A continuation token returned by a previous listing operation. |
prefix | The queue name prefix. |
get_metadata | A flag that specifies whether to retrieve queue metadata. |
max_results | A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the per-operation limit of 5000. If this value is 0, the maximum possible number of results will be returned, up to 5000. |
options | An azure::storage::queue_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. |
|
overridevirtual |
Sets the authentication scheme to use to sign HTTP requests.
value | The authentication scheme. |
Reimplemented from azure::storage::cloud_client.
|
inline |
Sets the service properties for the Queue service client.
properties | The azure::storage::service_properties for the Queue service client. |
includes | An azure::storage::service_properties_includes enumeration describing which items to include when setting service properties. |
|
inline |
Sets the service properties for the Queue service client.
properties | The azure::storage::service_properties for the Queue service client. |
includes | An azure::storage::service_properties_includes enumeration describing which items to include when setting service properties. |
options | An azure::storage::queue_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. |
|
inline |
Intitiates an asynchronous operation to set the service properties for the Queue service client.
properties | The azure::storage::service_properties for the Queue service client. |
includes | An azure::storage::service_properties_includes enumeration describing which items to include when setting service properties. |
WASTORAGE_API pplx::task<void> azure::storage::cloud_queue_client::upload_service_properties_async | ( | const service_properties & | properties, |
const service_properties_includes & | includes, | ||
const queue_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to set the service properties for the Queue service client.
properties | The azure::storage::service_properties for the Queue service client. |
includes | An azure::storage::service_properties_includes enumeration describing which items to include when setting service properties. |
options | An azure::storage::queue_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. |