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

AlertRuleAnyOfOrLeafCondition 构造函数

定义

重载

AlertRuleAnyOfOrLeafCondition()

初始化 AlertRuleAnyOfOrLeafCondition 类的新实例。

AlertRuleAnyOfOrLeafCondition(String, String, IList<String>, IList<AlertRuleLeafCondition>)

初始化 AlertRuleAnyOfOrLeafCondition 类的新实例。

AlertRuleAnyOfOrLeafCondition()

初始化 AlertRuleAnyOfOrLeafCondition 类的新实例。

public AlertRuleAnyOfOrLeafCondition ();
Public Sub New ()

适用于

AlertRuleAnyOfOrLeafCondition(String, String, IList<String>, IList<AlertRuleLeafCondition>)

初始化 AlertRuleAnyOfOrLeafCondition 类的新实例。

public AlertRuleAnyOfOrLeafCondition (string field = default, string equals = default, System.Collections.Generic.IList<string> containsAny = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AlertRuleLeafCondition> anyOf = default);
new Microsoft.Azure.Management.Monitor.Models.AlertRuleAnyOfOrLeafCondition : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AlertRuleLeafCondition> -> Microsoft.Azure.Management.Monitor.Models.AlertRuleAnyOfOrLeafCondition
Public Sub New (Optional field As String = Nothing, Optional equals As String = Nothing, Optional containsAny As IList(Of String) = Nothing, Optional anyOf As IList(Of AlertRuleLeafCondition) = Nothing)

参数

field
String

此条件将检查的活动日志事件的字段的名称。 此字段的可能值 (不区分大小写) :“resourceId”、“category”、“caller”、“level”、“operationName”、“resourceGroup”、“resourceProvider”、“status”、“subStatus”、“resourceType”或以“properties”开头的任何内容。

equals
String

事件字段的值将与此值进行比较, (不区分大小写) 以确定是否满足条件。

containsAny
IList<String>

事件字段的值将与此数组中的值进行比较, (不区分大小写) 以确定是否满足条件。

anyOf
IList<AlertRuleLeafCondition>

活动日志警报规则“anyOf”条件。

适用于