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

AlertProcessingRuleProperties 构造函数

定义

重载

AlertProcessingRuleProperties()

初始化 AlertProcessingRuleProperties 类的新实例。

AlertProcessingRuleProperties(IList<String>, IList<Action>, IList<Condition>, Schedule, String, Nullable<Boolean>)

初始化 AlertProcessingRuleProperties 类的新实例。

AlertProcessingRuleProperties()

初始化 AlertProcessingRuleProperties 类的新实例。

public AlertProcessingRuleProperties ();
Public Sub New ()

适用于

AlertProcessingRuleProperties(IList<String>, IList<Action>, IList<Condition>, Schedule, String, Nullable<Boolean>)

初始化 AlertProcessingRuleProperties 类的新实例。

public AlertProcessingRuleProperties (System.Collections.Generic.IList<string> scopes, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Action> actions, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Condition> conditions = default, Microsoft.Azure.Management.AlertsManagement.Models.Schedule schedule = default, string description = default, bool? enabled = default);
new Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRuleProperties : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.Condition> * Microsoft.Azure.Management.AlertsManagement.Models.Schedule * string * Nullable<bool> -> Microsoft.Azure.Management.AlertsManagement.Models.AlertProcessingRuleProperties
Public Sub New (scopes As IList(Of String), actions As IList(Of Action), Optional conditions As IList(Of Condition) = Nothing, Optional schedule As Schedule = Nothing, Optional description As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing)

参数

scopes
IList<String>

将应用警报处理规则的范围。

actions
IList<Action>

要应用的操作。

conditions
IList<Condition>

筛选警报的条件。

schedule
Schedule

计划警报处理规则。

description
String

警报处理规则的说明。

enabled
Nullable<Boolean>

指示给定的警报处理规则是启用或禁用的。

适用于