Sample Exchange

 View Only

List services in VMware Cloud Services Platform using PowerShell 

Jul 23, 2018 11:07 PM

A PowerShell Module that provides two functions that interact with the VMware Cloud Services Platform (CSP) REST API. The Get-CSPAccessToken fucntion accepts in a Refresh Token retrieved from CSP and returns API Access Token which can then be used to consume CSP API. The Get-CSPServices function demonstrates the use of the Access Token to retrieve all services for the given use from CSP. 

# Eample of the Get-CSPAccessToken function:

> Get-CSPAccessToken -RefreshToken $RefreshToken

CSP Auth Token has been successfully retrieved and saved to $env:cspAuthToken

# Eample of the Get-CSPServices function:

> Get-CSPServices

VMware Code Stream

VMware Cost Insight

VMware Kubernetes Engine [Beta]

VMware Discovery

VMware Service Broker

VMware Cloud on AWS

VMware Log Intelligence

VMware Hybrid Cloud Extension

VMware Cloud Assembly

VMware Usage Meter Service

VMware Network Insight

#PowerShell
#Apache2.0
#csp
#CloudServicesPlatform
#VMwareCloudServicesPlatform(CSP)
#VMwareCloudonAWSAPI
#VMwarePowerCLI
#VMwareCloudonAWS
#VMwareCloudonAWSAPI

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
gz file
VMware.CSP.psm1   1 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.