Does getting all resources of a type make an individual call for each Resource Group?
See original GitHub issueThis is more of a question/feature-request than a bug.
In the below method and similar others, to list all resources of a particular type, will it make different REST calls for each resource group? If yes, Is it not a performance concern? Why can’t we make a single call using filter API with resourceType filter across all resource groups in a subscription?
public IEnumerable<IVirtualNetworkGateway> List()
{
return Manager.ResourceManager.ResourceGroups.List()
.SelectMany(rg => ListByResourceGroup(rg.Name));
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Manage resource groups - Azure portal
Use Azure portal to manage your resource groups through Azure Resource Manager. Shows how to create, list, and delete resource groups.
Read more >Azure Resource Manager overview
Resource groups · All the resources in your resource group should share the same lifecycle. · Each resource can exist in only one...
Read more >Microsoft Azure resource groups: Introduction and best ...
An Azure resource group is a required grouping for all your Azure virtual machines (VMs). In this post, we'll look into what this...
Read more >Azure Resorce Group - The Complete Guide
Azure resource groups are a powerful tool for managing and organizing your cloud resources. In this blog, we'll explore what Azure resource ...
Read more >Azure Resource Group Best Practices
All resource groups are created within a single Azure subscription and cannot be moved to another subscription. However, you can move individual resources...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think we need to expose List method on GenericResource that will accept Odata filter string expression. Please upvote for prioritization.
Closing as by design for current stage.