共用方式為


IWithRoleAssignment Interface

Definition

A service principal update allowing role assignments to be added.

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
Derived
Implements

Methods

WithNewRole(BuiltInRole, String)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)
WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)
WithNewRoleInSubscription(BuiltInRole, String)

Assigns a new role to the service principal.

(Inherited from IWithRoleAssignmentBeta)
WithoutRole(IRoleAssignment)

Removes a role from the service principal.

(Inherited from IWithRoleAssignmentBeta)

Applies to