MetricAvailability Constructors

Definition

Overloads

MetricAvailability()

Initializes a new instance of the MetricAvailability class.

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

Initializes a new instance of the MetricAvailability class.

MetricAvailability()

Initializes a new instance of the MetricAvailability class.

public MetricAvailability ();
Public Sub New ()

Applies to

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

Initializes a new instance of the MetricAvailability class.

public MetricAvailability (TimeSpan? timeGrain = default, TimeSpan? retention = default);
new Microsoft.Azure.Management.Monitor.Models.MetricAvailability : Nullable<TimeSpan> * Nullable<TimeSpan> -> Microsoft.Azure.Management.Monitor.Models.MetricAvailability
Public Sub New (Optional timeGrain As Nullable(Of TimeSpan) = Nothing, Optional retention As Nullable(Of TimeSpan) = Nothing)

Parameters

timeGrain
Nullable<TimeSpan>

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

retention
Nullable<TimeSpan>

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

Applies to