GetBackupByStorageQueryDescription Class

Describes additional filters to be applied, while listing backups, and backup storage details from where to fetch the backups.

All required parameters must be populated in order to send to Azure.

Inheritance
GetBackupByStorageQueryDescription

Constructor

GetBackupByStorageQueryDescription(*, storage, backup_entity, start_date_time_filter=None, end_date_time_filter=None, latest: bool = False, **kwargs) -> None

Parameters

start_date_time_filter
datetime
Required

Specifies the start date time in ISO8601 from which to enumerate backups. If not specified, backups are enumerated from the beginning.

end_date_time_filter
datetime
Required

Specifies the end date time in ISO8601 till which to enumerate backups. If not specified, backups are enumerated till the end.

latest
bool
Required

If specified as true, gets the most recent backup (within the specified time range) for every partition under the specified backup entity. Default value: False .

storage
BackupStorageDescription
Required

Required. Describes the parameters for the backup storage from where to enumerate backups. This is optional and by default backups are enumerated from the backup storage where this backup entity is currently being backed up (as specified in backup policy). This parameter is useful to be able to enumerate backups from another cluster where you may intend to restore.

backup_entity
BackupEntity
Required

Required. Indicates the entity for which to enumerate backups.