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.
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
File name where to save data source results (after running pulumi preview
).
scaling Group Id
Scaling group id the alarms belong to.
See also
Return
A collection of values returned by getAlarms.
Parameters
argument
Builder for com.pulumi.alicloud.ess.kotlin.inputs.GetAlarmsPlainArgs.