public interface ScimService
| Modifier and Type | Method and Description |
|---|---|
void |
addUsersToGroup(long groupId,
long[] userIds)
Update a group in Databricks by adding new members.
|
long |
createGroup(GroupDTO group)
Creates a group in the Databricks workspace.
|
long |
createUser(UserDTO userDTO)
Create a user in the Databricks workspace.
|
void |
deleteGroup(long id)
Removes a group from the workspace.
|
void |
deleteUser(long id)
Inactivates an user.
|
void |
editUser(UserDTO userDTO)
Updates an user.
|
GroupDTO |
getGroup(long id)
Gets a group by id.
|
UserDTO |
getUser(long id)
Gets an user by id.
|
ListResponseDTO<GroupDTO> |
listGroups()
Retrieve a list of groups associated with a Databricks workspace.
|
ListResponseDTO<GroupDTO> |
listGroups(String filters)
Retrieve a list of groups associated with a Databricks workspace.
|
ListResponseDTO<UserDTO> |
listUsers()
Retrieve a list of users associated with a Databricks workspace.
|
ListResponseDTO<UserDTO> |
listUsers(String filters)
Retrieve a list of users associated with a Databricks workspace.
|
void |
removeUsersFromGroup(long groupId,
long[] userIds)
Update a group in Databricks by removing members.
|
UserDTO getUser(long id) throws IOException, DatabricksRestException
id - user idIOException - any other errorsDatabricksRestException - any errors with requestvoid deleteUser(long id)
throws IOException,
DatabricksRestException
id - user idIOException - any other errorsDatabricksRestException - any errors with requestListResponseDTO<UserDTO> listUsers(String filters) throws IOException, DatabricksRestException
filters - query filters, can be null @see https://docs.databricks.com/dev-tools/api/latest/scim.html#scim-filtersIOException - any other errorsDatabricksRestException - any errors with requestListResponseDTO<UserDTO> listUsers() throws IOException, DatabricksRestException
IOException - any other errorsDatabricksRestException - any errors with requestlong createUser(UserDTO userDTO) throws IOException, DatabricksRestException
userDTO - POJO representing an userIOException - any other errorsDatabricksRestException - any errors with requestvoid editUser(UserDTO userDTO) throws IOException, DatabricksRestException
userDTO - POJO representing an userIOException - any other errorsDatabricksRestException - any errors with requestGroupDTO getGroup(long id) throws IOException, DatabricksRestException
id - the group idIOException - any other errorsDatabricksRestException - any errors with requestvoid deleteGroup(long id)
throws IOException,
DatabricksRestException
id - group idIOException - any other errorsDatabricksRestException - any errors with requestListResponseDTO<GroupDTO> listGroups(String filters) throws IOException, DatabricksRestException
filters - query filters, can be null @see https://docs.databricks.com/dev-tools/api/latest/scim.html#scim-filtersIOException - any other errorsDatabricksRestException - any errors with requestListResponseDTO<GroupDTO> listGroups() throws IOException, DatabricksRestException
IOException - any other errorsDatabricksRestException - any errors with requestlong createGroup(GroupDTO group) throws IOException, DatabricksRestException
group - POJO representing an groupIOException - any other errorsDatabricksRestException - any errors with requestvoid addUsersToGroup(long groupId,
long[] userIds)
throws IOException,
DatabricksRestException
groupId - group iduserIds - user idsIOException - any other errorsDatabricksRestException - any errors with requestvoid removeUsersFromGroup(long groupId,
long[] userIds)
throws IOException,
DatabricksRestException
groupId - group iduserIds - user idsIOException - any other errorsDatabricksRestException - any errors with requestCopyright © 2023. All rights reserved.