alicloud_cms_alarmNivis Nix constructor for the alicloud_cms_alarm resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
contact_groups,
metric,
project,
dimensions ? null,
effective_interval ? null,
enabled ? null,
end_time ? null,
id ? null,
metric_dimensions ? null,
cfg_name ? null,
period ? null,
silence_time ? null,
start_time ? null,
tags ? null,
webhook ? null,
composite_expression ? null,
escalations_critical ? null,
escalations_info ? null,
escalations_warn ? null,
prometheus ? null,
targets ? null,
timeouts ? null,
overrides ? {}
}Required arguments
contact_groupsmetricproject
Optional arguments
dimensions(defaults tonull)effective_interval(defaults tonull)enabled(defaults tonull)end_time(defaults tonull)id(defaults tonull)metric_dimensions(defaults tonull)cfg_name(defaults tonull)period(defaults tonull)silence_time(defaults tonull)start_time(defaults tonull)tags(defaults tonull)webhook(defaults tonull)composite_expression(defaults tonull)escalations_critical(defaults tonull)escalations_info(defaults tonull)escalations_warn(defaults tonull)prometheus(defaults tonull)targets(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
status
Example
alicloud_cms_alarm {
name = "cms_alarm";
contact_groups = …; # required
metric = …; # required
project = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.