Struct rusoto_fsx::CreateFileSystemRequest
source · [−]pub struct CreateFileSystemRequest {
pub client_request_token: Option<String>,
pub file_system_type: String,
pub kms_key_id: Option<String>,
pub lustre_configuration: Option<CreateFileSystemLustreConfiguration>,
pub security_group_ids: Option<Vec<String>>,
pub storage_capacity: i64,
pub storage_type: Option<String>,
pub subnet_ids: Vec<String>,
pub tags: Option<Vec<Tag>>,
pub windows_configuration: Option<CreateFileSystemWindowsConfiguration>,
}
Expand description
The request object used to create a new Amazon FSx file system.
Fields
client_request_token: Option<String>
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
file_system_type: String
The type of Amazon FSx file system to create, either WINDOWS
or LUSTRE
.
kms_key_id: Option<String>
lustre_configuration: Option<CreateFileSystemLustreConfiguration>
security_group_ids: Option<Vec<String>>
A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system.
storage_capacity: i64
Sets the storage capacity of the file system that you're creating.
For Lustre file systems:
-
For
SCRATCH2
andPERSISTENT1 SSD
deployment types, valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB. -
For
PERSISTENT HDD
file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems. -
For
SCRATCH_1
deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.
For Windows file systems:
-
If
StorageType=SSD
, valid values are 32 GiB - 65,536 GiB (64 TiB). -
If
StorageType=HDD
, valid values are 2000 GiB - 65,536 GiB (64 TiB).
storage_type: Option<String>
Sets the storage type for the file system you're creating. Valid values are SSD
and HDD
.
-
Set to
SSD
to use solid state drive storage. SSD is supported on all Windows and Lustre deployment types. -
Set to
HDD
to use hard disk drive storage. HDD is supported onSINGLE_AZ_2
andMULTI_AZ_1
Windows file system deployment types, and onPERSISTENT
Lustre file system deployment types.
Default value is SSD
. For more information, see Storage Type Options in the Amazon FSx for Windows User Guide and Multiple Storage Options in the Amazon FSx for Lustre User Guide.
subnet_ids: Vec<String>
Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using the WindowsConfiguration > PreferredSubnetID
property. For more information, see Availability and durability: Single-AZ and Multi-AZ file systems.
For Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system deployment types and Lustre file systems, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
The tags to apply to the file system being created. The key value of the Name
tag appears in the console as the file system name.
windows_configuration: Option<CreateFileSystemWindowsConfiguration>
The Microsoft Windows configuration for the file system being created.
Trait Implementations
sourceimpl Clone for CreateFileSystemRequest
impl Clone for CreateFileSystemRequest
sourcefn clone(&self) -> CreateFileSystemRequest
fn clone(&self) -> CreateFileSystemRequest
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 CreateFileSystemRequest
impl Debug for CreateFileSystemRequest
sourceimpl Default for CreateFileSystemRequest
impl Default for CreateFileSystemRequest
sourcefn default() -> CreateFileSystemRequest
fn default() -> CreateFileSystemRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateFileSystemRequest> for CreateFileSystemRequest
impl PartialEq<CreateFileSystemRequest> for CreateFileSystemRequest
sourcefn eq(&self, other: &CreateFileSystemRequest) -> bool
fn eq(&self, other: &CreateFileSystemRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFileSystemRequest) -> bool
fn ne(&self, other: &CreateFileSystemRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateFileSystemRequest
impl Serialize for CreateFileSystemRequest
impl StructuralPartialEq for CreateFileSystemRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateFileSystemRequest
impl Send for CreateFileSystemRequest
impl Sync for CreateFileSystemRequest
impl Unpin for CreateFileSystemRequest
impl UnwindSafe for CreateFileSystemRequest
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