Skip to main content

GET – Power management properties

Use the GET method to retrieve properties in Power resource for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Chassis/2/Power

Request body

None

Response body

FieldTypeDescription
IdString“Power”.
NameStringThe name of power resource. Always set to “Power”.
DescriptionString“Power Consumption and Power Limiting”
PowerControlArrayThis is the definition for power control function (power reading/limiting).
 PowerControl[1]ObjectThis is the base type for addressable members of PowerControl array.
  MemberIdStringIndex of this PowerControl array.
  NameStringPower Control Function name. Always set to “Server Power Control”.
  PowerConsumedWattsNumberThe actual power being consumed by the chassis.
  PowerCapacityWattsNumberThe total amount of power available to the chassis for allocation. This may the power supply capacity, or power budget assigned to the chassis from an up-stream chassis.
  RelatedItemArrayAn array of links to resource of chassis
   RelatedItem[1]LinkA reference link to a resource of chassis

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"PowerControl@odata.count": 1,
"PowerControl": [
{
"Name": "Server Power Control",
"RelatedItem@odata.count": 1,
"@odata.id": "/redfish/v1/Chassis/2/Power#/PowerControl/0",
"MemberId": "0",
"PowerCapacityWatts": 200,
"PowerConsumedWatts": 150,
"RelatedItem": [
{
"@odata.id": "/redfish/v1/Chassis/2"
}
]
}
],
"@odata.type": "#Power.v1_5_3.Power",
"Id": "Power",
"@odata.id": "/redfish/v1/Chassis/2/Power",
"@odata.etag": "\"e6e56474dde0e18185c641e587ca1790\"",
"Name": "Power",
"Description": "Power Consumption and Power Limiting"
}