GET – Power Supply properties
Use the GET method to retrieve properties in Power Supply for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Chassis/1/PowerSubsystem/PowerSupplies/PSU{psu_id}
Request body
None
Response body
Field | Type | Description | ||||
---|---|---|---|---|---|---|
Id | String | PSU{psu_id} | ||||
Name | String | Power Supply {psu_id} | ||||
Description | String | This resource shall represent Power Supply {psu_id} of a chassis for a Redfish implementation. | ||||
FirmwareVersion | String | The version of firmware. | ||||
InputNominalVoltageType | String | AC200To240V, AC200To277V, DC240Vor null. | ||||
InputRanges | Array | Items: object Item count: 1 | ||||
CapacityWatts | Number | Output label power. | ||||
NominalVoltageType | String | Same as InputNominalVoltageType. | ||||
Links | Object | Expanded. | ||||
PoweringChassis | Array | /redfish/v1/Chassis/1 /redfish/v1/Chassis/Enclosure | ||||
Location | Object | Expanded. | ||||
PartLocation | Object | Expanded. | ||||
LocationOrdinalValue | Integer | {psu_id} | ||||
LocationType | String | Slot | ||||
ServiceLabel | String | PSU{psu_id} | ||||
Manufacturer | String | Manufacturer of power supply | ||||
Model | String | Model number | ||||
OutputRails | Array | Items: object Item count: 1 | ||||
NominalVoltage | Number | 12 | ||||
PhysicalContext | String | SystemBoard | ||||
PartNumber | String | Part number of power supply. | ||||
PowerCapacityWatts | Number | Same as CapacityWatts. | ||||
PowerInputWatts | Number | The measured input power of this power supply. | ||||
PowerOutputWatts | Number | The measured output power of this power supply. | ||||
PowerSupplyType | String | The type of power supply. | ||||
SerialNumber | String | Serial number of the system. | ||||
SparePartNumber | String | Number of Spare. | ||||
Status | Object | Expanded. | ||||
State | String | Enabled or Absent. | ||||
Health | String | OK, Warning” or Critical. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@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"
}
}