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) |
List<ApiEntityTag> |
addTags(String clusterName,
List<ApiEntityTag> body)
Attach tags to the cluster.
|
com.squareup.okhttp.Call |
addTagsAsync(String clusterName,
List<ApiEntityTag> body,
ApiCallback<List<ApiEntityTag>> callback)
Attach tags to the cluster.
|
com.squareup.okhttp.Call |
addTagsCall(String clusterName,
List<ApiEntityTag> body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addTags
|
ApiResponse<List<ApiEntityTag>> |
addTagsWithHttpInfo(String clusterName,
List<ApiEntityTag> body)
Attach tags to the cluster.
|
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.
|
List<ApiEntityTag> |
deleteTags(String clusterName,
List<ApiEntityTag> body)
Remove the tags associated with the cluster.
|
com.squareup.okhttp.Call |
deleteTagsAsync(String clusterName,
List<ApiEntityTag> body,
ApiCallback<List<ApiEntityTag>> callback)
Remove the tags associated with the cluster.
|
com.squareup.okhttp.Call |
deleteTagsCall(String clusterName,
List<ApiEntityTag> body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteTags
|
ApiResponse<List<ApiEntityTag>> |
deleteTagsWithHttpInfo(String clusterName,
List<ApiEntityTag> body)
Remove the tags associated with the 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
|
ApiCommand |
deployClientConfigsAndRefresh(String clusterName)
Performs a command with the 2 steps - deploy cc - cluster refresh This orchestration is needed for the staleness wizard, so it can invoke a single command at wizard finish.
|
com.squareup.okhttp.Call |
deployClientConfigsAndRefreshAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Performs a command with the 2 steps - deploy cc - cluster refresh This orchestration is needed for the staleness wizard, so it can invoke a single command at wizard finish.
|
com.squareup.okhttp.Call |
deployClientConfigsAndRefreshCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deployClientConfigsAndRefresh
|
ApiResponse<ApiCommand> |
deployClientConfigsAndRefreshWithHttpInfo(String clusterName)
Performs a command with the 2 steps - deploy cc - cluster refresh This orchestration is needed for the staleness wizard, so it can invoke a single command at wizard finish.
|
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 |
disableTls(String clusterName)
Disables TLS settings on a cluster.
|
com.squareup.okhttp.Call |
disableTlsAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Disables TLS settings on a cluster.
|
com.squareup.okhttp.Call |
disableTlsCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for disableTls
|
ApiResponse<ApiCommand> |
disableTlsWithHttpInfo(String clusterName)
Disables TLS settings on a cluster.
|
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,
Boolean scheduleNext)
Remove backup and disaster related log files in hdfs.
|
com.squareup.okhttp.Call |
expireLogsAsync(String clusterName,
BigDecimal days,
Boolean scheduleNext,
ApiCallback<ApiCommand> callback)
Remove backup and disaster related log files in hdfs.
|
com.squareup.okhttp.Call |
expireLogsCall(String clusterName,
BigDecimal days,
Boolean scheduleNext,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for expireLogs
|
ApiResponse<ApiCommand> |
expireLogsWithHttpInfo(String clusterName,
BigDecimal days,
Boolean scheduleNext)
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.
|
ApiClusterSupportToken |
getClusterSupportToken(String clusterName)
Gets the support token for a cluster.
|
com.squareup.okhttp.Call |
getClusterSupportTokenAsync(String clusterName,
ApiCallback<ApiClusterSupportToken> callback)
Gets the support token for a cluster.
|
com.squareup.okhttp.Call |
getClusterSupportTokenCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getClusterSupportToken
|
ApiResponse<ApiClusterSupportToken> |
getClusterSupportTokenWithHttpInfo(String clusterName)
Gets the support token for a 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.
|
ApiOzoneBucketInfo |
getOzoneBucketInfo(String clusterName,
String bucketName,
String volumeName)
Returns the properties of the provided ozone bucket if the bucket exists.
|
com.squareup.okhttp.Call |
getOzoneBucketInfoAsync(String clusterName,
String bucketName,
String volumeName,
ApiCallback<ApiOzoneBucketInfo> callback)
Returns the properties of the provided ozone bucket if the bucket exists.
|
com.squareup.okhttp.Call |
getOzoneBucketInfoCall(String clusterName,
String bucketName,
String volumeName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getOzoneBucketInfo
|
ApiResponse<ApiOzoneBucketInfo> |
getOzoneBucketInfoWithHttpInfo(String clusterName,
String bucketName,
String volumeName)
Returns the properties of the provided ozone bucket if the bucket exists.
|
ApiOzoneS3GatewayInfo |
getOzoneS3GatewayInfo(String clusterName,
String bucketName)
Returns the REST url for the Ozone S3 Gateway, as well as the AWS credentials needed to access the S3 endpoint.
|
com.squareup.okhttp.Call |
getOzoneS3GatewayInfoAsync(String clusterName,
String bucketName,
ApiCallback<ApiOzoneS3GatewayInfo> callback)
Returns the REST url for the Ozone S3 Gateway, as well as the AWS credentials needed to access the S3 endpoint.
|
com.squareup.okhttp.Call |
getOzoneS3GatewayInfoCall(String clusterName,
String bucketName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getOzoneS3GatewayInfo
|
ApiResponse<ApiOzoneS3GatewayInfo> |
getOzoneS3GatewayInfoWithHttpInfo(String clusterName,
String bucketName)
Returns the REST url for the Ozone S3 Gateway, as well as the AWS credentials needed to access the S3 endpoint.
|
ApiClusterUtilization |
getUtilizationReport(String clusterName,
List<String> daysOfWeek,
BigDecimal endHourOfDay,
String from,
BigDecimal 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,
BigDecimal endHourOfDay,
String from,
BigDecimal 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,
BigDecimal endHourOfDay,
String from,
BigDecimal startHourOfDay,
String tenantType,
String to,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getUtilizationReport
|
ApiResponse<ApiClusterUtilization> |
getUtilizationReportWithHttpInfo(String clusterName,
List<String> daysOfWeek,
BigDecimal endHourOfDay,
String from,
BigDecimal 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.
|
Boolean |
isTlsEnabled(String clusterName)
Returns whether a cluster has any TLS settings enabled.
|
com.squareup.okhttp.Call |
isTlsEnabledAsync(String clusterName,
ApiCallback<Boolean> callback)
Returns whether a cluster has any TLS settings enabled.
|
com.squareup.okhttp.Call |
isTlsEnabledCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for isTlsEnabled
|
ApiResponse<Boolean> |
isTlsEnabledWithHttpInfo(String clusterName)
Returns whether a cluster has any TLS settings enabled.
|
ApiCommandList |
listActiveCommands(String clusterName,
String commandName,
String view)
List active cluster commands.
|
com.squareup.okhttp.Call |
listActiveCommandsAsync(String clusterName,
String commandName,
String view,
ApiCallback<ApiCommandList> callback)
List active cluster commands.
|
com.squareup.okhttp.Call |
listActiveCommandsCall(String clusterName,
String commandName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listActiveCommands
|
ApiResponse<ApiCommandList> |
listActiveCommandsWithHttpInfo(String clusterName,
String commandName,
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.
|
ApiHostList |
listHosts(String clusterName,
String configName,
String configValue,
String view)
Returns hosts in the system filtered by optional host configuration parameters, if specified.
|
com.squareup.okhttp.Call |
listHostsAsync(String clusterName,
String configName,
String configValue,
String view,
ApiCallback<ApiHostList> callback)
Returns hosts in the system filtered by optional host configuration parameters, if specified.
|
com.squareup.okhttp.Call |
listHostsCall(String clusterName,
String configName,
String configValue,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listHosts
|
ApiResponse<ApiHostList> |
listHostsWithHttpInfo(String clusterName,
String configName,
String configValue,
String view)
Returns hosts in the system filtered by optional host configuration parameters, if specified.
|
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.
|
ApiHdfsUpgradeDomainList |
listUpgradeDomains(String clusterName)
Returns the Upgrade Domains associated with the cluster and the host names that belong to each Upgrade Domain.
|
com.squareup.okhttp.Call |
listUpgradeDomainsAsync(String clusterName,
ApiCallback<ApiHdfsUpgradeDomainList> callback)
Returns the Upgrade Domains associated with the cluster and the host names that belong to each Upgrade Domain.
|
com.squareup.okhttp.Call |
listUpgradeDomainsCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listUpgradeDomains
|
ApiResponse<ApiHdfsUpgradeDomainList> |
listUpgradeDomainsWithHttpInfo(String clusterName)
Returns the Upgrade Domains associated with the cluster and the host names that belong to each Upgrade Domain.
|
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 |
postClouderaRuntimeUpgrade(String clusterName)
Post Cloudera Runtime upgrade API.
|
com.squareup.okhttp.Call |
postClouderaRuntimeUpgradeAsync(String clusterName,
ApiCallback<ApiCommand> callback)
Post Cloudera Runtime upgrade API.
|
com.squareup.okhttp.Call |
postClouderaRuntimeUpgradeCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postClouderaRuntimeUpgrade
|
ApiResponse<ApiCommand> |
postClouderaRuntimeUpgradeWithHttpInfo(String clusterName)
Post Cloudera Runtime upgrade API.
|
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.
|
List<ApiEntityTag> |
readTags(String clusterName,
BigDecimal limit,
BigDecimal offset)
Returns the tags associated with this cluster.
|
com.squareup.okhttp.Call |
readTagsAsync(String clusterName,
BigDecimal limit,
BigDecimal offset,
ApiCallback<List<ApiEntityTag>> callback)
Returns the tags associated with this cluster.
|
com.squareup.okhttp.Call |
readTagsCall(String clusterName,
BigDecimal limit,
BigDecimal offset,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readTags
|
ApiResponse<List<ApiEntityTag>> |
readTagsWithHttpInfo(String clusterName,
BigDecimal limit,
BigDecimal offset)
Returns the tags associated with this 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.
|
ApiCommand |
tearDownWorkloadCluster(String clusterName,
String workloadClusterName)
Tear Down Workload cluster.
|
com.squareup.okhttp.Call |
tearDownWorkloadClusterAsync(String clusterName,
String workloadClusterName,
ApiCallback<ApiCommand> callback)
Tear Down Workload cluster.
|
com.squareup.okhttp.Call |
tearDownWorkloadClusterCall(String clusterName,
String workloadClusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tearDownWorkloadCluster
|
ApiResponse<ApiCommand> |
tearDownWorkloadClusterWithHttpInfo(String clusterName,
String workloadClusterName)
Tear Down Workload 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 addTagsCall(String clusterName, List<ApiEntityTag> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- Name of the cluster (required)body
- list of tags to add (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<ApiEntityTag> addTags(String clusterName, List<ApiEntityTag> body) throws ApiException
clusterName
- Name of the cluster (required)body
- list of tags to add (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ApiEntityTag>> addTagsWithHttpInfo(String clusterName, List<ApiEntityTag> body) throws ApiException
clusterName
- Name of the cluster (required)body
- list of tags to add (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addTagsAsync(String clusterName, List<ApiEntityTag> body, ApiCallback<List<ApiEntityTag>> callback) throws ApiException
clusterName
- Name of the cluster (required)body
- list of tags to add (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 deleteTagsCall(String clusterName, List<ApiEntityTag> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- Name of the cluster to remove tags from (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<ApiEntityTag> deleteTags(String clusterName, List<ApiEntityTag> body) throws ApiException
clusterName
- Name of the cluster to remove tags from (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ApiEntityTag>> deleteTagsWithHttpInfo(String clusterName, List<ApiEntityTag> body) throws ApiException
clusterName
- Name of the cluster to remove tags from (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteTagsAsync(String clusterName, List<ApiEntityTag> body, ApiCallback<List<ApiEntityTag>> callback) throws ApiException
clusterName
- Name of the cluster to remove tags from (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 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 deployClientConfigsAndRefreshCall(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 deployClientConfigsAndRefresh(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> deployClientConfigsAndRefreshWithHttpInfo(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 deployClientConfigsAndRefreshAsync(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 disableTlsCall(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 disableTls(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> disableTlsWithHttpInfo(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 disableTlsAsync(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 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, Boolean scheduleNext, 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. By default, it uses the value defined in the CM configuration. Set to -2 to explicitly set to default. (optional, default to -2)scheduleNext
- Whether to schedule a next run for the command, or not. If set to , the next run will get scheduled after this one finished. If a schedule already exists, it will be updated. Can be omitted, the default value is false. (optional, default to false)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand expireLogs(String clusterName, BigDecimal days, Boolean scheduleNext) throws ApiException
clusterName
- The name of the cluster. (required)days
- Logs more than these many days old are purged. By default, it uses the value defined in the CM configuration. Set to -2 to explicitly set to default. (optional, default to -2)scheduleNext
- Whether to schedule a next run for the command, or not. If set to , the next run will get scheduled after this one finished. If a schedule already exists, it will be updated. Can be omitted, the default value is false. (optional, default to false)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> expireLogsWithHttpInfo(String clusterName, BigDecimal days, Boolean scheduleNext) throws ApiException
clusterName
- The name of the cluster. (required)days
- Logs more than these many days old are purged. By default, it uses the value defined in the CM configuration. Set to -2 to explicitly set to default. (optional, default to -2)scheduleNext
- Whether to schedule a next run for the command, or not. If set to , the next run will get scheduled after this one finished. If a schedule already exists, it will be updated. Can be omitted, the default value is false. (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 expireLogsAsync(String clusterName, BigDecimal days, Boolean scheduleNext, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)days
- Logs more than these many days old are purged. By default, it uses the value defined in the CM configuration. Set to -2 to explicitly set to default. (optional, default to -2)scheduleNext
- Whether to schedule a next run for the command, or not. If set to , the next run will get scheduled after this one finished. If a schedule already exists, it will be updated. Can be omitted, the default value is false. (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 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 getClusterSupportTokenCall(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 ApiClusterSupportToken getClusterSupportToken(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<ApiClusterSupportToken> getClusterSupportTokenWithHttpInfo(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 getClusterSupportTokenAsync(String clusterName, ApiCallback<ApiClusterSupportToken> 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 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 getOzoneBucketInfoCall(String clusterName, String bucketName, String volumeName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)bucketName
- (optional)volumeName
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiOzoneBucketInfo getOzoneBucketInfo(String clusterName, String bucketName, String volumeName) throws ApiException
clusterName
- (required)bucketName
- (optional)volumeName
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiOzoneBucketInfo> getOzoneBucketInfoWithHttpInfo(String clusterName, String bucketName, String volumeName) throws ApiException
clusterName
- (required)bucketName
- (optional)volumeName
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOzoneBucketInfoAsync(String clusterName, String bucketName, String volumeName, ApiCallback<ApiOzoneBucketInfo> callback) throws ApiException
clusterName
- (required)bucketName
- (optional)volumeName
- (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 getOzoneS3GatewayInfoCall(String clusterName, String bucketName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)bucketName
- the name of the bucket to create (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiOzoneS3GatewayInfo getOzoneS3GatewayInfo(String clusterName, String bucketName) throws ApiException
clusterName
- The name of the cluster (required)bucketName
- the name of the bucket to create (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiOzoneS3GatewayInfo> getOzoneS3GatewayInfoWithHttpInfo(String clusterName, String bucketName) throws ApiException
clusterName
- The name of the cluster (required)bucketName
- the name of the bucket to create (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOzoneS3GatewayInfoAsync(String clusterName, String bucketName, ApiCallback<ApiOzoneS3GatewayInfo> callback) throws ApiException
clusterName
- The name of the cluster (required)bucketName
- the name of the bucket 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 getUtilizationReportCall(String clusterName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal 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, BigDecimal endHourOfDay, String from, BigDecimal 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, BigDecimal endHourOfDay, String from, BigDecimal 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, BigDecimal endHourOfDay, String from, BigDecimal 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 isTlsEnabledCall(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 Boolean isTlsEnabled(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<Boolean> isTlsEnabledWithHttpInfo(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 isTlsEnabledAsync(String clusterName, ApiCallback<Boolean> 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 commandName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The cluster to which the role belongs. (required)commandName
- the command name, unique for the command class RestartClusterCommand#COMMAND_NAME (optional)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 commandName, String view) throws ApiException
clusterName
- The cluster to which the role belongs. (required)commandName
- the command name, unique for the command class RestartClusterCommand#COMMAND_NAME (optional)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 commandName, String view) throws ApiException
clusterName
- The cluster to which the role belongs. (required)commandName
- the command name, unique for the command class RestartClusterCommand#COMMAND_NAME (optional)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 commandName, String view, ApiCallback<ApiCommandList> callback) throws ApiException
clusterName
- The cluster to which the role belongs. (required)commandName
- the command name, unique for the command class RestartClusterCommand#COMMAND_NAME (optional)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, String configName, String configValue, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- Name of the cluster (required)configName
- optional host config name to filter hosts by. Available from v40. (optional)configValue
- host config value associated with config name. Available from v40. (optional)view
- The view to materialize (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiHostList listHosts(String clusterName, String configName, String configValue, String view) throws ApiException
clusterName
- Name of the cluster (required)configName
- optional host config name to filter hosts by. Available from v40. (optional)configValue
- host config value associated with config name. Available from v40. (optional)view
- The view to materialize (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiHostList> listHostsWithHttpInfo(String clusterName, String configName, String configValue, String view) throws ApiException
clusterName
- Name of the cluster (required)configName
- optional host config name to filter hosts by. Available from v40. (optional)configValue
- host config value associated with config name. Available from v40. (optional)view
- The view to materialize (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 listHostsAsync(String clusterName, String configName, String configValue, String view, ApiCallback<ApiHostList> callback) throws ApiException
clusterName
- Name of the cluster (required)configName
- optional host config name to filter hosts by. Available from v40. (optional)configValue
- host config value associated with config name. Available from v40. (optional)view
- The view to materialize (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 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 listUpgradeDomainsCall(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 ApiHdfsUpgradeDomainList listUpgradeDomains(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<ApiHdfsUpgradeDomainList> listUpgradeDomainsWithHttpInfo(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 listUpgradeDomainsAsync(String clusterName, ApiCallback<ApiHdfsUpgradeDomainList> 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 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 postClouderaRuntimeUpgradeCall(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 ApiCommand postClouderaRuntimeUpgrade(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> postClouderaRuntimeUpgradeWithHttpInfo(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 postClouderaRuntimeUpgradeAsync(String clusterName, ApiCallback<ApiCommand> 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 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\", \"compute\" or \"experience\". 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\", \"compute\" or \"experience\". 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\", \"compute\" or \"experience\". 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\", \"compute\" or \"experience\". 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 readTagsCall(String clusterName, BigDecimal limit, BigDecimal offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster (required)limit
- Number of tags (optional, default to 10)offset
- Index of the first tag to retrieve (optional, default to 0)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic List<ApiEntityTag> readTags(String clusterName, BigDecimal limit, BigDecimal offset) throws ApiException
clusterName
- The name of the cluster (required)limit
- Number of tags (optional, default to 10)offset
- Index of the first tag to retrieve (optional, default to 0)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ApiEntityTag>> readTagsWithHttpInfo(String clusterName, BigDecimal limit, BigDecimal offset) throws ApiException
clusterName
- The name of the cluster (required)limit
- Number of tags (optional, default to 10)offset
- Index of the first tag to retrieve (optional, default to 0)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readTagsAsync(String clusterName, BigDecimal limit, BigDecimal offset, ApiCallback<List<ApiEntityTag>> callback) throws ApiException
clusterName
- The name of the cluster (required)limit
- Number of tags (optional, default to 10)offset
- Index of the first tag to retrieve (optional, default to 0)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 tearDownWorkloadClusterCall(String clusterName, String workloadClusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the cluster. (required)workloadClusterName
- The name of the workload cluster. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand tearDownWorkloadCluster(String clusterName, String workloadClusterName) throws ApiException
clusterName
- The name of the cluster. (required)workloadClusterName
- The name of the workload cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> tearDownWorkloadClusterWithHttpInfo(String clusterName, String workloadClusterName) throws ApiException
clusterName
- The name of the cluster. (required)workloadClusterName
- The name of the workload cluster. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tearDownWorkloadClusterAsync(String clusterName, String workloadClusterName, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- The name of the cluster. (required)workloadClusterName
- The name of the workload 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 © 2022. All rights reserved.