tencentcloud_apm_prometheus_ruleNivis Nix constructor for the tencentcloud_apm_prometheus_rule 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,
instance_id,
metric_match_type,
metric_name_rule,
service_name,
id ? null,
cfg_name ? null,
status ? null,
overrides ? {}
}Required arguments
instance_idmetric_match_typemetric_name_ruleservice_name
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)status(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
rule_id
Example
tencentcloud_apm_prometheus_rule {
name = "apm_prometheus_rule";
instance_id = …; # required
metric_match_type = …; # required
metric_name_rule = …; # required
service_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.