-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
AnomalyAlert.cs
40 lines (35 loc) · 1.27 KB
/
AnomalyAlert.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
/// <summary>
/// The properties of a triggered alert. An alert is triggered according to the rules set by an
/// <see cref="AnomalyAlertConfiguration"/>.
/// </summary>
[CodeGenModel("AlertResult")]
public partial class AnomalyAlert
{
/// <summary>
/// The unique identifier of this alert.
/// </summary>
[CodeGenMember("AlertId")]
public string Id { get; }
/// <summary>
/// The timestamp, in UTC, of the data points that triggered this alert, as described by
/// the <see cref="DataFeed"/>.
/// </summary>
public DateTimeOffset Timestamp { get; }
/// <summary>
/// The date and time, in UTC, in which this alert entry has been created.
/// </summary>
[CodeGenMember("CreatedTime")]
public DateTimeOffset CreatedOn { get; }
/// <summary>
/// The date and time, in UTC, in which this alert entry has been modified for the last time.
/// </summary>
[CodeGenMember("ModifiedTime")]
public DateTimeOffset LastModified { get; }
}
}