Share via


AlertRuleAnyOfOrLeafCondition Constructors

Definition

Overloads

AlertRuleAnyOfOrLeafCondition()

Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class.

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

Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class.

AlertRuleAnyOfOrLeafCondition()

Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class.

public AlertRuleAnyOfOrLeafCondition ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class.

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)

Parameters

field
String

The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.

equals
String

The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.

containsAny
IList<String>

The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.

anyOf
IList<AlertRuleLeafCondition>

An Activity Log Alert rule 'anyOf' condition.

Applies to