Converting a Template to a Virtual Machine

You can change a template back to an operational virtual machine.
  • To convert the template to a virtual machine, call the
    MarkAsVirtualMachine
    method on the template. You must specify a resource pool and, optionally, a host for the virtual machine. Host and resource pool must be under the same
    ComputeResource
    . When the operation completes, the template no longer exists.
  • To keep the template, clone the template by calling the
    CloneVM_Task
    method on the template. In the
    VirtualMachineCloneSpec
    (the
    spec
    parameter), set the
    template
    property to
    false
    .