API Guide

Table Of Contents
}
]
}
Table 44. Attributes
Attribute Name Description
PolicyId ID of policy
Name Name associated with the policy.
Type Type of policy.
Description Description associated with the policy
Enabled Indicates if the policy is enabled or disabled.
AssignedTo Entity on which the policy is assigned to.
CreatedTime Time at which the policy is created.
ExecutionState State associated with the policy.
PolicyDetails Link to the detailed view of the policy.
IsAssociatedToGroup The policy is associated to group or not.
Table 45. Policy Execution State Enumeration
Enumeration Value Description
1 NOSTATE (Policy execution state is not yet determined).
2 EXECUTING (Policy execution is in progress or pending).
3 SUCCESS (Policy execution is successful).
5 FAILED (Policy execution failed).
/api/PowerService/Policies(<PolicyId>)/PolicyDetails
This method returns details of a power policy.
Supported versions of Power Manager:
2.0
1.2
1.1
1.0
GET method for Policies(<PolicyId>)/PolicyDetails of a specific
policy
Description
Returns details of a power policy.
Privilege VIEW
HTTP response
codes
200
Example
Input: None
Output:
42 Power Policy