ScheduledQueryRulesAlertV2CriteriaArgs

data class ScheduledQueryRulesAlertV2CriteriaArgs(val dimensions: Output<List<ScheduledQueryRulesAlertV2CriteriaDimensionArgs>>? = null, val failingPeriods: Output<ScheduledQueryRulesAlertV2CriteriaFailingPeriodsArgs>? = null, val metricMeasureColumn: Output<String>? = null, val operator: Output<String>, val query: Output<String>, val resourceIdColumn: Output<String>? = null, val threshold: Output<Double>, val timeAggregationMethod: Output<String>) : ConvertibleToJava<ScheduledQueryRulesAlertV2CriteriaArgs>

Constructors

Link copied to clipboard
constructor(dimensions: Output<List<ScheduledQueryRulesAlertV2CriteriaDimensionArgs>>? = null, failingPeriods: Output<ScheduledQueryRulesAlertV2CriteriaFailingPeriodsArgs>? = null, metricMeasureColumn: Output<String>? = null, operator: Output<String>, query: Output<String>, resourceIdColumn: Output<String>? = null, threshold: Output<Double>, timeAggregationMethod: Output<String>)

Properties

Link copied to clipboard

A dimension block as defined below.

Link copied to clipboard

A failing_periods block as defined below.

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

Specifies the column containing the metric measure number.

Link copied to clipboard
val operator: Output<String>

Specifies the criteria operator. Possible values are Equal, GreaterThan, GreaterThanOrEqual, LessThan,and LessThanOrEqual.

Link copied to clipboard
val query: Output<String>

The query to run on logs. The results returned by this query are used to populate the alert.

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

Specifies the column containing the resource ID. The content of the column must be an uri formatted as resource ID.

Link copied to clipboard
val threshold: Output<Double>

Specifies the criteria threshold value that activates the alert.

Link copied to clipboard

The type of aggregation to apply to the data points in aggregation granularity. Possible values are Average, Count, Maximum, Minimum,and Total.

Functions

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