get Alarms
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.
metric Type
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.
name Regex
A regex string to filter resulting alarms by name.
output File
scaling Group Id
Scaling group id the alarms belong to.
Return
A collection of values returned by getAlarms.
See also
Parameters
argument
Builder for com.pulumi.alicloud.ess.kotlin.inputs.GetAlarmsPlainArgs.