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 theMarkAsVirtualMachinemethod 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 sameComputeResource. When the operation completes, the template no longer exists.
- To keep the template, clone the template by calling theCloneVM_Taskmethod on the template. In theVirtualMachineCloneSpec(thespecparameter), set thetemplateproperty tofalse.