tencentcloud_config_alarm_policyNivis Nix constructor for the tencentcloud_config_alarm_policy resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
event_scope,
notice_period,
notice_time,
notification_mechanism,
risk_level,
status,
type,
description ? null,
id ? null,
cfg_name ? null,
overrides ? {}
}Required arguments
event_scopenotice_periodnotice_timenotification_mechanismrisk_levelstatustype
Optional arguments
description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
alarm_policy_id
Example
tencentcloud_config_alarm_policy {
name = "config_alarm_policy";
event_scope = …; # required
notice_period = …; # required
notice_time = …; # required
notification_mechanism = …; # required
risk_level = …; # required
status = …; # required
type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.