On the PowerCLI side, I can execute:
set-template -template <name> -tovm
...which will convert a template to a VM.
On the Perl SDK side, I found the MarkAsVirtualMachine call which appears to do something similar.
However, on the Perl SDK side the above call requires a ResourcePool be passed whereas the PowerCLI command does not require a ResourcePool.
In our environment we are not using defined ResourcePools - we do have ClusterComputeResources, but that does not help me.
Can anyone offer any suggestions to getting something on the Perl SDK side that performs similarly to the set-template on the PowerCLI side?
Thanks,
-M