Struct aws_sdk_fsx::types::AdministrativeAction
source · #[non_exhaustive]pub struct AdministrativeAction {
pub administrative_action_type: Option<AdministrativeActionType>,
pub progress_percent: Option<i32>,
pub request_time: Option<DateTime>,
pub status: Option<Status>,
pub target_file_system_values: Option<FileSystem>,
pub failure_details: Option<AdministrativeActionFailureDetails>,
pub target_volume_values: Option<Volume>,
pub target_snapshot_values: Option<Snapshot>,
}Expand description
Describes a specific Amazon FSx administrative action for the current Windows, Lustre, or 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.administrative_action_type: Option<AdministrativeActionType>Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system). -
STORAGE_OPTIMIZATION- After theFILE_SYSTEM_UPDATEtask to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATIONtask starts.-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the
ProgressPercentproperty. WhenSTORAGE_OPTIMIZATIONhas been completed successfully, the parentFILE_SYSTEM_UPDATEaction status changes toCOMPLETED. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide. -
-
FILE_SYSTEM_ALIAS_ASSOCIATION- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases. -
FILE_SYSTEM_ALIAS_DISASSOCIATION- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases. -
VOLUME_UPDATE- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume), or CLI (update-volume). -
VOLUME_RESTORE- An Amazon FSx for OpenZFS volume is returned to the state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot) or CLI (restore-volume-from-snapshot). -
SNAPSHOT_UPDATE- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). -
RELEASE_NFS_V3_LOCKS- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
progress_percent: Option<i32>The percentage-complete status of a STORAGE_OPTIMIZATION administrative action. Does not apply to any other administrative action type.
request_time: Option<DateTime>The time that the administrative action request was received.
status: Option<Status>Describes the status of the administrative action, as follows:
-
FAILED- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS- Amazon FSx is processing the administrative action. -
PENDING- Amazon FSx is waiting to process the administrative action. -
COMPLETED- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
target_file_system_values: Option<FileSystem>Describes the target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.
failure_details: Option<AdministrativeActionFailureDetails>Provides information about a failed administrative action.
target_volume_values: Option<Volume>Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
target_snapshot_values: Option<Snapshot>A snapshot of an Amazon FSx for OpenZFS volume.
Implementations§
source§impl AdministrativeAction
impl AdministrativeAction
sourcepub fn administrative_action_type(&self) -> Option<&AdministrativeActionType>
pub fn administrative_action_type(&self) -> Option<&AdministrativeActionType>
Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system). -
STORAGE_OPTIMIZATION- After theFILE_SYSTEM_UPDATEtask to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATIONtask starts.-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the
ProgressPercentproperty. WhenSTORAGE_OPTIMIZATIONhas been completed successfully, the parentFILE_SYSTEM_UPDATEaction status changes toCOMPLETED. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide. -
-
FILE_SYSTEM_ALIAS_ASSOCIATION- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases. -
FILE_SYSTEM_ALIAS_DISASSOCIATION- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases. -
VOLUME_UPDATE- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume), or CLI (update-volume). -
VOLUME_RESTORE- An Amazon FSx for OpenZFS volume is returned to the state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot) or CLI (restore-volume-from-snapshot). -
SNAPSHOT_UPDATE- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). -
RELEASE_NFS_V3_LOCKS- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
sourcepub fn progress_percent(&self) -> Option<i32>
pub fn progress_percent(&self) -> Option<i32>
The percentage-complete status of a STORAGE_OPTIMIZATION administrative action. Does not apply to any other administrative action type.
sourcepub fn request_time(&self) -> Option<&DateTime>
pub fn request_time(&self) -> Option<&DateTime>
The time that the administrative action request was received.
sourcepub fn status(&self) -> Option<&Status>
pub fn status(&self) -> Option<&Status>
Describes the status of the administrative action, as follows:
-
FAILED- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS- Amazon FSx is processing the administrative action. -
PENDING- Amazon FSx is waiting to process the administrative action. -
COMPLETED- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
sourcepub fn target_file_system_values(&self) -> Option<&FileSystem>
pub fn target_file_system_values(&self) -> Option<&FileSystem>
Describes the target value for the administration action, provided in the UpdateFileSystem operation. Returned for FILE_SYSTEM_UPDATE administrative actions.
sourcepub fn failure_details(&self) -> Option<&AdministrativeActionFailureDetails>
pub fn failure_details(&self) -> Option<&AdministrativeActionFailureDetails>
Provides information about a failed administrative action.
sourcepub fn target_volume_values(&self) -> Option<&Volume>
pub fn target_volume_values(&self) -> Option<&Volume>
Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
sourcepub fn target_snapshot_values(&self) -> Option<&Snapshot>
pub fn target_snapshot_values(&self) -> Option<&Snapshot>
A snapshot of an Amazon FSx for OpenZFS volume.
source§impl AdministrativeAction
impl AdministrativeAction
sourcepub fn builder() -> AdministrativeActionBuilder
pub fn builder() -> AdministrativeActionBuilder
Creates a new builder-style object to manufacture AdministrativeAction.
Trait Implementations§
source§impl Clone for AdministrativeAction
impl Clone for AdministrativeAction
source§fn clone(&self) -> AdministrativeAction
fn clone(&self) -> AdministrativeAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AdministrativeAction
impl Debug for AdministrativeAction
source§impl PartialEq<AdministrativeAction> for AdministrativeAction
impl PartialEq<AdministrativeAction> for AdministrativeAction
source§fn eq(&self, other: &AdministrativeAction) -> bool
fn eq(&self, other: &AdministrativeAction) -> bool
self and other values to be equal, and is used
by ==.