public interface RoleConfigGroupsResource
| Modifier and Type | Method and Description |
|---|---|
ApiRoleConfigGroupList |
createRoleConfigGroups(ApiRoleConfigGroupList groupList)
Creates new role config groups.
|
ApiRoleConfigGroup |
deleteRoleConfigGroup(String roleConfigGroupName)
Deletes a role config group.
|
ApiRoleList |
moveRoles(String roleConfigGroupName,
ApiRoleNameList roles)
Moves roles to the specified role config group.
|
ApiRoleList |
moveRolesToBaseGroup(ApiRoleNameList roles)
Moves roles to the base role config group.
|
ApiConfigList |
readConfig(String roleConfigGroupName,
DataView dataView)
Returns the current revision of the config
for the specified role config group.
|
ApiRoleConfigGroup |
readRoleConfigGroup(String roleConfigGroupName)
Returns the information for a role config group.
|
ApiRoleConfigGroupList |
readRoleConfigGroups()
Returns the information for all role config groups for
a given cluster and service.
|
ApiRoleList |
readRoles(String roleConfigGroupName)
Returns all roles in the given role config group.
|
ApiConfigList |
updateConfig(String roleConfigGroupName,
String message,
ApiConfigList config)
Updates the config for the given role config group.
|
ApiRoleConfigGroup |
updateRoleConfigGroup(String roleConfigGroupName,
ApiRoleConfigGroup roleConfigGroup,
String message)
Updates an existing role config group
|
@Path(value="/") ApiRoleConfigGroupList createRoleConfigGroups(ApiRoleConfigGroupList groupList)
Available since API v3.
groupList - The list of groups to be created.@Path(value="/") ApiRoleConfigGroupList readRoleConfigGroups()
Available since API v3.
@Path(value="/{roleConfigGroupName}")
ApiRoleConfigGroup readRoleConfigGroup(String roleConfigGroupName)
Available since API v3.
roleConfigGroupName - The name of the requested group.@Path(value="/{roleConfigGroupName}")
ApiRoleConfigGroup updateRoleConfigGroup(String roleConfigGroupName,
ApiRoleConfigGroup roleConfigGroup,
String message)
Available since API v3.
roleConfigGroupName - The name of the group to update.roleConfigGroup - The updated role config group.message - The optional message describing the changes.@Path(value="/{roleConfigGroupName}")
ApiRoleConfigGroup deleteRoleConfigGroup(String roleConfigGroupName)
Available since API v3.
roleConfigGroupName - The name of the group to delete.@Path(value="/{roleConfigGroupName}/roles")
ApiRoleList readRoles(String roleConfigGroupName)
Available since API v3.
roleConfigGroupName - The name of the role config group.@Path(value="/{roleConfigGroupName}/roles")
ApiRoleList moveRoles(String roleConfigGroupName,
ApiRoleNameList roles)
Available since API v3.
roleConfigGroupName - The name of the group the roles will be moved to.roles - The names of the roles to move.@Path(value="/roles") ApiRoleList moveRolesToBaseGroup(ApiRoleNameList roles)
Available since API v3.
roles - The names of the roles to move.@Path(value="/{roleConfigGroupName}/config")
ApiConfigList readConfig(String roleConfigGroupName,
DataView dataView)
Available since API v3.
roleConfigGroupName - The name of the role config group.dataView - The view of the data to materialize,
either "summary" or "full".@Path(value="/{roleConfigGroupName}/config")
ApiConfigList updateConfig(String roleConfigGroupName,
String message,
ApiConfigList config)
roleConfigGroupName - The name of the role config group.message - Optional message describing the changes.config - The new config information for the group.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.