-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MonitorMetricAvailability.cs
34 lines (28 loc) · 1.57 KB
/
MonitorMetricAvailability.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Monitor.Models
{
/// <summary> Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain. </summary>
public partial class MonitorMetricAvailability
{
/// <summary> Initializes a new instance of MonitorMetricAvailability. </summary>
internal MonitorMetricAvailability()
{
}
/// <summary> Initializes a new instance of MonitorMetricAvailability. </summary>
/// <param name="timeGrain"> the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. </param>
/// <param name="retention"> the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. </param>
internal MonitorMetricAvailability(TimeSpan? timeGrain, TimeSpan? retention)
{
TimeGrain = timeGrain;
Retention = retention;
}
/// <summary> the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc. </summary>
public TimeSpan? TimeGrain { get; }
/// <summary> the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc. </summary>
public TimeSpan? Retention { get; }
}
}