Aracılığıyla paylaş


SecurityContact Constructors

Definition

Overloads

SecurityContact()

Initializes a new instance of the SecurityContact class.

SecurityContact(String, String, String, String, String, SecurityContactPropertiesAlertNotifications, SecurityContactPropertiesNotificationsByRole)

Initializes a new instance of the SecurityContact class.

SecurityContact()

Initializes a new instance of the SecurityContact class.

public SecurityContact ();
Public Sub New ()

Applies to

SecurityContact(String, String, String, String, String, SecurityContactPropertiesAlertNotifications, SecurityContactPropertiesNotificationsByRole)

Initializes a new instance of the SecurityContact class.

public SecurityContact (string id = default, string name = default, string type = default, string emails = default, string phone = default, Microsoft.Azure.Management.Security.Models.SecurityContactPropertiesAlertNotifications alertNotifications = default, Microsoft.Azure.Management.Security.Models.SecurityContactPropertiesNotificationsByRole notificationsByRole = default);
new Microsoft.Azure.Management.Security.Models.SecurityContact : string * string * string * string * string * Microsoft.Azure.Management.Security.Models.SecurityContactPropertiesAlertNotifications * Microsoft.Azure.Management.Security.Models.SecurityContactPropertiesNotificationsByRole -> Microsoft.Azure.Management.Security.Models.SecurityContact
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional emails As String = Nothing, Optional phone As String = Nothing, Optional alertNotifications As SecurityContactPropertiesAlertNotifications = Nothing, Optional notificationsByRole As SecurityContactPropertiesNotificationsByRole = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

emails
String

List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.

phone
String

The security contact's phone number

alertNotifications
SecurityContactPropertiesAlertNotifications

Defines whether to send email notifications about new security alerts

notificationsByRole
SecurityContactPropertiesNotificationsByRole

Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.

Applies to