Struct aws_sdk_fsx::types::Backup
source · #[non_exhaustive]pub struct Backup {Show 16 fields
pub backup_id: Option<String>,
pub lifecycle: Option<BackupLifecycle>,
pub failure_details: Option<BackupFailureDetails>,
pub type: Option<BackupType>,
pub progress_percent: Option<i32>,
pub creation_time: Option<DateTime>,
pub kms_key_id: Option<String>,
pub resource_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
pub file_system: Option<FileSystem>,
pub directory_information: Option<ActiveDirectoryBackupAttributes>,
pub owner_id: Option<String>,
pub source_backup_id: Option<String>,
pub source_backup_region: Option<String>,
pub resource_type: Option<ResourceType>,
pub volume: Option<Volume>,
}Expand description
A backup of an Amazon FSx for Windows File Server, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for OpenZFS file system.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.backup_id: Option<String>The ID of the backup.
lifecycle: Option<BackupLifecycle>The lifecycle status of the backup.
-
AVAILABLE- The backup is fully available. -
PENDING- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating the backup. -
CREATING- Amazon FSx is creating the backup. -
TRANSFERRING- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring the backup to Amazon S3. -
COPYING- Amazon FSx is copying the backup. -
DELETED- Amazon FSx deleted the backup and it's no longer available. -
FAILED- Amazon FSx couldn't finish the backup.
failure_details: Option<BackupFailureDetails>Details explaining any failures that occurred when creating a backup.
type: Option<BackupType>The type of the file-system backup.
progress_percent: Option<i32>Displays the current percent of progress of an asynchronous task.
creation_time: Option<DateTime>The time when a particular backup was created.
kms_key_id: Option<String>The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
resource_arn: Option<String>The Amazon Resource Name (ARN) for the backup resource.
The tags associated with a particular file system.
file_system: Option<FileSystem>The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
directory_information: Option<ActiveDirectoryBackupAttributes>The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
owner_id: Option<String>An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.
source_backup_id: Option<String>The ID of the source backup. Specifies the backup that you are copying.
source_backup_region: Option<String>The source Region of the backup. Specifies the Region from where this backup is copied.
resource_type: Option<ResourceType>Specifies the resource type that's backed up.
volume: Option<Volume>Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Implementations§
source§impl Backup
impl Backup
sourcepub fn lifecycle(&self) -> Option<&BackupLifecycle>
pub fn lifecycle(&self) -> Option<&BackupLifecycle>
The lifecycle status of the backup.
-
AVAILABLE- The backup is fully available. -
PENDING- For user-initiated backups on Lustre file systems only; Amazon FSx hasn't started creating the backup. -
CREATING- Amazon FSx is creating the backup. -
TRANSFERRING- For user-initiated backups on Lustre file systems only; Amazon FSx is transferring the backup to Amazon S3. -
COPYING- Amazon FSx is copying the backup. -
DELETED- Amazon FSx deleted the backup and it's no longer available. -
FAILED- Amazon FSx couldn't finish the backup.
sourcepub fn failure_details(&self) -> Option<&BackupFailureDetails>
pub fn failure_details(&self) -> Option<&BackupFailureDetails>
Details explaining any failures that occurred when creating a backup.
sourcepub fn type(&self) -> Option<&BackupType>
pub fn type(&self) -> Option<&BackupType>
The type of the file-system backup.
sourcepub fn progress_percent(&self) -> Option<i32>
pub fn progress_percent(&self) -> Option<i32>
Displays the current percent of progress of an asynchronous task.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when a particular backup was created.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ID of the Key Management Service (KMS) key used to encrypt the backup of the Amazon FSx file system's data at rest.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the backup resource.
The tags associated with a particular file system.
sourcepub fn file_system(&self) -> Option<&FileSystem>
pub fn file_system(&self) -> Option<&FileSystem>
The metadata of the file system associated with the backup. This metadata is persisted even if the file system is deleted.
sourcepub fn directory_information(&self) -> Option<&ActiveDirectoryBackupAttributes>
pub fn directory_information(&self) -> Option<&ActiveDirectoryBackupAttributes>
The configuration of the self-managed Microsoft Active Directory directory to which the Windows File Server instance is joined.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon Resource Names (ARNs) for resources.
sourcepub fn source_backup_id(&self) -> Option<&str>
pub fn source_backup_id(&self) -> Option<&str>
The ID of the source backup. Specifies the backup that you are copying.
sourcepub fn source_backup_region(&self) -> Option<&str>
pub fn source_backup_region(&self) -> Option<&str>
The source Region of the backup. Specifies the Region from where this backup is copied.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
Specifies the resource type that's backed up.