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++.
|
An object representing the service properties pertaining to metrics. More...
Public Member Functions | |
metrics_properties () | |
Initializes a new instance of the azure::storage::service_properties::metrics_properties class. More... | |
const utility::string_t & | version () const |
Gets the version of Storage Analytics in use. More... | |
void | set_version (utility::string_t value) |
Gets the version of Storage Analytics to use. More... | |
bool | enabled () const |
Gets a value indicating whether metrics is enabled for the storage service. More... | |
void | set_enabled (bool value) |
Sets a value indicating whether metrics is enabled for the storage service. More... | |
bool | include_apis () const |
Gets a value indicating whether metrics should generate summary statistics for called API operations. More... | |
void | set_include_apis (bool value) |
Sets a value indicating whether metrics should generate summary statistics for called API operations. More... | |
bool | retention_policy_enabled () const |
Gets a value indicating whether a retention policy is enabled for metrics. More... | |
void | set_retention_policy_enabled (bool value) |
Sets a value indicating whether a retention policy is enabled for metrics. More... | |
int | retention_days () const |
Gets the number of days that metrics data should be retained. More... | |
void | set_retention_days (int value) |
Sets the number of days that metrics data should be retained. More... | |
An object representing the service properties pertaining to metrics.
|
inline |
Initializes a new instance of the azure::storage::service_properties::metrics_properties class.
|
inline |
Gets a value indicating whether metrics is enabled for the storage service.
true
if metrics is enabled for the storage service; otherwise, false
.
|
inline |
Gets a value indicating whether metrics should generate summary statistics for called API operations.
true
if metrics should generate summary statistics for called API operations; otherwise, false
.
|
inline |
Gets the number of days that metrics data should be retained.
|
inline |
Gets a value indicating whether a retention policy is enabled for metrics.
true
if a retention policy is enabled; otherwise, false
.
|
inline |
Sets a value indicating whether metrics is enabled for the storage service.
value | Use true to enable metrics for the storage service; otherwise, false . |
|
inline |
Sets a value indicating whether metrics should generate summary statistics for called API operations.
value | Use true if metrics should generate summary statistics for called API operations; otherwise, false . |
|
inline |
Sets the number of days that metrics data should be retained.
value | The number of days to retain the metrics data, or 0 to disable the retention policy. |
|
inline |
Sets a value indicating whether a retention policy is enabled for metrics.
value | Use true to enable retention policy; otherwise, false . |
|
inline |
Gets the version of Storage Analytics to use.
value | A string specifying the version of Storage Analytics to use. Set this value to "1.0". |
|
inline |
Gets the version of Storage Analytics in use.