跳到主要内容

GET – 由存储控制器管理的卷集合

使用 GET 方法检索服务器的卷集合资源。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Storage/{StorageId}/Volumes

响应正文

字段

类型

描述

Name

字符串

VolumeCollection

Description

字符串

“A collection of volumes instances.”

Members

数组

项:卷元素的引用链接。

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.etag": "\"13CFDD03\"",
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes",
"@odata.type": "#VolumeCollection.VolumeCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes/239"
},
{
"@odata.id": "/redfish/v1/Systems/1/Storage/controller_slot8/Volumes/238"
}
],
"Members@odata.count": 2,
"Name": "Volume Collection",
"Oem": {
...
}
}
}
}