跳到主要内容

GET – 服务器 PCIe 功能的功能

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

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeDevice/{Device_id}/PCIeFunctions/{Location}
位置 = ob_X.YY 或 slot_W.ZZ

请求正文

响应正文

字段类型描述

Id

字符串

Id 属性用于唯一标识此 PCIe 功能。

ClassCode

字符串

此 PCIe 功能的类别代码。

Description

字符串

“This resource represents the properties of a PCIeFunction attached to a System.”

DeviceId

字符串

此 PCIe 功能的设备 ID。

DeviceClass

字符串

此 PCIe 功能的类别。

FunctionId

字符串

PCIe 功能标识符。

FunctionType

字符串

Physical

Links

对象

已展开。

 

PCIeDevice

链接

相关 PCIeDevice 资源的链接。

Name

字符串

VPD 中的卡名 + 总线编号、设备编号、功能编号。

如果没有 VPD 数据,请使用“Adapter”代替卡名。

RevisionId

字符串

此 PCIe 功能的修订 ID。

SubsystemId

字符串

此 PCIe 功能的子系统 ID。

SubsystemVendorId

字符串

此 PCIe 功能的子系统供应商 ID。

VendorId

字符串

此 PCIe 功能的供应商 ID。

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.context": "/redfish/v1/$metadata#PCIeFunction.PCIeFunction",
"@odata.etag": "\"A6B4AE04\"",
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot3_0xb0000/PCIeFunctions/slot_3.00",
"@odata.type": "#PCIeFunction.v1_4_0.PCIeFunction",
"ClassCode": "0x0C0400",
"Description": "This resource represents the properties of a PCIeFunction attached to a System.",
"DeviceClass": "SerialBusController",
"DeviceId": "0x2281",
"Enabled": true,
"FunctionId": 0,
"FunctionType": "Physical",
"Id": "slot_3.00",
"Links": {
"PCIeDevice": {
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot3_0xb0000"
}
},
"Name": "QLogic QLE2772 32Gb 2-Port PCIe Fibre Channel Adapter 00:0B:00.00",
"Oem": {
...
}
},
"RevisionId": "0x2",
"SubsystemId": "0x2F5",
"SubsystemVendorId": "0x1077",
"VendorId": "0x1077"
}