-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AlertRuleTemplateDataSource.cs
36 lines (30 loc) · 1.31 KB
/
AlertRuleTemplateDataSource.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.SecurityInsights.Models
{
/// <summary> alert rule template data sources. </summary>
public partial class AlertRuleTemplateDataSource
{
/// <summary> Initializes a new instance of AlertRuleTemplateDataSource. </summary>
public AlertRuleTemplateDataSource()
{
DataTypes = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of AlertRuleTemplateDataSource. </summary>
/// <param name="connectorId"> The connector id that provides the following data types. </param>
/// <param name="dataTypes"> The data types used by the alert rule template. </param>
internal AlertRuleTemplateDataSource(string connectorId, IList<string> dataTypes)
{
ConnectorId = connectorId;
DataTypes = dataTypes;
}
/// <summary> The connector id that provides the following data types. </summary>
public string ConnectorId { get; set; }
/// <summary> The data types used by the alert rule template. </summary>
public IList<string> DataTypes { get; }
}
}