Vcenter Ovf Library Item APIs

Vcenter Ovf Library Item APIs

The Vcenter Ovf LibraryItem resource provides operations to deploy virtual machines and virtual appliances from library items containing Open Virtualization Format (OVF) packages in content library, as well as operations to create library items in content library from virtual machines and virtual appliances.

To deploy a virtual machine or a virtual appliance from a library item:

  1. Create a Vcenter Ovf LibraryItem DeploymentTarget to specify the target deployment type and target deployment designation.
  2. Create a Vcenter Ovf LibraryItem ResourcePoolDeploymentSpec to specify the parameters for the target deployment.
  3. Use the deploy operation with the created target and parameter specifications, along with the identifier of the specified source content library item. See POST /vcenter/ovf/library-item/{ovfLibraryItemId}?action=deploy.

To create a library item in content library from a virtual machine or virtual appliance:

  1. Create a Vcenter Ovf LibraryItem DeployableIdentity to specify the source virtual machine or virtual appliance to be used as the OVF template source.
  2. Create a Vcenter Ovf LibraryItem CreateTarget to specify the target library and library item.
  3. Create a Vcenter Ovf LibraryItem CreateSpec to specify the settings for the OVF package to be created.
  4. Use the create operation with the created target and parameter specifications, along with the specified source entity. See POST /vcenter/ovf/library-item.

Operations
POST
Vcenter Ovf LibraryItem deploy
POST
Vcenter Ovf LibraryItem filter
POST
Vcenter Ovf LibraryItem create