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