com.cloudera.api.v1
Interface MgmtRoleCommandsResource

All Known Subinterfaces:
MgmtRoleCommandsResourceV8

public interface MgmtRoleCommandsResource


Method Summary
 ApiBulkCommandList restartCommand(ApiRoleNameList roleNames)
          Restart a set of Cloudera Management Services roles.
 ApiBulkCommandList startCommand(ApiRoleNameList roleNames)
          Start a set of Cloudera Management Services roles.
 ApiBulkCommandList stopCommand(ApiRoleNameList rolesNames)
          Stop a set of Cloudera Management Services roles.
 

Method Detail

startCommand

@Path(value="/start")
ApiBulkCommandList startCommand(ApiRoleNameList roleNames)
Start a set of Cloudera Management Services roles.

Parameters:
roleNames - The roles to start.
Returns:
A list of submitted commands (summary view).

stopCommand

@Path(value="/stop")
ApiBulkCommandList stopCommand(ApiRoleNameList rolesNames)
Stop a set of Cloudera Management Services roles.

Parameters:
rolesNames - The roles to stop.
Returns:
A list of submitted commands (summary view).

restartCommand

@Path(value="/restart")
ApiBulkCommandList restartCommand(ApiRoleNameList roleNames)
Restart a set of Cloudera Management Services roles.

Parameters:
roleNames - The roles to restart.
Returns:
A list of submitted commands (summary view).


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