API Guide

Table Of Contents
NOTE: Ensure that you refer the right parameters in the provided Input snippet. For example, for configuring MTU speed,
use Speed as the key and 1000 as the value.
Storage management
These APIs enable you to perform storage-management operations in OME - Modular. The URI for these operation is /api/
JobService/Jobs.
Assign enclosure
POST method for enclosure assignment
Description Creates a job to assign the entire storage in an enclosure to one or more server slots.
Privilege STORAGE_MANAGEMENT
HTTP response
codes
201
Example
Input:
{
"JobName":"Storage Assignment",
"JobDescription":"Storage Assignment Job",
"Schedule":"startnow",
"State":"Enabled",
"JobType":
{
"Id":3,
"Name":"DeviceAction_Task"
},
"Params":
[
{
"Key":"operationName",
"Value":"ASSIGN_STORAGE"
},
{
"Key":"assignmentMode",
"Value":"1"
},
{
"Key":"serverSlots",
"Value": <Server Slots e.g "3,4">
}
],
"Targets":
[
{
"Id":<Insight/Storage Sled Device Id>,
"Data":"",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
}
}
]
}
Output:
APIs specific to OpenManage Enterprise - Modular Edition
357