跳到主要内容

GET – 处理器集合

使用 GET 方法检索 Redfish 服务的处理器集合中的属性。

请求 URL

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

请求正文

响应正文

响应是包含以下参数的 JSON 对象:

字段类型描述

Name

字符串

“ProcessorCollection”

Members

数组

项:处理器资源元素的引用链接。

Description

字符串

“A Collection of Processor resource instances.”

状态代码

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

示例

返回以下示例 JSON 响应:

{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/Processors/1"
},
{
"@odata.id": "/redfish/v1/Systems/1/Processors/2"
},
{
"@odata.id": "/redfish/v1/Systems/1/Processors/GPU1"
}
],
"Oem": {
"Lenovo": {
"HistoryCPUMetric": {
"@odata.id": "/redfish/v1/Systems/1/Processors/Oem/Lenovo/HistoryCPUMetric"
}
}
},
"@odata.type": "#ProcessorCollection.ProcessorCollection",
"@odata.id": "/redfish/v1/Systems/1/Processors",
"Name": "ProcessorCollection",
"@odata.etag": "\"3d6b38a53bed29662db\"",
"Members@odata.count": 3,
"Description": "A collection of Processor resource instances."
}