Share via


IWithRoleAssignment Interface

Definition

A service principal definition allowing role assignments to be added.

public interface IWithRoleAssignment : Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.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)

Applies to