GET – 虚拟介质集合
使用 GET 方法检索 Redfish 服务的虚拟介质集合中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/VirtualMedia
请求正文
无
响应正文
响应是包含以下参数的 JSON 对象:
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Name | 字符串 | “VirtualMediaCollection” | |||
Members | 数组 | 项:虚拟介质元素的引用链接。 | |||
Description | 字符串 | “A collection of VirtualMedia resource instances” |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"Description": "A collection of VirtualMedia resource instances",
"@odata.type": "#VirtualMediaCollection.VirtualMediaCollection",
"@odata.context": "/redfish/v1/$metadata#VirtualMediaCollection.VirtualMediaCollection",
"Name": "VirtualMediaCollection",
"@odata.etag": "\"5e3fbd09a7ee2a324db\"",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT2"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT3"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT4"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote2"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote3"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote4"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/RDOC1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/RDOC2"
}
],
"Members@odata.count": 10,
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia"
}
提供反馈