RoleAssignments Interface
Implements
public interface RoleAssignments
extends SupportsGettingById<RoleAssignment>, SupportsCreating<Blank>, SupportsBatchCreation<RoleAssignment>, SupportsDeletingById, HasManager<AuthorizationManager>
Entry point to role assignment management API.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Role |
getByScope(String scope, String name)
Gets the information about a role assignment based on scope and name. |
|
abstract
Mono<Role |
getByScopeAsync(String scope, String name)
Gets the information about a role assignment based on scope and name. |
|
abstract
Paged |
listByScope(String scope)
List role assignments in a scope. |
|
abstract
Paged |
listByScopeAsync(String scope)
List role assignments in a scope. |
|
abstract
Paged |
listByServicePrincipal(ServicePrincipal servicePrincipal)
List role assignments for a service principal. |
|
abstract
Paged |
listByServicePrincipal(String principalId)
List role assignments for a service principal. |
|
abstract
Paged |
listByServicePrincipalAsync(ServicePrincipal servicePrincipal)
List role assignments for a service principal. |
|
abstract
Paged |
listByServicePrincipalAsync(String principalId)
List role assignments for a service principal. |
Method Details
getByScope
public abstract RoleAssignment getByScope(String scope, String name)
Gets the information about a role assignment based on scope and name.
Parameters:
Returns:
getByScopeAsync
public abstract Mono<RoleAssignment> getByScopeAsync(String scope, String name)
Gets the information about a role assignment based on scope and name.
Parameters:
Returns:
listByScope
public abstract PagedIterable<RoleAssignment> listByScope(String scope)
List role assignments in a scope.
Parameters:
Returns:
listByScopeAsync
public abstract PagedFlux<RoleAssignment> listByScopeAsync(String scope)
List role assignments in a scope.
Parameters:
Returns:
listByServicePrincipal
public abstract PagedIterable<RoleAssignment> listByServicePrincipal(ServicePrincipal servicePrincipal)
List role assignments for a service principal.
Parameters:
Returns:
listByServicePrincipal
public abstract PagedIterable<RoleAssignment> listByServicePrincipal(String principalId)
List role assignments for a service principal.
Parameters:
Returns:
listByServicePrincipalAsync
public abstract PagedFlux<RoleAssignment> listByServicePrincipalAsync(ServicePrincipal servicePrincipal)
List role assignments for a service principal.
Parameters:
Returns:
listByServicePrincipalAsync
public abstract PagedFlux<RoleAssignment> listByServicePrincipalAsync(String principalId)
List role assignments for a service principal.
Parameters:
Returns: