"Description":"Collection of Storage resource instances",
"@odata.type":"#Cisco_VolumesCollection",
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Volumes",
"[email protected]":1,
"Name":"Volumes Collection",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Storage/Members/$entity/Volumes"
}
Retrieving Individual Volumes
Request:
curl -k -u admin:password
https://10.10.10.10/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Volumes/VD-0
Response:
{
"Encrypted":"false",
"Status":{
"State":"Enabled",
"Health":"OK"
},
"Operations":{
"PercentageComplete":"0",
"OperationName":"No operation in progress"
},
"Name":"",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Storage/Members/$entity/Volumes/Members/$entity",
"Actions":{
"#Volume.Initialize":{
"target":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Volumes/VD-0/Actions/Volume.Initialize"
}
},
"@odata.type":"#Cisco_Volumes",
"CapacityBytes":998999326720,
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Volumes/VD-0",
"Links":{
"Drives":[{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-1"
},{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-2"
}],
},
"Id":"0",
"VolumeType":"Mirrored",
"BlockSizeBytes":65536
}
Performing Initialize Action on Volumes
Request:
Cisco UCS C-Series Servers REST API Programmer's Guide
69
Cisco IMC REST API Examples
Examples of Server Tasks for 3.1(3)