ManagementEventRuleConditionResponse

A management event rule condition.

Constructors

Link copied to clipboard
constructor(aggregation: ManagementEventAggregationConditionResponse? = null, dataSource: Either<RuleManagementEventDataSourceResponse, RuleMetricDataSourceResponse>? = null, odataType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.

Link copied to clipboard

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

Link copied to clipboard

specifies the type of condition. This can be one of three types: ManagementEventRuleCondition (occurrences of management events), LocationThresholdRuleCondition (based on the number of failures of a web test), and ThresholdRuleCondition (based on the threshold of a metric). Expected value is 'Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition'.