Struct aws_sdk_fsx::input::CreateFileSystemFromBackupInput
source · [−]#[non_exhaustive]pub struct CreateFileSystemFromBackupInput {
pub backup_id: Option<String>,
pub client_request_token: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
pub windows_configuration: Option<CreateFileSystemWindowsConfiguration>,
pub lustre_configuration: Option<CreateFileSystemLustreConfiguration>,
pub storage_type: Option<StorageType>,
pub kms_key_id: Option<String>,
pub file_system_type_version: Option<String>,
pub open_zfs_configuration: Option<CreateFileSystemOpenZfsConfiguration>,
}Expand description
The request object for the CreateFileSystemFromBackup 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.backup_id: Option<String>The ID of the source backup. Specifies the backup that you are copying.
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 Command Line Interface (CLI) or an Amazon Web Services SDK.
subnet_ids: Option<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.
Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
security_group_ids: Option<Vec<String>>A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in later DescribeFileSystem requests.
The tags to be applied to the file system at file system creation. The key value of the Name tag appears in the console as the file system name.
windows_configuration: Option<CreateFileSystemWindowsConfiguration>The configuration for this Microsoft Windows file system.
lustre_configuration: Option<CreateFileSystemLustreConfiguration>The Lustre configuration for the file system being created.
The following parameters are not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation to create a data repository association to link your Lustre file system to a data repository.
-
AutoImportPolicy -
ExportPath -
ImportedChunkSize -
ImportPath
storage_type: Option<StorageType>Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values are SSD and HDD.
-
Set to
SSDto use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDDto use hard disk drive storage. HDD is supported onSINGLE_AZ_2andMULTI_AZ_1FSx for Windows File Server file system deployment types.
The default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
kms_key_id: Option<String>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on Amazon FSx file systems, as follows:
-
Amazon FSx for Lustre
PERSISTENT_1andPERSISTENT_2deployment types only.SCRATCH_1andSCRATCH_2types are encrypted using the Amazon FSx service KMS key for your account. -
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
If a KmsKeyId isn't specified, the Amazon FSx-managed KMS key for your account is used. For more information, see Encrypt in the Key Management Service API Reference.
file_system_type_version: Option<String>Sets the version for the Amazon FSx for Lustre file system that you're creating from a backup. Valid values are 2.10 and 2.12.
You don't need to specify FileSystemTypeVersion because it will be applied using the backup's FileSystemTypeVersion setting. If you choose to specify FileSystemTypeVersion when creating from backup, the value must match the backup's FileSystemTypeVersion setting.
open_zfs_configuration: Option<CreateFileSystemOpenZfsConfiguration>The OpenZFS configuration for the file system that's being created.
Implementations
sourceimpl CreateFileSystemFromBackupInput
impl CreateFileSystemFromBackupInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFileSystemFromBackup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateFileSystemFromBackup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateFileSystemFromBackup>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFileSystemFromBackupInput
sourceimpl CreateFileSystemFromBackupInput
impl CreateFileSystemFromBackupInput
sourcepub fn backup_id(&self) -> Option<&str>
pub fn backup_id(&self) -> Option<&str>
The ID of the source backup. Specifies the backup that you are copying.
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 creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[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.
Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in later DescribeFileSystem requests.
The tags to be applied to the file system at file system creation. The key value of the Name tag appears in the console as the file system name.
sourcepub fn windows_configuration(
&self
) -> Option<&CreateFileSystemWindowsConfiguration>
pub fn windows_configuration(
&self
) -> Option<&CreateFileSystemWindowsConfiguration>
The configuration for this Microsoft Windows file system.
sourcepub fn lustre_configuration(
&self
) -> Option<&CreateFileSystemLustreConfiguration>
pub fn lustre_configuration(
&self
) -> Option<&CreateFileSystemLustreConfiguration>
The Lustre configuration for the file system being created.
The following parameters are not supported for file systems with the Persistent_2 deployment type. Instead, use CreateDataRepositoryAssociation to create a data repository association to link your Lustre file system to a data repository.
-
AutoImportPolicy -
ExportPath -
ImportedChunkSize -
ImportPath
sourcepub fn storage_type(&self) -> Option<&StorageType>
pub fn storage_type(&self) -> Option<&StorageType>
Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values are SSD and HDD.
-
Set to
SSDto use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDDto use hard disk drive storage. HDD is supported onSINGLE_AZ_2andMULTI_AZ_1FSx for Windows File Server file system deployment types.
The default value is SSD.
HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on Amazon FSx file systems, as follows:
-
Amazon FSx for Lustre
PERSISTENT_1andPERSISTENT_2deployment types only.SCRATCH_1andSCRATCH_2types are encrypted using the Amazon FSx service KMS key for your account. -
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
If a KmsKeyId isn't specified, the Amazon FSx-managed KMS key for your account is used. For more information, see Encrypt in the Key Management Service API Reference.
sourcepub fn file_system_type_version(&self) -> Option<&str>
pub fn file_system_type_version(&self) -> Option<&str>
Sets the version for the Amazon FSx for Lustre file system that you're creating from a backup. Valid values are 2.10 and 2.12.
You don't need to specify FileSystemTypeVersion because it will be applied using the backup's FileSystemTypeVersion setting. If you choose to specify FileSystemTypeVersion when creating from backup, the value must match the backup's FileSystemTypeVersion setting.
sourcepub fn open_zfs_configuration(
&self
) -> Option<&CreateFileSystemOpenZfsConfiguration>
pub fn open_zfs_configuration(
&self
) -> Option<&CreateFileSystemOpenZfsConfiguration>
The OpenZFS configuration for the file system that's being created.
Trait Implementations
sourceimpl Clone for CreateFileSystemFromBackupInput
impl Clone for CreateFileSystemFromBackupInput
sourcefn clone(&self) -> CreateFileSystemFromBackupInput
fn clone(&self) -> CreateFileSystemFromBackupInput
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 PartialEq<CreateFileSystemFromBackupInput> for CreateFileSystemFromBackupInput
impl PartialEq<CreateFileSystemFromBackupInput> for CreateFileSystemFromBackupInput
sourcefn eq(&self, other: &CreateFileSystemFromBackupInput) -> bool
fn eq(&self, other: &CreateFileSystemFromBackupInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateFileSystemFromBackupInput) -> bool
fn ne(&self, other: &CreateFileSystemFromBackupInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateFileSystemFromBackupInput
Auto Trait Implementations
impl RefUnwindSafe for CreateFileSystemFromBackupInput
impl Send for CreateFileSystemFromBackupInput
impl Sync for CreateFileSystemFromBackupInput
impl Unpin for CreateFileSystemFromBackupInput
impl UnwindSafe for CreateFileSystemFromBackupInput
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