API Guide
Table Of Contents
- OpenManage Enterprise Power Manager RESTful API Guide version 2.0
- Contents
- About this document
- Overview
- Key integration concepts
- Settings
- Monitored Devices
- Monitored Groups
- Power Policy
- api/PowerService/PowerBounds
- /api/PowerService/Policies
- /api/PowerService/Policies(
) - /api/PowerService/Policies(
)/PolicyDetails - /api/PowerService/MonitoredDevices(
)/Policies - /api/PowerService/MonitoredGroups(
)/Policies - /api/PowerService/Actions/PowerService.CreatePolicy
- /api/PowerService/Actions/PowerService. EditPolicy
- /api/PowerService/Actions/PowerService.EnablePolicies
- /api/PowerService/Actions/PowerService.DisablePolicies
- /api/PowerService/Actions/PowerService.DeletePolicies
- Emergency Power Reduction
- Unmonitored devices
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Create
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Update
- api/PowerService/UserDefinedEntities/Actions/UserDefinedEntities.Delete
- api/PowerService/UserDefinedEntities/Devices
- api/PowerService/UserDefinedEntities/Devices(
)
- Physical Groups
- api/GroupService/Actions/GroupService.CreateGroup
- api/GroupService/Actions/GroupService.UpdateGroup
- api/GroupService/Actions/GroupService.DeleteGroup
- /api/PowerService/PhysicalGroups/GroupDetails
- /api/PowerService/PhysicalGroups/GroupDetails(
) - api/PowerService/PhysicalGroups/GroupDetails
/AllLeafgroups - api/PowerService/Actions/PowerService.UpdateDeviceDetails
- /api/PowerService/DeviceDetails
- api/PowerService/PhysicalGroups/CapableDevices
- api/PowerService/PhysicalGroups/CapableDevices(
) - api/PowerService/PhysicalGroups/Actions/PhysicalGroup.AddMemberDevices
- api/PowerService/PhysicalGroups/Actions/PhysicalGroup.RemoveMemberDevices
- api/PowerService/PhysicalGroups/GroupDetails(
)/Devices - api/PowerService/PhysicalGroups/Actions/PhysicalGroup.UpdateSlots
- api/PowerService/PhysicalGroups/Actions/PhysicalGroup.MoveDevice
- Power Distribution Units
- Virtual machines
- Report Service
Table 77. Attributes (continued)
Attribute name Description
parentId Group Parent ID
Name Group name
Description Group description
addedOn Date when the group is added.
devicesInWorkingSet Number of devices available in monitored list
Type Type of physical group
Tag Tag of physical group
Location Physical group location
spaceCapacity Total space capacity
occupiedSpace Total occupied space
powerCapacity Total power capacity of group
calculatedPowerCapacity Sum of all the child group power consumption
sparePowerCapacity Unused power capacity
spareSpaceCapacity Unused space capacity
temperatureTriggeredPolicyExist Temperature policy is created or not.
api/PowerService/PhysicalGroups/
GroupDetails<GroupID>/AllLeafgroups
Use this URI to view all the groups under this specific group.
Supported versions of Power Manager:
● 2.0
● 1.2
GET method to list all the groups recursively for the specific group
Description
Displays a list of all the physical groups under the specified parent group.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
{
"@odata.context": "/api/
$metadata#Collection(PhysicalGroup.GroupDetails)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PhysicalGroup.GroupDetails",
"@odata.id": "/api/PowerService/PhysicalGroups/
GroupDetails(11183)",
"Id": 11183,
"ParentId": 11183,
70 Physical Groups