Get-​Azure​Rm​Provider​Operation

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

Syntax

Get-AzureRmProviderOperation
   [-OperationSearchString] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]

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 --------------------------

@{paragraph=PS C:\>}

PS C:\> Get-AzureRmProviderOperation *

-------------------------- Get actions for a particular resource provider --------------------------

@{paragraph=PS C:\>}

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

-------------------------- Get all actions that can be performed on virtual machines --------------------------

@{paragraph=PS C:\>}

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

Required Parameters

-OperationSearchString

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

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Notes

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