Clone a Cluster

POST /api/v2.2/clusters/<<Cluster ID>/<Cluster Label>>/clone

Use this API to clone a cluster through the cluster API version 2.2.

Required Role

The following roles can make this API call:

  • A user who is part of the system-admin group.

  • A user invoking this API must be part of a group associated with a role that allows editing a cluster. See Managing Groups and Managing Roles for more information.

Parameters

Parameters describes the list of parameters of a cluster on AWS. You can change the name of the cluster.

Sample API Request

 curl -X POST -H "X-AUTH-TOKEN:$X_AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"
 -d
 '{
 "cluster_info": {
 "master_instance_type": "c3.xlarge",
 "slave_instance_type": "c3.xlarge",
 "label": [
   ""
 ],
 "min_nodes": 2,
 "max_nodes": 5
 }
}' \
https://api.qubole.com/api/v2.2/clusters/142/clone