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
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “Power”. | |||
Name | String | The name of power resource. Always set to “Power”. | |||
Description | String | Power Consumption and Power Limiting | |||
PowerControl | Array | This is the definition for power control function (power reading/limiting). | |||
PowerControl[1] | Object | This is the base type for addressable members of PowerControl array. | |||
MemberId | String | Index of this PowerControl array. | |||
Name | String | Power Control Function name. Always set to “Server Power Control”. | |||
PowerConsumedWatts | Number | The actual power being consumed by the chassis. | |||
PowerCapacityWatts | Number | The 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. | |||
RelatedItem | Array | An array of links to resource of chassis. | |||
RelatedItem[1] | Link | A reference link to a resource of chassis. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
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"
}
Give documentation feedback