Share via


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

IWithRoleAssignment 接口

定义

允许添加角色分配的服务主体更新。

public interface IWithRoleAssignment : Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IWithRoleAssignmentBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithRoleAssignment = interface
    interface IWithRoleAssignmentBeta
    interface IBeta
Public Interface IWithRoleAssignment
Implements IBeta, IWithRoleAssignmentBeta
派生
实现

方法

WithNewRole(BuiltInRole, String)

将新角色分配给服务主体。

(继承自 IWithRoleAssignmentBeta)
WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

将新角色分配给服务主体。

(继承自 IWithRoleAssignmentBeta)
WithNewRoleInSubscription(BuiltInRole, String)

将新角色分配给服务主体。

(继承自 IWithRoleAssignmentBeta)
WithoutRole(IRoleAssignment)

从服务主体中删除角色。

(继承自 IWithRoleAssignmentBeta)

适用于