public class ClustersResourceApi extends Object
Constructor and Description |
---|
ClustersResourceApi() |
ClustersResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiHostRefList |
addHosts(String clusterName,
ApiHostRefList body) |
com.squareup.okhttp.Call |
addHostsAsync(String clusterName,
ApiHostRefList body,
ApiCallback<ApiHostRefList> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
addHostsCall(String clusterName,
ApiHostRefList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addHosts
|
ApiResponse<ApiHostRefList> |
addHostsWithHttpInfo(String clusterName,
ApiHostRefList body) |
void |
autoAssignRoles(String clusterName)
Automatically assign roles to hosts and create the roles for all the services in a cluster.
|
com.squareup.okhttp.Call |
autoAssignRolesAsync(String clusterName,
ApiCallback<Void> callback)
Automatically assign roles to hosts and create the roles for all the services in a cluster.
|
com.squareup.okhttp.Call |
autoAssignRolesCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for autoAssignRoles
|
ApiResponse<Void> |
autoAssignRolesWithHttpInfo(String clusterName)
Automatically assign roles to hosts and create the roles for all the services in a cluster.
|
void |
autoConfigure(String clusterName)
Automatically configures roles and services in a cluster.
|
com.squareup.okhttp.Call |
autoConfigureAsync(String clusterName,
ApiCallback<Void> callback)
Automatically configures roles and services in a cluster.
|
com.squareup.okhttp.Call |
autoConfigureCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for autoConfigure
|
ApiResponse<Void> |
autoConfigureWithHttpInfo(String clusterName)
Automatically configures roles and services in a cluster.
|
ApiCommand |
configureAutoTlsServicesCommand(String clusterName)
Configures all services in a cluster to use Auto-TLS.
|
com.squareup.okhttp.Call |
configureAutoTlsServicesCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Configures all services in a cluster to use Auto-TLS.
|
com.squareup.okhttp.Call |
configureAutoTlsServicesCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for configureAutoTlsServicesCommand
|
ApiResponse<ApiCommand> |
configureAutoTlsServicesCommandWithHttpInfo(String clusterName)
Configures all services in a cluster to use Auto-TLS.
|
ApiCommand |
configureForKerberos(String clusterName,
ApiConfigureForKerberosArguments body)
Command to configure the cluster to use Kerberos for authentication.
|
com.squareup.okhttp.Call |
configureForKerberosAsync(String clusterName,
ApiConfigureForKerberosArguments body,
ApiCallback<ApiCommand> callback)
Command to configure the cluster to use Kerberos for authentication.
|
com.squareup.okhttp.Call |
configureForKerberosCall(String clusterName,
ApiConfigureForKerberosArguments body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for configureForKerberos
|
ApiResponse<ApiCommand> |
configureForKerberosWithHttpInfo(String clusterName,
ApiConfigureForKerberosArguments body)
Command to configure the cluster to use Kerberos for authentication.
|
ApiClusterList |
createClusters(ApiClusterList body)
Creates a collection of clusters.
|
com.squareup.okhttp.Call |
createClustersAsync(ApiClusterList body,
ApiCallback<ApiClusterList> callback)
Creates a collection of clusters.
|
com.squareup.okhttp.Call |
createClustersCall(ApiClusterList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createClusters
|
ApiResponse<ApiClusterList> |
createClustersWithHttpInfo(ApiClusterList body)
Creates a collection of clusters.
|
ApiCluster |
deleteCluster(String clusterName)
Deletes a cluster.
|
com.squareup.okhttp.Call |
deleteClusterAsync(String clusterName,
ApiCallback<ApiCluster> callback)
Deletes a cluster.
|
com.squareup.okhttp.Call |
deleteClusterCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteCluster
|
ApiCommand |
deleteClusterCredentialsCommand(String clusterName)
Delete existing Kerberos credentials for the cluster.
|
com.squareup.okhttp.Call |
deleteClusterCredentialsCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Delete existing Kerberos credentials for the cluster.
|
com.squareup.okhttp.Call |
deleteClusterCredentialsCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteClusterCredentialsCommand
|
ApiResponse<ApiCommand> |
deleteClusterCredentialsCommandWithHttpInfo(String clusterName)
Delete existing Kerberos credentials for the cluster.
|
ApiResponse<ApiCluster> |
deleteClusterWithHttpInfo(String clusterName)
Deletes a cluster.
|
ApiCommand |
deployClientConfig(String clusterName)
Deploy the cluster-wide client configuration.
|
com.squareup.okhttp.Call |
deployClientConfigAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Deploy the cluster-wide client configuration.
|
com.squareup.okhttp.Call |
deployClientConfigCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deployClientConfig
|
ApiResponse<ApiCommand> |
deployClientConfigWithHttpInfo(String clusterName)
Deploy the cluster-wide client configuration.
|
ApiCommand |
deployClusterClientConfig(String clusterName,
ApiHostRefList body)
Deploy the Cluster's Kerberos client configuration.
|
com.squareup.okhttp.Call |
deployClusterClientConfigAsync(String clusterName,
ApiHostRefList body,
ApiCallback<ApiCommand> callback)
Deploy the Cluster's Kerberos client configuration.
|
com.squareup.okhttp.Call |
deployClusterClientConfigCall(String clusterName,
ApiHostRefList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deployClusterClientConfig
|
ApiResponse<ApiCommand> |
deployClusterClientConfigWithHttpInfo(String clusterName,
ApiHostRefList body)
Deploy the Cluster's Kerberos client configuration.
|
ApiCommand |
enterMaintenanceMode(String clusterName)
Put the cluster into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Put the cluster into maintenance mode.
|
com.squareup.okhttp.Call |
enterMaintenanceModeCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for enterMaintenanceMode
|
ApiResponse<ApiCommand> |
enterMaintenanceModeWithHttpInfo(String clusterName)
Put the cluster into maintenance mode.
|
ApiCommand |
exitMaintenanceMode(String clusterName)
Take the cluster out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Take the cluster out of maintenance mode.
|
com.squareup.okhttp.Call |
exitMaintenanceModeCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exitMaintenanceMode
|
ApiResponse<ApiCommand> |
exitMaintenanceModeWithHttpInfo(String clusterName)
Take the cluster out of maintenance mode.
|
ApiCommand |
expireLogs(String clusterName,
BigDecimal days)
Remove backup and disaster related log files in hdfs.
|
com.squareup.okhttp.Call |
expireLogsAsync(String clusterName,
BigDecimal days,
ApiCallback<ApiCommand> callback)
Remove backup and disaster related log files in hdfs.
|
com.squareup.okhttp.Call |
expireLogsCall(String clusterName,
BigDecimal days,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for expireLogs
|
ApiResponse<ApiCommand> |
expireLogsWithHttpInfo(String clusterName,
BigDecimal days)
Remove backup and disaster related log files in hdfs.
|
ApiClusterTemplate |
export(String clusterName,
Boolean exportAutoConfig)
Export the cluster template for the given cluster.
|
com.squareup.okhttp.Call |
exportAsync(String clusterName,
Boolean exportAutoConfig,
ApiCallback<ApiClusterTemplate> callback)
Export the cluster template for the given cluster.
|
com.squareup.okhttp.Call |
exportCall(String clusterName,
Boolean exportAutoConfig,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for export
|
ApiResponse<ApiClusterTemplate> |
exportWithHttpInfo(String clusterName,
Boolean exportAutoConfig)
Export the cluster template for the given cluster.
|
ApiCommand |
firstRun(String clusterName)
Prepare and start services in a cluster.
|
com.squareup.okhttp.Call |
firstRunAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Prepare and start services in a cluster.
|
com.squareup.okhttp.Call |
firstRunCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for firstRun
|
ApiResponse<ApiCommand> |
firstRunWithHttpInfo(String clusterName)
Prepare and start services in a cluster.
|
ApiClient |
getApiClient() |
File |
getClientConfig(String clusterName)
Download a zip-compressed archive of the client configuration, of a specific cluster.
|
com.squareup.okhttp.Call |
getClientConfigAsync(String clusterName,
ApiCallback<File> callback)
Download a zip-compressed archive of the client configuration, of a specific cluster.
|
com.squareup.okhttp.Call |
getClientConfigCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getClientConfig
|
ApiResponse<File> |
getClientConfigWithHttpInfo(String clusterName)
Download a zip-compressed archive of the client configuration, of a specific cluster.
|
ApiKerberosInfo |
getKerberosInfo(String clusterName)
Provides Cluster Kerberos information.
|
com.squareup.okhttp.Call |
getKerberosInfoAsync(String clusterName,
ApiCallback<ApiKerberosInfo> callback)
Provides Cluster Kerberos information.
|
com.squareup.okhttp.Call |
getKerberosInfoCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getKerberosInfo
|
ApiResponse<ApiKerberosInfo> |
getKerberosInfoWithHttpInfo(String clusterName)
Provides Cluster Kerberos information.
|
ApiClusterUtilization |
getUtilizationReport(String clusterName,
List<String> daysOfWeek,
Integer endHourOfDay,
String from,
Integer startHourOfDay,
String tenantType,
String to)
Provides the resource utilization of the entire cluster as well as the resource utilization per tenant.
|
com.squareup.okhttp.Call |
getUtilizationReportAsync(String clusterName,
List<String> daysOfWeek,
Integer endHourOfDay,
String from,
Integer startHourOfDay,
String tenantType,
String to,
ApiCallback<ApiClusterUtilization> callback)
Provides the resource utilization of the entire cluster as well as the resource utilization per tenant.
|
com.squareup.okhttp.Call |
getUtilizationReportCall(String clusterName,
List<String> daysOfWeek,
Integer endHourOfDay,
String from,
Integer startHourOfDay,
String tenantType,
String to,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getUtilizationReport
|
ApiResponse<ApiClusterUtilization> |
getUtilizationReportWithHttpInfo(String clusterName,
List<String> daysOfWeek,
Integer endHourOfDay,
String from,
Integer startHourOfDay,
String tenantType,
String to)
Provides the resource utilization of the entire cluster as well as the resource utilization per tenant.
|
ApiCommand |
inspectHostsCommand(String clusterName)
Runs the host inspector on the configured hosts in the specified cluster.
|
com.squareup.okhttp.Call |
inspectHostsCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Runs the host inspector on the configured hosts in the specified cluster.
|
com.squareup.okhttp.Call |
inspectHostsCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for inspectHostsCommand
|
ApiResponse<ApiCommand> |
inspectHostsCommandWithHttpInfo(String clusterName)
Runs the host inspector on the configured hosts in the specified cluster.
|
ApiCommandList |
listActiveCommands(String clusterName,
String view)
List active cluster commands.
|
com.squareup.okhttp.Call |
listActiveCommandsAsync(String clusterName,
String view,
ApiCallback<ApiCommandList> callback)
List active cluster commands.
|
com.squareup.okhttp.Call |
listActiveCommandsCall(String clusterName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listActiveCommands
|
ApiResponse<ApiCommandList> |
listActiveCommandsWithHttpInfo(String clusterName,
String view)
List active cluster commands.
|
ApiServiceList |
listDfsServices(String clusterName,
String view)
List the services that can provide distributed file system (DFS) capabilities in this cluster.
|
com.squareup.okhttp.Call |
listDfsServicesAsync(String clusterName,
String view,
ApiCallback<ApiServiceList> callback)
List the services that can provide distributed file system (DFS) capabilities in this cluster.
|
com.squareup.okhttp.Call |
listDfsServicesCall(String clusterName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listDfsServices
|
ApiResponse<ApiServiceList> |
listDfsServicesWithHttpInfo(String clusterName,
String view)
List the services that can provide distributed file system (DFS) capabilities in this cluster.
|
ApiHostRefList |
listHosts(String clusterName) |
com.squareup.okhttp.Call |
listHostsAsync(String clusterName,
ApiCallback<ApiHostRefList> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
listHostsCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listHosts
|
ApiResponse<ApiHostRefList> |
listHostsWithHttpInfo(String clusterName) |
ApiServiceTypeList |
listServiceTypes(String clusterName)
List the supported service types for a cluster.
|
com.squareup.okhttp.Call |
listServiceTypesAsync(String clusterName,
ApiCallback<ApiServiceTypeList> callback)
List the supported service types for a cluster.
|
com.squareup.okhttp.Call |
listServiceTypesCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listServiceTypes
|
ApiResponse<ApiServiceTypeList> |
listServiceTypesWithHttpInfo(String clusterName)
List the supported service types for a cluster.
|
ApiCommand |
perfInspectorCommand(String clusterName,
ApiClusterPerfInspectorArgs body)
Run cluster performance diagnostics test.
|
com.squareup.okhttp.Call |
perfInspectorCommandAsync(String clusterName,
ApiClusterPerfInspectorArgs body,
ApiCallback<ApiCommand> callback)
Run cluster performance diagnostics test.
|
com.squareup.okhttp.Call |
perfInspectorCommandCall(String clusterName,
ApiClusterPerfInspectorArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for perfInspectorCommand
|
ApiResponse<ApiCommand> |
perfInspectorCommandWithHttpInfo(String clusterName,
ApiClusterPerfInspectorArgs body)
Run cluster performance diagnostics test.
|
ApiCommand |
poolsRefresh(String clusterName)
Updates all refreshable configuration files for services with Dynamic Resource Pools.
|
com.squareup.okhttp.Call |
poolsRefreshAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Updates all refreshable configuration files for services with Dynamic Resource Pools.
|
com.squareup.okhttp.Call |
poolsRefreshCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for poolsRefresh
|
ApiResponse<ApiCommand> |
poolsRefreshWithHttpInfo(String clusterName)
Updates all refreshable configuration files for services with Dynamic Resource Pools.
|
ApiCommand |
preUpgradeCheckCommand(String clusterName,
ApiCdhUpgradeArgs body)
Run cluster pre-upgrade check(s) when upgrading from specified version of CDH to the other.
|
com.squareup.okhttp.Call |
preUpgradeCheckCommandAsync(String clusterName,
ApiCdhUpgradeArgs body,
ApiCallback<ApiCommand> callback)
Run cluster pre-upgrade check(s) when upgrading from specified version of CDH to the other.
|
com.squareup.okhttp.Call |
preUpgradeCheckCommandCall(String clusterName,
ApiCdhUpgradeArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for preUpgradeCheckCommand
|
ApiResponse<ApiCommand> |
preUpgradeCheckCommandWithHttpInfo(String clusterName,
ApiCdhUpgradeArgs body)
Run cluster pre-upgrade check(s) when upgrading from specified version of CDH to the other.
|
ApiCluster |
readCluster(String clusterName)
Reads information about a cluster.
|
com.squareup.okhttp.Call |
readClusterAsync(String clusterName,
ApiCallback<ApiCluster> callback)
Reads information about a cluster.
|
com.squareup.okhttp.Call |
readClusterCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readCluster
|
ApiClusterList |
readClusters(String clusterType,
String view)
List all known clusters.
|
com.squareup.okhttp.Call |
readClustersAsync(String clusterType,
String view,
ApiCallback<ApiClusterList> callback)
List all known clusters.
|
com.squareup.okhttp.Call |
readClustersCall(String clusterType,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readClusters
|
ApiResponse<ApiClusterList> |
readClustersWithHttpInfo(String clusterType,
String view)
List all known clusters.
|
ApiResponse<ApiCluster> |
readClusterWithHttpInfo(String clusterName)
Reads information about a cluster.
|
ApiCommand |
refresh(String clusterName)
Updates all refreshable configuration files in the cluster.
|
com.squareup.okhttp.Call |
refreshAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Updates all refreshable configuration files in the cluster.
|
com.squareup.okhttp.Call |
refreshCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refresh
|
ApiResponse<ApiCommand> |
refreshWithHttpInfo(String clusterName)
Updates all refreshable configuration files in the cluster.
|
ApiHostRefList |
removeAllHosts(String clusterName) |
com.squareup.okhttp.Call |
removeAllHostsAsync(String clusterName,
ApiCallback<ApiHostRefList> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
removeAllHostsCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeAllHosts
|
ApiResponse<ApiHostRefList> |
removeAllHostsWithHttpInfo(String clusterName) |
ApiHostRef |
removeHost(String clusterName,
String hostId) |
com.squareup.okhttp.Call |
removeHostAsync(String clusterName,
String hostId,
ApiCallback<ApiHostRef> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
removeHostCall(String clusterName,
String hostId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeHost
|
ApiResponse<ApiHostRef> |
removeHostWithHttpInfo(String clusterName,
String hostId) |
ApiCommand |
restartCommand(String clusterName,
ApiRestartClusterArgs body)
Restart all services in the cluster.
|
com.squareup.okhttp.Call |
restartCommandAsync(String clusterName,
ApiRestartClusterArgs body,
ApiCallback<ApiCommand> callback)
Restart all services in the cluster.
|
com.squareup.okhttp.Call |
restartCommandCall(String clusterName,
ApiRestartClusterArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for restartCommand
|
ApiResponse<ApiCommand> |
restartCommandWithHttpInfo(String clusterName,
ApiRestartClusterArgs body)
Restart all services in the cluster.
|
ApiCommand |
rollingRestart(String clusterName,
ApiRollingRestartClusterArgs body)
Command to do a \"best-effort\" rolling restart of the given cluster, i.
|
com.squareup.okhttp.Call |
rollingRestartAsync(String clusterName,
ApiRollingRestartClusterArgs body,
ApiCallback<ApiCommand> callback)
Command to do a \"best-effort\" rolling restart of the given cluster, i.
|
com.squareup.okhttp.Call |
rollingRestartCall(String clusterName,
ApiRollingRestartClusterArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rollingRestart
|
ApiResponse<ApiCommand> |
rollingRestartWithHttpInfo(String clusterName,
ApiRollingRestartClusterArgs body)
Command to do a \"best-effort\" rolling restart of the given cluster, i.
|
ApiCommand |
rollingUpgrade(String clusterName,
ApiRollingUpgradeServicesArgs body)
Command to do a rolling upgrade of specific services in the given cluster This command does not handle any services that don't support rolling upgrades.
|
com.squareup.okhttp.Call |
rollingUpgradeAsync(String clusterName,
ApiRollingUpgradeServicesArgs body,
ApiCallback<ApiCommand> callback)
Command to do a rolling upgrade of specific services in the given cluster This command does not handle any services that don't support rolling upgrades.
|
com.squareup.okhttp.Call |
rollingUpgradeCall(String clusterName,
ApiRollingUpgradeServicesArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for rollingUpgrade
|
ApiResponse<ApiCommand> |
rollingUpgradeWithHttpInfo(String clusterName,
ApiRollingUpgradeServicesArgs body)
Command to do a rolling upgrade of specific services in the given cluster This command does not handle any services that don't support rolling upgrades.
|
void |
setApiClient(ApiClient apiClient) |
ApiCommand |
startCommand(String clusterName)
Start all services in the cluster.
|
com.squareup.okhttp.Call |
startCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Start all services in the cluster.
|
com.squareup.okhttp.Call |
startCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startCommand
|
ApiResponse<ApiCommand> |
startCommandWithHttpInfo(String clusterName)
Start all services in the cluster.
|
ApiCommand |
stopCommand(String clusterName)
Stop all services in the cluster.
|
com.squareup.okhttp.Call |
stopCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Stop all services in the cluster.
|
com.squareup.okhttp.Call |
stopCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for stopCommand
|
ApiResponse<ApiCommand> |
stopCommandWithHttpInfo(String clusterName)
Stop all services in the cluster.
|
ApiCluster |
updateCluster(String clusterName,
ApiCluster body)
Update an existing cluster.
|
com.squareup.okhttp.Call |
updateClusterAsync(String clusterName,
ApiCluster body,
ApiCallback<ApiCluster> callback)
Update an existing cluster.
|
com.squareup.okhttp.Call |
updateClusterCall(String clusterName,
ApiCluster body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateCluster
|
ApiResponse<ApiCluster> |
updateClusterWithHttpInfo(String clusterName,
ApiCluster body)
Update an existing cluster.
|
ApiCommand |
upgradeCdhCommand(String clusterName,
ApiCdhUpgradeArgs body)
Perform CDH upgrade to the specified version.
|
com.squareup.okhttp.Call |
upgradeCdhCommandAsync(String clusterName,
ApiCdhUpgradeArgs body,
ApiCallback<ApiCommand> callback)
Perform CDH upgrade to the specified version.
|
com.squareup.okhttp.Call |
upgradeCdhCommandCall(String clusterName,
ApiCdhUpgradeArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for upgradeCdhCommand
|
ApiResponse<ApiCommand> |
upgradeCdhCommandWithHttpInfo(String clusterName,
ApiCdhUpgradeArgs body)
Perform CDH upgrade to the specified version.
|
ApiCommand |
upgradeServicesCommand(String clusterName)
Upgrades the services in the cluster to the CDH5 version.
|
com.squareup.okhttp.Call |
upgradeServicesCommandAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Upgrades the services in the cluster to the CDH5 version.
|
com.squareup.okhttp.Call |
upgradeServicesCommandCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for upgradeServicesCommand
|
ApiResponse<ApiCommand> |
upgradeServicesCommandWithHttpInfo(String clusterName)
Upgrades the services in the cluster to the CDH5 version.
|
public ClustersResourceApi()
public ClustersResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addHostsCall(String clusterName, ApiHostRefList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiHostRefList addHosts(String clusterName, ApiHostRefList body) throws ApiException
clusterName
- (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiHostRefList> addHostsWithHttpInfo(String clusterName, ApiHostRefList body) throws ApiException
clusterName
- (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addHostsAsync(String clusterName, ApiHostRefList body, ApiCallback<ApiHostRefList> callback) throws ApiException
clusterName
- (required)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 autoAssignRolesCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void autoAssignRoles(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> autoAssignRolesWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call autoAssignRolesAsync(String clusterName, ApiCallback<Void> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 autoConfigureCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void autoConfigure(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> autoConfigureWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call autoConfigureAsync(String clusterName, ApiCallback<Void> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 configureAutoTlsServicesCommandCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand configureAutoTlsServicesCommand(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> configureAutoTlsServicesCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call configureAutoTlsServicesCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 configureForKerberosCall(String clusterName, ApiConfigureForKerberosArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the configure for kerberos command. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand configureForKerberos(String clusterName, ApiConfigureForKerberosArguments body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the configure for kerberos command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> configureForKerberosWithHttpInfo(String clusterName, ApiConfigureForKerberosArguments body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the configure for kerberos command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call configureForKerberosAsync(String clusterName, ApiConfigureForKerberosArguments body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the configure for kerberos command. (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 createClustersCall(ApiClusterList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- List of clusters to created. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiClusterList createClusters(ApiClusterList body) throws ApiException
body
- List of clusters to created. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiClusterList> createClustersWithHttpInfo(ApiClusterList body) throws ApiException
body
- List of clusters to created. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createClustersAsync(ApiClusterList body, ApiCallback<ApiClusterList> callback) throws ApiException
body
- List of clusters to created. (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 deleteClusterCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- Name of cluster to delete. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCluster deleteCluster(String clusterName) throws ApiException
clusterName
- Name of cluster to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCluster> deleteClusterWithHttpInfo(String clusterName) throws ApiException
clusterName
- Name of cluster to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteClusterAsync(String clusterName, ApiCallback<ApiCluster> callback) throws ApiException
clusterName
- Name of cluster to delete. (required)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 deleteClusterCredentialsCommandCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- cluster name (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand deleteClusterCredentialsCommand(String clusterName) throws ApiException
clusterName
- cluster name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> deleteClusterCredentialsCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- cluster name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteClusterCredentialsCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- cluster name (required)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 deployClientConfigCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand deployClientConfig(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> deployClientConfigWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deployClientConfigAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 deployClusterClientConfigCall(String clusterName, ApiHostRefList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)body
- Hosts in cluster to deploy to. If empty, will target all eligible hosts in the cluster. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand deployClusterClientConfig(String clusterName, ApiHostRefList body) throws ApiException
clusterName
- The name of the cluster (required)body
- Hosts in cluster to deploy to. If empty, will target all eligible hosts in the cluster. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> deployClusterClientConfigWithHttpInfo(String clusterName, ApiHostRefList body) throws ApiException
clusterName
- The name of the cluster (required)body
- Hosts in cluster to deploy to. If empty, will target all eligible hosts in the cluster. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deployClusterClientConfigAsync(String clusterName, ApiHostRefList body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)body
- Hosts in cluster to deploy to. If empty, will target all eligible hosts in the cluster. (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 enterMaintenanceModeCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand enterMaintenanceMode(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> enterMaintenanceModeWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call enterMaintenanceModeAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 exitMaintenanceModeCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand exitMaintenanceMode(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> exitMaintenanceModeWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exitMaintenanceModeAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 expireLogsCall(String clusterName, BigDecimal days, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)days
- logs more than these many days old are purged. -2 to use the existing setting (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand expireLogs(String clusterName, BigDecimal days) throws ApiException
clusterName
- The name of the cluster (required)days
- logs more than these many days old are purged. -2 to use the existing setting (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> expireLogsWithHttpInfo(String clusterName, BigDecimal days) throws ApiException
clusterName
- The name of the cluster (required)days
- logs more than these many days old are purged. -2 to use the existing setting (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call expireLogsAsync(String clusterName, BigDecimal days, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)days
- logs more than these many days old are purged. -2 to use the existing setting (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 exportCall(String clusterName, Boolean exportAutoConfig, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- cluster name (required)exportAutoConfig
- export configs set by the auto configuration (optional, default to false)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiClusterTemplate export(String clusterName, Boolean exportAutoConfig) throws ApiException
clusterName
- cluster name (required)exportAutoConfig
- export configs set by the auto configuration (optional, default to false)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiClusterTemplate> exportWithHttpInfo(String clusterName, Boolean exportAutoConfig) throws ApiException
clusterName
- cluster name (required)exportAutoConfig
- export configs set by the auto configuration (optional, default to false)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exportAsync(String clusterName, Boolean exportAutoConfig, ApiCallback<ApiClusterTemplate> callback) throws ApiException
clusterName
- cluster name (required)exportAutoConfig
- export configs set by the auto configuration (optional, default to false)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 firstRunCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand firstRun(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> firstRunWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call firstRunAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 getClientConfigCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The cluster name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic File getClientConfig(String clusterName) throws ApiException
clusterName
- The cluster name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getClientConfigWithHttpInfo(String clusterName) throws ApiException
clusterName
- The cluster name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getClientConfigAsync(String clusterName, ApiCallback<File> callback) throws ApiException
clusterName
- The cluster name. (required)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(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The cluster name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiKerberosInfo getKerberosInfo(String clusterName) throws ApiException
clusterName
- The cluster name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiKerberosInfo> getKerberosInfoWithHttpInfo(String clusterName) throws ApiException
clusterName
- The cluster name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getKerberosInfoAsync(String clusterName, ApiCallback<ApiKerberosInfo> callback) throws ApiException
clusterName
- The cluster name. (required)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 getUtilizationReportCall(String clusterName, List<String> daysOfWeek, Integer endHourOfDay, String from, Integer startHourOfDay, String tenantType, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- cluster name (required)daysOfWeek
- The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Monday, and 7 corrensponds to Sunday. All 7 days are included if this is not specified. (optional)endHourOfDay
- The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)from
- Start of the time range to report utilization in ISO 8601 format. (optional)startHourOfDay
- The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)tenantType
- The type of the tenant (POOL or USER). (optional, default to POOL)to
- End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiClusterUtilization getUtilizationReport(String clusterName, List<String> daysOfWeek, Integer endHourOfDay, String from, Integer startHourOfDay, String tenantType, String to) throws ApiException
clusterName
- cluster name (required)daysOfWeek
- The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Monday, and 7 corrensponds to Sunday. All 7 days are included if this is not specified. (optional)endHourOfDay
- The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)from
- Start of the time range to report utilization in ISO 8601 format. (optional)startHourOfDay
- The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)tenantType
- The type of the tenant (POOL or USER). (optional, default to POOL)to
- End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiClusterUtilization> getUtilizationReportWithHttpInfo(String clusterName, List<String> daysOfWeek, Integer endHourOfDay, String from, Integer startHourOfDay, String tenantType, String to) throws ApiException
clusterName
- cluster name (required)daysOfWeek
- The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Monday, and 7 corrensponds to Sunday. All 7 days are included if this is not specified. (optional)endHourOfDay
- The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)from
- Start of the time range to report utilization in ISO 8601 format. (optional)startHourOfDay
- The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)tenantType
- The type of the tenant (POOL or USER). (optional, default to POOL)to
- End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUtilizationReportAsync(String clusterName, List<String> daysOfWeek, Integer endHourOfDay, String from, Integer startHourOfDay, String tenantType, String to, ApiCallback<ApiClusterUtilization> callback) throws ApiException
clusterName
- cluster name (required)daysOfWeek
- The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Monday, and 7 corrensponds to Sunday. All 7 days are included if this is not specified. (optional)endHourOfDay
- The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)from
- Start of the time range to report utilization in ISO 8601 format. (optional)startHourOfDay
- The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)tenantType
- The type of the tenant (POOL or USER). (optional, default to POOL)to
- End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)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(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand inspectHostsCommand(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> inspectHostsCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call inspectHostsCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 clusterName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)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 clusterName, String view) throws ApiException
clusterName
- The name of the cluster. (required)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 clusterName, String view) throws ApiException
clusterName
- The name of the cluster. (required)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 clusterName, String view, ApiCallback<ApiCommandList> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 listDfsServicesCall(String clusterName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- cluster name (required)view
- data view required for matching services (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiServiceList listDfsServices(String clusterName, String view) throws ApiException
clusterName
- cluster name (required)view
- data view required for matching services (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiServiceList> listDfsServicesWithHttpInfo(String clusterName, String view) throws ApiException
clusterName
- cluster name (required)view
- data view required for matching services (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 listDfsServicesAsync(String clusterName, String view, ApiCallback<ApiServiceList> callback) throws ApiException
clusterName
- cluster name (required)view
- data view required for matching services (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 listHostsCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiHostRefList listHosts(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiHostRefList> listHostsWithHttpInfo(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listHostsAsync(String clusterName, ApiCallback<ApiHostRefList> callback) throws ApiException
clusterName
- (required)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 listServiceTypesCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiServiceTypeList listServiceTypes(String clusterName) throws ApiException
clusterName
- The cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiServiceTypeList> listServiceTypesWithHttpInfo(String clusterName) throws ApiException
clusterName
- The cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listServiceTypesAsync(String clusterName, ApiCallback<ApiServiceTypeList> callback) throws ApiException
clusterName
- The cluster. (required)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 perfInspectorCommandCall(String clusterName, ApiClusterPerfInspectorArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Optional arguments for the command. See ApiClusterPerfInspectorArgs. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand perfInspectorCommand(String clusterName, ApiClusterPerfInspectorArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Optional arguments for the command. See ApiClusterPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> perfInspectorCommandWithHttpInfo(String clusterName, ApiClusterPerfInspectorArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Optional arguments for the command. See ApiClusterPerfInspectorArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call perfInspectorCommandAsync(String clusterName, ApiClusterPerfInspectorArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Optional arguments for the command. See ApiClusterPerfInspectorArgs. (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 poolsRefreshCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand poolsRefresh(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> poolsRefreshWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call poolsRefreshAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 preUpgradeCheckCommandCall(String clusterName, ApiCdhUpgradeArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand preUpgradeCheckCommand(String clusterName, ApiCdhUpgradeArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> preUpgradeCheckCommandWithHttpInfo(String clusterName, ApiCdhUpgradeArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call preUpgradeCheckCommandAsync(String clusterName, ApiCdhUpgradeArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (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 readClusterCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- Name of cluster to look up. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCluster readCluster(String clusterName) throws ApiException
clusterName
- Name of cluster to look up. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCluster> readClusterWithHttpInfo(String clusterName) throws ApiException
clusterName
- Name of cluster to look up. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readClusterAsync(String clusterName, ApiCallback<ApiCluster> callback) throws ApiException
clusterName
- Name of cluster to look up. (required)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 readClustersCall(String clusterType, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterType
- Type of cluster, either \"any\", \"base\" or \"compute\". Default is \"base\". (optional, default to base)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 ApiClusterList readClusters(String clusterType, String view) throws ApiException
clusterType
- Type of cluster, either \"any\", \"base\" or \"compute\". Default is \"base\". (optional, default to base)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<ApiClusterList> readClustersWithHttpInfo(String clusterType, String view) throws ApiException
clusterType
- Type of cluster, either \"any\", \"base\" or \"compute\". Default is \"base\". (optional, default to base)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 readClustersAsync(String clusterType, String view, ApiCallback<ApiClusterList> callback) throws ApiException
clusterType
- Type of cluster, either \"any\", \"base\" or \"compute\". Default is \"base\". (optional, default to base)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 refreshCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand refresh(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> refreshWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call refreshAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster (required)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 removeAllHostsCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiHostRefList removeAllHosts(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiHostRefList> removeAllHostsWithHttpInfo(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeAllHostsAsync(String clusterName, ApiCallback<ApiHostRefList> callback) throws ApiException
clusterName
- (required)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 removeHostCall(String clusterName, String hostId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)hostId
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiHostRef removeHost(String clusterName, String hostId) throws ApiException
clusterName
- (required)hostId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiHostRef> removeHostWithHttpInfo(String clusterName, String hostId) throws ApiException
clusterName
- (required)hostId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeHostAsync(String clusterName, String hostId, ApiCallback<ApiHostRef> callback) throws ApiException
clusterName
- (required)hostId
- (required)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 restartCommandCall(String clusterName, ApiRestartClusterArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- arguments for the restart command. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand restartCommand(String clusterName, ApiRestartClusterArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- arguments for the restart command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> restartCommandWithHttpInfo(String clusterName, ApiRestartClusterArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- arguments for the restart command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call restartCommandAsync(String clusterName, ApiRestartClusterArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- arguments for the restart command. (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 rollingRestartCall(String clusterName, ApiRollingRestartClusterArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling restart command. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand rollingRestart(String clusterName, ApiRollingRestartClusterArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling restart command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> rollingRestartWithHttpInfo(String clusterName, ApiRollingRestartClusterArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling restart command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rollingRestartAsync(String clusterName, ApiRollingRestartClusterArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling restart command. (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 rollingUpgradeCall(String clusterName, ApiRollingUpgradeServicesArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling upgrade command. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand rollingUpgrade(String clusterName, ApiRollingUpgradeServicesArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling upgrade command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> rollingUpgradeWithHttpInfo(String clusterName, ApiRollingUpgradeServicesArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling upgrade command. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rollingUpgradeAsync(String clusterName, ApiRollingUpgradeServicesArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the rolling upgrade command. (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 startCommandCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand startCommand(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> startCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 stopCommandCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand stopCommand(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> stopCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call stopCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 updateClusterCall(String clusterName, ApiCluster body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCluster updateCluster(String clusterName, ApiCluster body) throws ApiException
clusterName
- The name of the cluster. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCluster> updateClusterWithHttpInfo(String clusterName, ApiCluster body) throws ApiException
clusterName
- The name of the cluster. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateClusterAsync(String clusterName, ApiCluster body, ApiCallback<ApiCluster> callback) throws ApiException
clusterName
- The name of the cluster. (required)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 upgradeCdhCommandCall(String clusterName, ApiCdhUpgradeArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand upgradeCdhCommand(String clusterName, ApiCdhUpgradeArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> upgradeCdhCommandWithHttpInfo(String clusterName, ApiCdhUpgradeArgs body) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call upgradeCdhCommandAsync(String clusterName, ApiCdhUpgradeArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)body
- Arguments for the command. See ApiCdhUpgradeArgs. (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 upgradeServicesCommandCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand upgradeServicesCommand(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> upgradeServicesCommandWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call upgradeServicesCommandAsync(String clusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)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.