South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Damn...I literally want it to trawl through and draw from VPN connections to the NSG, firewalls attached, VMs with attached disk and NICs, and anything else.You don't really have the best options to do this IMO.
The couple of solutions I can think of at the moment, are either considering ARMVIZ (http://armviz.io/) or using ARM Template Viewer for VS Code (https://marketplace.visualstudio.com/items?itemName=bencoleman.armview).
The options at this point is terrible because there is no real way of defining logical dependencies between deployed resources unless you are trying to visualize something you are deploying with ARM, and therefore you can define the dependsOn tag in the template.
FYI, the max resources which can be extracted at once to an ARM template from the portal/API is 1,000 - and this includes hidden resources. Additionally, if you do define custom dependencies in ARM, they are lost after the deployment, so ensure to generate it from the source code.