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

WebhookReceiver 构造函数

定义

重载

WebhookReceiver()

初始化 WebhookReceiver 类的新实例。

WebhookReceiver(String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

初始化 WebhookReceiver 类的新实例。

WebhookReceiver()

初始化 WebhookReceiver 类的新实例。

public WebhookReceiver ();
Public Sub New ()

适用于

WebhookReceiver(String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

初始化 WebhookReceiver 类的新实例。

public WebhookReceiver (string name, string serviceUri, bool? useCommonAlertSchema = default, bool? useAadAuth = default, string objectId = default, string identifierUri = default, string tenantId = default);
new Microsoft.Azure.Management.Monitor.Models.WebhookReceiver : string * string * Nullable<bool> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Monitor.Models.WebhookReceiver
Public Sub New (name As String, serviceUri As String, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional useAadAuth As Nullable(Of Boolean) = Nothing, Optional objectId As String = Nothing, Optional identifierUri As String = Nothing, Optional tenantId As String = Nothing)

参数

name
String

Webhook 接收器的名称。 名称在操作组内的所有接收器中必须是唯一的。

serviceUri
String

应在其中发送 Webhook 的 URI。

useCommonAlertSchema
Nullable<Boolean>

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

useAadAuth
Nullable<Boolean>

指示是否使用 AAD 身份验证。

objectId
String

指示用于 aad 身份验证的 Webhook 应用对象 ID。

identifierUri
String

指示 aad 身份验证的标识符 URI。

tenantId
String

指示 aad auth 的租户 ID。

适用于