Threshold Rule Condition Args
data class ThresholdRuleConditionArgs(val dataSource: Output<Either<RuleManagementEventDataSourceArgs, RuleMetricDataSourceArgs>>? = null, val odataType: Output<String>, val operator: Output<ConditionOperator>, val threshold: Output<Double>, val timeAggregation: Output<TimeAggregationOperator>? = null, val windowSize: Output<String>? = null) : ConvertibleToJava<ThresholdRuleConditionArgs>
A rule condition based on a metric crossing a threshold.
Constructors
Link copied to clipboard
fun ThresholdRuleConditionArgs(dataSource: Output<Either<RuleManagementEventDataSourceArgs, RuleMetricDataSourceArgs>>? = null, odataType: Output<String>, operator: Output<ConditionOperator>, threshold: Output<Double>, timeAggregation: Output<TimeAggregationOperator>? = null, windowSize: Output<String>? = null)
Functions
Properties
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.ThresholdRuleCondition'.
Link copied to clipboard