Alarm

Import

Ess alarm can be imported using the id, e.g.

$ pulumi import alicloud:ess/alarm:Alarm example asg-2ze500_045efffe-4d05

Properties

Link copied to clipboard
val alarmActions: Output<List<String>>

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
val cloudMonitorGroupId: Output<Int>?

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. Supported value: >=, <=, >, <. Defaults to >=.

Link copied to clipboard
val description: Output<String>?

The description for the alarm.

Link copied to clipboard
val dimensions: Output<Map<String, Any>>

The dimension map for the alarm's associated metric (documented below). For all metrics, you can not set the dimension key as "scaling_group" or "userId", which is set by default, the second dimension for metric, such as "device" for "PackagesNetIn", need to be set by users.

Link copied to clipboard
val enable: Output<Boolean>?

Whether to enable specific ess alarm. Default to true.

Link copied to clipboard
val evaluationCount: Output<Int>?

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val metricName: Output<String>

The name for the alarm's associated metric. See Block_metricNames_and_dimensions below for details.

Link copied to clipboard
val metricType: Output<String>?

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
val name: Output<String>

The name for ess alarm.

Link copied to clipboard
val period: Output<Int>?

The period in seconds over which the specified statistic is applied. Supported value: 60, 120, 300, 900. Defaults to 300.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scalingGroupId: Output<String>

The scaling group associated with this alarm, the 'ForceNew' attribute is available in 1.56.0+.

Link copied to clipboard
val state: Output<String>

The state of specified alarm.

Link copied to clipboard
val statistics: Output<String>?

The statistic to apply to the alarm's associated metric. Supported value: Average, Minimum, Maximum. Defaults to Average.

Link copied to clipboard
val threshold: Output<String>

The value against which the specified statistics is compared.

Link copied to clipboard
val urn: Output<String>