ConditionArgs

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
val dimensions: Output<List<DimensionArgs>>? = null

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
val metricMeasureColumn: Output<String>? = null

The column containing the metric measure number. Relevant only for rules of the kind LogAlert.

Link copied to clipboard
val metricName: Output<String>? = null

The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.

Link copied to clipboard
val operator: Output<Either<String, ConditionOperator>>? = null

The criteria operator. Relevant and required only for rules of the kind LogAlert.

Link copied to clipboard
val query: Output<String>? = null

Log query alert

Link copied to clipboard
val resourceIdColumn: Output<String>? = null

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
val threshold: Output<Double>? = null

the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.

Link copied to clipboard
val timeAggregation: Output<Either<String, TimeAggregation>>? = null

Aggregation type. Relevant and required only for rules of the kind LogAlert.

Functions

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