getAlarms

This data source provides available alarm resources.

NOTE Available in 1.72.0+

Return

A collection of values returned by getAlarms.

Parameters

argument

A collection of arguments for invoking getAlarms.


suspend fun getAlarms(ids: List<String>? = null, metricType: String? = null, nameRegex: String? = null, outputFile: String? = null, scalingGroupId: String? = null): GetAlarmsResult

Return

A collection of values returned by getAlarms.

See also

Parameters

ids

A list of alarm IDs.

metricType

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.

nameRegex

A regex string to filter resulting alarms by name.

outputFile
scalingGroupId

Scaling group id the alarms belong to.


suspend fun getAlarms(argument: suspend GetAlarmsPlainArgsBuilder.() -> Unit): GetAlarmsResult

Return

A collection of values returned by getAlarms.

See also

Parameters

argument

Builder for com.pulumi.alicloud.ess.kotlin.inputs.GetAlarmsPlainArgs.