ImportVmParamsType

Element:
ImportVmParams
Type:
ImportVmParamsType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Parameters to import a virtual machine.
Since:
30.0
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.importVmParams+xml
application/vnd.vmware.admin.importVmParams+json
Extends:
ParamsType
XML Representation:
<ImportVmParams 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">
    <Description> xs:string </Description>
    <VmName> xs:string </VmName>
    <VAppScopedLocalId> xs:string </VAppScopedLocalId>
    <ComputerName> xs:string </ComputerName>
    <VmMoRef> xs:string </VmMoRef>
    <vcloud_v1.5:VdcStorageProfile href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <vcloud_v1.5:Vdc href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <ImportedDisk instanceId="xs:string" iops="xs:long">
        <vcloud_v1.5:VdcStorageProfile href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    </ImportedDisk>
</ImportVmParams>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
name string No always 30.0 Typically used to name or identify the subject of the request. For example, the name of the object being created or modified.
sourceMove boolean No always 30.0 Set to true to delete the source object after the import is complete.

Elements

Element Type Required Modifiable Since Deprecated Description
ComputerName string No always 30.0 Computer name to be used for imported VM.
Description string No always 30.0 Optional description.
ImportedDisk ImportedDiskType No always 30.0 Represents a disk of the VM in order to specify per-disk Storage Profile.
VAppScopedLocalId string No always 30.0 vApp scoped local id to be used for imported VM.
VCloudExtension VCloudExtensionType No always 30.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.
Vdc ReferenceType Yes always 30.0 Target vDC for imported VM.
VdcStorageProfile ReferenceType No always 30.0 Reference to a vDC storage profile for imported VM.
VmMoRef string Yes always 30.0 Managed object reference of VM to import.
VmName string No always 30.0 Name to be used for imported VM.

Operations

CRUD Operation Description Since Deprecated
as input POST /admin/extension/vimServer/{id}/importVm Import a virtual machine from vCenter. 30.0