public interface HostsResourceV2 extends HostsResource
Modifier and Type | Method and Description |
---|---|
ApiCommand |
enterMaintenanceMode(String hostId)
Put the host into maintenance mode.
|
ApiCommand |
exitMaintenanceMode(String hostId)
Take the host out of maintenance mode.
|
createHosts, deleteAllHosts, deleteHost, getMetrics, readHost, readHostConfig, readHosts, updateHost, updateHostConfig
@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 hostCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.