ResourceGroup - how do I get a list of resources of all types?
See original GitHub issueThere are many different methods that get resources of different types - GetStorageAccounts(), etc. However, I couldn’t find any method that can list all the resources regardless the type, i.e. do the same what the Get-AzResource
cmdlet without args does. Is there any way to do that?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
List By Resource Group - REST API (Azure ...
Learn more about Resource Management service - Get all the resources for a resource group.
Read more >Get-AzResourceGroup (Az.Resources)
The Get-AzResourceGroup cmdlet gets Azure resource groups in the current subscription. You can get all resource groups, or specify a resource group by...
Read more >List of all azure resource types in Azure?
If you just want to list resource types, you can use Get-AzureRmResourceProvider -ListAvailable | Select-Object ProviderNamespace, ...
Read more >List all resources in a resource group using an Azure CLI ...
It's great to see all your resources list within the Azure portal and grouped within a resource group. In this video I show...
Read more >list-group-resources — AWS CLI 1.29.25 Command ...
An array of resources from which you can determine each resource's identity, type, and group membership status. A structure returned by the ListGroupResources ......
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
@Yao725 I see. Thanks.
@andrei-faber You can use
resource.Id.ResourceType
to get the type of the resource.