EmailReceiver Constructors

Definition

Overloads

EmailReceiver()

Initializes a new instance of the EmailReceiver class.

EmailReceiver(String, String, Nullable<Boolean>, Nullable<ReceiverStatus>)

Initializes a new instance of the EmailReceiver class.

EmailReceiver()

Initializes a new instance of the EmailReceiver class.

public EmailReceiver ();
Public Sub New ()

Applies to

EmailReceiver(String, String, Nullable<Boolean>, Nullable<ReceiverStatus>)

Initializes a new instance of the EmailReceiver class.

public EmailReceiver (string name, string emailAddress, bool? useCommonAlertSchema = default, Microsoft.Azure.Management.Monitor.Models.ReceiverStatus? status = default);
new Microsoft.Azure.Management.Monitor.Models.EmailReceiver : string * string * Nullable<bool> * Nullable<Microsoft.Azure.Management.Monitor.Models.ReceiverStatus> -> Microsoft.Azure.Management.Monitor.Models.EmailReceiver
Public Sub New (name As String, emailAddress As String, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of ReceiverStatus) = Nothing)

Parameters

name
String

The name of the email receiver. Names must be unique across all receivers within an action group.

emailAddress
String

The email address of this receiver.

useCommonAlertSchema
Nullable<Boolean>

Indicates whether to use common alert schema.

status
Nullable<ReceiverStatus>

The receiver status of the e-mail. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'

Applies to