Share via


AuthorizationClient.ListRoleDefinitionsForScope Method

Definition

Fetches all existing role Definitions under scope. Please notice that if scope is null, this method will not return custom role.

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition> ListRoleDefinitionsForScope (string scope, ulong first = 18446744073709551615, ulong skip = 0);
member this.ListRoleDefinitionsForScope : string * uint64 * uint64 -> seq<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition>
Public Function ListRoleDefinitionsForScope (scope As String, Optional first As ULong = 18446744073709551615, Optional skip As ULong = 0) As IEnumerable(Of PSRoleDefinition)

Parameters

scope
String
first
UInt64
skip
UInt64

Returns

role Definitions

Applies to