Struct aws_sdk_fsx::types::DiskIopsConfiguration
source · #[non_exhaustive]pub struct DiskIopsConfiguration {
pub mode: Option<DiskIopsConfigurationMode>,
pub iops: Option<i64>,
}
Expand description
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
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.mode: Option<DiskIopsConfigurationMode>
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED
value.
iops: Option<i64>
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs
and StorageCapacity
. The minimum value is calculated as StorageCapacity
* 3 * HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as 200,000 * HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is outside of the minimum or maximum values.
Implementations§
source§impl DiskIopsConfiguration
impl DiskIopsConfiguration
sourcepub fn mode(&self) -> Option<&DiskIopsConfigurationMode>
pub fn mode(&self) -> Option<&DiskIopsConfigurationMode>
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED
value.
sourcepub fn iops(&self) -> Option<i64>
pub fn iops(&self) -> Option<i64>
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs
and StorageCapacity
. The minimum value is calculated as StorageCapacity
* 3 * HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as 200,000 * HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is outside of the minimum or maximum values.
source§impl DiskIopsConfiguration
impl DiskIopsConfiguration
sourcepub fn builder() -> DiskIopsConfigurationBuilder
pub fn builder() -> DiskIopsConfigurationBuilder
Creates a new builder-style object to manufacture DiskIopsConfiguration
.
Trait Implementations§
source§impl Clone for DiskIopsConfiguration
impl Clone for DiskIopsConfiguration
source§fn clone(&self) -> DiskIopsConfiguration
fn clone(&self) -> DiskIopsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskIopsConfiguration
impl Debug for DiskIopsConfiguration
source§impl PartialEq for DiskIopsConfiguration
impl PartialEq for DiskIopsConfiguration
source§fn eq(&self, other: &DiskIopsConfiguration) -> bool
fn eq(&self, other: &DiskIopsConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskIopsConfiguration
Auto Trait Implementations§
impl Freeze for DiskIopsConfiguration
impl RefUnwindSafe for DiskIopsConfiguration
impl Send for DiskIopsConfiguration
impl Sync for DiskIopsConfiguration
impl Unpin for DiskIopsConfiguration
impl UnwindSafe for DiskIopsConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more