Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get-AzureRmProviderOperation
Gets the actions that Azure resource providers expose.
Syntax
Parameter Set: Default
Get-AzureRmProviderOperation [-ActionString] <String> [ <CommonParameters>]
Detailed Description
The Get-AzureRmProviderOperation cmdlet gets the actions that Azure resource providers expose. Operations can create custom roles in Azure role-based access control (RBAC). Specify an action string which determines the action details to display. The ActionString parameter accepts the wildcard character (*). You can specify the wildcard to return all operations allowed by all resource providers.
Parameters
-ActionString<String>
Specifies the action that this cmdlet gets. You can include the wildcard character to get more than one action.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true(ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get all actions for all providers
This command gets all actions for all providers by specifying the wildcard character.
PS C:\> Get-AzureRmProviderOperation "*"
Example 2: Get actions for a particular resource provider
This command gets all actions for a specific provider. The command specifies the provider name followed by the wildcard character.
PS C:\> Get-AzureRmProviderOperation "Microsoft.Insights/*"
Example 3: Get actions performed on virtual machines
This command gets all actions that can be performed on virtual machines. The command specifies the string virtualMachines proceeded and followed by wildcard characters.
PS C:\> Get-AzureRmProviderOperation "*/virtualMachines/*"