tencentcloud_postgresql_backup_plan

Nivis Nix constructor for the tencentcloud_postgresql_backup_plan 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,
  backup_period,
  backup_period_type,
  db_instance_id,
  plan_name,
  backup_method ? null,
  base_backup_retention_period ? null,
  id ? null,
  log_backup_retention_period ? null,
  max_backup_start_time ? null,
  min_backup_start_time ? null,
  overrides ? {}
}
Required arguments
  • backup_period
  • backup_period_type
  • db_instance_id
  • plan_name
Optional arguments
  • backup_method (defaults to null)
  • base_backup_retention_period (defaults to null)
  • id (defaults to null)
  • log_backup_retention_period (defaults to null)
  • max_backup_start_time (defaults to null)
  • min_backup_start_time (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • plan_id
Example
tencentcloud_postgresql_backup_plan {
  name = "postgresql_backup_plan";
  backup_period = …;  # required
  backup_period_type = …;  # required
  db_instance_id = …;  # required
  plan_name = …;  # required
}

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