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

RoleAssignmentImpl.IWithScope.WithResourceScope(IResource) 方法

定义

将角色分配的范围指定为特定资源。

Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate IWithScope.WithResourceScope (Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource resource);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope.WithResourceScope : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IResource -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Function WithResourceScope (resource As IResource) As IWithCreate Implements IWithScope.WithResourceScope

参数

resource
IResource

被分配者有权访问的资源。

返回

实现

适用于