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
{
"AttributeTypeName": "POWER_CAPACITY",
"IdDataType": 2,
"Value": "1000"
},
{
"AttributeTypeName": "SPACE_CAPACITY",
"IdDataType": 2,
"Value": "42"
}
]
}
}
Output:
{
10113
}
Table 73. Attributes
Attribute Description
Name Name of the physical group.
Description Description of the physical group.
MembershipTypeId Define the group type as static.
To create a physical group, pass this value as 12.
ParentId Id of the parent group.
To create a group immediately under physical hierarchy,
provide the group id as 1029.
To create a group under an existing physical group, pass the
respective group id.
AttributeTypeName Type of capacity.
IdDataType Represents attribute data type.
Value Value of the attribute.
GroupTags Group type under the parent group.
GroupAttributeTypeValues Details of the group you are creating.
List of all the supported group tags options that this method supports:
● DATA_CENTER
● ROOM
● AISLE
● RACK
Table 74. Supported attributes
Enumeration Value Description
POWER_CAPACITY This attribute is mandatory only for the group type rack and
optional for other types.
SPACE_CAPACITY This field is only applicable to group type RACK.
Physical Groups 65