VMware Cloud Director API - MediaInsertOrEjectParams

VMware Cloud Director API - MediaInsertOrEjectParams

MediaInsertOrEjectParamsType

Element:
MediaInsertOrEjectParams
Type:
MediaInsertOrEjectParamsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Parameters for an insertMedia or ejectMedia request.
Since:
0.9
Schema:
vApp.xsd
Media type(s):
application/vnd.vmware.vcloud.mediaInsertOrEjectParams+json
application/vnd.vmware.vcloud.mediaInsertOrEjectParams+xml
Extends:
VCloudExtensibleType
XML Representation:
<MediaInsertOrEjectParams xmlns="http://www.vmware.com/vcloud/v1.5">
    <Media href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</MediaInsertOrEjectParams>

Elements

Element Type Required Modifiable Since Deprecated Description
Media ReferenceType Yes always 0.9 Reference to the media object to insert or eject. In API requests that specify version 29.0 or higher, this element is optional when ejecting the media.
VCloudExtension VCloudExtensionType No always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
as input POST /vApp/{id}/media/action/ejectMedia Eject virtual media. 0.9
as input POST /vApp/{id}/media/action/insertMedia Insert virtual media. 0.9