GET – 电源模块属性
使用 GET 方法检索服务器的电源模块中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/PowerSubsystem/PowerSupplies/PSU{psu_id}
请求正文
无
响应正文
字段 | 类型 | 描述 | ||||
---|---|---|---|---|---|---|
Id | 字符串 | “PSU{psu_id}” | ||||
Name | 字符串 | “Power Supply {psu_id}” | ||||
Description | 字符串 | “This resource shall represent Power Supply {psu_id} of a chassis for a Redfish implementation.” | ||||
EfficiencyRatings | 数组 | 项:对象 项数:1 | ||||
EfficiencyRatings[1] | 对象 | 已展开。 | ||||
EfficiencyPercent | 数字 | 电源模块效率百分比。 | ||||
LoadPercent | 数字 | 电源模块负载百分比。 | ||||
FirmwareVersion | 固件版本。 | |||||
HotPluggable | 布尔 | 如果此 PSU 是系统中最后一个正在使用的 PSU,则值为 false。 | ||||
InputNominalVoltageType | 字符串 | “AC200To240V”、“AC200To277V”、“DC240V”或 null。 | ||||
InputRanges | 数组 | 项:对象 项数:1 | ||||
InputRanges[1] | 对象 | 已展开 | ||||
CapacityWatts | 数字 | 输出标签功率。 | ||||
NominalVoltageType | 字符串 | 与 InputNominalVoltageType 相同。 | ||||
Location | 对象 | 已展开 | ||||
PartLocation | 对象 | 已展开 | ||||
ServiceLabel | 字符串 | “PSU{psu_id}” | ||||
LocationType | 字符串 | “Slot” | ||||
LocationOrdinalValue | 整数 | {psu_id} | ||||
Manufacturer | 字符串 | 电源模块的制造商 | ||||
Metrics | 链接 | /Chassis/1/PowerSubsystem/PowerSupplies/PSU{psu_id}/Metrics | ||||
Model | 字符串 | 型号 | ||||
OutputRails | 数组 | 项:对象 项数:1 | ||||
OutputRails[1] | 对象 | 已展开 | ||||
NominalVoltage | 数字 | 12 | ||||
PhysicalContext | 字符串 | “SystemBoard” | ||||
PartNumber | 字符串 | 电源模块的部件号。 | ||||
PowerCapacityWatts | 数字 | 与 CapacityWatts 相同。 | ||||
PowerSupplyType | 字符串 | 电源模块的类型。 | ||||
SerialNumber | 字符串 | 系统的序列号。 | ||||
SparePartNumber | 字符串 | 备件数量。 | ||||
Status | 对象 | 已展开 | ||||
State | 字符串 | “Enabled”、“Disabled”或“Absent”。 | ||||
Health | 字符串 | “OK”、“Warning”或“Critical”。 | ||||
Links | 对象 | 已展开 | ||||
PoweringChassis | 数组 | 项:字符串 项数:1 | ||||
PoweringChassis[] | 字符串 | “/redfish/v1/Chassis/1” |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"HotPluggable": false,
"@odata.etag": "\"6cf7d7f414d226700a9\"",
"Description": "This resource shall represent Power Supply 1 of a chassis for a Redfish implementation.",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"PowerSupplyType": "AC",
"InputRanges": [
{
"CapacityWatts": 1100,
"NominalVoltageType": "AC200To277V"
}
],
"@odata.context": "/redfish/v1/$metadata#PowerSupply.PowerSupply",
"PartNumber": "SP57A88784",
"Location": {
"PartLocation": {
"ServiceLabel": "PSU1",
"LocationType": "Slot",
"LocationOrdinalValue": 1
}
},
"SerialNumber": "A1DB1BP1009",
"Id": "PSU1",
"Name": "Power Supply 1",
"@odata.type": "#PowerSupply.v1_3_0.PowerSupply",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1",
"Manufacturer": "ACBE",
"FirmwareVersion": "14.11",
"InputNominalVoltageType": "AC200To277V",
"PowerCapacityWatts": 1100,
"SparePartNumber": "",
"Model": "LENOVO-SP57A88784",
"EfficiencyRatings": [
{
"EfficiencyPercent": 93,
"LoadPercent": 19
}
],
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1/Metrics"
},
"OutputRails": [
{
"NominalVoltage": 12,
"PhysicalContext": "SystemBoard"
}
]
}