AlertRuleCondition.DataSource 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 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