Morning,
I´m trying to work on a specific workflow and, in the middle of it, I need to get a vCNS/NSX Edge appliance to do some stuff with it.
The appliance will be different each time, so I need some sort of method to acquire it.
I already noticed that the vCNS/NSX plugin does not have an action, workflow or even an object function like a "Get all Edges" sort of thing.
I went through the API trying to find a REST call that would accomplish that, but got no luck there either.
Lastly, I tried using the Server.findAllForType method, and found something weird:
Set "vm" as Array/VC:VirtualMachine
vm = Server.findAllForType("VC:VirtualMachine")
"vm" is populated with a list of all virtual machines
=========================================
Now, if I do:
Set "edge" as Array/NSX:Edge
edge = Server.findAllForType("NSX:Edge")
"edge" is empty
I found it pretty weird since the vCNS/NSX plugin is working just fine as I´m using it with other workflows.
Any idea on how to capture a specific Edge or get a complete list of them?
Thank you very much.