AlertRuleAnyOfOrLeafCondition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: Important: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.
- Leaf Condition - must contain 'field' and either 'equals' or 'containsAny'. Please note, 'anyOf' should not be set in a Leaf Condition.
- AnyOf Condition - must contain only 'anyOf' (which is an array of Leaf Conditions). Please note, 'field', 'equals' and 'containsAny' should not be set in an AnyOf Condition.
public class AlertRuleAnyOfOrLeafCondition : Microsoft.Azure.Management.Monitor.Models.AlertRuleLeafCondition
type AlertRuleAnyOfOrLeafCondition = class
inherit AlertRuleLeafCondition
Public Class AlertRuleAnyOfOrLeafCondition
Inherits AlertRuleLeafCondition
- Inheritance
Constructors
AlertRuleAnyOfOrLeafCondition() |
Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class. |
AlertRuleAnyOfOrLeafCondition(String, String, IList<String>, IList<AlertRuleLeafCondition>) |
Initializes a new instance of the AlertRuleAnyOfOrLeafCondition class. |
Properties
AnyOf |
Gets or sets an Activity Log Alert rule 'anyOf' condition. |
ContainsAny |
Gets or sets 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. (Inherited from AlertRuleLeafCondition) |
Equals |
Gets or sets the value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met. (Inherited from AlertRuleLeafCondition) |
Field |
Gets or sets 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'. (Inherited from AlertRuleLeafCondition) |