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

Get VM external IP from vCloud

$
0
0

I am looking to get the External IP of a Specific VM in a vApp.

 

The VM is connected to a vApp Network which is routed. In the GUI I can see that by default every VM in the vApp gets an external address and can see it on the GUI.

 

I have also found the method externalIP on  the scripting class VclNatOneToOneVmRule, in the "Search API" function of vCO. I am just not sure how to ensure that I am specifying the correct VM and how to go about getting this information.

 

I currently have the following information avaialble to run the query:

 

vm id

Vcloud:vApp object

Vcloud:Nm object

 

I can probably get more but I am guessing i need to find the vApp network and then find the rules and filter on VMid or something. I couldnt find a scripting class for Vcloud:VappNetwork.

 

Any help would be greatly appreciated.

 

Thanks


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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