AlertRuleData.Condition Property
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.
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
Azure SDK for .NET