Module Values.IncreaseReplicaCountMessageSource

Dynamically increases the number of replicas in a Valkey or Redis OSS (cluster mode disabled) replication group or the number of replica nodes in one or more node groups (shards) of a Valkey or Redis OSS (cluster mode enabled) replication group. This operation is performed with no cluster down time.

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

    The id of the replication group to which you want to add replica nodes.

    *)
  2. newReplicaCount : IntegerOptional.t option;
    (*

    The number of read replica nodes you want at the completion of this operation. For Valkey or Redis OSS (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Valkey or Redis OSS (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.

    *)
  3. replicaConfiguration : ReplicaConfigurationList.t option;
    (*

    A list of ConfigureShard objects that can be used to configure each shard in a Valkey or Redis OSS (cluster mode enabled) replication group. The ConfigureShard has three members: NewReplicaCount, NodeGroupId, and PreferredAvailabilityZones.

    *)
  4. applyImmediately : Boolean.t;
    (*

    If True, the number of replica nodes is increased immediately. ApplyImmediately=False is not currently supported.

    *)
}
Sourceval context_ : string
Sourceval make : ?newReplicaCount:??? -> ?replicaConfiguration:??? -> replicationGroupId:String_.t -> applyImmediately:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of IntegerOptional.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of AllowedNodeGroupId.t ]) list ] list | `String of String_.t ]) 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