Condividi tramite


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