您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Get-AzureADMSPrivilegedRoleDefinition

Get role definitions

Syntax

Get-AzureADMSPrivilegedRoleDefinition
   -ProviderId <String>
   -ResourceId <String>
   [-Top <Int32>]
   [-Filter <String>]
   [<CommonParameters>]
Get-AzureADMSPrivilegedRoleDefinition
   -ProviderId <String>
   -ResourceId <String>
   -Id <String>
   [<CommonParameters>]

Description

Get role definitions

Examples

Example 1

PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Top 10

Get role definitions for a specific provider and resource

Example 1

PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Id ff67e02b-d77b-4588-9f32-e02b7da6539b

Get a role definitions for a specific provider, resource and Id

Parameters

-Filter

{{ Fill Filter Description }}

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-Id

The id of a role definition

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ProviderId

The unique identifier of the specific provider

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ResourceId

The unique identifier of the specific resource

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-Top

{{ Fill Top Description }}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Inputs

String

Outputs

Object