vm.clone

Clone the VM id.

name is an optional parameter for the cloned VM. If not provided it will append the next number available to the VM name.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the virtual machine to clone.

Parameter 2: name

name

Default: null

Name for the cloned virtual machine. null to auto-generate.

Type: string

Must be at least 1 characters long

Type: null

Result

Type: boolean

Whether the virtual machine was successfully cloned.



Required roles: VM_WRITE