GET – Virtual Media Instance
Request
This is the schema definition for the Virtual Media Service. This resource shall be used to represent a virtual media service for a Redfish implementation.
The user can initiate CD media redirection using InsertMedia action and can stop the redirection using EjectMedia action.
This link will be shown to the user only when VirtualMedia CD instance is redirected from Remote Media from BMC Webpage.
KVM Virtual Media will not be listed in Redfish Virtual Media Instance when redirected through KVM.
GET https://{{ip}}/redfish/v1/Managers/{{manager_instance}}/VirtualMedia/{{virtualmedia_instance}}
Content-Type: application/json
Response
The response of the request will be in JSON format. The properties are mentioned in the following table.
Name | Type | Read only | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(OData Attributes) | Refer to OData Support. | ||||||||||||||||||||||||||||||||||||||
Oem | Object | AMI Virtual Media OEM Properties
| |||||||||||||||||||||||||||||||||||||
Id(M) | String | True | Refer to Resource Type Definitions | ||||||||||||||||||||||||||||||||||||
Name(M) | String | True | |||||||||||||||||||||||||||||||||||||
Description | String | True | |||||||||||||||||||||||||||||||||||||
ImageName | String | True | The current image name. | ||||||||||||||||||||||||||||||||||||
Image | String | True | A URI providing the location of the selected image | ||||||||||||||||||||||||||||||||||||
ConnectedVia | String | True |
| ||||||||||||||||||||||||||||||||||||
Inserted | Boolean | True |
| ||||||||||||||||||||||||||||||||||||
WriteProtected | Boolean | True |
| ||||||||||||||||||||||||||||||||||||
Actions | Object | True |
| ||||||||||||||||||||||||||||||||||||
MediaType | Array | True |
| ||||||||||||||||||||||||||||||||||||
TransferProtocolType | String | True | Network protocol to use with the image.
| ||||||||||||||||||||||||||||||||||||
TransferMethod | String | True |
| ||||||||||||||||||||||||||||||||||||
UserName | String | True | The username to access the Image parameter-specified URI. |
Response example
When the request is successful, a message body similar to the following is returned:
{
"@odata.context": "/redfish/v1/$metadata#VirtualMedia.VirtualMedia",
"@odata.etag": "\"1593620509\"",
"@odata.id": "/redfish/v1/Managers/Self/VirtualMedia/CD1",
"@odata.type": "#VirtualMedia.v1_3_2.VirtualMedia",
"Actions": {
"#VirtualMedia.EjectMedia": {
"@Redfish.ActionInfo": "/redfish/v1/Managers/Self/VirtualMedia/CD1/EjectMediaActionInfo",
"target": "/redfish/v1/Managers/Self/VirtualMedia/CD1/Actions/VirtualMedia.EjectMedia"
},
"#VirtualMedia.InsertMedia": {
"@Redfish.ActionInfo": "/redfish/v1/Managers/Self/VirtualMedia/CD1/InsertMediaActionInfo",
"target": "/redfish/v1/Managers/Self/VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia"
}
},
"ConnectedVia": "NotConnected",
"Description": "Virtual Media Instance redirected to host via this Manager",
"Id": "CD1",
"Image": "//10.0.121.123/home/tamil/image",
"ImageName": "",
"Inserted": false,
"MediaTypes": [
"CD"
],
"Name": "CD1",
"Oem": {
"Ami":{
"@odata.type": "#AMIVirtualMedia.v1_0_0.AMIVirtualMedia",
"BoostMode": false,
"RedirectionStatus": "None"
}
],
"TransferMethod": "Stream",
"TransferProtocolType": "NFS",
"UserName": "",
"WriteProtected": true
}