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

[ARM (v2)] How to get the name of the Azure resource associated with an IP address

$
0
0

Hi all,

In Azure Resource Manager, I would like to programmatically (through PowerShell) find which VMs are associated with which IP addresses in a particular subnet. The end product would look something like this:

IP ADDRESS ----- RESOURCE NAME (ILB or VM)

10.0.0.1 ----- testVM1

10.0.0.2 ------ testILB1

10.0.0.3 ------- Available IP address

I know that in ASM there was a cmdlet Test-AzureStaticVNetIP that might have been useful for something like this.

How could I accomplish something like this for ARM?


Viewing all articles
Browse latest Browse all 6513

Trending Articles



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