# Data Object - OvfResourceMap(vim.OvfManager.ResourceMap)

Property of
  OvfCreateImportSpecParams
Extends
  DynamicData
See also
  Datastore, ResourceConfigSpec, ResourcePool
Since
  vSphere API 4.1

## Data Object Description

Deprecated. As of vSphere API 5.1.

Maps source child entities to destination resource pools and resource settings. If a mapping is not specified, a child is copied as a direct child of the parent.

Properties

Name | Type | Description
--- | --- | ---
datastore* P | ManagedObjectReference to a Datastore | A client can optionally specify a datastore location in the resource map to override the default datastore passed into CreateImportSpec field. This enables importing to different compute resources that do not have shared datastores.
parent* | ManagedObjectReference to a ResourcePool | The parent resource pool to use for the entity. This must specify a resource pool that is not part of the vApp. If this is specified, a linked child (as opposed to a direct child) is created for the vApp.
resourceSpec* | ResourceConfigSpec | An optional resource configuration for the created entity. If not specified, the resource configuration given in the OVF descriptor is used.
source | xsd:string | Identifies a source VirtualSystem or VirtualSystemCollection in an OVF descriptor. The source cannot be the root VirtualSystem or VirtualSystemCollection of the OVF. This is a path created by concatenating the OVF ids for each entity, e.g., "vm1", "WebTier/vm2", etc.
Properties inherited from DynamicData
None

*Need not be set P Required privilege: Datastore.AllocateSpace
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="OvfResourceMap"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="source" type="xsd:string"/> <element name="parent" type="sms:ManagedObjectReference" minOccurs="0"/> <element name="resourceSpec" type="sms:ResourceConfigSpec" minOccurs="0"/> <element name="datastore" type="sms:ManagedObjectReference" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>