GET – Collection of Network device function
Use the GET method to retrieve properties in NetworkDeviceFunction collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/NetworkAdapters/{Location}/NetworkDeviceFunctions
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “NetworkDeviceFunctionCollection”. | |||
Members | Array | Items: A reference link to an element of NetworkDeviceFunction. | |||
Description | String | A collection of NetworkDeviceFunction resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.type": "#NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection",
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/ob-2/NetworkDeviceFunctions",
"Description": "A collection of NetworkDeviceFunction resource instances.",
"@odata.context": "/redfish/v1/$metadata#NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/ob-2/NetworkDeviceFunctions/1.1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/ob-2/NetworkDeviceFunctions/2.1"
}
],
"@odata.etag": "\"469ebc906d8628a96e9\"",
"Name": "NetworkDeviceFunctionCollection",
"Members@odata.count": 2
}
Give documentation feedback