GetAlarmsAlarm

data class GetAlarmsAlarm(val alarmActions: List<String>, val cloudMonitorGroupId: Int, val comparisonOperator: String, val description: String, val dimensions: Map<String, String>, val enable: Boolean, val evaluationCount: Int, val id: String, val metricName: String, val metricType: String, val name: String, val period: Int, val scalingGroupId: String, val state: String, val statistics: String, val threshold: String)

Constructors

Link copied to clipboard
constructor(alarmActions: List<String>, cloudMonitorGroupId: Int, comparisonOperator: String, description: String, dimensions: Map<String, String>, enable: Boolean, evaluationCount: Int, id: String, metricName: String, metricType: String, name: String, period: Int, scalingGroupId: String, state: String, statistics: String, threshold: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of actions to execute when this alarm transition into an ALARM state. Each action is specified as ess scaling rule ari.

Link copied to clipboard

Defines the application group id defined by CMS which is assigned when you upload custom metric to CMS, only available for custom metirc.

Link copied to clipboard

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.

Link copied to clipboard

The description for the alarm.

Link copied to clipboard

The dimension map for the alarm's associated metric.

Link copied to clipboard

Whether to enable specific ess alarm.

Link copied to clipboard

The number of times that needs to satisfies comparison condition before transition into ALARM state.

Link copied to clipboard
val id: String

The id of alarm.

Link copied to clipboard

The name for the alarm's associated metric.

Link copied to clipboard

The type for the alarm's associated metric. Supported value: system, custom. "system" means the metric data is collected by Aliyun Cloud Monitor Service(CMS), "custom" means the metric data is upload to CMS by users. Defaults to system.

Link copied to clipboard

The name for ess alarm.

Link copied to clipboard
val period: Int

The period in seconds over which the specified statistic is applied.

Link copied to clipboard

Scaling group id the alarms belong to.

Link copied to clipboard

The state of alarm task.

Link copied to clipboard

The statistic to apply to the alarm's associated metric.

Link copied to clipboard

The value against which the specified statistics is compared.