AlertRulePatch.Condition Property

Definition

the condition that results in the alert rule being activated. Please note AlertRuleCondition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include LocationThresholdRuleCondition, ManagementEventRuleCondition and ThresholdRuleCondition.

public Azure.ResourceManager.Monitor.Models.AlertRuleCondition Condition { get; set; }
member this.Condition : Azure.ResourceManager.Monitor.Models.AlertRuleCondition with get, set
Public Property Condition As AlertRuleCondition

Property Value

Applies to