# Data Object - ImportSpec(vim.ImportSpec)

Property of
  OvfCreateImportSpecResult, VirtualAppImportSpec
Parameter to
  ImportVApp
Extended by
  VirtualAppImportSpec, VirtualMachineImportSpec
Extends
  DynamicData
See also
  OvfConsumerOstNode, VAppEntityConfigInfo
Since
  vSphere API 4.0

## Data Object Description

An ImportSpec is used when importing VMs or vApps.

It can be built from scratch, or it can be generated from an OVF descriptor using the service interface OvfManager.

This class is the abstract base for VirtualMachineImportSpec and VirtualAppImportSpec. These three classes form a composite structure that allows us to contain arbitrarily complex entitites in a single ImportSpec.

Properties

Name | Type | Description
--- | --- | ---
entityConfig* | VAppEntityConfigInfo | Configuration of sub-entities (virtual machine or vApp). This is used for sub-entities of a vApp that could be a virtual machine or a vApp.
instantiationOst* | OvfConsumerOstNode | The instantiation OST (see OvfConsumer ) to be consumed by OVF consumers. Since vSphere API 5.0
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ImportSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="entityConfig" type="vsan:VAppEntityConfigInfo" minOccurs="0"/> <element name="instantiationOst" type="vsan:OvfConsumerOstNode" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>