# Data Object - VAppCloneSpec(vim.vApp.CloneSpec)

Parameter to
  CloneVApp_Task
Extends
  DynamicData
See also
  Datastore, Folder, HostSystem, KeyValue, ResourceConfigSpec, VAppCloneSpecNetworkMappingPair, VAppCloneSpecResourceMap
Since
  vSphere API 4.0

## Data Object Description

Specification for a vApp cloning operation.

Properties

Name | Type | Description
--- | --- | ---
host* P | ManagedObjectReference to a HostSystem | The target host for the virtual machines. This is often not a required parameter. If not specified, the behavior is as follows: If the target pool represents a stand-alone host, that host is used. If the target pool represents a DRS-enabled cluster, a host selected by DRS is used. If the target pool represents a cluster without DRS enabled or a DRS-enabled cluster in manual mode, an InvalidArgument exception is thrown.
location P | ManagedObjectReference to a Datastore | Location where the destination vApp must be stored
networkMapping* | VAppCloneSpecNetworkMappingPair[] | Network mappings. See NetworkMappingPair.
property* | KeyValue[] | A set of property values to override.
provisioning* | xsd:string | Specify how the VMs in the vApp should be provisioned. Since vSphere API 4.1
resourceMapping* | VAppCloneSpecResourceMap[] | The resource configuration for the cloned vApp. Since vSphere API 4.1
resourceSpec* | ResourceConfigSpec | The resource configuration for the vApp.
vmFolder* P | ManagedObjectReference to a Folder | The VM Folder to associate the vApp with
Properties inherited from DynamicData
None

*Need not be setPRequired privilege - see tooltip for details
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="VAppCloneSpec"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="location" type="pbm:ManagedObjectReference"/> <element name="host" type="pbm:ManagedObjectReference" minOccurs="0"/> <element name="resourceSpec" type="pbm:ResourceConfigSpec" minOccurs="0"/> <element name="vmFolder" type="pbm:ManagedObjectReference" minOccurs="0"/> <element name="networkMapping" type="pbm:VAppCloneSpecNetworkMappingPair" minOccurs="0" maxOccurs="unbounded"/> <element name="property" type="pbm:KeyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="resourceMapping" type="pbm:VAppCloneSpecResourceMap" minOccurs="0" maxOccurs="unbounded"/> <element name="provisioning" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>