Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Get IP Address in Virtual Network

$
0
0

Hi. 

When associating a cloud service with a specific virtual network, the instance automatically gets an IP from the selected subnet range. 

Is there a way to know this IP dynamically from within the instance itself? If so, is this information available as soon as the instance is created, for instance at the time when startup tasks are executed?

If not, is there a way to get this IP at any time after the instance is created, from outside the instance, programmatically?

I prefer a PowerShell solution, but anything would do. 

Thanks.


Viewing all articles
Browse latest Browse all 6513

Trending Articles



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