GET – BMC 以太网接口属性集合
使用 GET 方法检索 BMC 的以太网接口集合资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/EthernetInterfaces
请求正文
无
响应正文
响应是包含以下参数的 JSON 对象:
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Members  | 数组 | 项:EthernetInterface 元素的引用链接。  | |||
Name  | 字符串 | EthernetInterfaceCollection。  | |||
Description  | 字符串 | “A collection of EthernetInterface resource instances.” | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
响应示例
返回以下示例 JSON 响应:
{
    "@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces",
    "Name": "EthernetInterfaceCollection",
    "@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
    "Members": [
        {
            "@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/NIC"
        },
        {
            "@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/ToHost"
        }
    ],
    "@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
    "@odata.etag": "\"3a44d9cd5c02b15baae44caebe1d29fb\"",
    "Members@odata.count": 2,
    "Description": "A collection of EthernetInterface resource instances."
}
提供反馈