Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

New to vCO. Trying to figure out what cluster a virtual machine lives in

$
0
0

Hello There.


I created a simple "Hello VM" workflow in vCO and added it to vcenter so it shows up in the right click menu of a virtual machine.


When i run it, the input is pre-populated with the name of the virtual machine just like i expected.


Within the script section, i'm simply executing


system.log("Hello, " + vm.displayName);

system.log("VM ID: " + vm.id);

 

I'm trying to figure out how I can get the cluster that this VM lives on but that property is not part of VC:VirtualMachine.

 

Do I need to leverage another type of input to get that data or another workflow to pull that information?

 

thank you.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>