public interface ClouderaManagerResourceV2 extends ClouderaManagerResource
Modifier and Type | Method and Description |
---|---|
ApiDeployment |
getDeployment(DataView dataView)
Retrieve full description of the entire Cloudera Manager deployment
including all hosts, clusters, services, roles, users, settings, etc.
|
MgmtServiceResourceV2 |
getMgmtServiceResource()
Return the Cloudera Management Services resource.
|
ApiCommand |
hostsDecommissionCommand(ApiHostNameList hostNameList)
Decommission the given hosts.
|
ApiCommand |
hostsRecommissionCommand(ApiHostNameList hostNameList)
Recommission the given hosts.
|
ApiCommand |
hostsStartRolesCommand(ApiHostNameList hostNameList)
Start all the roles on the given hosts.
|
ApiDeployment |
updateDeployment(ApiDeployment deployment,
Boolean deleteCurrentDeployment)
Apply the supplied deployment description to the system.
|
collectDiagnosticDataCommand, generateCredentialsCommand, getConfig, getLog, getVersion, inspectHostsCommand, listActiveCommands, readLicense, updateConfig, updateLicense
@Path(value="/deployment") ApiDeployment getDeployment(DataView dataView)
dataView
- May be one of "export" (default) or "export_redacted". The latter
replaces configurations that are sensitive with the word "REDACTED".@Path(value="/deployment") ApiDeployment updateDeployment(ApiDeployment deployment, Boolean deleteCurrentDeployment)
deployment
- The deployment to createdeleteCurrentDeployment
- If true, the current deployment is deleted
before the specified deployment is applied@Path(value="/commands/hostsDecommission") ApiCommand hostsDecommissionCommand(ApiHostNameList hostNameList)
@Path(value="/commands/hostsRecommission") ApiCommand hostsRecommissionCommand(ApiHostNameList hostNameList)
@Path(value="/commands/hostsStartRoles") ApiCommand hostsStartRolesCommand(ApiHostNameList hostNameList)
@Path(value="/service") MgmtServiceResourceV2 getMgmtServiceResource()
getMgmtServiceResource
in interface ClouderaManagerResource
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.