Interface RoleAssignments
- All Superinterfaces:
HasManager<AuthorizationManager>, SupportsBatchCreation<RoleAssignment>, SupportsCreating<RoleAssignment.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<RoleAssignment>
public interface RoleAssignments
extends SupportsGettingById<RoleAssignment>, SupportsCreating<RoleAssignment.DefinitionStages.Blank>, SupportsBatchCreation<RoleAssignment>, SupportsDeletingById, HasManager<AuthorizationManager>
Entry point to role assignment management API.
-
Method Summary
Modifier and TypeMethodDescriptiongetByScope(String scope, String name) Gets the information about a role assignment based on scope and name.getByScopeAsync(String scope, String name) Gets the information about a role assignment based on scope and name.com.azure.core.http.rest.PagedIterable<RoleAssignment> listByScope(String scope) List role assignments in a scope.com.azure.core.http.rest.PagedFlux<RoleAssignment> listByScopeAsync(String scope) List role assignments in a scope.com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal(ServicePrincipal servicePrincipal) List role assignments for a service principal.com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal(String principalId) List role assignments for a service principal.com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync(ServicePrincipal servicePrincipal) List role assignments for a service principal.com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync(String principalId) List role assignments for a service principal.Methods inherited from interface HasManager
managerMethods inherited from interface SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsync
-
Method Details
-
getByScopeAsync
Gets the information about a role assignment based on scope and name.- Parameters:
scope- the scope of the role assignmentname- the name of the role assignment- Returns:
- an immutable representation of the role assignment
-
getByScope
Gets the information about a role assignment based on scope and name.- Parameters:
scope- the scope of the role assignmentname- the name of the role assignment- Returns:
- an immutable representation of the role assignment
-
listByScopeAsync
List role assignments in a scope.- Parameters:
scope- the scope of the role assignments- Returns:
- a list of role assignments
-
listByScope
List role assignments in a scope.- Parameters:
scope- the scope of the role assignments- Returns:
- a list of role assignments
-
listByServicePrincipalAsync
com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync(ServicePrincipal servicePrincipal) List role assignments for a service principal.- Parameters:
servicePrincipal- the service principal- Returns:
- a list of role assignments
-
listByServicePrincipal
com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal(ServicePrincipal servicePrincipal) List role assignments for a service principal.- Parameters:
servicePrincipal- the service principal- Returns:
- a list of role assignments
-
listByServicePrincipalAsync
List role assignments for a service principal.- Parameters:
principalId- the ID of the service principal- Returns:
- a list of role assignments
-
listByServicePrincipal
List role assignments for a service principal.- Parameters:
principalId- the ID of the service principal- Returns:
- a list of role assignments
-