ManagementEventRuleConditionArgs

data class ManagementEventRuleConditionArgs(val aggregation: Output<ManagementEventAggregationConditionArgs>? = null, val dataSource: Output<Either<RuleManagementEventDataSourceArgs, RuleMetricDataSourceArgs>>? = null, val odataType: Output<String>) : ConvertibleToJava<ManagementEventRuleConditionArgs>

A management event rule condition.

Constructors

Link copied to clipboard
constructor(aggregation: Output<ManagementEventAggregationConditionArgs>? = null, dataSource: Output<Either<RuleManagementEventDataSourceArgs, RuleMetricDataSourceArgs>>? = null, odataType: Output<String>)

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
val odataType: Output<String>

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'.

Functions

Link copied to clipboard
open override fun toJava(): ManagementEventRuleConditionArgs