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.
Learn actions available for the Azure Resource Providers
April 17, 2016
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
You May Also Like