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

RuleWebhookAction 类

定义

指定要在计算规则条件时发布到服务的操作。 在这种情况下,鉴别器始终为 RuleWebhookAction。

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleWebhookAction")]
public class RuleWebhookAction : Microsoft.Azure.Management.Monitor.Models.RuleAction
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleWebhookAction")>]
type RuleWebhookAction = class
    inherit RuleAction
Public Class RuleWebhookAction
Inherits RuleAction
继承
RuleWebhookAction
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

RuleWebhookAction()

初始化 RuleWebhookAction 类的新实例。

RuleWebhookAction(String, IDictionary<String,String>)

初始化 RuleWebhookAction 类的新实例。

属性

Properties

获取或设置要包含在 post 操作中的自定义属性的字典。 这些数据追加到 Webhook 有效负载。

ServiceUri

获取或设置服务 URI,以在警报激活或解决时发布通知。

适用于