com.cloudera.api.v18
Interface MgmtRolesResourceV18

All Superinterfaces:
MgmtRolesResource, MgmtRolesResourceV8

public interface MgmtRolesResourceV18
extends MgmtRolesResourceV8


Method Summary
 ApiCommand enterMaintenanceMode(String roleName)
          Put the Cloudera Management Service role into maintenance mode.This is a synchronous command.
 ApiCommand exitMaintenanceMode(String roleName)
          Take the Cloudera Management Service role out of maintenance mode.
 
Methods inherited from interface com.cloudera.api.v8.MgmtRolesResourceV8
getFullLog, getStacksLog, getStacksLogsBundle, getStandardError, getStandardOutput
 
Methods inherited from interface com.cloudera.api.v1.MgmtRolesResource
createRoles, deleteRole, listActiveCommands, readRole, readRoleConfig, readRoles, updateRoleConfig
 

Method Detail

enterMaintenanceMode

@Path(value="/{roleName}/commands/enterMaintenanceMode")
ApiCommand enterMaintenanceMode(String roleName)
Put the Cloudera Management Service role into maintenance mode.This is a synchronous command. The result is known immediately upon return.

Available since API v18.

Parameters:
roleName - The role name.
Returns:
Synchronous command result.

exitMaintenanceMode

@Path(value="/{roleName}/commands/exitMaintenanceMode")
ApiCommand exitMaintenanceMode(String roleName)
Take the Cloudera Management Service role out of maintenance mode. This is a synchronous command. The result is known immediately upon return.

Available since API v18.

Parameters:
roleName - The role name.
Returns:
Synchronous command result.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.