BackupShortTermRetentionPolicy Class

A short term retention policy.

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

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
BackupShortTermRetentionPolicy

Constructor

BackupShortTermRetentionPolicy(*, retention_days: typing.Union[int, NoneType] = None, diff_backup_interval_in_hours: typing.Union[int, _ForwardRef('DiffBackupIntervalInHours'), NoneType] = None, **kwargs)

Parameters

retention_days
int
Required

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

diff_backup_interval_in_hours
str or DiffBackupIntervalInHours
Required

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. Possible values include: 12, 24.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.