public interface RolesResourceV6 extends RolesResourceV4
Modifier and Type | Method and Description |
---|---|
ApiRoleList |
bulkDeleteRoles(ApiRoleNameList roleNames)
Bulk delete roles in a particular service by name.
|
ApiCommandMetadataList |
listCommands(String roleName)
Lists all the commands that can be executed by name
on the provided role.
|
ApiRoleList |
readRoles(String filter)
Lists all roles of a given service that match the provided filter.
|
getProcessesResource
enterMaintenanceMode, exitMaintenanceMode
createRoles, deleteRole, getFullLog, getMetrics, getStandardError, getStandardOutput, listActiveCommands, readRole, readRoleConfig, readRoles, updateRoleConfig
@Path(value="/bulkDelete") ApiRoleList bulkDeleteRoles(ApiRoleNameList roleNames)
roleNames
- list of role names to be deleted@Path(value="/") ApiRoleList readRoles(String filter)
filter
- Optional query to filter the roles by.
The query specifies the intersection of a list of constraints, joined together with semicolons (without spaces). For example: hostname==host1.abc.com;type==DATANODE
Currently supports filtering by:@Path(value="/{roleName}/commandsByName") ApiCommandMetadataList listCommands(String roleName)
roleName
- the role name.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.