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

Parse actionResult

$
0
0

As example, the following:

actionResult=System.getModule("com.vmware.library.vc.vm.network").getNetworkForGivenNic(vm,nicNumber);

results in:

     DynamicWrapper (Instance) : [VcNetwork]-[class com.vmware.vmo.plugin.vi4.model.VimNetwork] -- VALUE : Network<network-61>'Green'

 

I only want the string portion for network name; 'Green'. What's the best way to pull this out? I see there is a property 'name' for VcNetwork, but many variations of attempts to reference to this have only produced errors.

 

Ideas/guidance?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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