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 ==
.