Struct aws_sdk_opensearch::types::AvailabilityZoneInfo
source · #[non_exhaustive]pub struct AvailabilityZoneInfo {
pub availability_zone_name: Option<String>,
pub zone_status: Option<ZoneStatus>,
pub configured_data_node_count: Option<String>,
pub available_data_node_count: Option<String>,
pub total_shards: Option<String>,
pub total_un_assigned_shards: Option<String>,
}
Expand description
Information about an Availability Zone on a domain.
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.availability_zone_name: Option<String>
The name of the Availability Zone.
zone_status: Option<ZoneStatus>
The current state of the Availability Zone. Current options are Active
and StandBy
.
-
Active
- Data nodes in the Availability Zone are in use. -
StandBy
- Data nodes in the Availability Zone are in a standby state. -
NotAvailable
- Unable to retrieve information.
configured_data_node_count: Option<String>
The total number of data nodes configured in the Availability Zone.
available_data_node_count: Option<String>
The number of data nodes active in the Availability Zone.
total_shards: Option<String>
The total number of primary and replica shards in the Availability Zone.
total_un_assigned_shards: Option<String>
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
Implementations§
source§impl AvailabilityZoneInfo
impl AvailabilityZoneInfo
sourcepub fn availability_zone_name(&self) -> Option<&str>
pub fn availability_zone_name(&self) -> Option<&str>
The name of the Availability Zone.
sourcepub fn zone_status(&self) -> Option<&ZoneStatus>
pub fn zone_status(&self) -> Option<&ZoneStatus>
The current state of the Availability Zone. Current options are Active
and StandBy
.
-
Active
- Data nodes in the Availability Zone are in use. -
StandBy
- Data nodes in the Availability Zone are in a standby state. -
NotAvailable
- Unable to retrieve information.
sourcepub fn configured_data_node_count(&self) -> Option<&str>
pub fn configured_data_node_count(&self) -> Option<&str>
The total number of data nodes configured in the Availability Zone.
sourcepub fn available_data_node_count(&self) -> Option<&str>
pub fn available_data_node_count(&self) -> Option<&str>
The number of data nodes active in the Availability Zone.
sourcepub fn total_shards(&self) -> Option<&str>
pub fn total_shards(&self) -> Option<&str>
The total number of primary and replica shards in the Availability Zone.
sourcepub fn total_un_assigned_shards(&self) -> Option<&str>
pub fn total_un_assigned_shards(&self) -> Option<&str>
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
source§impl AvailabilityZoneInfo
impl AvailabilityZoneInfo
sourcepub fn builder() -> AvailabilityZoneInfoBuilder
pub fn builder() -> AvailabilityZoneInfoBuilder
Creates a new builder-style object to manufacture AvailabilityZoneInfo
.
Trait Implementations§
source§impl Clone for AvailabilityZoneInfo
impl Clone for AvailabilityZoneInfo
source§fn clone(&self) -> AvailabilityZoneInfo
fn clone(&self) -> AvailabilityZoneInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AvailabilityZoneInfo
impl Debug for AvailabilityZoneInfo
source§impl PartialEq for AvailabilityZoneInfo
impl PartialEq for AvailabilityZoneInfo
source§fn eq(&self, other: &AvailabilityZoneInfo) -> bool
fn eq(&self, other: &AvailabilityZoneInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AvailabilityZoneInfo
Auto Trait Implementations§
impl Freeze for AvailabilityZoneInfo
impl RefUnwindSafe for AvailabilityZoneInfo
impl Send for AvailabilityZoneInfo
impl Sync for AvailabilityZoneInfo
impl Unpin for AvailabilityZoneInfo
impl UnwindSafe for AvailabilityZoneInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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