HP OneView REST API Reference
enclosures
enclosures.html[10/17/2013 10:35:21 AM]
Onboard Administrator of the enclosure with the specified
ID.
https://{appl}/rest/enclosures/{id}/activeOaSsoUrl
URI: /rest/enclosures/{id}/enclosureFwBaseline
Method API
PUT Applies a firmware baseline to the enclosure. This can be used to update the OA firmware or the OA,
logical interconnect, and server profiles in the enclosure.
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
FwBaselineConfig Optional Specifies the baseline to apply and the resources
the baseline should be applied to.
Response Description
TaskResourceV2 Returns a TaskResource that can be used to
monitor the
progress of the firmware update.
Response Codes
REST API Response Codes
Examples
Set the firmware baseline for the enclosure (causing OA
firmware to be installed).
PUT https://{appl}/rest/enclosures/{id}/enclosureFwBaseline
{
"fwBaselineUri": "/rest/firmware-drivers/SPPGen8Snap2_2012_0412_41",
"isFwManaged" : "true",
"firmwareUpdateOn" : "EnclosureOnly"
}
URI: /rest/enclosures/{id}/environmentalConfiguration
Method API
GET Gets the settings that describe the environmental configuration (supported feature set, calibrated
minimum & maximum power, location & dimensions, ...) of the enclosure resource.
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"
Response Description
EnvironmentalConfiguration An EnvironmentalConfiguration object for the
requested resource.
Response Codes
REST API Response Codes