PrateekKumarSingh / AzViz

⚡ ☁ Azure Visualizer aka 'AzViz' : A #powershell module to automatically generate Azure resource topology diagrams by just typing a PowerShell cmdlet and passing the name of one or more Azure Resource groups
MIT License
597 stars 148 forks source link

Feature: Add Vnet-only resource groups to graph #52

Closed moiaune closed 3 years ago

moiaune commented 3 years ago

Currently when fetching resources through network watcher and ARM, it will skip virtualNetwork resources. In the ConvertTo-DOTLanguage it will fetch all virtualNetworks and subnets, but as long as ARM and NetworkWatcher does not return any resources it will not add virtualNetworks to the graph.

This PR will make sure that resource groups that contain only Vnet (and subnets) also get added to the graph.

PrateekKumarSingh commented 3 years ago

Thank you for the pull request @madsaune, much appreciated 🙂👍