ConditionArgs

data class ConditionArgs(val alertSensitivity: Output<String>? = null, val criterionType: Output<Either<String, CriterionType>>? = null, val dimensions: Output<List<DimensionArgs>>? = null, val failingPeriods: Output<ConditionFailingPeriodsArgs>? = null, val ignoreDataBefore: Output<String>? = 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(alertSensitivity: Output<String>? = null, criterionType: Output<Either<String, CriterionType>>? = null, dimensions: Output<List<DimensionArgs>>? = null, failingPeriods: Output<ConditionFailingPeriodsArgs>? = null, ignoreDataBefore: Output<String>? = 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 alertSensitivity: Output<String>? = null

The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant and required only for dynamic threshold rules of the kind LogAlert.

Link copied to clipboard
val criterionType: Output<Either<String, CriterionType>>? = null

Specifies the type of threshold criteria

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

Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). Relevant only for dynamic threshold 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 static threshold 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