-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SecurityContactData.cs
48 lines (42 loc) · 2.73 KB
/
SecurityContactData.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
42
43
44
45
46
47
48
// 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.SecurityCenter.Models;
namespace Azure.ResourceManager.SecurityCenter
{
/// <summary> A class representing the SecurityContact data model. </summary>
public partial class SecurityContactData : ResourceData
{
/// <summary> Initializes a new instance of SecurityContactData. </summary>
public SecurityContactData()
{
}
/// <summary> Initializes a new instance of SecurityContactData. </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="emails"> List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact. </param>
/// <param name="phone"> The security contact's phone number. </param>
/// <param name="alertNotifications"> Defines whether to send email notifications about new security alerts. </param>
/// <param name="notificationsByRole"> Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription. </param>
internal SecurityContactData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string emails, string phone, SecurityContactPropertiesAlertNotifications alertNotifications, SecurityContactPropertiesNotificationsByRole notificationsByRole) : base(id, name, resourceType, systemData)
{
Emails = emails;
Phone = phone;
AlertNotifications = alertNotifications;
NotificationsByRole = notificationsByRole;
}
/// <summary> List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact. </summary>
public string Emails { get; set; }
/// <summary> The security contact's phone number. </summary>
public string Phone { get; set; }
/// <summary> Defines whether to send email notifications about new security alerts. </summary>
public SecurityContactPropertiesAlertNotifications AlertNotifications { get; set; }
/// <summary> Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription. </summary>
public SecurityContactPropertiesNotificationsByRole NotificationsByRole { get; set; }
}
}