com.cloudera.api.v18
Interface MgmtServiceResourceV18

All Superinterfaces:
MgmtServiceResource, MgmtServiceResourceV2, MgmtServiceResourceV3, MgmtServiceResourceV6, MgmtServiceResourceV8

public interface MgmtServiceResourceV18
extends MgmtServiceResourceV8


Method Summary
 ApiCommand enterMaintenanceMode()
          Put Cloudera Management Service into maintenance mode.
 ApiCommand exitMaintenanceMode()
          Take Cloudera Management Service out of maintenance mode.
 MgmtRolesResourceV18 getRolesResource()
          Return the management roles resource handler.
 
Methods inherited from interface com.cloudera.api.v8.MgmtServiceResourceV8
getMgmtRoleCommandsResource
 
Methods inherited from interface com.cloudera.api.v6.MgmtServiceResourceV6
autoAssignRoles, autoConfigure, deleteCMS
 
Methods inherited from interface com.cloudera.api.v3.MgmtServiceResourceV3
getRoleConfigGroupsResource
 
Methods inherited from interface com.cloudera.api.v2.MgmtServiceResourceV2
readService
 
Methods inherited from interface com.cloudera.api.v1.MgmtServiceResource
listActiveCommands, listRoleTypes, readService, readServiceConfig, restartCommand, setupCMS, startCommand, stopCommand, updateServiceConfig
 

Method Detail

getRolesResource

@Path(value="/roles")
MgmtRolesResourceV18 getRolesResource()
Return the management roles resource handler.

Specified by:
getRolesResource in interface MgmtServiceResource
Specified by:
getRolesResource in interface MgmtServiceResourceV8
Returns:
The roles resource handler.

enterMaintenanceMode

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

Available since API v18.

Returns:
Synchronous command result.

exitMaintenanceMode

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

Available since API v18.

Returns:
Synchronous command result.


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