White Papers

OpenManage Essentials-Specific Resource Model
44 REST API GuideOpenManage Essentials
<Devices>
<int>1</int>
<int>2</int>
<int>3</int>
<int>4</int>
</Devices>
<UserName>Administrator</UserName>
<Password>Dell1234</Password>
<IsGraceFul>1</IsGraceFul>
</RESTPowerControlTaskW>
The attributes associated with the power control type enumeration are defined in the following table.
Enum
Value
Description
0
None
1
Shutdown
2
PowerCycle
3
Reset
4
PowerOn
2.12.2 LED control task
LED control task can be utilized for controlling system LED on iDRAC. The following resource URI can be used
to create a LED control task:
URI: < BASE_URI>/Tasks/LEDControl
Operations: POST
The attributes associated with the LED control task are described in the following table:
Attribute
Name
Description
Id
Always set this to 0 when creating a new task.
Name
The name of the task.
Description
A short description of the task.
ControlType
An enumerated value indicating the type of LED control (Start LED, Stop LED)
Devices
The list of selected device identifiers. If only one device is affected, the list will contain one
element. The device identifier is the identifier associated with the device.
Schedule
The schedule for the task. This will be in cron format. If it is a run now task, the schedule
will have a special value (“-1”).
UserName
The username required to run the task.
Password
The password required to run the task.