Module Values_0.BatchAddClusterNodesRequestSource

Adds nodes to a HyperPod cluster by incrementing the target count for one or more instance groups. This operation returns a unique NodeLogicalId for each node being added, which can be used to track the provisioning status of the node. This API provides a safer alternative to UpdateCluster for scaling operations by avoiding unintended configuration changes. This API is only supported for clusters using Continuous as the NodeProvisioningMode.

Sourcetype nonrec t = {
  1. clusterName : ClusterNameOrArn.t;
    (*

    The name of the HyperPod cluster to which you want to add nodes.

    *)
  2. clientToken : BatchAddClusterNodesRequestClientTokenString.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 8 hours. If you retry the request with the same client token within this timeframe and the same parameters, the API returns the same set of NodeLogicalIds with their latest status.

    *)
  3. nodesToAdd : AddClusterNodeSpecificationList.t;
    (*

    A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> clusterName:ClusterNameOrArn.t -> nodesToAdd:AddClusterNodeSpecificationList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of AddClusterNodeSpecificationIncrementTargetCountByInteger.t | `List of [> `Enum of string | `String of ClusterAvailabilityZone.t ] list | `String of ClusterInstanceGroupName.t ]) list ] list | `String of ClusterNameOrArn.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