다음을 통해 공유


BackupShortTermRetentionPolicy Class

A short term retention policy.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

BackupShortTermRetentionPolicy(*, retention_days: int | None = None, diff_backup_interval_in_hours: int | _models.DiffBackupIntervalInHours | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
retention_days
int

The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

Default value: None
diff_backup_interval_in_hours

The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. Known values are: 12 and 24.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

retention_days
int

The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

diff_backup_interval_in_hours

The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. Known values are: 12 and 24.