HP OneView REST API Reference

enclosures
enclosures.html[10/17/2013 10:35:21 AM]
Updated: October 16, 2013 4:47
MDT
API Specifications Create Read Update Delete
/rest/enclosures POST GET
/rest/enclosures/schema GET
/rest/enclosures/{id} GET DELETE
/rest/enclosures/{id}/activeOaSsoUrl GET
/rest/enclosures/{id}/enclosureFwBaseline PUT
/rest/enclosures/{id}/environmentalConfiguration GET PUT
/rest/enclosures/{id}/refreshState PUT
/rest/enclosures/{id}/standbyOaSsoUrl GET
/rest/enclosures/{id}/utilization GET
Resource Model
AddEnclosure
Enclosure
EnclosureList
FwBaselineConfig
SsoUrlData
UtilizationData
EnvironmentalConfigurationUpdate
EnvironmentalConfiguration
RefreshStateConfig
HP OneView REST API Reference
enclosures
The enclosures resource provides REST APIs for managing BladeSystem c7000 enclosures. You can retrieve the enclosure
resource representing any enclosure managed by the appliance, add new enclosures, and remove existing enclosures.
URI: /rest/enclosures
Method API
POST Adds an enclosure and its servers and interconnects for management by the appliance. This API
initiates the asynchronous addition and configuration of an enclosure and its components.
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
AddEnclosure Required Contains the information necessary to add an
enclosure.
Response Description
TaskResourceV2 Returns a TaskResource that can be used to monitor
the
progress of the enclosure addition.
Response Codes
REST API Response Codes
Examples
Add the enclosure using the OA with hostname
enc-oa.corp.com and the login
"Administrator" and password "mypassword". It will be