GET – 以太网接口集合
使用 GET 方法检索 Redfish 服务的 HostEthernetInterfaces 中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces
请求正文
无
响应正文
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
Name  | 字符串 | “EthernetInterfaceCollection”  | |||
Members  | 数组 | 项:以太网接口元素的引用链接  | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
返回以下示例 JSON 响应:
{
    "Members": [
        {
            "@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/ToManager"
        }
    ],
    "@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
    "@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces",
    "@odata.etag": "\"277e05446a7928a3f63\"",
    "Name": "EthernetInterfaceCollection",
    "Members@odata.count": 1
}
提供反馈