Table of Contents

Class MetricsProperties

Namespace
Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly
Microsoft.WindowsAzure.Storage.dll

Class representing the service properties pertaining to metrics.

public sealed class MetricsProperties
Inheritance
MetricsProperties
Inherited Members

Constructors

MetricsProperties()

Initializes a new instance of the MetricsProperties class.

public MetricsProperties()

MetricsProperties(string)

Initializes a new instance of the MetricsProperties class.

public MetricsProperties(string version)

Parameters

version string

Properties

MetricsLevel

Gets or sets the state of metrics collection.

public MetricsLevel MetricsLevel { get; set; }

Property Value

MetricsLevel

A MetricsLevel value indicating which metrics to collect, if any.

RetentionDays

Gets or sets the logging retention policy.

public int? RetentionDays { get; set; }

Property Value

int?

The number of days to retain the logs.

Version

Gets or sets the version of the analytics service.

public string Version { get; set; }

Property Value

string

A string identifying the version of the service.