HP OneView REST API Reference

server-hardware
server-hardware.html[10/17/2013 10:35:23 AM]
API-Version:3"
Response Description
EnvironmentalConfiguration An EnvironmentalConfiguration object for the requested resource.
Response Codes
REST API Response Codes
Examples
Retrieve environmental configuration data for a given server hardware resource:
GET https://{appl}/rest/server-hardware/{id}/environmentalConfiguration
PUT Sets the calibrated max power of an unmanaged or unsupported server hardware 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"
Request Body Attributes Description
EnvironmentalConfigurationUpdate Required Provides the new
calibrated max power value.
Response Description
EnvironmentalConfiguration The updated environmental configuration for the server.
Response Codes
REST API Response Codes
Examples
Specify the maximum power for an unmanaged server hardware
resource 123-45-67-89-123:
PUT https://{appl}/rest/server-hardware/123-45-67-89-123/environmentalConfiguration
{
"calibratedMaxPower" : 2500
}
URI: /rest/server-hardware/{id}/iloSsoUrl
Method API
GET Generates a Single Sign-On (SSO) session for the iLO web interface and returns the URL to launch it. If the server hardware is
unmanaged or unsupported, the resulting URL will not use SSO and the iLO web interface will prompt for credentials.
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"
Response Description
IloSsoUrlResult The URL to the iLO web session
Response Codes
REST API Response Codes
Examples
Generate an SSO session for the iLO web interface
and return the URL to launch it:
GET https://{appl}/rest/server-hardware/123-45-67-89-123/iloSsoUrl
URI: /rest/server-hardware/{id}/javaRemoteConsoleUrl
Method API
GET Generates a Single Sign-On (SSO) session for the iLO Java Applet console and returns the URL to launch it. If the server hardware is
unmanaged or unsupported, the resulting URL will not use SSO and the iLO Java Applet will prompt for credentials.
Parameter Attributes Description