AlertRulePropertiesResponse

data class AlertRulePropertiesResponse(val actionGroups: List<String>? = null, val alertQueryParameters: List<AlertQueryParameterResponse>? = null, val autoMitigate: String? = null, val dimension: String? = null, val evaluationFrequency: Int? = null, val failingPeriodsOperator: String? = null, val failingPeriodsToAlert: Int? = null, val muteActionsDuration: Int? = null, val severity: Int? = null, val status: String? = null, val threshold: Int? = null, val thresholdOperator: String? = null, val windowSize: Int? = null)

Describes the properties of an alert.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val actionGroups: 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: String? = null

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

Link copied to clipboard
val dimension: String? = null

Evaluation of metric on a particular column.

Link copied to clipboard

How often the scheduled query rule is evaluated.

Link copied to clipboard

The operator for failing periods.

Link copied to clipboard

The number of failing periods to trigger an alert.

Link copied to clipboard

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

Link copied to clipboard
val severity: Int? = null

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

Link copied to clipboard
val status: String? = null

Indicates whether the alert is in an enabled state.

Link copied to clipboard
val threshold: Int? = null

The threshold of the alert.

Link copied to clipboard

The threshold operator of the alert.

Link copied to clipboard
val windowSize: Int? = null

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