Deploy a Virtual Machine or vApp from an OVF
Template in a Content Library
You can use the
LibraryItem
service to deploy a virtual machine or vApp on a host, cluster,
or resource pool from a library item. - Create aLibraryItem.DeploymentTargetinstance to specify the deployment location of the virtual machine or vApp.
- Create aLibraryItem.ResourcePoolDeploymentSpecinstance to define all necessary parameters for the deployment operation.For example, you can assign a name for the deployed virtual machine or vApp, and accept the End User License Agreements (EULAs) to complete the deployment successfully.
- Retrieve information from the descriptor file of the OVF template and use the information during the OVF template deployment.
- Use the.POST https://<HTTP requestvcenter_ip_address_or_fqdn>/api/vcenter/ovf/library-item/<ovf_library_item_id>?action=deploy
- Verify the outcome of the deployment operation.