Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Need to search for a specific VCAC custom property from VCO

$
0
0

Does anyone have the code to search out a specific property?  What variable type should I store it in?  I want to loop through each custom property.  I can then do the search logic.

 

var properties = new Properties(); var virtualMachineId = 'e0bd1979-84bd-47ab-a069-95ec5f2a0ea6' properties.put("VirtualMachineID", virtualMachineId); System.log (vCACEntityManager.readModelEntity(host.id, "ManagementModelEntities.svc", "VirtualMachines", properties, null));

 

 

Thank you

 

-Stephen


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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