<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.7" />

Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties

public sealed class MetricsProperties
Class representing the service properties pertaining to metrics.
public MetricsLevel MetricsLevel { get; set; }

Gets or sets the state of metrics collection.

public int? RetentionDays { get; set; }

Gets or sets the logging retention policy.

public string Version { get; set; }

Gets or sets the version of the analytics service.

Initializes a new instance of the MetricsProperties class.

public MetricsProperties(string version)

Initializes a new instance of the MetricsProperties class.