跳到主要内容

GET – 风扇集合

使用 GET 方法检索 Redfish 服务的风扇集合中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/ThermalSubsystem/Fans

请求正文

响应正文

字段

类型

描述

Name

字符串

“FanCollection”

Members

数组

项:风扇元素的引用链接

Members@odata.count

数字

风扇元素的数量

Description

字符串

“A collection of fan resource instances.”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans",
"@odata.etag": "\"7c37345c341432ca33cc7\"",
"@odata.context": "/redfish/v1/$metadata#FanCollection.FanCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_1_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_2_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_3_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_4_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_5_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_6_Front_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_1_Rear_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_2_Rear_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_3_Rear_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_4_Rear_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_5_Rear_Tach"
},
{
"@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/Fans/Fan_6_Rear_Tach"
}
],
"Members@odata.count": 12,
"Description": "A collection of fan resource instances.",
"Name": "FanCollection",
"@odata.type": "#FanCollection.FanCollection"
}