Condition Args
data class ConditionArgs(val dimensions: Output<List<DimensionArgs>>? = null, val failingPeriods: Output<ConditionFailingPeriodsArgs>? = null, val metricMeasureColumn: Output<String>? = null, val metricName: Output<String>? = null, val operator: Output<Either<String, ConditionOperator>>? = null, val query: Output<String>? = null, val resourceIdColumn: Output<String>? = null, val threshold: Output<Double>? = null, val timeAggregation: Output<Either<String, TimeAggregation>>? = null) : ConvertibleToJava<ConditionArgs>
A condition of the scheduled query rule.
Constructors
Link copied to clipboard
constructor(dimensions: Output<List<DimensionArgs>>? = null, failingPeriods: Output<ConditionFailingPeriodsArgs>? = null, metricMeasureColumn: Output<String>? = null, metricName: Output<String>? = null, operator: Output<Either<String, ConditionOperator>>? = null, query: Output<String>? = null, resourceIdColumn: Output<String>? = null, threshold: Output<Double>? = null, timeAggregation: Output<Either<String, TimeAggregation>>? = null)
Properties
Link copied to clipboard
List of Dimensions conditions
Link copied to clipboard
The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
Link copied to clipboard
The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
Link copied to clipboard
The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
Link copied to clipboard
The criteria operator. Relevant and required only for rules of the kind LogAlert.
Link copied to clipboard
The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
Link copied to clipboard
Aggregation type. Relevant and required only for rules of the kind LogAlert.