你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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