Struct aws_sdk_fsx::types::AggregateConfiguration
source · #[non_exhaustive]pub struct AggregateConfiguration {
pub aggregates: Option<Vec<String>>,
pub total_constituents: Option<i32>,
}
Expand description
Used to specify configuration options for a volume’s storage aggregate or aggregates.
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.aggregates: Option<Vec<String>>
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The strings in the value of
Aggregates
are not are not formatted asaggrX
, where X is a number between 1 and 6. -
The value of
Aggregates
contains aggregates that are not present. -
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
total_constituents: Option<i32>
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
Implementations§
source§impl AggregateConfiguration
impl AggregateConfiguration
sourcepub fn aggregates(&self) -> &[String]
pub fn aggregates(&self) -> &[String]
The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The strings in the value of
Aggregates
are not are not formatted asaggrX
, where X is a number between 1 and 6. -
The value of
Aggregates
contains aggregates that are not present. -
One or more of the aggregates supplied are too close to the volume limit to support adding more volumes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aggregates.is_none()
.
sourcepub fn total_constituents(&self) -> Option<i32>
pub fn total_constituents(&self) -> Option<i32>
The total number of constituents this FlexGroup volume has. Not applicable for FlexVols.
source§impl AggregateConfiguration
impl AggregateConfiguration
sourcepub fn builder() -> AggregateConfigurationBuilder
pub fn builder() -> AggregateConfigurationBuilder
Creates a new builder-style object to manufacture AggregateConfiguration
.
Trait Implementations§
source§impl Clone for AggregateConfiguration
impl Clone for AggregateConfiguration
source§fn clone(&self) -> AggregateConfiguration
fn clone(&self) -> AggregateConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AggregateConfiguration
impl Debug for AggregateConfiguration
source§impl PartialEq for AggregateConfiguration
impl PartialEq for AggregateConfiguration
source§fn eq(&self, other: &AggregateConfiguration) -> bool
fn eq(&self, other: &AggregateConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AggregateConfiguration
Auto Trait Implementations§
impl Freeze for AggregateConfiguration
impl RefUnwindSafe for AggregateConfiguration
impl Send for AggregateConfiguration
impl Sync for AggregateConfiguration
impl Unpin for AggregateConfiguration
impl UnwindSafe for AggregateConfiguration
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