Threshold Rule Condition Response
data class ThresholdRuleConditionResponse(val dataSource: Either<RuleManagementEventDataSourceResponse, RuleMetricDataSourceResponse>? = null, val odataType: String, val operator: String, val threshold: Double, val timeAggregation: String? = null, val windowSize: String? = null)
A rule condition based on a metric crossing a threshold.
Constructors
Link copied to clipboard
fun ThresholdRuleConditionResponse(dataSource: Either<RuleManagementEventDataSourceResponse, RuleMetricDataSourceResponse>? = null, odataType: String, operator: String, threshold: Double, timeAggregation: String? = null, windowSize: String? = null)
Types
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'.