"@odata.id":"/redfish/v1/Managers/CIMC/VirtualMedia/TEST",
"ImageName":"https://10.10.10.10//chassis.img",
"@odata.type":"#VirtualMedia.1.0.0",
"WriteProtected":true,
"Name":"Virtual Removable Disk",
"Inserted":false,
"MediaType":["Floppy","USBStick"],
"Description":"Virtual Media Settings"
}
Retrieving Registries
Request:
curl -XGET -k -u admin:Password https://10.10.10.10/redfish/v1/Registries
Response:
{
"Members":[{
"@odata.id":"/redfish/v1/Registries/Base"
},{
"@odata.id":"/redfish/v1/Registries/CiscoUcsFaults"
},{
"@odata.id":"/redfish/v1/Registries/CiscoUcsMessageRegistry"
},{
"@odata.id":"/redfish/v1/Registries/CiscoBiosAttributeRegistry.v1_0_0"
}],
"Description":"Registry Repository",
"@odata.type":"#MessageRegistryFileCollection.MessageRegistryFileCollection",
"@odata.id":"/redfish/v1/Registries",
"[email protected]":4,
"Name":"Registry File Collection",
"@odata.context":"/redfish/v1/$metadata#Registries"
}
Retrieving Base Registries
Request:
curl -XGET -k -u admin:Password https://10.10.10.10/redfish/v1/Registries/Base
Response:
{
"Id":"Base",
"Name":"Base Message Registry file",
"@odata.context":"/redfish/v1/$metadata#Registries/Members/$entity",
"Languages":["en"],
"@odata.type":"#MessageRegistryFile.v1_0_2.MessageRegistryFile",
"Location":[{
"Uri":"/redfish/v1/Registries/Base/Base.1.4.0.json",
"Language":"en"
}],
"@odata.id":"/redfish/v1/Registries/Base",
"Description":"Base Message Registry File locations"
Cisco UCS C-Series Servers REST API Programmer's Guide
114
Cisco IMC REST API Examples
Examples of Server Tasks for 4.0(4)