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>,
pub total_transfer_bytes: Option<i64>,
pub remaining_transfer_bytes: Option<i64>,
}
Expand description
Describes a specific Amazon FSx administrative action for the current Windows, Lustre, OpenZFS, or ONTAP file system or volume.
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
). -
THROUGHPUT_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aTHROUGHPUT_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenTHROUGHPUT_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing throughput capacity in the Amazon FSx for Windows File Server User Guide. -
STORAGE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATION
task 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
ProgressPercent
property. WhenSTORAGE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage 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. -
IOPS_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aIOPS_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenIOPS_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing provisioned SSD IOPS in the Amazon FSx for Windows File Server User Guide. -
STORAGE_TYPE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aSTORAGE_TYPE_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenSTORAGE_TYPE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. -
VOLUME_UPDATE
- A volume update to an 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. -
VOLUME_INITIALIZE_WITH_SNAPSHOT
- A volume is being created from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CreateVolume
), or CLI (create-volume
) when using the using theFULL_COPY
strategy. -
VOLUME_UPDATE_WITH_SNAPSHOT
- A volume is being updated from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CopySnapshotAndUpdateVolume
), or CLI (copy-snapshot-and-update-volume
).
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>
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>
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 volume.
target_snapshot_values: Option<Snapshot>
A snapshot of an Amazon FSx for OpenZFS volume.
total_transfer_bytes: Option<i64>
The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
remaining_transfer_bytes: Option<i64>
The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
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
). -
THROUGHPUT_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aTHROUGHPUT_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenTHROUGHPUT_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing throughput capacity in the Amazon FSx for Windows File Server User Guide. -
STORAGE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATION
task 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
ProgressPercent
property. WhenSTORAGE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage 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. -
IOPS_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aIOPS_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenIOPS_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing provisioned SSD IOPS in the Amazon FSx for Windows File Server User Guide. -
STORAGE_TYPE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, aSTORAGE_TYPE_OPTIMIZATION
task starts.You can track the storage-optimization progress using the
ProgressPercent
property. WhenSTORAGE_TYPE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. -
VOLUME_UPDATE
- A volume update to an 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. -
VOLUME_INITIALIZE_WITH_SNAPSHOT
- A volume is being created from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CreateVolume
), or CLI (create-volume
) when using the using theFULL_COPY
strategy. -
VOLUME_UPDATE_WITH_SNAPSHOT
- A volume is being updated from a snapshot on a different FSx for OpenZFS file system. You can initiate this from the Amazon FSx console, API (CopySnapshotAndUpdateVolume
), or CLI (copy-snapshot-and-update-volume
).
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>
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>
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 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.
sourcepub fn total_transfer_bytes(&self) -> Option<i64>
pub fn total_transfer_bytes(&self) -> Option<i64>
The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying.
sourcepub fn remaining_transfer_bytes(&self) -> Option<i64>
pub fn remaining_transfer_bytes(&self) -> Option<i64>
The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying.
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 for AdministrativeAction
impl PartialEq 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 ==
.