tencentcloud_monitor_alarm_policyNivis Nix constructor for the tencentcloud_monitor_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,
monitor_type,
namespace,
policy_name,
conditon_template_id ? null,
enable ? null,
group_by ? null,
id ? null,
is_bind_all ? null,
notice_ids ? null,
project_id ? null,
remark ? null,
conditions ? null,
event_conditions ? null,
filter ? null,
hierarchical_notices ? null,
notice_content_tmpl_bind_infos ? null,
policy_tag ? null,
trigger_tasks ? null,
overrides ? {}
}Required arguments
monitor_typenamespacepolicy_name
Optional arguments
conditon_template_id(defaults tonull)enable(defaults tonull)group_by(defaults tonull)id(defaults tonull)is_bind_all(defaults tonull)notice_ids(defaults tonull)project_id(defaults tonull)remark(defaults tonull)conditions(defaults tonull)event_conditions(defaults tonull)filter(defaults tonull)hierarchical_notices(defaults tonull)notice_content_tmpl_bind_infos(defaults tonull)policy_tag(defaults tonull)trigger_tasks(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeupdate_time
Example
tencentcloud_monitor_alarm_policy {
name = "monitor_alarm_policy";
monitor_type = …; # required
namespace = …; # required
policy_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.