#[non_exhaustive]pub struct CreateFileSystemOpenZfsConfiguration {
pub automatic_backup_retention_days: Option<i32>,
pub copy_tags_to_backups: Option<bool>,
pub copy_tags_to_volumes: Option<bool>,
pub daily_automatic_backup_start_time: Option<String>,
pub deployment_type: Option<OpenZfsDeploymentType>,
pub throughput_capacity: Option<i32>,
pub weekly_maintenance_start_time: Option<String>,
pub disk_iops_configuration: Option<DiskIopsConfiguration>,
pub root_volume_configuration: Option<OpenZfsCreateRootVolumeConfiguration>,
}
Expand description
The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.
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.automatic_backup_retention_days: Option<i32>
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0
.
A Boolean value indicating whether tags for the file system should be copied to backups. This value defaults to false
. If it's set to true
, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true
, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false
. If it's set to true
, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true
, and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.
daily_automatic_backup_start_time: Option<String>
A recurring daily time, in the format HH:MM
. HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour. For example, 05:00
specifies 5 AM daily.
deployment_type: Option<OpenZfsDeploymentType>
Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1
. SINGLE_AZ_1
deployment type is configured for redundancy within a single Availability Zone.
throughput_capacity: Option<i32>
Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MB/s). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s. You pay for additional throughput capacity that you provision.
weekly_maintenance_start_time: Option<String>
A recurring weekly time, in the format D:HH:MM
.
D
is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour.
For example, 1:05:00
specifies maintenance at 5 AM Monday.
disk_iops_configuration: Option<DiskIopsConfiguration>
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how the amount was provisioned (by the customer or by the system).
root_volume_configuration: Option<OpenZfsCreateRootVolumeConfiguration>
The configuration Amazon FSx uses when creating the root value of the Amazon FSx for OpenZFS file system. All volumes are children of the root volume.
Implementations
sourceimpl CreateFileSystemOpenZfsConfiguration
impl CreateFileSystemOpenZfsConfiguration
sourcepub fn automatic_backup_retention_days(&self) -> Option<i32>
pub fn automatic_backup_retention_days(&self) -> Option<i32>
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0
.
A Boolean value indicating whether tags for the file system should be copied to backups. This value defaults to false
. If it's set to true
, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true
, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false
. If it's set to true
, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true
, and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.
sourcepub fn daily_automatic_backup_start_time(&self) -> Option<&str>
pub fn daily_automatic_backup_start_time(&self) -> Option<&str>
A recurring daily time, in the format HH:MM
. HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour. For example, 05:00
specifies 5 AM daily.
sourcepub fn deployment_type(&self) -> Option<&OpenZfsDeploymentType>
pub fn deployment_type(&self) -> Option<&OpenZfsDeploymentType>
Specifies the file system deployment type. Amazon FSx for OpenZFS supports SINGLE_AZ_1
. SINGLE_AZ_1
deployment type is configured for redundancy within a single Availability Zone.
sourcepub fn throughput_capacity(&self) -> Option<i32>
pub fn throughput_capacity(&self) -> Option<i32>
Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MB/s). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s. You pay for additional throughput capacity that you provision.
sourcepub fn weekly_maintenance_start_time(&self) -> Option<&str>
pub fn weekly_maintenance_start_time(&self) -> Option<&str>
A recurring weekly time, in the format D:HH:MM
.
D
is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour.
For example, 1:05:00
specifies maintenance at 5 AM Monday.
sourcepub fn disk_iops_configuration(&self) -> Option<&DiskIopsConfiguration>
pub fn disk_iops_configuration(&self) -> Option<&DiskIopsConfiguration>
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how the amount was provisioned (by the customer or by the system).
sourcepub fn root_volume_configuration(
&self
) -> Option<&OpenZfsCreateRootVolumeConfiguration>
pub fn root_volume_configuration(
&self
) -> Option<&OpenZfsCreateRootVolumeConfiguration>
The configuration Amazon FSx uses when creating the root value of the Amazon FSx for OpenZFS file system. All volumes are children of the root volume.
sourceimpl CreateFileSystemOpenZfsConfiguration
impl CreateFileSystemOpenZfsConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFileSystemOpenZfsConfiguration
Trait Implementations
sourceimpl Clone for CreateFileSystemOpenZfsConfiguration
impl Clone for CreateFileSystemOpenZfsConfiguration
sourcefn clone(&self) -> CreateFileSystemOpenZfsConfiguration
fn clone(&self) -> CreateFileSystemOpenZfsConfiguration
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<CreateFileSystemOpenZfsConfiguration> for CreateFileSystemOpenZfsConfiguration
impl PartialEq<CreateFileSystemOpenZfsConfiguration> for CreateFileSystemOpenZfsConfiguration
sourcefn eq(&self, other: &CreateFileSystemOpenZfsConfiguration) -> bool
fn eq(&self, other: &CreateFileSystemOpenZfsConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateFileSystemOpenZfsConfiguration) -> bool
fn ne(&self, other: &CreateFileSystemOpenZfsConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateFileSystemOpenZfsConfiguration
Auto Trait Implementations
impl RefUnwindSafe for CreateFileSystemOpenZfsConfiguration
impl Send for CreateFileSystemOpenZfsConfiguration
impl Sync for CreateFileSystemOpenZfsConfiguration
impl Unpin for CreateFileSystemOpenZfsConfiguration
impl UnwindSafe for CreateFileSystemOpenZfsConfiguration
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