com.cloudera.api.v11
Interface HostsResourceV11

All Superinterfaces:
HostsResource, HostsResourceV10, HostsResourceV2

public interface HostsResourceV11
extends HostsResourceV10


Method Summary
 ApiHost readHost(String hostId, DataView dataView)
          Returns a specific Host in the system.
 
Methods inherited from interface com.cloudera.api.v10.HostsResourceV10
migrateRoles
 
Methods inherited from interface com.cloudera.api.v2.HostsResourceV2
enterMaintenanceMode, exitMaintenanceMode
 
Methods inherited from interface com.cloudera.api.v1.HostsResource
createHosts, deleteAllHosts, deleteHost, getMetrics, readHost, readHostConfig, readHosts, updateHost, updateHostConfig
 

Method Detail

readHost

@Path(value="/{hostId}")
ApiHost readHost(String hostId,
                      DataView dataView)
Returns a specific Host in the system.

Parameters:
hostId - The ID of the host to read.
dataView - The view to materialize. Defaults to 'full'.
Returns:
The Host object with the specified hostId.


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