Module Values.NodeGroupSource

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.

Sourcetype nonrec t = {
  1. nodeGroupId : String_.t option;
    (*

    The identifier for the node group (shard). A Valkey or Redis OSS (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Valkey or Redis OSS (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.

    *)
  2. status : String_.t option;
    (*

    The current state of this replication group - creating, available, modifying, deleting.

    *)
  3. primaryEndpoint : Endpoint.t option;
    (*

    The endpoint of the primary node in this node group (shard).

    *)
  4. readerEndpoint : Endpoint.t option;
    (*

    The endpoint of the replica nodes in this node group (shard). This value is read-only.

    *)
  5. slots : String_.t option;
    (*

    The keyspace for this node group (shard).

    *)
  6. nodeGroupMembers : NodeGroupMemberList.t option;
    (*

    A list containing information about individual nodes within the node group (shard).

    *)
}
Sourceval make : ?nodeGroupId:??? -> ?status:??? -> ?primaryEndpoint:??? -> ?readerEndpoint:??? -> ?slots:??? -> ?nodeGroupMembers:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t