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:
{
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/slot-13/NetworkDeviceFunctions/1.1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/slot-13/NetworkDeviceFunctions/2.1"
}
],
"@odata.type": "#NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection",
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/slot-13/NetworkDeviceFunctions",
"Members@odata.count": 2,
"@odata.etag": "\"f98d64ab9ab89400faa5b2f4e0784f47\"",
"Name": "NetworkDeviceFunctionCollection",
"Description": "A collection of NetworkDeviceFunction resource instances."
}
Give documentation feedback