Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 233130

Re: vCAC and vCO for VM cloud deployment

$
0
0

If you just need to pass a

 

 

You can call a vCO workflow passing the virtualMachineId in one of the 6 vCAC workflow stub or 4 menu operations. In vCO you create a workflow with a virtualMachineID input.

Screen Shot 2013-05-30 at 8.34.38 PM.png

 

On the vCO side you can use the vCAC plug-in to covert the virtual machine ID to a vCAC VM object like this:

 

//Find VirtualMachine Entity from virtualMachine ID
var vCACVirtualMachines = Server.findAllForType("vCAC:VirtualMachine"); 
//vCAC VM
var vCACVM = null;
for each (var vCACVirtualMachine in vCACVirtualMachines) {    if (vCACVirtualMachine.virtualMachineID == virtualMachineId) {        vCACVM = vCACVirtualMachine;        break;    }
}
System.log(vCACVM);

 

With the vCAC VM object you have access to all its properties that you can pass to your vCO workflow.


Viewing all articles
Browse latest Browse all 233130

Trending Articles



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