Skip to main content

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:

FieldTypeDescription

Name

String“NetworkDeviceFunctionCollection”.

Members

ArrayItems: A reference link to an element of NetworkDeviceFunction.

Description

StringA collection of NetworkDeviceFunction resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

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
}