The start-clone command initiates the cloning process for the instance and assigns a new specified name.

JSON Input Data Format
{
    "clonefrom": string,
    "newname": string,
    "clonetype": string

}
clonefrom * Specifies the ID of the instance to be cloned.
newname * Specifies a name for the newly cloned instance.
clonetype * Specifies the type of cloning process, which includes:
  • full
    This option is used to create an identical copy of the virtual machine. Depending on the disk size, this operation may take some time.
  • linked
    This option can only be used with Virtual Machine Templates and initiates a shadow cloning process that creates an identical copy of the virtual machine within seconds, using the template disk image as a base. New data is stored in the new disk on the linked clone. Linked clones can be configured and perform just like regular virtual machines. Linked clones are typically used for dynamic floating desktops and server solutions that require rapid scaling and provisioning.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "Instance was cloned",
    "id": "V7cs-c69af656-xxxx-xxxx-xxxx-7702xxxxdc92"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}