How to get owner of vcacVm

vRA/vCAC VM examples

update property of vCAC virtual machine action

var prop="org.ezdc.monitoring.kumar";
var val="7x24";
var vcacHost=Server.findAllForType("vCAC:VCACHost")[0];
var vcacVM=
actionResult = System.getModule("com.vmware.library.vcac").addUpdatePropertyFromVirtualMachineEntity(vcacHost, vcacVM.getEntity(),prop,val,false,false,false,false);

return actionResult;

Comments

Popular posts from this blog

Creating Snapshots for Unmanaged VMs in Aria Automation (vRealize Automation)

Bulk import security policies into Palo Alto Networks firewalls

Automating Tag Creation & Assignment to VMs with vRA + vRO