tencentcloud_cls_metric_subscribe

Nivis Nix constructor for the tencentcloud_cls_metric_subscribe 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,
  namespace,
  topic_id,
  enable ? null,
  id ? null,
  cfg_name ? null,
  instance_info ? null,
  metrics ? null,
  overrides ? {}
}
Required arguments
  • namespace
  • topic_id
Optional arguments
  • enable (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • instance_info (defaults to null)
  • metrics (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • status
  • task_id
Example
tencentcloud_cls_metric_subscribe {
  name = "cls_metric_subscribe";
  namespace = …;  # required
  topic_id = …;  # required
}

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