kusto Query to get details of VNETs and its Address space.

Fahad Noaman 131 Reputation points
2021-09-14T12:19:50.767+00:00

Query from Kusto to get details of VNETs and its Address space on all the subcribtion.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,133 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. suvasara-MSFT 9,996 Reputation points
    2021-09-14T15:28:41.823+00:00

    @Fahad Noaman , Try this,

    resources  
      
    | where type == "microsoft.network/virtualnetworks"  
      
    | extend AddressSpace_AddressPrefixes = tostring(properties.['addressSpace'].['addressPrefixes'])  
    

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.