Struct aws_sdk_fsx::input::UpdateFileSystemInput
source · [−]#[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>,
}
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 64 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 Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp 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 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 FSx for Windows File Server User Guide.
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 Amazon FSx for Lustre 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 Amazon FSx for OpenZFS file system.
Implementations
sourceimpl UpdateFileSystemInput
impl UpdateFileSystemInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFileSystem, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFileSystem, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateFileSystem
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFileSystemInput
sourceimpl 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 64 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 Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp 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 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 FSx for Windows File Server User Guide.
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 Amazon FSx for Lustre 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 Amazon FSx for OpenZFS file system.
Trait Implementations
sourceimpl Clone for UpdateFileSystemInput
impl Clone for UpdateFileSystemInput
sourcefn clone(&self) -> UpdateFileSystemInput
fn clone(&self) -> UpdateFileSystemInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateFileSystemInput
impl Debug for UpdateFileSystemInput
sourceimpl PartialEq<UpdateFileSystemInput> for UpdateFileSystemInput
impl PartialEq<UpdateFileSystemInput> for UpdateFileSystemInput
sourcefn eq(&self, other: &UpdateFileSystemInput) -> bool
fn eq(&self, other: &UpdateFileSystemInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFileSystemInput) -> bool
fn ne(&self, other: &UpdateFileSystemInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateFileSystemInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateFileSystemInput
impl Send for UpdateFileSystemInput
impl Sync for UpdateFileSystemInput
impl Unpin for UpdateFileSystemInput
impl UnwindSafe for UpdateFileSystemInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more