Share via


service_properties::metrics_properties Class

An object representing the service properties pertaining to metrics.

class metrics_properties;

Members

Public Constructors

Name Description

service_properties::metrics_properties::metrics_properties Constructor

Overloaded. Initializes a new instance of the azure::storage::service_properties::metrics_properties class.

Public Methods

Name Description

service_properties::metrics_properties::enabled Method

Gets a value indicating whether metrics is enabled for the storage service.

service_properties::metrics_properties::include_apis Method

Gets a value indicating whether metrics should generate summary statistics for called API operations.

service_properties::metrics_properties::retention_days Method

Gets the number of days that metrics data should be retained.

service_properties::metrics_properties::retention_policy_enabled Method

Gets a value indicating whether a retention policy is enabled for metrics.

service_properties::metrics_properties::set_enabled Method

Sets a value indicating whether metrics is enabled for the storage service.

service_properties::metrics_properties::set_include_apis Method

Sets a value indicating whether metrics should generate summary statistics for called API operations.

service_properties::metrics_properties::set_retention_days Method

Sets the number of days that metrics data should be retained.

service_properties::metrics_properties::set_retention_policy_enabled Method

Sets a value indicating whether a retention policy is enabled for metrics.

service_properties::metrics_properties::set_version Method

Gets the version of Storage Analytics to use.

service_properties::metrics_properties::version Method

Gets the version of Storage Analytics in use.

Public Operators

Name Description

service_properties::metrics_properties::operator= Operator

Returns a reference to a metrics_properties object.

Inheritance Hierarchy

metrics_properties

Requirements

Header: common.h

Namespace: azure::storage

See Also

Reference

service_properties Class