GET method for Representing All Power Manager capable devices from a Group
This method represents all the Power Manager supported devices (All Licensed, Power Monitor Capable and Supported Model)
- Description
-
Returns all the Power Manager devices belonging to a monitored group
- Privilege
- VIEW
- HTTP response codes
- 200
- Example
-
Input: None
Output:
{
"@odata.context": "/api/$metadata#Collection(PowerService.Device)",
"@odata.count": 1,
"value": [
{
"@odata.type": "#PowerService.Device",
"Id": 10069,
"DeviceName": "SKCLUSN1.tejd.bdcsv.lab",
"ServiceTag": "4xBzewP",
"Type": 1000,
"PowerState": 17,
"ManagedState": 3000,
"ConnectionState": true,
"HealthStatus": 4000,
"Model": "PowerEdge R940",
"InWorkingSet": true,
"IsPolicyCapable": true,
"IsAddedIndividually": true
}
]
}
Table 1. AttributesAttribute values
Attribute Name
|
Description
|
Id
|
Device Id.
|
DeviceName
|
Device Name.
|
ServiceTag
|
Device Service Tag.
|
Type
|
Device Type.
|
PowerState
|
Power State of device.
|
ManagedState
|
Managed State of the device.
|
ConnectionState
|
Connection state of the device.
|
HealthStatus
|
Health status of the device.
|
Model
|
Device Model.
|
InWorkingSet
|
Available in monitored list.
|
IsPolicyCapable
|
Capable to apply Power cap policy or not.
|
IsAddedIndividually
|
Device is added individually or not.
|
Table 2. FilterFilter
Field
|
Operator
|
Id
|
eq
|
DeviceName
|
Contains
|
ServiceTag
|
Contains
|
Model
|
Contains
|
Type
|
eq
|
PowerState
|
eq
|
ManagedState
|
eq
|
ConnectionState
|
eq
|
HealthStatus
|
eq
|
IsAddedIndividually
|
eq
|
List of all the sort options that this method supports:
- Id
- DeviceName
- ServiceTag
- Model
- Type
- PowerState
- ManagedState
- ConnectionState
- HealthStatus
- IsAddedIndividually