跳到主要内容

GET – 电源模块属性

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

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU{psu_id}

请求正文

响应正文

字段

类型

描述

Id

字符串

PSU{psu_id}

Name

字符串

电源模块 {psu_id}

Description

字符串

“This resource shall represent Power Supply {psu_id} of a chassis for a Redfish implementation.”

FirmwareVersion

字符串

固件版本。

InputNominalVoltageType

字符串

AC200To240VAC200To277VDC240V 或 null。

InputRanges

数组

项:对象

项数:1

 

CapacityWatts

数字

输出标签功率。

 

NominalVoltageType

字符串

与 InputNominalVoltageType 相同。

Links

对象

已展开。

 

PoweringChassis

数组

/redfish/v1/Chassis/1

/redfish/v1/Chassis/Enclosure

Location

对象

已展开。

 

PartLocation

对象

已展开。

  

LocationOrdinalValue

整数

{psu_id}

  

LocationType

字符串

Slot

  

ServiceLabel

字符串

PSU{psu_id}

Manufacturer

字符串

电源模块的制造商

Model

字符串

型号

OutputRails

数组

项:对象

项数:1

 

NominalVoltage

数字

12

 

PhysicalContext

字符串

SystemBoard

PartNumber

字符串

电源模块的部件号。

PowerCapacityWatts

数字

与 CapacityWatts 相同。

PowerInputWatts

数字

此电源模块的实测输入功率。

PowerOutputWatts

数字

此电源模块的实测输出功率。

PowerSupplyType

字符串

电源模块的类型。

SerialNumber

字符串

系统的序列号。

SparePartNumber

字符串

备件数量。

Status

对象

已展开。

 

State

字符串

“Enabled”或“Absent”。

 

Health

字符串

“OK”、“Warning”或“Critical”。

状态代码

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

示例

返回以下示例 JSON 响应:

{
"@odata.context": "/redfish/v1/$metadata#PowerSupply.PowerSupply",
"@odata.etag": "\"929EDF12\"",
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1",
"@odata.type": "#PowerSupply.v1_5_0.PowerSupply",
"Description": "This resource shall represent Power Supply 1 of a chassis for a Redfish implementation.",
"FirmwareVersion": "3.50",
"Id": "PSU1",
"InputNominalVoltageType": "AC200To240V",
"InputRanges": [
{
"CapacityWatts": 2000,
"NominalVoltageType": "AC200To240V"
}
],
"Links": {
"PoweringChassis": [
{
"@odata.id": "/redfish/v1/Chassis/1"
}
]
},
"Location": {
"PartLocation": {
"LocationOrdinalValue": 1,
"LocationType": "Slot",
"ServiceLabel": "PSU1"
}
},
"Manufacturer": "LITE",
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU1/Metrics"
},
"Model": "PA-1202-5L7",
"Name": "PSU1",
"Oem": {
...
}
},
"OutputRails": [
{
"NominalVoltage": 12,
"PhysicalContext": "SystemBoard"
}
],
"PartNumber": "SP57B68388",
"PowerCapacityWatts": 2000,
"PowerSupplyType": "AC",
"SerialNumber": "L1DG49L228K",
"SparePartNumber": "03LD404",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}