Hello,
I've been able to add a Virtual Machine via Python and the vSphere Automation API. I also am creating Vapps and all the networking objects as well (using the vSphere Services API)
Is it possible to use the Placement Spec to tell vcenter.VM.create() to put the virtual machine into a Vapp?
I noticed the sample code doing a lookup to get all of the Resource Pools Since a Vapp derives from a Resource Pool, my thoughts are to somehow lookup the Vapp (I think it resides in the 'vm' folder of the host) and use that in the Placement spec.
Is it possible to get the objects inside a Folder using the Automation API?
Thoughts?
Thanks
Kevin