tencentcloud_apm_prometheus_rule

Nivis 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_id
  • metric_match_type
  • metric_name_rule
  • service_name
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • status (defaults to null)
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.