Перейти к основному содержимому

VirtualMedia

VirtualMedia 1.6.5

 
Versionv1.6
Release2022.3

Description

The VirtualMedia schema contains properties related to the monitor and control of an instance of virtual media, such as a remote CD, DVD, or USB device. A manager for a system or device provides virtual media functionality.

URIs

/​redfish/​v1/​CompositionService/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}
/​redfish/​v1/​Managers/​{ManagerId}/​VirtualMedia/​{VirtualMediaId} (deprecated)
/​redfish/​v1/​ResourceBlocks/​{ResourceBlockId}/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}
/​redfish/​v1/​Systems/​{ComputerSystemId}/​VirtualMedia/​{VirtualMediaId}

Properties

PropertyTypeAttributesNotes
Actions (v1.1+) {objectThe available actions for this resource.
      #VirtualMedia.EjectMedia (v1.2+) {}objectThis action detaches remote media from virtual media. For more information, see the Actions section below.
      #VirtualMedia.InsertMedia (v1.2+) {}objectThis action attaches remote media to virtual media. For more information, see the Actions section below.
}
Certificates (v1.4+) {objectThe link to a collection of server certificates for the server referenced by the Image property.
      @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
}
ClientCertificates (v1.5+) {objectThe link to a collection of client identity certificates provided to the server referenced by the Image property.
      @odata.idstring
(URI)
read-onlyThe unique identifier for a resource.
}
ConnectedViastring
(enum)
read-only
(null)
The current virtual media connection method. For the possible property values, see ConnectedVia in Property details.
EjectPolicy (v1.6+)string
(enum)
read-write
(null)
The ejection policy for the virtual media. For the possible property values, see EjectPolicy in Property details.
EjectTimeout (v1.6+)string
(duration)
read-write
(null)
Timeout value before the virtual media is automatically ejected.
Imagestring
(URI)
read-write
(null)
The URI of the location of the selected image.
ImageNamestringread-only
(null)
The current image name.
Insertedbooleanread-write
(null)
An indication of whether the media is mounted and visible to the host system.
MediaTypes [ ]array (string
(enum))
read-onlyThe media types supported as virtual media. For the possible property values, see MediaTypes in Property details.
Oem {}objectThe OEM extension property. See the Resource schema for details on this property.
Password (v1.3+)stringread-write
(null)
The password to access the URI specified by the Image property. The value is null in responses.
Status (v1.4+) {}objectThe status and health of the resource and its subordinate or dependent resources. See the Resource schema for details on this property.
TransferMethod (v1.3+)string
(enum)
read-write
(null)
The transfer method to use with the image. For the possible property values, see TransferMethod in Property details.
TransferProtocolType (v1.3+)string
(enum)
read-write
(null)
The network protocol to use with the URI specified by the Image property. For the possible property values, see TransferProtocolType in Property details.
UserName (v1.3+)stringread-write
(null)
The username to access the URI specified by the Image property.
VerifyCertificate (v1.4+)booleanread-write
(null)
An indication of whether the service will verify the certificate of the server referenced by the Image property prior to completing the remote media connection.
WriteProtectedbooleanread-write
(null)
An indication of whether the media is write-protected.

Actions

EjectMedia (v1.2+)

Description

This action detaches remote media from virtual media.

Action URI

{Base URI of target resource}/Actions/VirtualMedia.EjectMedia

Action parameters

This action takes no parameters.

InsertMedia (v1.2+)

Description

This action attaches remote media to virtual media.

Action URI

{Base URI of target resource}/Actions/VirtualMedia.InsertMedia

Action parameters

Parameter NameTypeAttributesNotes
      ImagestringrequiredThe URI of the media to attach to the virtual media.
      InsertedbooleanoptionalAn indication of whether the image is treated as mounted and visible to the host system upon completion of the action. The default is true.
      Password (v1.3+)stringoptionalThe password to access the URI specified by the Image parameter.
      TransferMethod (v1.3+)string
(enum)
optionalThe transfer method to use with the image. For the possible property values, see TransferMethod in Property details.
      TransferProtocolType (v1.3+)string
(enum)
optionalThe network protocol to use with the URI specified by the Image parameter. For the possible property values, see TransferProtocolType in Property details.
      UserName (v1.3+)stringoptionalThe username to access the URI specified by the Image parameter.
      WriteProtectedbooleanoptionalAn indication of whether the remote media is treated as write-protected. The default is true.

Request Example

{
"Image": "https://192.168.1.225/boot_image.iso",
"Inserted": true,
"WriteProtected": true
}

Property details

ConnectedVia

 

The current virtual media connection method.

stringDescription
AppletConnected to a client application.
NotConnectedNo current connection.
OemConnected through an OEM-defined method.
URIConnected to a URI location.

EjectPolicy

 

The ejection policy for the virtual media.

stringDescription
AfterUseThe virtual media ejection occurs after the media is used.
OnPowerOffThe virtual media ejection occurs during a system power or reset event.
PersistentThe virtual media mount information persists indefinitely.
SessionThe virtual media ejection occurs when a session is terminated. The session might be outside the Redfish service.
TimedThe virtual media ejection occurs when a timer configured by the EjectTimeout property expires.

MediaTypes

 

The media types supported as virtual media.

stringDescription
CDA CD-ROM format (ISO) image.
DVDA DVD-ROM format image.
FloppyA floppy disk image.
USBStickAn emulation of a USB storage device.

TransferMethod

 

The transfer method to use with the image.

stringDescription
StreamStream image file data from the source URI.
UploadUpload the entire image file from the source URI to the service.

TransferProtocolType

 

The network protocol to use with the URI specified by the Image parameter.

stringDescription
CIFSCommon Internet File System (CIFS).
FTPFile Transfer Protocol (FTP).
HTTPHypertext Transfer Protocol (HTTP).
HTTPSHypertext Transfer Protocol Secure (HTTPS).
NFSNetwork File System (NFS).
OEMA manufacturer-defined protocol.
SCPSecure Copy Protocol (SCP).
SFTPSSH File Transfer Protocol (SFTP).
TFTPTrivial File Transfer Protocol (TFTP).

Example response

{
"@odata.type": "#VirtualMedia.v1_6_5.VirtualMedia",
"Id": "CD1",
"Name": "Virtual CD",
"MediaTypes": [
"CD",
"DVD"
],
"Image": "redfish.dmtf.org/freeImages/freeOS.1.1.iso",
"ImageName": "mymedia-read-only",
"ConnectedVia": "Applet",
"Inserted": true,
"WriteProtected": false,
"@odata.id": "/redfish/v1/Managers/BMC/VirtualMedia/CD1"
}