3. clone – Clone virtual machines.

Virtual machine cloning functionality.

3.1. Resources

3.1.1. Clone

class clone.Clone

This resource represents a method in which to clone a virtual machine.

Resource URI:

/rest/hosting/clone/<UUID>
POST()

Clone the specified virtual machine by submitting an HTTP PUT request. The UUID in the resource URI should be the UUID of the target virtual machine.

Note

This resource requires create permission on the elastic_hosting extension module.

Return type:vm.RepClone

See also

vm

3.2. Representations

3.2.1. RepClone

class clone.RepClone

This is a representation of a virtual machine being cloned.

errno
This attribute represents the general error number generated by the resource.
message
This attribute represents the general message generated by the resource.
machine_id
This attribute represents the UUID of the virtual machine being cloned.

Representation:

{"errno": response.errno,
 "message": response.message,
 "machine_id": vm.uuid}

Table Of Contents

Previous topic

2. billing – Billing

Next topic

4. dtemplate – Disk Template