Create an OVF Package
in a Content Library from a Virtual Machine
You can create
library items from existing virtual machines or virtual appliances. Use those
library items later to deploy virtual machines and virtual appliances on hosts
and clusters in the
vSphere
Automation
environment.
- Create aDeployableIdentityinstance to specify the source virtual machine or virtual appliance to be captured in an OVF package.
- Create aCreateTargetinstance to identify the content library where the OVF package is stored.
- Create aCreateSpecinstance to specify the properties of the OVF package.
- Initiate a synchronous create operation by invoking thecreatefunction of theLibraryItemservice.
- Verify the results of thecreateoperation.