#[non_exhaustive]pub struct UpdateFileSystemInput {
pub file_system_id: Option<String>,
pub client_request_token: Option<String>,
pub storage_capacity: Option<i32>,
pub windows_configuration: Option<UpdateFileSystemWindowsConfiguration>,
pub lustre_configuration: Option<UpdateFileSystemLustreConfiguration>,
pub ontap_configuration: Option<UpdateFileSystemOntapConfiguration>,
pub open_zfs_configuration: Option<UpdateFileSystemOpenZfsConfiguration>,
pub storage_type: Option<StorageType>,
}
Expand description
The request object for the UpdateFileSystem
operation.
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.file_system_id: Option<String>
The ID of the file system that you are updating.
client_request_token: Option<String>
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
storage_capacity: Option<i32>
Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2 SSD
deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDD
file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1
file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.
For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
windows_configuration: Option<UpdateFileSystemWindowsConfiguration>
The configuration updates for an Amazon FSx for Windows File Server file system.
lustre_configuration: Option<UpdateFileSystemLustreConfiguration>
The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem
operation.
ontap_configuration: Option<UpdateFileSystemOntapConfiguration>
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
open_zfs_configuration: Option<UpdateFileSystemOpenZfsConfiguration>
The configuration updates for an FSx for OpenZFS file system.
storage_type: Option<StorageType>
Specifies the file system's storage type.
Implementations§
source§impl UpdateFileSystemInput
impl UpdateFileSystemInput
sourcepub fn file_system_id(&self) -> Option<&str>
pub fn file_system_id(&self) -> Option<&str>
The ID of the file system that you are updating.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn storage_capacity(&self) -> Option<i32>
pub fn storage_capacity(&self) -> Option<i32>
Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2 SSD
deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDD
file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1
file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the FSx for Lustre User Guide.
For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity in the FSx for OpenZFS User Guide.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSxfor Windows File Server User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
sourcepub fn windows_configuration(
&self
) -> Option<&UpdateFileSystemWindowsConfiguration>
pub fn windows_configuration( &self ) -> Option<&UpdateFileSystemWindowsConfiguration>
The configuration updates for an Amazon FSx for Windows File Server file system.
sourcepub fn lustre_configuration(
&self
) -> Option<&UpdateFileSystemLustreConfiguration>
pub fn lustre_configuration( &self ) -> Option<&UpdateFileSystemLustreConfiguration>
The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem
operation.
sourcepub fn ontap_configuration(&self) -> Option<&UpdateFileSystemOntapConfiguration>
pub fn ontap_configuration(&self) -> Option<&UpdateFileSystemOntapConfiguration>
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
sourcepub fn open_zfs_configuration(
&self
) -> Option<&UpdateFileSystemOpenZfsConfiguration>
pub fn open_zfs_configuration( &self ) -> Option<&UpdateFileSystemOpenZfsConfiguration>
The configuration updates for an FSx for OpenZFS file system.
sourcepub fn storage_type(&self) -> Option<&StorageType>
pub fn storage_type(&self) -> Option<&StorageType>
Specifies the file system's storage type.
source§impl UpdateFileSystemInput
impl UpdateFileSystemInput
sourcepub fn builder() -> UpdateFileSystemInputBuilder
pub fn builder() -> UpdateFileSystemInputBuilder
Creates a new builder-style object to manufacture UpdateFileSystemInput
.
Trait Implementations§
source§impl Clone for UpdateFileSystemInput
impl Clone for UpdateFileSystemInput
source§fn clone(&self) -> UpdateFileSystemInput
fn clone(&self) -> UpdateFileSystemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFileSystemInput
impl Debug for UpdateFileSystemInput
source§impl PartialEq for UpdateFileSystemInput
impl PartialEq for UpdateFileSystemInput
source§fn eq(&self, other: &UpdateFileSystemInput) -> bool
fn eq(&self, other: &UpdateFileSystemInput) -> bool
self
and other
values to be equal, and is used
by ==
.