LongTermRetentionBackup Class
A long term retention backup.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
LongTermRetentionBackup(*, requested_backup_storage_redundancy: str | _models.BackupStorageRedundancy | None = None, is_backup_immutable: bool | None = None, time_based_immutability: str | _models.TimeBasedImmutability | None = None, time_based_immutability_mode: str | _models.TimeBasedImmutabilityMode | None = None, legal_hold_immutability: str | _models.SetLegalHoldImmutability | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
requested_backup_storage_redundancy
|
The storage redundancy type of the backup. Known values are: "Geo", "Local", "Zone", and "GeoZone". Default value: None
|
|
is_backup_immutable
|
The setting whether the LTR backup is immutable. Default value: None
|
|
time_based_immutability
|
The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. Known values are: "Enabled" and "Disabled". Default value: None
|
|
time_based_immutability_mode
|
The time-based immutability mode. Only applicable if time-based immutability is enabled. Known values are: "Locked" and "Unlocked". Default value: None
|
|
legal_hold_immutability
|
The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. Known values are: "Enabled" and "Disabled". Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
server_name
|
The server name that the backup database belong to. |
|
server_create_time
|
The create time of the server. |
|
database_name
|
The name of the database the backup belong to. |
|
database_deletion_time
|
The delete time of the database. |
|
backup_time
|
The time the backup was taken. |
|
backup_expiration_time
|
The time the long term retention backup will expire. |
|
backup_storage_redundancy
|
The storage redundancy type of the backup. Known values are: "Geo", "Local", "Zone", and "GeoZone". |
|
requested_backup_storage_redundancy
|
The storage redundancy type of the backup. Known values are: "Geo", "Local", "Zone", and "GeoZone". |
|
is_backup_immutable
|
The setting whether the LTR backup is immutable. |
|
time_based_immutability
|
The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. Known values are: "Enabled" and "Disabled". |
|
time_based_immutability_mode
|
The time-based immutability mode. Only applicable if time-based immutability is enabled. Known values are: "Locked" and "Unlocked". |
|
legal_hold_immutability
|
The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. Known values are: "Enabled" and "Disabled". |
|
backup_storage_access_tier
|
The BackupStorageAccessTier for the LTR backup. Known values are: "Hot" and "Archive". |