GET – 服务器内存集合
使用 GET 方法检索 Redfish 服务的内存集合中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Memory
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Name | 字符串 | “Memory Collection” | |||
Members | 数组 | 项:内存资源元素的引用链接 | |||
Description | 字符串 | “A Collection of memory resource instances.” |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Memory/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/2"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/3"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/4"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/5"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/6"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/7"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/8"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/9"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/10"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/11"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/12"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/13"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/14"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/15"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/16"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/17"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/18"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/19"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/20"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/21"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/22"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/23"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/24"
}
],
"Oem": {
"Lenovo": {
"HistoryMemMetric": {
"@odata.id": "/redfish/v1/Systems/1/Memory/Oem/Lenovo/HistoryMemMetric"
}
}
},
"@odata.type": "#MemoryCollection.MemoryCollection",
"@odata.id": "/redfish/v1/Systems/1/Memory",
"Name": "Memory Collection",
"@odata.etag": "\"a2fb3627522630e8b7fe2\"",
"Members@odata.count": 24,
"Description": "A collection of memory resource instances."
}
提供反馈