Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Azure Resource Graph Explorer ====== Find all regions where resources are located. <code> resources | summarize resourceCount = count() by location | project location, resourceCount </code> Find all regions where VNets are located. <code> resources | where type == 'microsoft.network/virtualnetworks' | summarize count() by location | project location </code> Query for all the types resources in all regions. <code> Resources | summarize by type, location | order by type asc, location asc </code> List all virtual machines <code> Resources | where type == "microsoft.compute/virtualmachines" | project name, location, subscriptionId </code> azure/azure_resource_graph_explorer.txt Last modified: 2025/06/17 01:49by mmuze