Share via


AlertRuleCondition.DataSource Property

Definition

the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource. Please note RuleDataSource 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 RuleManagementEventDataSource and RuleMetricDataSource.

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

Property Value

Applies to