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

IWithRole.WithBuiltInRole(BuiltInRole) 方法

定义

指定此分配的内置角色的名称。

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope WithBuiltInRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
abstract member WithBuiltInRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
Public Function WithBuiltInRole (role As BuiltInRole) As IWithScope

参数

role
BuiltInRole

角色的名称。

返回

适用于