API Guide
Table Of Contents
- OpenManage Integration for VMware vCenter Version 5.3 API Guide
- Contents
- Overview
- Get started
- Security
- Use cases
- Session management
- License management
- Console management
- Repository profile management
- Cluster profile management
- Firmware repository inventory management
- Firmware inventory management
- Firmware update management
- System profile management
- Drift management
- Get subsystem health report (OMIVV Host Health)
- Host management
- Request body
- Response body
- OMIVV-Specific error codes
Set alarms and events
Description: Sets alarms and events.
Command or URL: /Services/ConsoleService/AlarmsAndEvents
Method: PUT
Request Body:
{
"alarmStatus": {Host and chassis alarm status (true or false)},
"mprAlarmStatus": {MPR forecast alarm status(true or false)},
"eventPostType": "{event posting level options}"
}
For more information about request body parameters, see Request body on page 92.
Authorization: Bearer authentication
vCenter privileges required: Dell.Inventory.Configure Inventory
Parameters: None
HTTP response code:
Table 64. HTTP response code
Code Description or response object
200 Updated Alarms and Event
400 Operational Context not set
401 Authorization failure
403 vCenter permission denied
429 Too many requests
500 Internal Server error / timeout
For OMIVV-Specific error codes, see OMIVV-Specific error codes on page 112.
Example Response:
Alerts and Event updated successfully
For more information, see Response body on page 96.
Get host power supply information
Description: Gets the information about the host power supplies.
Command or URL: /Services/InventoryService/Hosts/{id}/Hardware/PowerSupplies
Method: GET
Authorization: Bearer authentication
vCenter privileges required: Dell.Inventory.Configure Inventory
Parameters:
Table 65. Parameters
Parameter Value Description Default value Parameter
type
Data type
id (required) Host ID. Get the host ID from /
Services/ConsoleService/
N/A Path String
88 Host management