public interface MgmtRoleConfigGroupsResource
Modifier and Type | Method and Description |
---|---|
ApiConfigList |
readConfig(String roleConfigGroupName,
DataView dataView)
Returns the current revision of the config
for the specified role config group in the Cloudera Management Services.
|
ApiRoleConfigGroup |
readRoleConfigGroup(String roleConfigGroupName)
Returns the information for a given role config group
in the Cloudera Management Services.
|
ApiRoleConfigGroupList |
readRoleConfigGroups()
Returns the information for all role config groups in
the Cloudera Management Services.
|
ApiRoleList |
readRoles(String roleConfigGroupName)
Returns all roles in the given role config group
in the Cloudera Management Services.
|
ApiConfigList |
updateConfig(String roleConfigGroupName,
String message,
ApiConfigList config)
Updates the config for the given role config group
in the Cloudera Management Services.
|
ApiRoleConfigGroup |
updateRoleConfigGroup(String roleConfigGroupName,
ApiRoleConfigGroup roleConfigGroup,
String message)
Updates an existing role config group in the Cloudera Management Services.
|
@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}/roles") ApiRoleList readRoles(String roleConfigGroupName)
Available since API v3.
roleConfigGroupName
- The name of the role config group.@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)
Available since API v3.
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.