GET – 内存属性
使用 GET 方法检索 Redfish 服务的 Memory 资源中的属性
请求正文
无
响应正文
字段 | 类型 | 描述 | ||
---|---|---|---|---|
AllowedSpeedsMHz | 数组 | 此存储设备支持的速度。 | ||
BaseModuleType | 字符串 | 内存设备的基础模块类型。 | ||
BusWidthBits | 整数 | 总线宽度(以比特为单位)。 | ||
CapacityMiB | 整数 | 内存容量,以兆字节(MiB)为单位。 | ||
DeviceID | 字符串 | 设备 ID。 | ||
DataWidthBits | 整数 | 数据宽度(以比特为单位)。 | ||
Description | 字符串 | “This resource is used to represent a memory for a Redfish implementation.” | ||
ErrorCorrection | 字符串 | 此内存设备支持的纠错方案。 | ||
Id | 字符串 | 内存 ID。 | ||
Manufacturer | 字符串 | 内存设备制造商。 | ||
MemoryLocation | 对象 | 已展开。 | ||
Socket | 整数 | 内存设备连接到的 CPU 插槽(socket)编号。 | ||
Slot | 整数 | 内存设备连接到的 DIMM 插槽(slot)编号。 | ||
MemoryType | 字符串 | 内存设备的类型。 | ||
MemoryDeviceType | 字符串 | 内存设备的类型详细信息。 | ||
Name | 字符串 | 内存名称。 | ||
OperatingSpeedMhz | 整数 | 内存设备的运行速度(以 MHz 或 MT/s 为单位,视情况而定)。 | ||
PartNumber | 字符串 | 产品部件号。 | ||
RankCount | 整数 | 内存设备中可用的列数。 | ||
SerialNumber | 字符串 | 此内存的序列号。如果内存不存在,则此值为 null 或空。 | ||
Status | 对象 | 无 | ||
State | 字符串 | 资源的状态。 | ||
Health | 字符串 | 资源的运行状况。 | ||
PartLocation | 对象 | 无 | ||
LocationOrdinalValue | 整数 | 表示部件位置的数字。如果 LocationType 为“slot”,而此单元位于插槽 2 中,则 LocationOrdinalValue 为 2。 | ||
LocationType | 字符串 | 部件的位置类型。 | ||
ServiceLabel | 字符串 | 部件位置的标签。 | ||
Links | 对象 | 已展开。 | ||
Chassis | 链接 | 包含此内存设备的机箱的链接。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#Memory.Memory",
"@odata.etag": "\"2BDB6415\"",
"@odata.id": "/redfish/v1/Systems/1/Memory/1",
"@odata.type": "#Memory.v1_16_0.Memory",
"AllowedSpeedsMHz": [
6400
],
"BaseModuleType": "RDIMM",
"BusWidthBits": 80,
"CapacityMiB": 16384,
"DataWidthBits": 64,
"Description": "This resource is used to represent a memory for a Redfish implementation.",
"DeviceID": "DIMM_1",
"ErrorCorrection": "SingleBitECC",
"Id": "1",
"Links": {
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/1"
}
},
"Location": {
"PartLocation": {
"LocationOrdinalValue": 0,
"LocationType": "Slot",
"ServiceLabel": "DIMM 1"
}
},
"Manufacturer": "Micron Technology",
"MemoryDeviceType": "DDR5",
"MemoryLocation": {
"Slot": 1,
"Socket": 1
},
"MemoryType": "DRAM",
"Name": "DIMM 1",
"Oem": {
...
}
},
"OperatingSpeedMhz": 6400,
"PartNumber": "MTC10F1084S1RC64BD2 MWFF",
"RankCount": 1,
"SerialNumber": "802C0F241447F300F4",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}