Values_0.BatchAddClusterNodesRequestSourceAdds 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.
type nonrec t = {clusterName : ClusterNameOrArn.t;The name of the HyperPod cluster to which you want to add nodes.
*)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.
*)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.
*)}val make :
?clientToken:??? ->
clusterName:ClusterNameOrArn.t ->
nodesToAdd:AddClusterNodeSpecificationList.t ->
unit ->
tval 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 ]