AlertRuleLeafCondition Constructors

Definition

Overloads

AlertRuleLeafCondition()

Initializes a new instance of the AlertRuleLeafCondition class.

AlertRuleLeafCondition(String, String, IList<String>)

Initializes a new instance of the AlertRuleLeafCondition class.

AlertRuleLeafCondition()

Initializes a new instance of the AlertRuleLeafCondition class.

public AlertRuleLeafCondition ();
Public Sub New ()

Applies to

AlertRuleLeafCondition(String, String, IList<String>)

Initializes a new instance of the AlertRuleLeafCondition class.

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

Applies to