Skip to content

Instantly share code, notes, and snippets.

@ploegert
Last active October 20, 2015 17:24
Show Gist options
  • Select an option

  • Save ploegert/3c8b4f58b58d1b0fe518 to your computer and use it in GitHub Desktop.

Select an option

Save ploegert/3c8b4f58b58d1b0fe518 to your computer and use it in GitHub Desktop.
A way to find a listing of what arm templates are available for which resources... https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/
Switch-AzureMode AzureResourceManager
#Show all types
(Get-AzureProvider).ResourceTypes
#Get just the Compute Resource Types
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Compute" }).resourceTypes
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Network" }).resourceTypes
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Storage" }).resourceTypes
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Features" }).resourceTypes
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Resources" }).resourceTypes
((Get-AzureProvider) | Where-object { $_.ProviderNamespace -eq "Microsoft.Sql" }).resourceTypes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment