DescribeDomainHealthResponse
¶
Source code in docs_src/capo_opensearch/types/describe_domain_health_response.py
active_availability_zone_count
instance-attribute
¶
active_availability_zone_count: NotRequired[NumberOfAZs]
The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
availability_zone_count
instance-attribute
¶
availability_zone_count: NotRequired[NumberOfAZs]
The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
cluster_health
instance-attribute
¶
cluster_health: NotRequired[DomainHealth]
The current health status of your cluster.
-
Red- At least one primary shard is not allocated to any node. -
Yellow- All primary shards are allocated to nodes, but some replicas aren’t. -
Green- All primary shards and their replicas are allocated to nodes. -
NotAvailable- Unable to retrieve cluster health.
data_node_count
instance-attribute
¶
data_node_count: NotRequired[NumberOfNodes]
The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
dedicated_master
instance-attribute
¶
dedicated_master: NotRequired[Boolean]
A boolean that indicates if dedicated master nodes are activated for the domain.
domain_state
instance-attribute
¶
domain_state: NotRequired[DomainState]
The current state of the domain.
-
Processing- The domain has updates in progress. -
Active- Requested changes have been processed and deployed to the domain.
environment_information
instance-attribute
¶
environment_information: NotRequired[EnvironmentInfoList]
A list of EnvironmentInfo for the domain.
master_eligible_node_count
instance-attribute
¶
master_eligible_node_count: NotRequired[NumberOfNodes]
The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
master_node
instance-attribute
¶
master_node: NotRequired[MasterNodeStatus]
Indicates whether the domain has an elected master node.
-
Available - The domain has an elected master node.
-
UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
stand_by_availability_zone_count
instance-attribute
¶
stand_by_availability_zone_count: NotRequired[NumberOfAZs]
The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
total_shards
instance-attribute
¶
total_shards: NotRequired[NumberOfShards]
The total number of primary and replica shards for the domain.
total_un_assigned_shards
instance-attribute
¶
total_un_assigned_shards: NotRequired[NumberOfShards]
The total number of primary and replica shards not allocated to any of the nodes for the cluster.
warm_node_count
instance-attribute
¶
warm_node_count: NotRequired[NumberOfNodes]
The number of warm nodes configured for the domain.