File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -773,12 +773,16 @@ type AddInstanceSettingsResponse struct {
773773 Settings []* InstanceSetting `json:"settings"`
774774}
775775
776+ // BackupSchedule: backup schedule.
776777type BackupSchedule struct {
778+ // Frequency: frequency of the backup schedule (in hours).
777779 Frequency uint32 `json:"frequency"`
778-
780+ // Retention: default retention period of backups (in days).
779781 Retention uint32 `json:"retention"`
780-
782+ // Disabled: defines whether the backup schedule feature is disabled.
781783 Disabled bool `json:"disabled"`
784+ // NextRunAt: next run of the backup schedule (accurate to 10 minutes).
785+ NextRunAt * time.Time `json:"next_run_at"`
782786}
783787
784788// Database: database.
@@ -2057,6 +2061,8 @@ type UpdateInstanceRequest struct {
20572061 LogsPolicy * LogsPolicy `json:"logs_policy"`
20582062 // BackupSameRegion: store logical backups in the same region as the Database Instance.
20592063 BackupSameRegion * bool `json:"backup_same_region"`
2064+ // BackupScheduleStartHour: defines the start time of the autobackup.
2065+ BackupScheduleStartHour * uint32 `json:"backup_schedule_start_hour"`
20602066}
20612067
20622068// UpdateInstance: update a Database Instance.
You can’t perform that action at this time.
0 commit comments