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

IRoleAssignments.GetByScope(String, String) 方法

定义

根据范围和名称获取有关角色分配的信息。

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

参数

scope
String

角色分配的范围。

name
String

角色分配的名称。

返回

适用于