tencentcloud_postgresql_backup_planNivis 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_periodbackup_period_typedb_instance_idplan_name
Optional arguments
backup_method(defaults tonull)base_backup_retention_period(defaults tonull)id(defaults tonull)log_backup_retention_period(defaults tonull)max_backup_start_time(defaults tonull)min_backup_start_time(defaults tonull)
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.