ImportVmAsVAppParams

Element:
ImportVmAsVAppParams
Type:
ImportVmAsVAppParamsType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Parameters to import a virtual machine as a vApp.
Since:
1.0
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.importVmAsVAppParams+xml
Extends:
VAppCreationParamsType
XML Representation:
<ImportVmAsVAppParams xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
        xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" name="xs:string" deploy="xs:boolean" powerOn="xs:boolean" sourceMove="xs:boolean">
    <Description> xs:string </Description>
    <vcloud_v1.5:VAppParent href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <vcloud_v1.5:InstantiationParams>
        <ovf:Section> ovf:Section_Type </ovf:Section>
    </vcloud_v1.5:InstantiationParams>
    <VmName> xs:string </VmName>
    <VAppScopedLocalId> xs:string </VAppScopedLocalId>
    <ComputerName> xs:string </ComputerName>
    <VmMoRef> xs:string </VmMoRef>
    <vcloud_v1.5:Vdc href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</ImportVmAsVAppParams>

Attributes

Attribute Type Required Modifiable Since Description
name string No always 1.0 A name as parameter.
deploy boolean No always 1.0 Flag to deploy the VApp after successful creation.
powerOn boolean No always 1.0 Flag to deploy and power on the VApp after successful creation.
sourceMove boolean No always 1.0 Set to true to delete the source object after the import is complete.

Elements

Element Type Occurrence Modifiable Since Description
VCloudExtension VCloudExtensionType 0..* always 1.0 An optional extension element that can contain an arbitrary number of elements and attributes.
Description string 0..1 always 1.0 Optional description.
VAppParent ReferenceType 0..1 always 1.0 Reserved. Unimplemented.
InstantiationParams InstantiationParamsType 0..1 always 1.0 Instantiation parameters of a VApp.
VmName string 0..1 always 1.0 Name to be used for imported VM.
VAppScopedLocalId string 0..1 always 1.0 vApp scoped local id to be used for imported VM.
ComputerName string 0..1 always 1.0 Computer name to be used for imported VM.
VmMoRef string 1 always 1.0 Managed object reference of VM to import.
Vdc ReferenceType 1 always 1.0 Target vDC for imported VM.

Operations

CRUD Operation Description Since
as input POST /admin/extension/vimServer/{id}/importVmAsVApp Imports a vSphere server VM as vApp. 1.0