你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzProviderOperation
Gets the operations for an Azure resource provider that are securable using Azure RBAC.
Syntax
Get-AzProviderOperation
[[-OperationSearchString] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzProviderOperation 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-AzProviderOperation * to get all operations for all Azure resource providers. Use Get-AzProviderOperation Microsoft.Compute/ to get all operations of Microsoft.Compute resource provider.
Examples
Example 1: Get all actions for all providers
Get-AzProviderOperation *
Example 2: Get actions for a particular resource provider
Get-AzProviderOperation Microsoft.Insights/*
Example 3: Get all actions that can be performed on virtual machines
Get-AzProviderOperation */virtualMachines/*
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
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: | "*" |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Notes
Keywords: azure, azurerm, arm, resource, management, manager, resource, group, template, deployment
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈