Check actions available for Azure Resource Providers

Check actions available for Azure Resource Providers

Q. How can I check the actions available for the various Azure Resource Providers?

A. When creating custom roles for Azure you need to check the actions and resources available. This can be done with PowerShell very easily. For example:

Get-AzureRmProviderOperation -OperationSearchString "Microsoft.Compute/*"
Get-AzureRmProviderOperation -OperationSearchString "Microsoft.Network/*"
Get-AzureRmProviderOperation -OperationSearchString "Microsoft.Storage/*"

The commands above show all the actions and resources available. To just show actions for a specific type of resource use the following:

Get-AzureRmProviderOperation -OperationSearchString "Microsoft.Compute/virtualMachines/*/action" | ft Operation, OperationName

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish