< Back

Get-AzureRmProviderOperation

Tue Jan 29, 2019 10:05 pm

NAME Get-AzureRmProviderOperation



SYNOPSIS

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





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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-OperationSearchString <String>

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



Required? false

Position? 0

Default value "*"

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

String

Parameter 'OperationSearchString' accepts value of type 'String' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Resources.Models.PSResourceProviderOperation







NOTES





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



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











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... roperation