GET – Collection of PCIe functions
Use the GET method to retrieve properties in PCIeFunction collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PCIeDevices/{Device_id}/PCIeFunctions
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “PCIeFunctionCollection” | |||
Members | Array | Items: A reference link to an element of PCIeFunction | |||
Description | String | A collection of PCIeFunction resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@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"
}
Give documentation feedback