跳到主要内容

GET – 电源模块集合

使用 GET 方法检索 Redfish 服务的电源模块集合中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies

请求正文

响应正文

字段

类型

描述

Description

字符串

“A collection of power supplies resource instances.”

Name

字符串

Power Supplies

Members

数组

项:电源模块元素的引用链接。

 

Members[N]

链接

电源模块实例的链接。

状态代码

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

示例

{
"@odata.context": "/redfish/v1/$metadata#PowerSupplyCollection.PowerSupplyCollection",
"@odata.etag": "\"F933E19D\"",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies",
"@odata.type": "#PowerSupplyCollection.PowerSupplyCollection",
"Description": "A collection of power supply resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1"
},
{
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU2"
}
],
"Members@odata.count": 2,
"Name": "Power Supplies"
}