HP OneView REST API Reference

unmanaged-devices
unmanaged-devices.html[10/17/2013 10:35:44 AM]
'%2582fac9caf4f2'"
(%25 is the encoded value for the wild character (%), and is
required to do partial matches.)
POST Adds an unmanaged device resource based upon the attributes specified. Use this method to
create an unmanaged device to represent resources that consume space within a rack, or
consume power from a power delivery device but cannot otherwise be represented by the
management appliance. All attributes without default values must be specified in the POST body.
The response contains the unmanaged device resource as added to the appliance with default
and assigned properties expanded. The id and uri are assigned by the management appliance
and are used to uniquely identify this particular resource.
Parameter Attributes Description
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
UnmanagedDevice Required The resource to add or update.
Response Description
UnmanagedDevice The resource as added to the appliance with
default and assigned properties.
Response Codes
REST API Response Codes
Examples
Add an unmanaged device with default values:
http://{appl}/rest/unmanaged-devices
Request body:
{
"name":"MyUnmanagedDevice",
"model":"Procurve 4200VL",
"deviceType":"Server"
}
Add an unmanaged device with predefined values:
http://{appl}/rest/unmanaged-devices
Request body:
{
"id": "4b4b87e2-eea8-4c90-8eca-b72eaaeecggf",
"uuid": "4b4b87e2-eea8-4c90-8eca-b72eaaeecggf",
"name":"MyUnmanagedDevice",
"model":"Procurve 4200VL",
"deviceType":"Server",
"ipv4Address": "192.0.168.4",
"mac": "68:a5:99:az:71:wc"
}
DELETE Deletes the set of unmanaged-devices according to the specified parameters. A filter is required
to identify the set of resources to be deleted. The actual deletion will proceed asynchronously.