RoleAssignments Interface

public interface RoleAssignments extends SupportsGettingById,SupportsCreating<RoleAssignment.DefinitionStages.Blank>,SupportsBatchCreation,SupportsDeletingById,HasManager,HasInner

Entry point to role assignment management API.

Method Summary

Modifier and Type Method and Description
RoleAssignment getByScope(String scope, String name)

Gets the information about a role assignment based on scope and name.

Observable<RoleAssignment> getByScopeAsync(String scope, String name)

Gets the information about a role assignment based on scope and name.

ServiceFuture<RoleAssignment> getByScopeAsync(String scope, String name, ServiceCallback<RoleAssignment> callback)

Gets the information about a role assignment based on scope and name.

PagedList<RoleAssignment> listByScope(String scope)

List role assignments in a scope.

Observable<RoleAssignment> listByScopeAsync(String scope)

List role assignments in a scope.

Inherited Members

Method Details

getByScope

public 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 assignment
name - the name of the role assignment

Returns:

an immutable representation of the role assignment

getByScopeAsync

public Observable getByScopeAsync(String scope, String name)

Gets the information about a role assignment based on scope and name.

Parameters:

scope - the scope of the role assignment
name - the name of the role assignment

Returns:

an immutable representation of the role assignment

getByScopeAsync

public ServiceFuture getByScopeAsync(String scope, String name, ServiceCallback callback)

Gets the information about a role assignment based on scope and name.

Parameters:

scope - the scope of the role assignment
name - the name of the role assignment
callback - the callback when the operation finishes

Returns:

an immutable representation of the role assignment

listByScope

public PagedList listByScope(String scope)

List role assignments in a scope.

Parameters:

scope - the scope of the role assignments

Returns:

a list of role assignments

listByScopeAsync

public Observable listByScopeAsync(String scope)

List role assignments in a scope.

Parameters:

scope - the scope of the role assignments

Returns:

an observable of role assignments

Applies to