|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostsResourceV2
Method Summary | |
---|---|
ApiCommand |
enterMaintenanceMode(String hostId)
Put the host into maintenance mode. |
ApiCommand |
exitMaintenanceMode(String hostId)
Take the host out of maintenance mode. |
Methods inherited from interface com.cloudera.api.v1.HostsResource |
---|
createHosts, deleteAllHosts, deleteHost, getMetrics, readHost, readHostConfig, readHosts, updateHost, updateHostConfig |
Method Detail |
---|
@Path(value="/{hostId}/commands/enterMaintenanceMode") ApiCommand enterMaintenanceMode(String hostId)
Available since API v2.
hostId
- The ID of the host
@Path(value="/{hostId}/commands/exitMaintenanceMode") ApiCommand exitMaintenanceMode(String hostId)
Available since API v2.
hostId
- The ID of the host
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |