跳到主要内容

GET – GPU 属性

使用 GET 方法检索 Redfish 服务的 GPU 资源的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/Processors/GPU{1-N}

请求正文

响应正文

字段类型描述

Description

字符串

“This resource is used to represent a processor for a Redfish implementation.”

Id

字符串

GPU{N},N 是此处理器的索引,从 1 开始。

Manufacturer

字符串

处理器制造商。

Name

字符串

“GPU {N}”,N 是从 1 开始的索引号。

SerialNumber

字符串

此处理器的序列号。

PartNumber

字符串

此处理器的部件号。

FirmwareVersion

字符串

此 GPU 的固件版本。

ProcessorId

对象

已展开

 

VendorId

字符串

此处理器的供应商标识。

ProcessorType

字符串

“GPU”

Links

对象

展开

 

Chassis

链接

/redfish/v1/Chassis/1/

 

PCIeDevice

链接

此 GPU PCIeDevice 的链接

 

PCIeFunctions

链接

此 GPU PCIeFunction 的链接

状态代码

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

示例

返回以下示例 JSON 响应:

{
"Oem": {
},
"FirmwareVersion": "5.0.0.0",
"ProcessorId": {
"VendorId": "0x8086"
},
"Links": {
"PCIeFunctions": [],
"Chassis": {
"@odata.id": "/redfish/v1/Chassis/1"
},
"PCIeFunctions@odata.count": 0,
"PCIeDevice": {
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_3"
}
},
"Description": "This resource is used to represent a processor for a Redfish implementation.",
"@odata.id": "/redfish/v1/Systems/1/Processors/GPU1",
"Id": "GPU1",
"Name": "GPU 1",
"@odata.type": "#Processor.v1_14_0.Processor",
"Manufacturer": "Intel Corporation",
"@odata.context": "/redfish/v1/$metadata#Processor.Processor",
"ProcessorType": "GPU",
"@odata.etag": "\"550cc3d4d20a27ea8a9\"",
"SerialNumber": "WTPV22000136",
"PartNumber": "M85068-502"
}