-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MetricAlertStatusProperties.cs
41 lines (35 loc) · 1.52 KB
/
MetricAlertStatusProperties.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
35
36
37
38
39
40
41
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Monitor.Models
{
/// <summary> An alert status properties. </summary>
public partial class MetricAlertStatusProperties
{
/// <summary> Initializes a new instance of MetricAlertStatusProperties. </summary>
internal MetricAlertStatusProperties()
{
Dimensions = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of MetricAlertStatusProperties. </summary>
/// <param name="dimensions"> An object describing the type of the dimensions. </param>
/// <param name="status"> status value. </param>
/// <param name="timestamp"> UTC time when the status was checked. </param>
internal MetricAlertStatusProperties(IReadOnlyDictionary<string, string> dimensions, string status, DateTimeOffset? timestamp)
{
Dimensions = dimensions;
Status = status;
Timestamp = timestamp;
}
/// <summary> An object describing the type of the dimensions. </summary>
public IReadOnlyDictionary<string, string> Dimensions { get; }
/// <summary> status value. </summary>
public string Status { get; }
/// <summary> UTC time when the status was checked. </summary>
public DateTimeOffset? Timestamp { get; }
}
}