public interface RolesResourceV2 extends RolesResource
| Modifier and Type | Method and Description |
|---|---|
ApiCommand |
enterMaintenanceMode(String roleName)
Put the role into maintenance mode.
|
ApiCommand |
exitMaintenanceMode(String roleName)
Take the role out of maintenance mode.
|
createRoles, deleteRole, getFullLog, getMetrics, getStandardError, getStandardOutput, listActiveCommands, readRole, readRoleConfig, readRoles, updateRoleConfig@Path(value="/{roleName}/commands/enterMaintenanceMode")
ApiCommand enterMaintenanceMode(String roleName)
Available since API v2.
roleName - The role name.@Path(value="/{roleName}/commands/exitMaintenanceMode")
ApiCommand exitMaintenanceMode(String roleName)
Available since API v2.
roleName - The role name.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.