tencentcloud_mysql_cls_log_attachment

Nivis Nix constructor for the tencentcloud_mysql_cls_log_attachment 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,
  log_set,
  log_topic,
  log_type,
  cls_region ? null,
  create_index ? null,
  create_log_set ? null,
  create_log_topic ? null,
  id ? null,
  period ? null,
  overrides ? {}
}
Required arguments
  • instance_id
  • log_set
  • log_topic
  • log_type
Optional arguments
  • cls_region (defaults to null)
  • create_index (defaults to null)
  • create_log_set (defaults to null)
  • create_log_topic (defaults to null)
  • id (defaults to null)
  • period (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • log_set_id
  • log_topic_id
  • status
Example
tencentcloud_mysql_cls_log_attachment {
  name = "mysql_cls_log_attachment";
  instance_id = …;  # required
  log_set = …;  # required
  log_topic = …;  # required
  log_type = …;  # required
}

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