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

AlertingAction 类

定义

指定当规则类型为 Alert 时需要执行的操作

[Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction")]
public class AlertingAction : Microsoft.Azure.Management.Monitor.Models.Action
[<Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction")>]
type AlertingAction = class
    inherit Action
Public Class AlertingAction
Inherits Action
继承
AlertingAction
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

AlertingAction()

初始化 AlertingAction 类的新实例。

AlertingAction(String, TriggerCondition, AzNsActionGroup, Nullable<Int32>)

初始化 AlertingAction 类的新实例。

属性

AznsAction

获取或设置 azure 操作组引用。

Severity

获取或设置警报的严重性。 可能的值包括:“0”、“1”、“2”、“3”、“4”

ThrottlingInMin

获取或设置应限制或取消警报) 时间 (分钟。

Trigger

获取或设置导致警报规则为 的触发条件。

方法

Validate()

验证 对象。

适用于