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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleAssignmentgetByScope(String scope, String name)Gets the information about a role assignment based on scope and name.Mono<RoleAssignment>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 com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
define
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
-
-
-
Method Detail
-
getByScopeAsync
Mono<RoleAssignment> getByScopeAsync(String scope, String name)
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
RoleAssignment getByScope(String scope, String name)
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
com.azure.core.http.rest.PagedFlux<RoleAssignment> listByScopeAsync(String scope)
List role assignments in a scope.- Parameters:
scope- the scope of the role assignments- Returns:
- a list of role assignments
-
listByScope
com.azure.core.http.rest.PagedIterable<RoleAssignment> listByScope(String scope)
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
com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync(String principalId)
List role assignments for a service principal.- Parameters:
principalId- the ID of the service principal- Returns:
- a list of role assignments
-
listByServicePrincipal
com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal(String principalId)
List role assignments for a service principal.- Parameters:
principalId- the ID of the service principal- Returns:
- a list of role assignments
-
-