Class MetricAvailability
Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class MetricAvailability
Constructors
MetricAvailability()
Initializes a new instance of the MetricAvailability class.
Declaration
public MetricAvailability ();
MetricAvailability(Nullable<TimeSpan>, Nullable<TimeSpan>)
Initializes a new instance of the MetricAvailability class.
Declaration
public MetricAvailability (Nullable<TimeSpan> timeGrain = null, Nullable<TimeSpan> retention = null);
Parameters
|
Nullable<TimeSpan>
timeGrain
the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. |
|
Nullable<TimeSpan>
retention
the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. |
Properties
Retention
Gets or sets the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="retention")]
public Nullable<TimeSpan> Retention { get; set; }
Property Value
|
Nullable<TimeSpan>
|