HP OneView REST API Reference

enclosures
enclosures.html[10/17/2013 10:35:21 AM]
Start an enclosure refresh. The status of the refresh
can be tracked with the task resource that is returned.
PUT https://{appliance_name_or_ip}/rest/enclosures/{id}/refreshState
{
"refreshState":"RefreshPending"
}
Start an enclosure refresh. The status of the refresh
can be tracked with the task resource that is returned.
The "address" field specifies an alternate
address of the OA that should be used.
The "username" and "password" fields
specify the enclosures primary OA administrative credentials
that should be used.
The refresh operation would know to use
both the new appliance ipv4 address when managing different
components,
and to use the new oa credentials when contacting the OA.
Note that the username and password field must both be present if they
are used, otherwise neither should be provided.
The address field can be used by itself or in addition to
the credential fields.
PUT https://{appliance_name_or_ip}/rest/enclosures/{id}/refreshState
{
"refreshState":"RefreshPending",
"refreshForceOptions":{
"address":"1.2.3.4",
"username":"Administrator",
"password":"mypw123"
}
}
URI: /rest/enclosures/{id}/standbyOaSsoUrl
Method API
GET Gets data that can be used to construct a single sign-on (SSO) URL for an enclosure’s active Onboard
Administrator
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
SsoUrlData Returns data used to construct an SSO URL.
Response Codes
REST API Response Codes
Examples