public interface MgmtRoleCommandsResource
Modifier and Type | Method and Description |
---|---|
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.
|
@Path(value="/start") ApiBulkCommandList startCommand(ApiRoleNameList roleNames)
roleNames
- The roles to start.@Path(value="/stop") ApiBulkCommandList stopCommand(ApiRoleNameList rolesNames)
rolesNames
- The roles to stop.@Path(value="/restart") ApiBulkCommandList restartCommand(ApiRoleNameList roleNames)
roleNames
- The roles to restart.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.