Check actions available for Azure Resource Providers

Learn actions available for the Azure Resource Providers

John Savill

April 17, 2016

1 Min Read
Microsoft Azure

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

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like