HP OneView Deployment and Management Guide 1.0
Technical white paper | HP OneView Deployment and Management Guide
104
URI format
All the appliance URIs point to resources and the client does not need to modify or create URIs. The URI for specific resource
is static and follows this format: https://{appl}/rest/{resource name}. The three parts are described below.
Table 11. URI Format
https://{appl}
The appliance address.
/rest
Type of URI.
/{resource name]
Name of the appliance resource such as server-
profile.
Data transfer format
The appliance resources support JSON (JavaScript Object Notation) as the standard for exchanging data using a REST API. If
JSON is not specified in the REST API call, then the default is JSON.
To learn more about JSON, go to www.json.org.
Accessing ReST API with PowerShell
A tech preview library is provided which provides basic functions to manage the appliance. The library requires the Windows
Management Framework 3.0 (aka PowerShell 3.0) to be installed, which you can get here: http://www.microsoft.com/en-
us/download/details.aspx?id=34595
The support functions of the script are:
Table 12. PowerShell Library CMDlet’s
Generic suport functions
Send-HPOVRequest
Connect-HPOVMgmt
Disconnect-HPOVMgmt
New-HPOVResource
Set-HPOVResource
Remove-HPOVResource
Appliance Configuration
Get-HPOVVersion
Get-HPOVHealthStatus
Get-HPOVEulaStatus
Set-HPOVEulaStatus
Get-HPOVApplianceNetworkConfig
Set-HPOVApplianceNetworkConfig
Get-HPOVApplianceGlobalSetting
Set-HPOVApplianceGlobalSetting
Get-HPOVSPPFile
Add-HPOVSPPFile
New-HPOVSupportDump
New-HPOVBackup