你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebhookReceiver 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。
- objectId
- String
指示用于 aad 身份验证的 Webhook 应用对象 ID。
- identifierUri
- String
指示 aad 身份验证的标识符 URI。
- tenantId
- String
指示 aad auth 的租户 ID。