你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EmailReceiver 构造函数

定义

重载

EmailReceiver()

初始化 EmailReceiver 类的新实例。

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

初始化 EmailReceiver 类的新实例。

EmailReceiver()

初始化 EmailReceiver 类的新实例。

public EmailReceiver ();
Public Sub New ()

适用于

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

初始化 EmailReceiver 类的新实例。

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)

参数

name
String

电子邮件接收方的名称。 名称在操作组内的所有接收方中必须是唯一的。

emailAddress
String

此接收方的电子邮件地址。

useCommonAlertSchema
Nullable<Boolean>

指示是否使用通用警报架构。

status
Nullable<ReceiverStatus>

电子邮件的接收方状态。 可能的值包括:“NotSpecified”、“Enabled”、“Disabled”

适用于