VMware Cloud Director API - ImportMediaParams
ImportMediaParamsType
- 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+json
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"/>
<vcloud_v1.5:VdcStorageProfile href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</ImportMediaParams>
-
Attributes
-
Attribute Type Required Modifiable Since Deprecated Description name string No always 1.5 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 1.0 Set to true to delete the source object after the import is complete. -
Elements
-
Element Type Required Modifiable Since Deprecated Description Catalog ReferenceType No always 1.0 The catalog in which the imported media will be listed. DatastoreMoRef string Yes always 1.0 Managed object reference of the datastore from which media file will be imported. Description string No always 1.5 Optional description. SourcePath string Yes always 1.0 A full path to media file on the datastore. VCloudExtension VCloudExtensionType No always 1.5 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services. Vdc ReferenceType Yes always 1.0 The vDC into which the media will be imported. VdcStorageProfile ReferenceType No always 5.1 Storage profile -
Operations
-
CRUD Operation Description Since Deprecated as input POST /admin/extension/vimServer/{id}/importMedia Import media from vCenter. 1.5