gateway api fixes

This commit is contained in:
Nils Blomgren
2026-05-21 16:57:50 +02:00
parent 8b94fb8826
commit e0f967482e
68 changed files with 44082 additions and 437 deletions

View File

@@ -77,6 +77,12 @@ public class CnpgCluster
/// </summary>
public string? BackupSchedule { get; set; }
/// <summary>
/// Number of days to retain backups. The Barman Cloud Plugin uses this as the
/// recovery window (e.g. "30d"). Expired backups are cleaned up automatically.
/// </summary>
public int RetentionDays { get; set; } = 30;
/// <summary>
/// Current lifecycle status of the cluster.
/// </summary>