RuleCondition interface

The condition that results in the alert rule being activated.

Properties

dataSource

the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.

odataType

Polymorphic discriminator, which specifies the different types this object can be

Property Details

dataSource

the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.

dataSource?: RuleDataSourceUnion

Property Value

odataType

Polymorphic discriminator, which specifies the different types this object can be

odataType: "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition" | "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition" | "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"

Property Value

"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition" | "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition" | "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"