跳到主要内容

GET – 存储控制器集合

使用 GET 方法检索服务器的存储集合资源的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage

请求正文

响应正文

响应是包含以下参数的 JSON 对象:

字段类型描述

Members

数组

项:存储元素的引用链接。

Name

字符串

StorageCollection

Description

字符串

“A collection of storage resource instances.”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/RAID_Slot1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/HBA_Slot10"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/7MM "
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/M.2 "
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/Direct_Attached_NVMe"
}
],
"@odata.type": "#StorageCollection.StorageCollection",
"@odata.id": "/redfish/v1/Systems/1/Storage",
"Name": "StorageCollection",
"@odata.etag": "\"3fe649519a8f27e9c28\"",
"Members@odata.count": 5,
"Description": "A collection of storage resource instances"
}