public class ClouderaManagerResourceApi extends Object
Constructor and Description |
---|
ClouderaManagerResourceApi() |
ClouderaManagerResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
addCustomCerts(ApiAddCustomCertsArguments body)
Add custom certificates to the Auto-TLS certificate database.
|
com.squareup.okhttp.Call |
addCustomCertsAsync(ApiAddCustomCertsArguments body,
ApiCallback<ApiCommand> callback)
Add custom certificates to the Auto-TLS certificate database.
|
com.squareup.okhttp.Call |
addCustomCertsCall(ApiAddCustomCertsArguments body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addCustomCerts
|
ApiResponse<ApiCommand> |
addCustomCertsWithHttpInfo(ApiAddCustomCertsArguments body)
Add custom certificates to the Auto-TLS certificate database.
|
void |
beginTrial()
Begin trial license.
|
com.squareup.okhttp.Call |
beginTrialAsync(ApiCallback<Void> callback)
Begin trial license.
|
com.squareup.okhttp.Call |
beginTrialCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for beginTrial
|
ApiResponse<Void> |
beginTrialWithHttpInfo()
Begin trial license.
|
ApiCommand |
clustersPerfInspectorCommand(ApiClustersPerfInspectorArgs body)
Run performance diagnostics test against specified clusters in ApiClustersPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
com.squareup.okhttp.Call |
clustersPerfInspectorCommandAsync(ApiClustersPerfInspectorArgs body,
ApiCallback<ApiCommand> callback)
Run performance diagnostics test against specified clusters in ApiClustersPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
com.squareup.okhttp.Call |
clustersPerfInspectorCommandCall(ApiClustersPerfInspectorArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for clustersPerfInspectorCommand
|
ApiResponse<ApiCommand> |
clustersPerfInspectorCommandWithHttpInfo(ApiClustersPerfInspectorArgs body)
Run performance diagnostics test against specified clusters in ApiClustersPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
ApiCommand |
collectDiagnosticDataCommand(ApiCollectDiagnosticDataArguments body)
Collect diagnostic data from hosts managed by Cloudera Manager.
|
com.squareup.okhttp.Call |
collectDiagnosticDataCommandAsync(ApiCollectDiagnosticDataArguments body,
ApiCallback<ApiCommand> callback)
Collect diagnostic data from hosts managed by Cloudera Manager.
|
com.squareup.okhttp.Call |
collectDiagnosticDataCommandCall(ApiCollectDiagnosticDataArguments body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for collectDiagnosticDataCommand
|
ApiResponse<ApiCommand> |
collectDiagnosticDataCommandWithHttpInfo(ApiCollectDiagnosticDataArguments body)
Collect diagnostic data from hosts managed by Cloudera Manager.
|
ApiCommand |
deleteCredentialsCommand(String deleteCredentialsMode)
Delete existing Kerberos credentials.
|
com.squareup.okhttp.Call |
deleteCredentialsCommandAsync(String deleteCredentialsMode,
ApiCallback<ApiCommand> callback)
Delete existing Kerberos credentials.
|
com.squareup.okhttp.Call |
deleteCredentialsCommandCall(String deleteCredentialsMode,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteCredentialsCommand
|
ApiResponse<ApiCommand> |
deleteCredentialsCommandWithHttpInfo(String deleteCredentialsMode)
Delete existing Kerberos credentials.
|
void |
endTrial()
End trial license.
|
com.squareup.okhttp.Call |
endTrialAsync(ApiCallback<Void> callback)
End trial license.
|
com.squareup.okhttp.Call |
endTrialCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for endTrial
|
ApiResponse<Void> |
endTrialWithHttpInfo()
End trial license.
|
ApiCommand |
generateCmca(ApiGenerateCmcaArguments body)
Generate a CMCA.
|
com.squareup.okhttp.Call |
generateCmcaAsync(ApiGenerateCmcaArguments body,
ApiCallback<ApiCommand> callback)
Generate a CMCA.
|
com.squareup.okhttp.Call |
generateCmcaCall(ApiGenerateCmcaArguments body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generateCmca
|
ApiResponse<ApiCommand> |
generateCmcaWithHttpInfo(ApiGenerateCmcaArguments body)
Generate a CMCA.
|
ApiCommand |
generateCredentialsCommand()
Generate missing Kerberos credentials.
|
com.squareup.okhttp.Call |
generateCredentialsCommandAsync(ApiCallback<ApiCommand> callback)
Generate missing Kerberos credentials.
|
com.squareup.okhttp.Call |
generateCredentialsCommandCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generateCredentialsCommand
|
ApiResponse<ApiCommand> |
generateCredentialsCommandWithHttpInfo()
Generate missing Kerberos credentials.
|
ApiClient |
getApiClient() |
ApiConfigList |
getConfig(String view)
Retrieve the Cloudera Manager settings.
|
com.squareup.okhttp.Call |
getConfigAsync(String view,
ApiCallback<ApiConfigList> callback)
Retrieve the Cloudera Manager settings.
|
com.squareup.okhttp.Call |
getConfigCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getConfig
|
ApiResponse<ApiConfigList> |
getConfigWithHttpInfo(String view)
Retrieve the Cloudera Manager settings.
|
ApiDeployment2 |
getDeployment2(String view)
Retrieve full description of the entire Cloudera Manager deployment including all hosts, clusters, services, roles, users, settings, etc.
|
com.squareup.okhttp.Call |
getDeployment2Async(String view,
ApiCallback<ApiDeployment2> callback)
Retrieve full description of the entire Cloudera Manager deployment including all hosts, clusters, services, roles, users, settings, etc.
|
com.squareup.okhttp.Call |
getDeployment2Call(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDeployment2
|
ApiResponse<ApiDeployment2> |
getDeployment2WithHttpInfo(String view)
Retrieve full description of the entire Cloudera Manager deployment including all hosts, clusters, services, roles, users, settings, etc.
|
ApiKerberosInfo |
getKerberosInfo()
Provides Cloudera Manager Kerberos information.
|
com.squareup.okhttp.Call |
getKerberosInfoAsync(ApiCallback<ApiKerberosInfo> callback)
Provides Cloudera Manager Kerberos information.
|
com.squareup.okhttp.Call |
getKerberosInfoCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getKerberosInfo
|
ApiResponse<ApiKerberosInfo> |
getKerberosInfoWithHttpInfo()
Provides Cloudera Manager Kerberos information.
|
ApiPrincipalList |
getKerberosPrincipals(Boolean missingOnly)
Returns the Kerberos principals needed by the services being managed by Cloudera Manager.
|
com.squareup.okhttp.Call |
getKerberosPrincipalsAsync(Boolean missingOnly,
ApiCallback<ApiPrincipalList> callback)
Returns the Kerberos principals needed by the services being managed by Cloudera Manager.
|
com.squareup.okhttp.Call |
getKerberosPrincipalsCall(Boolean missingOnly,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getKerberosPrincipals
|
ApiResponse<ApiPrincipalList> |
getKerberosPrincipalsWithHttpInfo(Boolean missingOnly)
Returns the Kerberos principals needed by the services being managed by Cloudera Manager.
|
ApiLicensedFeatureUsage |
getLicensedFeatureUsage()
Retrieve a summary of licensed feature usage.
|
com.squareup.okhttp.Call |
getLicensedFeatureUsageAsync(ApiCallback<ApiLicensedFeatureUsage> callback)
Retrieve a summary of licensed feature usage.
|
com.squareup.okhttp.Call |
getLicensedFeatureUsageCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLicensedFeatureUsage
|
ApiResponse<ApiLicensedFeatureUsage> |
getLicensedFeatureUsageWithHttpInfo()
Retrieve a summary of licensed feature usage.
|
String |
getLog()
Returns the entire contents of the Cloudera Manager log file.
|
com.squareup.okhttp.Call |
getLogAsync(ApiCallback<String> callback)
Returns the entire contents of the Cloudera Manager log file.
|
com.squareup.okhttp.Call |
getLogCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLog
|
ApiResponse<String> |
getLogWithHttpInfo()
Returns the entire contents of the Cloudera Manager log file.
|
ApiScmDbInfo |
getScmDbInfo()
Provides Cloudera Manager server's database information.
|
com.squareup.okhttp.Call |
getScmDbInfoAsync(ApiCallback<ApiScmDbInfo> callback)
Provides Cloudera Manager server's database information.
|
com.squareup.okhttp.Call |
getScmDbInfoCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getScmDbInfo
|
ApiResponse<ApiScmDbInfo> |
getScmDbInfoWithHttpInfo()
Provides Cloudera Manager server's database information.
|
ApiShutdownReadiness |
getShutdownReadiness(String lastActivityTime)
Retrieve Cloudera Manager's readiness for shutdown and destroy.
|
com.squareup.okhttp.Call |
getShutdownReadinessAsync(String lastActivityTime,
ApiCallback<ApiShutdownReadiness> callback)
Retrieve Cloudera Manager's readiness for shutdown and destroy.
|
com.squareup.okhttp.Call |
getShutdownReadinessCall(String lastActivityTime,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getShutdownReadiness
|
ApiResponse<ApiShutdownReadiness> |
getShutdownReadinessWithHttpInfo(String lastActivityTime)
Retrieve Cloudera Manager's readiness for shutdown and destroy.
|
ApiVersionInfo |
getVersion()
Provides version information of Cloudera Manager itself.
|
com.squareup.okhttp.Call |
getVersionAsync(ApiCallback<ApiVersionInfo> callback)
Provides version information of Cloudera Manager itself.
|
com.squareup.okhttp.Call |
getVersionCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getVersion
|
ApiResponse<ApiVersionInfo> |
getVersionWithHttpInfo()
Provides version information of Cloudera Manager itself.
|
ApiCommand |
hostInstallCommand(ApiHostInstallArguments body)
Perform installation on a set of hosts.
|
com.squareup.okhttp.Call |
hostInstallCommandAsync(ApiHostInstallArguments body,
ApiCallback<ApiCommand> callback)
Perform installation on a set of hosts.
|
com.squareup.okhttp.Call |
hostInstallCommandCall(ApiHostInstallArguments body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostInstallCommand
|
ApiResponse<ApiCommand> |
hostInstallCommandWithHttpInfo(ApiHostInstallArguments body)
Perform installation on a set of hosts.
|
ApiCommand |
hostsDecommissionCommand(ApiHostNameList body)
Decommission the given hosts.
|
com.squareup.okhttp.Call |
hostsDecommissionCommandAsync(ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Decommission the given hosts.
|
com.squareup.okhttp.Call |
hostsDecommissionCommandCall(ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsDecommissionCommand
|
ApiResponse<ApiCommand> |
hostsDecommissionCommandWithHttpInfo(ApiHostNameList body)
Decommission the given hosts.
|
ApiCommand |
hostsOfflineOrDecommissionCommand(BigDecimal offlineTimeout,
ApiHostNameList body)
Decommission the given hosts.
|
com.squareup.okhttp.Call |
hostsOfflineOrDecommissionCommandAsync(BigDecimal offlineTimeout,
ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Decommission the given hosts.
|
com.squareup.okhttp.Call |
hostsOfflineOrDecommissionCommandCall(BigDecimal offlineTimeout,
ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsOfflineOrDecommissionCommand
|
ApiResponse<ApiCommand> |
hostsOfflineOrDecommissionCommandWithHttpInfo(BigDecimal offlineTimeout,
ApiHostNameList body)
Decommission the given hosts.
|
ApiCommand |
hostsPerfInspectorCommand(ApiHostsPerfInspectorArgs body)
Run performance diagnostics test against specified hosts in ApiHostsPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
com.squareup.okhttp.Call |
hostsPerfInspectorCommandAsync(ApiHostsPerfInspectorArgs body,
ApiCallback<ApiCommand> callback)
Run performance diagnostics test against specified hosts in ApiHostsPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
com.squareup.okhttp.Call |
hostsPerfInspectorCommandCall(ApiHostsPerfInspectorArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsPerfInspectorCommand
|
ApiResponse<ApiCommand> |
hostsPerfInspectorCommandWithHttpInfo(ApiHostsPerfInspectorArgs body)
Run performance diagnostics test against specified hosts in ApiHostsPerfInspectorArgs User must be Full Administrator or Global Cluster Administrator.
|
ApiCommand |
hostsRecommissionAndExitMaintenanceModeCommand(String recommissionType,
ApiHostNameList body)
Recommission and exit maintenance on the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionAndExitMaintenanceModeCommandAsync(String recommissionType,
ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Recommission and exit maintenance on the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionAndExitMaintenanceModeCommandCall(String recommissionType,
ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsRecommissionAndExitMaintenanceModeCommand
|
ApiResponse<ApiCommand> |
hostsRecommissionAndExitMaintenanceModeCommandWithHttpInfo(String recommissionType,
ApiHostNameList body)
Recommission and exit maintenance on the given hosts.
|
ApiCommand |
hostsRecommissionCommand(ApiHostNameList body)
Recommission the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionCommandAsync(ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Recommission the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionCommandCall(ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsRecommissionCommand
|
ApiResponse<ApiCommand> |
hostsRecommissionCommandWithHttpInfo(ApiHostNameList body)
Recommission the given hosts.
|
ApiCommand |
hostsRecommissionWithStartCommand(ApiHostNameList body)
Recommission the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionWithStartCommandAsync(ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Recommission the given hosts.
|
com.squareup.okhttp.Call |
hostsRecommissionWithStartCommandCall(ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsRecommissionWithStartCommand
|
ApiResponse<ApiCommand> |
hostsRecommissionWithStartCommandWithHttpInfo(ApiHostNameList body)
Recommission the given hosts.
|
ApiCommand |
hostsStartRolesCommand(ApiHostNameList body)
Start all the roles on the given hosts.
|
com.squareup.okhttp.Call |
hostsStartRolesCommandAsync(ApiHostNameList body,
ApiCallback<ApiCommand> callback)
Start all the roles on the given hosts.
|
com.squareup.okhttp.Call |
hostsStartRolesCommandCall(ApiHostNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hostsStartRolesCommand
|
ApiResponse<ApiCommand> |
hostsStartRolesCommandWithHttpInfo(ApiHostNameList body)
Start all the roles on the given hosts.
|
ApiCommand |
importAdminCredentials(String password,
String username)
Imports the KDC Account Manager credentials needed by Cloudera Manager to create kerberos principals needed by CDH services.
|
com.squareup.okhttp.Call |
importAdminCredentialsAsync(String password,
String username,
ApiCallback<ApiCommand> callback)
Imports the KDC Account Manager credentials needed by Cloudera Manager to create kerberos principals needed by CDH services.
|
com.squareup.okhttp.Call |
importAdminCredentialsCall(String password,
String username,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importAdminCredentials
|
ApiResponse<ApiCommand> |
importAdminCredentialsWithHttpInfo(String password,
String username)
Imports the KDC Account Manager credentials needed by Cloudera Manager to create kerberos principals needed by CDH services.
|
ApiCommand |
importClusterTemplate(Boolean addRepositories,
ApiClusterTemplate body)
Create cluster as per the given cluster template.
|
com.squareup.okhttp.Call |
importClusterTemplateAsync(Boolean addRepositories,
ApiClusterTemplate body,
ApiCallback<ApiCommand> callback)
Create cluster as per the given cluster template.
|
com.squareup.okhttp.Call |
importClusterTemplateCall(Boolean addRepositories,
ApiClusterTemplate body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importClusterTemplate
|
ApiResponse<ApiCommand> |
importClusterTemplateWithHttpInfo(Boolean addRepositories,
ApiClusterTemplate body)
Create cluster as per the given cluster template.
|
ApiCommand |
importKerberosPrincipal(BigDecimal kvno,
String password,
String principal)
Imports the Kerberos credentials for the specified principal which can then be used to add to a role's keytab by running Generate Credentials command.
|
com.squareup.okhttp.Call |
importKerberosPrincipalAsync(BigDecimal kvno,
String password,
String principal,
ApiCallback<ApiCommand> callback)
Imports the Kerberos credentials for the specified principal which can then be used to add to a role's keytab by running Generate Credentials command.
|
com.squareup.okhttp.Call |
importKerberosPrincipalCall(BigDecimal kvno,
String password,
String principal,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importKerberosPrincipal
|
ApiResponse<ApiCommand> |
importKerberosPrincipalWithHttpInfo(BigDecimal kvno,
String password,
String principal)
Imports the Kerberos credentials for the specified principal which can then be used to add to a role's keytab by running Generate Credentials command.
|
ApiCommand |
inspectHostsCommand()
Runs the host inspector on the configured hosts.
|
com.squareup.okhttp.Call |
inspectHostsCommandAsync(ApiCallback<ApiCommand> callback)
Runs the host inspector on the configured hosts.
|
com.squareup.okhttp.Call |
inspectHostsCommandCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for inspectHostsCommand
|
ApiResponse<ApiCommand> |
inspectHostsCommandWithHttpInfo()
Runs the host inspector on the configured hosts.
|
ApiCommandList |
listActiveCommands(String view)
List active global commands.
|
com.squareup.okhttp.Call |
listActiveCommandsAsync(String view,
ApiCallback<ApiCommandList> callback)
List active global commands.
|
com.squareup.okhttp.Call |
listActiveCommandsCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listActiveCommands
|
ApiResponse<ApiCommandList> |
listActiveCommandsWithHttpInfo(String view)
List active global commands.
|
ApiLicense |
readLicense()
Retrieve information about the Cloudera Manager license.
|
com.squareup.okhttp.Call |
readLicenseAsync(ApiCallback<ApiLicense> callback)
Retrieve information about the Cloudera Manager license.
|
com.squareup.okhttp.Call |
readLicenseCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readLicense
|
ApiResponse<ApiLicense> |
readLicenseWithHttpInfo()
Retrieve information about the Cloudera Manager license.
|
ApiCommand |
refreshParcelRepos()
.
|
com.squareup.okhttp.Call |
refreshParcelReposAsync(ApiCallback<ApiCommand> callback)
.
|
com.squareup.okhttp.Call |
refreshParcelReposCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refreshParcelRepos
|
ApiResponse<ApiCommand> |
refreshParcelReposWithHttpInfo()
.
|
void |
setApiClient(ApiClient apiClient) |
ApiConfigList |
updateConfig(String message,
ApiConfigList body)
Update the Cloudera Manager settings.
|
com.squareup.okhttp.Call |
updateConfigAsync(String message,
ApiConfigList body,
ApiCallback<ApiConfigList> callback)
Update the Cloudera Manager settings.
|
com.squareup.okhttp.Call |
updateConfigCall(String message,
ApiConfigList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateConfig
|
ApiResponse<ApiConfigList> |
updateConfigWithHttpInfo(String message,
ApiConfigList body)
Update the Cloudera Manager settings.
|
ApiDeployment2 |
updateDeployment2(Boolean deleteCurrentDeployment,
ApiDeployment2 body)
Apply the supplied deployment description to the system.
|
com.squareup.okhttp.Call |
updateDeployment2Async(Boolean deleteCurrentDeployment,
ApiDeployment2 body,
ApiCallback<ApiDeployment2> callback)
Apply the supplied deployment description to the system.
|
com.squareup.okhttp.Call |
updateDeployment2Call(Boolean deleteCurrentDeployment,
ApiDeployment2 body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateDeployment2
|
ApiResponse<ApiDeployment2> |
updateDeployment2WithHttpInfo(Boolean deleteCurrentDeployment,
ApiDeployment2 body)
Apply the supplied deployment description to the system.
|
ApiLicense |
updateLicense(File license)
Updates the Cloudera Manager license.
|
com.squareup.okhttp.Call |
updateLicenseAsync(File license,
ApiCallback<ApiLicense> callback)
Updates the Cloudera Manager license.
|
com.squareup.okhttp.Call |
updateLicenseCall(File license,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateLicense
|
ApiResponse<ApiLicense> |
updateLicenseWithHttpInfo(File license)
Updates the Cloudera Manager license.
|
public ClouderaManagerResourceApi()
public ClouderaManagerResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addCustomCertsCall(ApiAddCustomCertsArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand addCustomCerts(ApiAddCustomCertsArguments body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> addCustomCertsWithHttpInfo(ApiAddCustomCertsArguments body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addCustomCertsAsync(ApiAddCustomCertsArguments body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call beginTrialCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void beginTrial() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> beginTrialWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call beginTrialAsync(ApiCallback<Void> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call clustersPerfInspectorCommandCall(ApiClustersPerfInspectorArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- Required arguments for the command. See ApiClustersPerfInspectorArgs. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand clustersPerfInspectorCommand(ApiClustersPerfInspectorArgs body) throws ApiException
body
- Required arguments for the command. See ApiClustersPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> clustersPerfInspectorCommandWithHttpInfo(ApiClustersPerfInspectorArgs body) throws ApiException
body
- Required arguments for the command. See ApiClustersPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call clustersPerfInspectorCommandAsync(ApiClustersPerfInspectorArgs body, ApiCallback<ApiCommand> callback) throws ApiException
body
- Required arguments for the command. See ApiClustersPerfInspectorArgs. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call collectDiagnosticDataCommandCall(ApiCollectDiagnosticDataArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- The command arguments. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand collectDiagnosticDataCommand(ApiCollectDiagnosticDataArguments body) throws ApiException
body
- The command arguments. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> collectDiagnosticDataCommandWithHttpInfo(ApiCollectDiagnosticDataArguments body) throws ApiException
body
- The command arguments. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call collectDiagnosticDataCommandAsync(ApiCollectDiagnosticDataArguments body, ApiCallback<ApiCommand> callback) throws ApiException
body
- The command arguments. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteCredentialsCommandCall(String deleteCredentialsMode, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
deleteCredentialsMode
- this can be set to \"all\" or \"unused\" (optional, default to all)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand deleteCredentialsCommand(String deleteCredentialsMode) throws ApiException
deleteCredentialsMode
- this can be set to \"all\" or \"unused\" (optional, default to all)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> deleteCredentialsCommandWithHttpInfo(String deleteCredentialsMode) throws ApiException
deleteCredentialsMode
- this can be set to \"all\" or \"unused\" (optional, default to all)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteCredentialsCommandAsync(String deleteCredentialsMode, ApiCallback<ApiCommand> callback) throws ApiException
deleteCredentialsMode
- this can be set to \"all\" or \"unused\" (optional, default to all)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call endTrialCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void endTrial() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> endTrialWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call endTrialAsync(ApiCallback<Void> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call generateCmcaCall(ApiGenerateCmcaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand generateCmca(ApiGenerateCmcaArguments body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> generateCmcaWithHttpInfo(ApiGenerateCmcaArguments body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generateCmcaAsync(ApiGenerateCmcaArguments body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call generateCredentialsCommandCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand generateCredentialsCommand() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> generateCredentialsCommandWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generateCredentialsCommandAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getConfigCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList getConfig(String view) throws ApiException
view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> getConfigWithHttpInfo(String view) throws ApiException
view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getConfigAsync(String view, ApiCallback<ApiConfigList> callback) throws ApiException
view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getDeployment2Call(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- May be one of \"export\" (default) or \"export_redacted\". The latter replaces configurations that are sensitive with the word \"REDACTED\". (optional, default to export)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDeployment2 getDeployment2(String view) throws ApiException
view
- May be one of \"export\" (default) or \"export_redacted\". The latter replaces configurations that are sensitive with the word \"REDACTED\". (optional, default to export)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDeployment2> getDeployment2WithHttpInfo(String view) throws ApiException
view
- May be one of \"export\" (default) or \"export_redacted\". The latter replaces configurations that are sensitive with the word \"REDACTED\". (optional, default to export)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDeployment2Async(String view, ApiCallback<ApiDeployment2> callback) throws ApiException
view
- May be one of \"export\" (default) or \"export_redacted\". The latter replaces configurations that are sensitive with the word \"REDACTED\". (optional, default to export)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getKerberosInfoCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiKerberosInfo getKerberosInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiKerberosInfo> getKerberosInfoWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getKerberosInfoAsync(ApiCallback<ApiKerberosInfo> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getKerberosPrincipalsCall(Boolean missingOnly, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
missingOnly
- Whether to include only those principals which do not already exist in Cloudera Manager's database. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiPrincipalList getKerberosPrincipals(Boolean missingOnly) throws ApiException
missingOnly
- Whether to include only those principals which do not already exist in Cloudera Manager's database. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiPrincipalList> getKerberosPrincipalsWithHttpInfo(Boolean missingOnly) throws ApiException
missingOnly
- Whether to include only those principals which do not already exist in Cloudera Manager's database. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getKerberosPrincipalsAsync(Boolean missingOnly, ApiCallback<ApiPrincipalList> callback) throws ApiException
missingOnly
- Whether to include only those principals which do not already exist in Cloudera Manager's database. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getLicensedFeatureUsageCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiLicensedFeatureUsage getLicensedFeatureUsage() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiLicensedFeatureUsage> getLicensedFeatureUsageWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLicensedFeatureUsageAsync(ApiCallback<ApiLicensedFeatureUsage> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getLogCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic String getLog() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> getLogWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLogAsync(ApiCallback<String> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getScmDbInfoCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiScmDbInfo getScmDbInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiScmDbInfo> getScmDbInfoWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getScmDbInfoAsync(ApiCallback<ApiScmDbInfo> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getShutdownReadinessCall(String lastActivityTime, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
lastActivityTime
- End time of the last known activity/workload against the managed clusters, in ISO 8601 format. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiShutdownReadiness getShutdownReadiness(String lastActivityTime) throws ApiException
lastActivityTime
- End time of the last known activity/workload against the managed clusters, in ISO 8601 format. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiShutdownReadiness> getShutdownReadinessWithHttpInfo(String lastActivityTime) throws ApiException
lastActivityTime
- End time of the last known activity/workload against the managed clusters, in ISO 8601 format. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getShutdownReadinessAsync(String lastActivityTime, ApiCallback<ApiShutdownReadiness> callback) throws ApiException
lastActivityTime
- End time of the last known activity/workload against the managed clusters, in ISO 8601 format. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getVersionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiVersionInfo getVersion() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiVersionInfo> getVersionWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getVersionAsync(ApiCallback<ApiVersionInfo> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostInstallCommandCall(ApiHostInstallArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- Hosts to perform installation on (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostInstallCommand(ApiHostInstallArguments body) throws ApiException
body
- Hosts to perform installation on (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostInstallCommandWithHttpInfo(ApiHostInstallArguments body) throws ApiException
body
- Hosts to perform installation on (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostInstallCommandAsync(ApiHostInstallArguments body, ApiCallback<ApiCommand> callback) throws ApiException
body
- Hosts to perform installation on (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsDecommissionCommandCall(ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsDecommissionCommand(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsDecommissionCommandWithHttpInfo(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsDecommissionCommandAsync(ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsOfflineOrDecommissionCommandCall(BigDecimal offlineTimeout, ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
offlineTimeout
- offline timeout in seconds. Specify as null to get the default timeout (4 hours). Ignored if service does not support he offline operation. (optional)body
- list of host names to decommission. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsOfflineOrDecommissionCommand(BigDecimal offlineTimeout, ApiHostNameList body) throws ApiException
offlineTimeout
- offline timeout in seconds. Specify as null to get the default timeout (4 hours). Ignored if service does not support he offline operation. (optional)body
- list of host names to decommission. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsOfflineOrDecommissionCommandWithHttpInfo(BigDecimal offlineTimeout, ApiHostNameList body) throws ApiException
offlineTimeout
- offline timeout in seconds. Specify as null to get the default timeout (4 hours). Ignored if service does not support he offline operation. (optional)body
- list of host names to decommission. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsOfflineOrDecommissionCommandAsync(BigDecimal offlineTimeout, ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
offlineTimeout
- offline timeout in seconds. Specify as null to get the default timeout (4 hours). Ignored if service does not support he offline operation. (optional)body
- list of host names to decommission. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsPerfInspectorCommandCall(ApiHostsPerfInspectorArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- Required arguments for the command. See ApiHostsPerfInspectorArgs. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsPerfInspectorCommand(ApiHostsPerfInspectorArgs body) throws ApiException
body
- Required arguments for the command. See ApiHostsPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsPerfInspectorCommandWithHttpInfo(ApiHostsPerfInspectorArgs body) throws ApiException
body
- Required arguments for the command. See ApiHostsPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsPerfInspectorCommandAsync(ApiHostsPerfInspectorArgs body, ApiCallback<ApiCommand> callback) throws ApiException
body
- Required arguments for the command. See ApiHostsPerfInspectorArgs. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsRecommissionAndExitMaintenanceModeCommandCall(String recommissionType, ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
recommissionType
- (optional, default to recommission)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsRecommissionAndExitMaintenanceModeCommand(String recommissionType, ApiHostNameList body) throws ApiException
recommissionType
- (optional, default to recommission)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsRecommissionAndExitMaintenanceModeCommandWithHttpInfo(String recommissionType, ApiHostNameList body) throws ApiException
recommissionType
- (optional, default to recommission)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsRecommissionAndExitMaintenanceModeCommandAsync(String recommissionType, ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
recommissionType
- (optional, default to recommission)body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsRecommissionCommandCall(ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsRecommissionCommand(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsRecommissionCommandWithHttpInfo(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsRecommissionCommandAsync(ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsRecommissionWithStartCommandCall(ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsRecommissionWithStartCommand(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsRecommissionWithStartCommandWithHttpInfo(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsRecommissionWithStartCommandAsync(ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hostsStartRolesCommandCall(ApiHostNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand hostsStartRolesCommand(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> hostsStartRolesCommandWithHttpInfo(ApiHostNameList body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hostsStartRolesCommandAsync(ApiHostNameList body, ApiCallback<ApiCommand> callback) throws ApiException
body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call importAdminCredentialsCall(String password, String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
password
- Password for the Account Manager. return Information about the submitted command. (optional)username
- Username of the Account Manager. Full name including the Kerberos realm must be specified. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand importAdminCredentials(String password, String username) throws ApiException
password
- Password for the Account Manager. return Information about the submitted command. (optional)username
- Username of the Account Manager. Full name including the Kerberos realm must be specified. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> importAdminCredentialsWithHttpInfo(String password, String username) throws ApiException
password
- Password for the Account Manager. return Information about the submitted command. (optional)username
- Username of the Account Manager. Full name including the Kerberos realm must be specified. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importAdminCredentialsAsync(String password, String username, ApiCallback<ApiCommand> callback) throws ApiException
password
- Password for the Account Manager. return Information about the submitted command. (optional)username
- Username of the Account Manager. Full name including the Kerberos realm must be specified. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call importClusterTemplateCall(Boolean addRepositories, ApiClusterTemplate body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
addRepositories
- if true the parcels repositories in the cluster template will be added. (optional, default to false)body
- cluster template (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand importClusterTemplate(Boolean addRepositories, ApiClusterTemplate body) throws ApiException
addRepositories
- if true the parcels repositories in the cluster template will be added. (optional, default to false)body
- cluster template (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> importClusterTemplateWithHttpInfo(Boolean addRepositories, ApiClusterTemplate body) throws ApiException
addRepositories
- if true the parcels repositories in the cluster template will be added. (optional, default to false)body
- cluster template (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importClusterTemplateAsync(Boolean addRepositories, ApiClusterTemplate body, ApiCallback<ApiCommand> callback) throws ApiException
addRepositories
- if true the parcels repositories in the cluster template will be added. (optional, default to false)body
- cluster template (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call importKerberosPrincipalCall(BigDecimal kvno, String password, String principal, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
kvno
- Key-version number of the password. return Information about the submitted command. (optional)password
- Password for the Kerberos principal. Cloudera Manager will encrypt the principal and password and use it when needed for a daemon. (optional)principal
- Name of the principal. Full name including the Kerberos realm must be specified. If it already exists, it will be overwritten. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand importKerberosPrincipal(BigDecimal kvno, String password, String principal) throws ApiException
kvno
- Key-version number of the password. return Information about the submitted command. (optional)password
- Password for the Kerberos principal. Cloudera Manager will encrypt the principal and password and use it when needed for a daemon. (optional)principal
- Name of the principal. Full name including the Kerberos realm must be specified. If it already exists, it will be overwritten. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> importKerberosPrincipalWithHttpInfo(BigDecimal kvno, String password, String principal) throws ApiException
kvno
- Key-version number of the password. return Information about the submitted command. (optional)password
- Password for the Kerberos principal. Cloudera Manager will encrypt the principal and password and use it when needed for a daemon. (optional)principal
- Name of the principal. Full name including the Kerberos realm must be specified. If it already exists, it will be overwritten. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importKerberosPrincipalAsync(BigDecimal kvno, String password, String principal, ApiCallback<ApiCommand> callback) throws ApiException
kvno
- Key-version number of the password. return Information about the submitted command. (optional)password
- Password for the Kerberos principal. Cloudera Manager will encrypt the principal and password and use it when needed for a daemon. (optional)principal
- Name of the principal. Full name including the Kerberos realm must be specified. If it already exists, it will be overwritten. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call inspectHostsCommandCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand inspectHostsCommand() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> inspectHostsCommandWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call inspectHostsCommandAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call listActiveCommandsCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommandList listActiveCommands(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommandList> listActiveCommandsWithHttpInfo(String view) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listActiveCommandsAsync(String view, ApiCallback<ApiCommandList> callback) throws ApiException
view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readLicenseCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiLicense readLicense() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiLicense> readLicenseWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readLicenseAsync(ApiCallback<ApiLicense> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call refreshParcelReposCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand refreshParcelRepos() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> refreshParcelReposWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call refreshParcelReposAsync(ApiCallback<ApiCommand> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateConfigCall(String message, ApiConfigList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList updateConfig(String message, ApiConfigList body) throws ApiException
message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> updateConfigWithHttpInfo(String message, ApiConfigList body) throws ApiException
message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateConfigAsync(String message, ApiConfigList body, ApiCallback<ApiConfigList> callback) throws ApiException
message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateDeployment2Call(Boolean deleteCurrentDeployment, ApiDeployment2 body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
deleteCurrentDeployment
- If true, the current deployment is deleted before the specified deployment is applied (optional, default to false)body
- The deployment to create (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDeployment2 updateDeployment2(Boolean deleteCurrentDeployment, ApiDeployment2 body) throws ApiException
deleteCurrentDeployment
- If true, the current deployment is deleted before the specified deployment is applied (optional, default to false)body
- The deployment to create (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDeployment2> updateDeployment2WithHttpInfo(Boolean deleteCurrentDeployment, ApiDeployment2 body) throws ApiException
deleteCurrentDeployment
- If true, the current deployment is deleted before the specified deployment is applied (optional, default to false)body
- The deployment to create (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateDeployment2Async(Boolean deleteCurrentDeployment, ApiDeployment2 body, ApiCallback<ApiDeployment2> callback) throws ApiException
deleteCurrentDeployment
- If true, the current deployment is deleted before the specified deployment is applied (optional, default to false)body
- The deployment to create (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateLicenseCall(File license, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
license
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiLicense updateLicense(File license) throws ApiException
license
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiLicense> updateLicenseWithHttpInfo(File license) throws ApiException
license
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateLicenseAsync(File license, ApiCallback<ApiLicense> callback) throws ApiException
license
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.