Reference Guide

Table Of Contents
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 request
body
{
"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":<MX5016s/Storage Sled Device Id>,
"Data":"",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
}
}
]
}
Clear enclosure assignment
POST method for clearing enclosure assignment
Description
Creates a job to clear the storage assignments in Enclosure Assigned mode.
Privilege STORAGE_MANAGEMENT
HTTP response
codes
201
APIs specific to OpenManage Enterprise Modular Edition 583