GET – 存储控制器集合
使用 GET 方法检索服务器的存储集合资源的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Members | 数组 | 项:存储元素的引用链接。 | |||
Name | 字符串 | StorageCollection | |||
Description | 字符串 | “A collection of storage resource instances.” |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#StorageCollection.StorageCollection",
"@odata.etag": "\"0DCF3B35\"",
"@odata.id": "/redfish/v1/Storage",
"@odata.type": "#StorageCollection.StorageCollection",
"Description": "A collection of storage resource instances",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8"
}
],
"Members@odata.count": 1,
"Name": "Storage Collection"
}
提供反馈