ArmMonitorModelFactory.MonitorEmailReceiver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- status
- Nullable<MonitorReceiverStatus>
The receiver status of the e-mail.
Returns
A new MonitorEmailReceiver instance for mocking.