/
SecurityInsightsAlertRuleTemplateData.cs
41 lines (35 loc) · 1.88 KB
/
SecurityInsightsAlertRuleTemplateData.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 Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.SecurityInsights.Models;
namespace Azure.ResourceManager.SecurityInsights
{
/// <summary>
/// A class representing the SecurityInsightsAlertRuleTemplate data model.
/// Alert rule template.
/// Please note <see cref="SecurityInsightsAlertRuleTemplateData"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="SecurityInsightsFusionAlertRuleTemplate"/>, <see cref="MicrosoftSecurityIncidentCreationAlertRuleTemplate"/> and <see cref="ScheduledAlertRuleTemplate"/>.
/// </summary>
public partial class SecurityInsightsAlertRuleTemplateData : ResourceData
{
/// <summary> Initializes a new instance of SecurityInsightsAlertRuleTemplateData. </summary>
public SecurityInsightsAlertRuleTemplateData()
{
}
/// <summary> Initializes a new instance of SecurityInsightsAlertRuleTemplateData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="kind"> The alert rule kind. </param>
internal SecurityInsightsAlertRuleTemplateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AlertRuleKind kind) : base(id, name, resourceType, systemData)
{
Kind = kind;
}
/// <summary> The alert rule kind. </summary>
internal AlertRuleKind Kind { get; set; }
}
}