# 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 set P Required privilege - see tooltip for details
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VAppCloneSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="location" type="vsan:ManagedObjectReference"/> <element name="host" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="resourceSpec" type="vsan:ResourceConfigSpec" minOccurs="0"/> <element name="vmFolder" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="networkMapping" type="vsan:VAppCloneSpecNetworkMappingPair" minOccurs="0" maxOccurs="unbounded"/> <element name="property" type="vsan:KeyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="resourceMapping" type="vsan:VAppCloneSpecResourceMap" minOccurs="0" maxOccurs="unbounded"/> <element name="provisioning" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>