跳到主要内容

GET – 服务器内存集合

使用 GET 方法检索 Redfish 服务的内存集合中的属性。

请求 URL

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

请求正文

响应正文

字段类型描述

Name

字符串

内存集合

Members

数组

项:内存资源元素的引用链接

Description

字符串

“A Collection of memory resource instances.”

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.context": "/redfish/v1/$metadata#MemoryCollection.MemoryCollection",
"@odata.etag": "\"98E01A23\"",
"@odata.id": "/redfish/v1/Systems/1/Memory",
"@odata.type": "#MemoryCollection.MemoryCollection",
"Description": "A collection of memory resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Memory/32"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/31"
},
...
{
"@odata.id": "/redfish/v1/Systems/1/Memory/2"
},
{
"@odata.id": "/redfish/v1/Systems/1/Memory/1"
}
],
"Members@odata.count": 32,
"Name": "Memory Collection"
}