vcenter ovf library item: deployment target

The deployment_target structure describes the location (target) where a virtual machine or virtual appliance should be deployed. It is used in the deploy and filter operations. See deploy and filter.

Representations:

{
    "folder_id""obj-103",
    "host_id""obj-103",
    "resource_pool_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:DeploymentTarget xmlns:ns0="http://vmware.com/vcenter/ovf/library_item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <folder_id>obj-103</folder_id>
  <host_id>obj-103</host_id>
  <resource_pool_id>obj-103</resource_pool_id>
</ns0:DeploymentTarget>

Attributes:

Name Type Description
Required
resource_pool_id string Identifier of the resource pool to which the virtual machine or virtual appliance should be attached.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ResourcePool. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ResourcePool.

Optional
host_id string Identifier of the target host on which the virtual machine or virtual appliance will run. The target host must be a member of the cluster that contains the resource pool identified by vcenter.ovf.library_item.deployment_target.resource_pool_id.

Optional. If unset, the server will automatically select a target host from the resource pool if vcenter.ovf.library_item.deployment_target.resource_pool_id is a stand-alone host or a cluster with Distributed Resource Scheduling (DRS) enabled.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: HostSystem. When operations return a value of this structure as a result, the field will be an identifier for the resource type: HostSystem.

folder_id string Identifier of the vCenter folder that should contain the virtual machine or virtual appliance. The folder must be virtual machine folder.

Optional. If unset, the server will choose the deployment folder.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Folder. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Folder.