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.ProxyResourceBackupShortTermRetentionPolicy
Constructor
BackupShortTermRetentionPolicy(*, retention_days: int | None = None, diff_backup_interval_in_hours: int | DiffBackupIntervalInHours | None = None, **kwargs)
Parameters
Name | Description |
---|---|
retention_days
Required
|
The backup retention period in days. This is how many days Point-in-Time Restore will be supported. |
diff_backup_interval_in_hours
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. |
Keyword-Only Parameters
Name | Description |
---|---|
retention_days
Required
|
|
diff_backup_interval_in_hours
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python