Get-AzureRmProviderOperation

Gets the operations for an Azure resource provider that are securable using Azure RBAC.

Important

You've reached a webpage for an outdated version of Azure PowerShell. All versions of the AzureRM PowerShell module are outdated, but not out of support. The Az PowerShell module is now the recommended PowerShell module for interacting with Azure. To get started with the Az PowerShell module, see Install Azure PowerShell. To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.

Syntax

Get-AzureRmProviderOperation
   [[-OperationSearchString] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmProviderOperation gets the operations exposed by Azure resource providers. Operations can be composed to create custom roles in Azure RBAC. The command takes as input an operation search string (with possible wildcard() character(s)) which determines the operations details to display. Use Get-AzureRmProviderOperation * to get all operations for all Azure resource providers. Use Get-AzureRmProviderOperation Microsoft.Compute/ to get all operations of Microsoft.Compute resource provider.

Examples

Get all actions for all providers

PS C:\> Get-AzureRmProviderOperation *

Get actions for a particular resource provider

PS C:\> Get-AzureRmProviderOperation Microsoft.Insights/*

Get all actions that can be performed on virtual machines

PS C:\> Get-AzureRmProviderOperation */virtualMachines/*

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OperationSearchString

The operation search string (with possible wildcard (*) characters)

Type:String
Aliases:Name
Position:0
Default value:"*"
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Parameters: OperationSearchString (ByValue)

Outputs

PSResourceProviderOperation

Notes

Keywords: azure, azurerm, arm, resource, management, manager, resource, group, template, deployment