tencentcloud_monitor_tmp_alert_rule

Nivis Nix constructor for the tencentcloud_monitor_tmp_alert_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,
  expr,
  instance_id,
  receivers,
  rule_name,
  duration ? null,
  id ? null,
  rule_state ? null,
  type ? null,
  annotations ? null,
  labels ? null,
  overrides ? {}
}
Required arguments
  • expr
  • instance_id
  • receivers
  • rule_name
Optional arguments
  • duration (defaults to null)
  • id (defaults to null)
  • rule_state (defaults to null)
  • type (defaults to null)
  • annotations (defaults to null)
  • labels (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
tencentcloud_monitor_tmp_alert_rule {
  name = "monitor_tmp_alert_rule";
  expr = …;  # required
  instance_id = …;  # required
  receivers = …;  # required
  rule_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.