跳到主要内容

GET – PCIe 功能集合

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

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeDevices/{Device_id}/PCIeFunctions

请求正文

响应正文

字段类型描述

Name

字符串

“PCIeFunctionCollection”

Members

数组

项:PCIeFunction 元素的引用链接

Description

字符串

“A collection of PCIeFunction resource instances.”

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_2/PCIeFunctions",
"@odata.etag": "\"2f750a2aac6a296882c\"",
"@odata.context": "/redfish/v1/$metadata#PCIeFunctionCollection.PCIeFunctionCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/PCIeDevices/slot_2/PCIeFunctions/slot_2.00"
}
],
"Members@odata.count": 1,
"Description": "A collection of PCIeFunction resource instances.",
"Name": "PCIeFunctionCollection",
"@odata.type": "#PCIeFunctionCollection.PCIeFunctionCollection"
}