Tocano
Enthusiast
Enthusiast

How to access vRO8 Configuration Assets in a Powershell action/scriptable task?

Jump to solution

I'm running a vRA8.1 instance with embedded vRO.

I have a Powershell action that I've gotten to work, but I'm trying to move a hard-coded value out of the code and into a Configuration Element/Asset. However, I'm struggling to figure out how to access the Configuration via Powershell.

I've considered creating another action (this one Javascript) to pull the Configuration data and return it to the main Powershell action, but I've also not figured out how to execute other actions from Powershell yet either.

If I need to access something like a vRO REST API to do this, then so be it, but I'm struggling to find documentation on a vRO REST API on vRA8.

Any help would be appreciated.

Tags (2)
1 Solution

Accepted Solutions
maverix7
VMware Employee
VMware Employee

Correct, you would use vRO's REST API. Its documentation comes in the form of swagger, you can access it on your environment at: https://{HOST}/vco/api/docs

View solution in original post

0 Kudos
2 Replies
maverix7
VMware Employee
VMware Employee

Correct, you would use vRO's REST API. Its documentation comes in the form of swagger, you can access it on your environment at: https://{HOST}/vco/api/docs

View solution in original post

0 Kudos
Tocano
Enthusiast
Enthusiast

Thank you for that reference. Knew it likely had swagger docs for that somewhere but couldn't find the URL for it.