Share via


MetricAvailability Class

Definition

Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.

public class MetricAvailability
type MetricAvailability = class
Public Class MetricAvailability
Inheritance
MetricAvailability

Constructors

MetricAvailability()

Initializes a new instance of the MetricAvailability class.

MetricAvailability(Nullable<TimeSpan>, Nullable<TimeSpan>)

Initializes a new instance of the MetricAvailability class.

Properties

Retention

Gets or sets the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.

TimeGrain

Gets or sets the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc.

Applies to