public interface ClustersResourceV3 extends ClustersResourceV2
Modifier and Type | Method and Description |
---|---|
ApiHostRefList |
addHosts(String clusterName,
ApiHostRefList hosts) |
HostTemplatesResource |
getHostTemplatesResource(String clusterName) |
ParcelsResource |
getParcelsResource(String clusterName) |
ServicesResourceV3 |
getServicesResource(String clusterName) |
ApiHostRefList |
listHosts(String clusterName) |
ApiHostRefList |
removeAllHosts(String clusterName) |
ApiHostRef |
removeHost(String clusterName,
String hostId) |
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode, updateCluster
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
@Path(value="/{clusterName}/services") ServicesResourceV3 getServicesResource(String clusterName)
getServicesResource
in interface ClustersResource
getServicesResource
in interface ClustersResourceV2
@Path(value="/{clusterName}/parcels") ParcelsResource getParcelsResource(String clusterName)
@Path(value="/{clusterName}/hostTemplates") HostTemplatesResource getHostTemplatesResource(String clusterName)
@Path(value="/{clusterName}/hosts") ApiHostRefList listHosts(String clusterName)
@Path(value="/{clusterName}/hosts") ApiHostRefList addHosts(String clusterName, ApiHostRefList hosts)
@Path(value="/{clusterName}/hosts/{hostId}") ApiHostRef removeHost(String clusterName, String hostId)
@Path(value="/{clusterName}/hosts") ApiHostRefList removeAllHosts(String clusterName)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.