pub struct NodeGroup {
pub node_group_id: Option<String>,
pub node_group_members: Option<Vec<NodeGroupMember>>,
pub primary_endpoint: Option<Endpoint>,
pub reader_endpoint: Option<Endpoint>,
pub slots: Option<String>,
pub status: Option<String>,
}
Expand description
Represents a collection of cache nodes in a replication group. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.
Fields§
§node_group_id: Option<String>
The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.
node_group_members: Option<Vec<NodeGroupMember>>
A list containing information about individual nodes within the node group (shard).
primary_endpoint: Option<Endpoint>
The endpoint of the primary node in this node group (shard).
reader_endpoint: Option<Endpoint>
The endpoint of the replica nodes in this node group (shard).
slots: Option<String>
The keyspace for this node group (shard).
status: Option<String>
The current state of this replication group - creating
, available
, modifying
, deleting
.