VMware Cloud Director API - MediaSettingsType

VMware Cloud Director API - MediaSettingsType

MediaSettingsType

Type:
MediaSettingsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Describes a media in a VM device and what media is attached to it.
Since:
32.0
Schema:
vApp.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<MediaSettingsType xmlns="http://www.vmware.com/vcloud/v1.5">
    <DeviceId> xs:string </DeviceId>
    <MediaImage href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <MediaType> MediaTypeType </MediaType>
    <MediaState> MediaStateType </MediaState>
    <UnitNumber> xs:int </UnitNumber>
    <BusNumber> xs:int </BusNumber>
    <AdapterType> xs:string </AdapterType>
</MediaSettingsType>

Elements

Element Type Required Modifiable Since Deprecated Description
AdapterType string No none 32.0 The type of controller, e.g. IDE vs SCSI and if SCSI bus-logic vs LSI logic.
BusNumber int Yes always 32.0 The bus number of the media device controller.
DeviceId string No none 32.0 Describes the media device whose media mount is being specified here. This deviceId must match the RASD.InstanceID attribute in the VirtualHardwareSection of the vApp's OVF description.
MediaImage ReferenceType No none 32.0 The media image that is mounted onto the device. This property can be 'null' which represents that no media is mounted on the device.
MediaState MediaStateType No none 32.0 Specifies the state of the media device.
MediaType MediaTypeType No none 32.0 Specified the type of media that is mounted onto the device.
UnitNumber int Yes always 32.0 The device number on the controller of the media device.
VCloudExtension VCloudExtensionType No always 32.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.