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
ApiDeployment getDeployment(DataView dataView)
ApiDeployment updateDeployment(ApiDeployment deployment, Boolean deleteCurrentDeployment)
deployment
- The deployment to createdeleteCurrentDeployment
- If true, the current deployment is deleted
before the specified deployment is appliedApiCommand hostsDecommissionCommand(ApiHostNameList hostNameList)
ApiCommand hostsRecommissionCommand(ApiHostNameList hostNameList)
ApiCommand hostsStartRolesCommand(ApiHostNameList hostNameList)
MgmtServiceResourceV2 getMgmtServiceResource()
getMgmtServiceResource
in interface ClouderaManagerResource
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.