tencentcloud_postgresql_clone_db_instance

Nivis Nix constructor for the tencentcloud_postgresql_clone_db_instance 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,
  auto_renew_flag,
  db_instance_id,
  period,
  spec_code,
  storage,
  subnet_id,
  vpc_id,
  activity_id ? null,
  backup_set_id ? null,
  deletion_protection ? null,
  id ? null,
  instance_charge_type ? null,
  cfg_name ? null,
  project_id ? null,
  recovery_target_time ? null,
  security_group_ids ? null,
  sync_mode ? null,
  tags ? null,
  db_node_set ? null,
  tag_list ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • auto_renew_flag
  • db_instance_id
  • period
  • spec_code
  • storage
  • subnet_id
  • vpc_id
Optional arguments
  • activity_id (defaults to null)
  • backup_set_id (defaults to null)
  • deletion_protection (defaults to null)
  • id (defaults to null)
  • instance_charge_type (defaults to null)
  • cfg_name (defaults to null)
  • project_id (defaults to null)
  • recovery_target_time (defaults to null)
  • security_group_ids (defaults to null)
  • sync_mode (defaults to null)
  • tags (defaults to null)
  • db_node_set (defaults to null)
  • tag_list (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • availability_zone
  • new_db_instance_id
  • private_access_ip
  • private_access_port
  • public_access_host
  • public_access_port
Example
tencentcloud_postgresql_clone_db_instance {
  name = "postgresql_clone_db_instance";
  auto_renew_flag = …;  # required
  db_instance_id = …;  # required
  period = …;  # required
  spec_code = …;  # required
  storage = …;  # required
  subnet_id = …;  # required
  vpc_id = …;  # required
}

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