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

AuthorizationClient.GetRoleDefinition Method

Definition

Overloads

GetRoleDefinition(String)

Gets a single role definition by a fully qualified role Id

GetRoleDefinition(Guid, String)

Gets a single role definition by the role Id guid.

GetRoleDefinition(String)

Gets a single role definition by a fully qualified role Id

public Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition GetRoleDefinition (string roleId);
member this.GetRoleDefinition : string -> Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
Public Function GetRoleDefinition (roleId As String) As PSRoleDefinition

Parameters

roleId
String

Fully qualified roleId

Returns

Applies to

GetRoleDefinition(Guid, String)

Gets a single role definition by the role Id guid.

public Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition GetRoleDefinition (Guid roleId, string scope);
member this.GetRoleDefinition : Guid * string -> Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleDefinition
Public Function GetRoleDefinition (roleId As Guid, scope As String) As PSRoleDefinition

Parameters

roleId
Guid

RoleId guid

scope
String

The scope of the role definition

Returns

Applies to