RoleDefinitions Interface

Implements

public interface RoleDefinitions
extends SupportsGettingById<RoleDefinition>, HasManager<AuthorizationManager>

Entry point to role definition management API.

Method Summary

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

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

abstract RoleDefinition getByScopeAndRoleName(String scope, String roleName)

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

abstract Mono<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName)

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

abstract Mono<RoleDefinition> getByScopeAsync(String scope, String name)

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

abstract PagedIterable<RoleDefinition> listByScope(String scope)

List role definitions in a scope.

abstract PagedFlux<RoleDefinition> listByScopeAsync(String scope)

List role definitions in a scope.

Method Details

getByScope

public abstract RoleDefinition getByScope(String scope, String name)

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

Parameters:

scope - the scope of the role definition
name - the name of the role definition

Returns:

an immutable representation of the role definition

getByScopeAndRoleName

public abstract RoleDefinition getByScopeAndRoleName(String scope, String roleName)

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

Parameters:

scope - the scope of the role definition
roleName - the name of the role

Returns:

an immutable representation of the role definition

getByScopeAndRoleNameAsync

public abstract Mono getByScopeAndRoleNameAsync(String scope, String roleName)

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

Parameters:

scope - the scope of the role definition
roleName - the name of the role

Returns:

an immutable representation of the role definition

getByScopeAsync

public abstract Mono getByScopeAsync(String scope, String name)

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

Parameters:

scope - the scope of the role definition
name - the name of the role definition

Returns:

an immutable representation of the role definition

listByScope

public abstract PagedIterable listByScope(String scope)

List role definitions in a scope.

Parameters:

scope - the scope of the role definition

Returns:

a list of role definitions

listByScopeAsync

public abstract PagedFlux listByScopeAsync(String scope)

List role definitions in a scope.

Parameters:

scope - the scope of the role definition

Returns:

an observable of role definitions

Applies to