Ovf_LibraryItem_DeploymentTarget

Ovf_LibraryItem_DeploymentTarget
Ovf_LibraryItem_DeploymentTarget

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

JSON Example
{
    "resource_pool_id": "string",
    "host_id": "string",
    "folder_id": "string"
}
string
resource_pool_id
Required

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.

string
host_id
Optional

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 LibraryItem.DeploymentTarget.resource-pool-id. If unset, the server will automatically select a target host from the resource pool if LibraryItem.DeploymentTarget.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.

string
folder_id
Optional

Identifier of the vCenter folder that should contain the virtual machine or virtual appliance. The folder must be virtual machine folder. 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.