ScheduledQueryRulesAlertV2Criteria

data class ScheduledQueryRulesAlertV2Criteria(val dimensions: List<ScheduledQueryRulesAlertV2CriteriaDimension>? = null, val failingPeriods: ScheduledQueryRulesAlertV2CriteriaFailingPeriods? = null, val metricMeasureColumn: String? = null, val operator: String, val query: String, val resourceIdColumn: String? = null, val threshold: Double, val timeAggregationMethod: String)

Constructors

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

Types

Link copied to clipboard
object Companion

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

Specifies the column containing the metric measure number.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.