Samples/Interaction-with-COM_Sample.ps1


###################################################################################################
# Interaction-with-COM_Sample.ps1
# - Example script to interact with Compute Ops Management from the HPE GreenLake Cloud Platform.
#
# This script shows how to interact with an HPE GreenLake application, it shows how to generate
# temporary API credentials for an application, here with Compute Ops Management and how to make
# subsequent calls to the application API using the temporarily generated credentials.
#
# VERSION 1.0
#
# (C) Copyright 2013-2022 Hewlett Packard Enterprise Development LP
###################################################################################################
<#
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
#>

###################################################################################################

<#
 
.EXAMPLE
.\Samples\Interaction-with-COM_Sample.ps1 -GL_userName "username@domain.com" -Region "US-West" -GL_EncryptedPassword 01000000d08c9ddf0115d1118c7a00c04fc297eb0100000
 
Generates temporary API credentials for the Compute Ops Management application in the western US region, then makes a call to the COM API using
the temporarily generated credentials to display the list of Co2 emissions reports in the Compute Ops Management US-West instance.
 
Details of the steps:
- Connect to the HPE GreenLake Cloud Platform
- Create temporary API credential for Compute Ops Management
- Retrieve Compute Ops Management resource API versions
- Connect to Compute Ops Management using the temporary API credential
- Make call(s) to the Compute Ops Management API
- Delete the temporary Compute Ops Management API Credentials
- Disconnect from HPE GreenLake Cloud Platform
 
GL_EncryptedPassword can be created using:
$Your_HPE_GreenLake_Password = "dd4FD&DS54FGDFG$e4sasd"
$GL_EncryptedPassword = ConvertTo-SecureString -String $Your_HPE_GreenLake_Password -AsPlainText -Force | ConvertFrom-SecureString
 
#>


#----------------------------------------------------------Parameters----------------------------------------------------------
Param ( 
    [string]$GL_EncryptedPassword,
    [String]$GL_userName,
    [String]$CompanyName,
    [String]$Region

)


#----------------------------------------------------------Creation of temporary API credential for COM---------------------------------------------------------------
#region Generate COM API Credentials

import-module HPEGreenLake

$secpasswd = ConvertTo-SecureString $GL_EncryptedPassword
$GLCredential = New-Object System.Management.Automation.PSCredential ($GL_userName, $secpasswd)


try {
  
    if ($CompanyName) {

        Connect-HPEGL -Credential $GLCredential -CompanyName $CompanyName  | Out-Null

    }
    else {

        Connect-HPEGL -Credential $GLCredential | Out-Null

    }
   
}

catch {
    Throw "Connection to HPE GreenLake Cloud Console failed!" 

}



#----------------------------------------------------------Create temporary COM API Credentials--------------------------------------------------------------------------------
#region Create temporary COM API Credentials

"About to create COM API Credential" | Write-Verbose

$Response = New-HPEGLAPIcredential -TemplateName PowerShell -ApplicationName "Compute Ops Management" -Region $Region -ErrorAction SilentlyContinue
$CredentialName = $Response.name

"Create COM API Credential attempt: Status= {0} - Details= {1} - Credential name: {2}" -f $Response.Status, $Response.Details, $CredentialName | Write-Verbose

if ($Response.Status -eq "Failed") {
    $Response.Details
    Throw "Error ! API Credentials cannot be created!"
}
  
#endregion

#----------------------------------------------------------Retrieve COM resource API versions-------------------------------------------------------------------------
#region Retrieve COM resource API versions

#######################################################################################################################################################################################################
# Create variables to get the API version of COM resources using the API reference.
# Generate a variable for each API resource ($servers_API_version, $jobs_API_version, etc.)
# Set each variable value with the resource API version ($servers_API_version = v1beta2, $filters_API_version = v1beta1, etc.)
# $API_resources_variables contains the list of all variables that have been defined
#######################################################################################################################################################################################################

"About to get the COM API resources variables" | Write-Verbose

$response = Invoke-RestMethod -Uri "https://developer.greenlake.hpe.com/_auth/sidebar/__alternative-sidebar__-data-hpe-hcss-doc-portal-docs-greenlake-services-compute-ops-sidebars.yaml" -Method GET
$items = ($response.items | ? label -eq "API reference").items

$items = ($items | ? items -ne $Null | Sort-Object -Property label -Descending)

$API_resources_variables = @()

"COM API resources variables:" | Write-Verbose

for ($i = 1; $i -lt ($items.Count - 1); $i++) {
  
    $APIversion = $items[$i].label.Substring($items[$i].label.length - 7)
    # $APIversion
    $APIresource = $items[$i].label.Substring(0, $items[$i].label.length - 10).replace('-', '_')
    # $APIresource

    if (-not (Get-Variable -Name ${APIresource}_API_version -ErrorAction SilentlyContinue)) {
        New-Variable -name ${APIresource}_API_version -Value $APIversion
        $variablename = "$" + (get-variable ${APIresource}_API_version).name
        $API_resources_variables += ($variablename)

        "`t{0} = {1}" -f $variablename, $APIversion | Write-Verbose

    } 
}


#endregion


#----------------------------------------------------------Connection to Compute Ops Management ----------------------------------------------------------------------
#region COM authentication

$COM_Credential = $HPEGreenLakeSession.apiCredentials | ? credential_name -eq $CredentialName

$ClientSecret = $COM_Credential.client_secret
$ClientID = $COM_Credential.client_id
$ConnectivityEndpoint = $COM_Credential.connectivity_endpoint

"ClientSecret: {0} - ClientID: {1} - ConnectivityEndpoint: {2} " -f $ClientSecret, $ClientID, $ConnectivityEndpoint  | Write-Verbose


# Headers creation
$headers = @{} 
$headers["Content-Type"] = "application/x-www-form-urlencoded"

# Payload creation
$body = "grant_type=client_credentials&client_id=" + $ClientID + "&client_secret=" + $ClientSecret

"Body: {0}" -f $body | Write-Verbose

"About to create a session with COM" | Write-Verbose

try {
    $response = Invoke-webrequest "https://sso.common.cloud.hpe.com/as/token.oauth2" -Method POST -Headers $headers -Body $body
}
catch {
    write-host "Authentication error !" $error[0].Exception.Message -ForegroundColor Red
}

"Response for the create session request: {0}" -f $response | Write-Verbose

# Capturing API Access Token
$AccessToken = ($response.Content  | Convertfrom-Json).access_token

# Headers creation
$headers = @{} 
$headers["Authorization"] = "Bearer $AccessToken"

#endregion


#----------------------------------------------------------COM API Call-----------------------------------------------------------------------------------------------
#region COM API Call

"About to make a GET call to COM API using $ConnectivityEndpoint/compute-ops/$reports_API_version/reports to get reports" | Write-Verbose

# Obtain the list of Co2 emissions reports
$report = Invoke-RestMethod "$ConnectivityEndpoint/compute-ops/$reports_API_version/reports" -Method GET -Headers $headers

$ReportsList = $report.items 

"Raw response: {0}" -f $ReportsList | Write-Verbose


if ($ReportsList.count -ne 0) {
    
    "{0} Report(s) found:" -f $ReportsList.count

    "`tReport name: {0}" -f $ReportsList.name 
    "`tReport id: {0}" -f $ReportsList.id 
    "`tReport type: {0}" -f $ReportsList.type 
    "`tReport creation date: {0}" -f [datetime]$ReportsList.createdAt
}
else {
    "No Report found!" -f $ReportsList.count
    
}

#endregion


#----------------------------------------------------------Delete COM API Credentials--------------------------------------------------------------------------------
#region Delete COM API Credentials

"About to delete COM API Credential" | Write-Verbose

$Response = Get-HPEGLAPIcredential -Name $CredentialName | Remove-HPEGLAPICredential | out-Null

"Delete COM API Credential attempt: Status= {0} - Details= {1}" -f $Response.Status, $Response.Details | Write-Verbose

#endregion


#----------------------------------------------------------Disconnect from HPE GreenLake-----------------------------------------------------------------------------
#region Disconnect from HPE GreenLake

"About to disconnect from HPE GreenLake" | Write-Verbose

Disconnect-HPEGL | out-Null


#endregion









# SIG # Begin signature block
# MIIsFAYJKoZIhvcNAQcCoIIsBTCCLAECAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCvxJF9ZBdH/+u4
# qjbEt3l3ydyPmhUqgPoYv5Eg05U+CqCCEXYwggVvMIIEV6ADAgECAhBI/JO0YFWU
# jTanyYqJ1pQWMA0GCSqGSIb3DQEBDAUAMHsxCzAJBgNVBAY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