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

IWithRole.WithRoleDefinition(String) 方法

定义

指定此分配的自定义角色的 ID。

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope WithRoleDefinition (string roleDefinitionId);
abstract member WithRoleDefinition : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
Public Function WithRoleDefinition (roleDefinitionId As String) As IWithScope

参数

roleDefinitionId
String

自定义角色定义的 ID。

返回

适用于