ImportMediaParams

Element:
ImportMediaParams
Type:
ImportMediaParamsType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Represents parameters to import media from vSphere.
Since:
1.5
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.importMediaParams+xml
Extends:
ParamsType
XML Representation:
<ImportMediaParams 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>
    <DatastoreMoRef> xs:string </DatastoreMoRef>
    <SourcePath> xs:string </SourcePath>
    <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"/>
</ImportMediaParams>

Attributes

Attribute Type Required Modifiable Since Description
name string No always 1.5 A name as parameter.
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.5 An optional extension element that can contain an arbitrary number of elements and attributes.
Description string 0..1 always 1.5 Optional description.
DatastoreMoRef string 1 always 1.0 Managed object reference of the datastore from which media file will be imported.
SourcePath string 1 always 1.0 A full path to media file on the datastore.
Vdc ReferenceType 1 always 1.0 The vDC into which the media will be imported.
Catalog ReferenceType 0..1 always 1.0 The catalog in which the imported media will be listed.

Operations

CRUD Operation Description Since
as input POST /admin/extension/vimServer/{id}/importMedia Import media from vSphere Supported media types are ISO and FLOPPY The returned media entity will contain a task of importing process. 1.5