共用方式為


IRoleDefinitions.GetByScopeAndRoleName(String, String) Method

Definition

Gets the information about a role definition based on scope and name.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition GetByScopeAndRoleName (string scope, string roleName);
abstract member GetByScopeAndRoleName : string * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition
Public Function GetByScopeAndRoleName (scope As String, roleName As String) As IRoleDefinition

Parameters

scope
String

The scope of the role definition.

roleName
String

The name of the role.

Returns

Applies to