ImportVmAsVAppTemplateParams

Element:
ImportVmAsVAppTemplateParams
Type:
ImportVmAsVAppTemplateParamsType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Parameters to import a virtual machine as a vApp template.
Since:
1.0
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml
Extends:
ParamsType
XML Representation:
<ImportVmAsVAppTemplateParams xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" name="xs:string" sourceMove="xs:boolean" goldMaster="xs:boolean">
    <Description> xs:string </Description>
    <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"/>
    <vcloud_v1.5:Catalog href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</ImportVmAsVAppTemplateParams>

Attributes

Attribute Type Required Modifiable Since Description
name string No always 1.0 A name as parameter.
sourceMove boolean No always 1.0 Set to true to delete the source object after the import is complete.
goldMaster boolean No always 1.5 Attribute to specify if template is gold master, the default is false.

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.
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 vApp template.
Catalog ReferenceType 0..1 always 1.0 Catalog in which the imported vApp template will be listed.

Operations

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