Condividi tramite


ArmMonitorModelFactory.MonitorEmailReceiver Method

Definition

Initializes a new instance of MonitorEmailReceiver.

public static Azure.ResourceManager.Monitor.Models.MonitorEmailReceiver MonitorEmailReceiver(string name = default, string emailAddress = default, bool? useCommonAlertSchema = default, Azure.ResourceManager.Monitor.Models.MonitorReceiverStatus? status = default);
static member MonitorEmailReceiver : string * string * Nullable<bool> * Nullable<Azure.ResourceManager.Monitor.Models.MonitorReceiverStatus> -> Azure.ResourceManager.Monitor.Models.MonitorEmailReceiver
Public Shared Function MonitorEmailReceiver (Optional name As String = Nothing, Optional emailAddress As String = Nothing, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of MonitorReceiverStatus) = Nothing) As MonitorEmailReceiver

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<MonitorReceiverStatus>

The receiver status of the e-mail.

Returns

A new MonitorEmailReceiver instance for mocking.

Applies to