AlertRulePropertiesArgs

data class AlertRulePropertiesArgs(val actionGroups: Output<List<String>>? = null, val alertQueryParameters: Output<List<AlertQueryParameterArgs>>? = null, val autoMitigate: Output<Either<String, AlertAutoMitigate>>? = null, val dimension: Output<String>? = null, val evaluationFrequency: Output<Int>? = null, val failingPeriodsOperator: Output<Either<String, ConditionalOperator>>? = null, val failingPeriodsToAlert: Output<Int>? = null, val muteActionsDuration: Output<Int>? = null, val severity: Output<Int>? = null, val status: Output<Either<String, AlertRuleStatus>>? = null, val threshold: Output<Int>? = null, val thresholdOperator: Output<Either<String, ConditionalOperator>>? = null, val windowSize: Output<Int>? = null) : ConvertibleToJava<AlertRulePropertiesArgs>

Describes the properties of an alert.

Constructors

Link copied to clipboard
constructor(actionGroups: Output<List<String>>? = null, alertQueryParameters: Output<List<AlertQueryParameterArgs>>? = null, autoMitigate: Output<Either<String, AlertAutoMitigate>>? = null, dimension: Output<String>? = null, evaluationFrequency: Output<Int>? = null, failingPeriodsOperator: Output<Either<String, ConditionalOperator>>? = null, failingPeriodsToAlert: Output<Int>? = null, muteActionsDuration: Output<Int>? = null, severity: Output<Int>? = null, status: Output<Either<String, AlertRuleStatus>>? = null, threshold: Output<Int>? = null, thresholdOperator: Output<Either<String, ConditionalOperator>>? = null, windowSize: Output<Int>? = null)

Properties

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

Action Group resource Ids to invoke when the alert fires

Link copied to clipboard

The alert query parameters.

Link copied to clipboard
val autoMitigate: Output<Either<String, AlertAutoMitigate>>? = null

The value that indicates whether the alert should be automatically resolved or not. The default is Disable.

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

Evaluation of metric on a particular column.

Link copied to clipboard
val evaluationFrequency: Output<Int>? = null

How often the scheduled query rule is evaluated.

Link copied to clipboard
val failingPeriodsOperator: Output<Either<String, ConditionalOperator>>? = null

The operator for failing periods.

Link copied to clipboard
val failingPeriodsToAlert: Output<Int>? = null

The number of failing periods to trigger an alert.

Link copied to clipboard
val muteActionsDuration: Output<Int>? = null

Mute actions for the chosen period of time after the alert is fired.

Link copied to clipboard
val severity: Output<Int>? = null

Severity of the alert. Should be an integer between 0-4. Value of 0 is severest.

Link copied to clipboard
val status: Output<Either<String, AlertRuleStatus>>? = null

Indicates whether the alert is in an enabled state.

Link copied to clipboard
val threshold: Output<Int>? = null

The threshold of the alert.

Link copied to clipboard
val thresholdOperator: Output<Either<String, ConditionalOperator>>? = null

The threshold operator of the alert.

Link copied to clipboard
val windowSize: Output<Int>? = null

The period of time on which the Alert query will be executed.

Functions

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