AuthorizationClient.GetRoleDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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