Package com.cloudera.cdp.datalake.api
Class DatalakeClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.datalake.api.DatalakeClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:26.246-07:00")
public class DatalakeClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionDatalakeClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) DatalakeClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionCreate backup of datalake.Check the status of a datalake backup operation performed.cancelBackup
(CancelBackupRequest input) Cancels the specified ongoing backup operation.Cancel running Datalake diagnostics collectionsCancels the restore that was performed.Start DataLake Cloudera Manager based diagnostics collectionStart DataLake diagnostics collectionCreates an AWS datalake.Creates a Data Lake on AWS GovCloud.Creates an Azure datalake.Creates an GCP Data Lake.Deletes a datalake.Gets external database server details.Describes a datalake.Get cluster host status.Get cluster service status.getCmRoles
(GetCmRolesRequest input) Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.Gather log descriptors that are used for diagnostics collection.protected String
Gets the request Content-Type, used by 'Conent-Type' request header.protected String
Gets the expected response Content-Type, used by 'Accept' request header.protected String
Gets the service name.List all the backup operations that were performed on the datalake.List recent Datalake diagnostics collectionsLists datalakes.listRuntimes
(ListRuntimesRequest input) Lists the datalake versions.Prepares the Data Lake cluster for upgrade.Recover data lake to the original version after a failed upgrade.Deprecated.Renews public certificate on Datalake cluster by name or CRN.Repairs a datalake.Replaces recipes for the given instance groups.Resizes the given datalake to the given target size.Restore the datalake from backup taken.Check the status of datalake restore operation.Retry last failed operation on a datalake.Deprecated.Rotates database ssl certificate for a specific Data LakeRotates private certificates on the datalake's hosts.Rotate SaltStack user password on DataLake instances.Horizontally scale the Data Lake nodes, to add additional compute nodes to the cluster.setCatalog
(SetCatalogRequest input) Sets a catalog for a DataLake.Upgrades the database of the Data Lake cluster.Deprecated.Initiates the vertical scaling on Data Lake.stopDatalake
(StopDatalakeRequest input) Deprecated.Syncs component versions from CM after a failed upgrade.Run orchestrator engine state update on the Data Lake cluster.Updates Data Lake AWS cluster to use IMDSv1.Updates Data Lake AWS cluster to use IMDSv2.OS or data platform upgrade for the SDX cluster.Validates AWS cloud storage.Validates Azure cloud storage.Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
DatalakeClient
public DatalakeClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
DatalakeClient
-
-
Method Details
-
getServiceName
Description copied from class:CdpClient
Gets the service name.- Specified by:
getServiceName
in classCdpClient
- Returns:
- the service name
-
getRequestContentType
Description copied from class:CdpClient
Gets the request Content-Type, used by 'Conent-Type' request header.- Overrides:
getRequestContentType
in classCdpClient
- Returns:
- the request Content-Type
-
getResponseContentType
Description copied from class:CdpClient
Gets the expected response Content-Type, used by 'Accept' request header.- Overrides:
getResponseContentType
in classCdpClient
- Returns:
- the response Content-Type
-
backupDatalake
Create backup of datalake.- Parameters:
input
-- Returns:
- BackupDatalakeResponse
-
backupDatalakeStatus
Check the status of a datalake backup operation performed.- Parameters:
input
-- Returns:
- BackupDatalakeStatusResponse
-
cancelBackup
Cancels the specified ongoing backup operation.- Parameters:
input
-- Returns:
- CancelBackupResponse
-
cancelDatalakeDiagnostics
public CancelDatalakeDiagnosticsResponse cancelDatalakeDiagnostics(CancelDatalakeDiagnosticsRequest input) Cancel running Datalake diagnostics collections- Parameters:
input
-- Returns:
- CancelDatalakeDiagnosticsResponse
-
cancelRestore
Cancels the restore that was performed.- Parameters:
input
-- Returns:
- CancelRestoreResponse
-
collectCmDiagnostics
Start DataLake Cloudera Manager based diagnostics collection- Parameters:
input
-- Returns:
- CollectCmDiagnosticsResponse
-
collectDatalakeDiagnostics
public CollectDatalakeDiagnosticsResponse collectDatalakeDiagnostics(CollectDatalakeDiagnosticsRequest input) Start DataLake diagnostics collection- Parameters:
input
-- Returns:
- CollectDatalakeDiagnosticsResponse
-
createAWSDatalake
Creates an AWS datalake.- Parameters:
input
-- Returns:
- CreateAWSDatalakeResponse
-
createAWSGovCloudDatalake
public CreateAWSGovCloudDatalakeResponse createAWSGovCloudDatalake(CreateAWSGovCloudDatalakeRequest input) Creates a Data Lake on AWS GovCloud.- Parameters:
input
-- Returns:
- CreateAWSGovCloudDatalakeResponse
-
createAzureDatalake
Creates an Azure datalake.- Parameters:
input
-- Returns:
- CreateAzureDatalakeResponse
-
createGCPDatalake
Creates an GCP Data Lake.- Parameters:
input
-- Returns:
- CreateGCPDatalakeResponse
-
deleteDatalake
Deletes a datalake.- Parameters:
input
-- Returns:
- DeleteDatalakeResponse
-
describeDatabaseServer
Gets external database server details.- Parameters:
input
-- Returns:
- DescribeDatabaseServerResponse
-
describeDatalake
Describes a datalake.- Parameters:
input
-- Returns:
- DescribeDatalakeResponse
-
getClusterHostStatus
Get cluster host status.- Parameters:
input
-- Returns:
- GetClusterHostStatusResponse
-
getClusterServiceStatus
public GetClusterServiceStatusResponse getClusterServiceStatus(GetClusterServiceStatusRequest input) Get cluster service status.- Parameters:
input
-- Returns:
- GetClusterServiceStatusResponse
-
getCmRoles
Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.- Parameters:
input
-- Returns:
- GetCmRolesResponse
-
getDatalakeLogDescriptors
public GetDatalakeLogDescriptorsResponse getDatalakeLogDescriptors(GetDatalakeLogDescriptorsRequest input) Gather log descriptors that are used for diagnostics collection.- Parameters:
input
-- Returns:
- GetDatalakeLogDescriptorsResponse
-
listDatalakeBackups
List all the backup operations that were performed on the datalake.- Parameters:
input
-- Returns:
- ListDatalakeBackupsResponse
-
listDatalakeDiagnostics
public ListDatalakeDiagnosticsResponse listDatalakeDiagnostics(ListDatalakeDiagnosticsRequest input) List recent Datalake diagnostics collections- Parameters:
input
-- Returns:
- ListDatalakeDiagnosticsResponse
-
listDatalakes
Lists datalakes.- Parameters:
input
-- Returns:
- ListDatalakesResponse
-
listRuntimes
Lists the datalake versions.- Parameters:
input
-- Returns:
- ListRuntimesResponse
-
prepareDatalakeUpgrade
Prepares the Data Lake cluster for upgrade.- Parameters:
input
-- Returns:
- PrepareDatalakeUpgradeResponse
-
recoverDatalake
Recover data lake to the original version after a failed upgrade.- Parameters:
input
-- Returns:
- RecoverDatalakeResponse
-
renewCertificate
Deprecated.Renew certificate on Datalake cluster by name or CRN- Parameters:
input
-- Returns:
- RenewCertificateResponse
-
renewPublicCertificate
Renews public certificate on Datalake cluster by name or CRN.- Parameters:
input
-- Returns:
- RenewPublicCertificateResponse
-
repairDatalake
Repairs a datalake.- Parameters:
input
-- Returns:
- RepairDatalakeResponse
-
replaceRecipes
Replaces recipes for the given instance groups.- Parameters:
input
-- Returns:
- ReplaceRecipesResponse
-
resizeDatalake
Resizes the given datalake to the given target size.- Parameters:
input
-- Returns:
- ResizeDatalakeResponse
-
restoreDatalake
Restore the datalake from backup taken.- Parameters:
input
-- Returns:
- RestoreDatalakeResponse
-
restoreDatalakeStatus
Check the status of datalake restore operation.- Parameters:
input
-- Returns:
- RestoreDatalakeStatusResponse
-
retryDatalake
Retry last failed operation on a datalake.- Parameters:
input
-- Returns:
- RetryDatalakeResponse
-
rotateAutoTlsCertificates
@Deprecated public RotateAutoTlsCertificatesResponse rotateAutoTlsCertificates(RotateAutoTlsCertificatesRequest input) Deprecated.Rotate autotls certificates on the datalake's hosts- Parameters:
input
-- Returns:
- RotateAutoTlsCertificatesResponse
-
rotateDbCertificate
Rotates database ssl certificate for a specific Data Lake- Parameters:
input
-- Returns:
- RotateDbCertificateResponse
-
rotatePrivateCertificates
public RotatePrivateCertificatesResponse rotatePrivateCertificates(RotatePrivateCertificatesRequest input) Rotates private certificates on the datalake's hosts.- Parameters:
input
-- Returns:
- RotatePrivateCertificatesResponse
-
rotateSaltPassword
Rotate SaltStack user password on DataLake instances.- Parameters:
input
-- Returns:
- RotateSaltPasswordResponse
-
scaleHorizontally
Horizontally scale the Data Lake nodes, to add additional compute nodes to the cluster.- Parameters:
input
-- Returns:
- ScaleHorizontallyResponse
-
setCatalog
Sets a catalog for a DataLake.- Parameters:
input
-- Returns:
- SetCatalogResponse
-
startDatabaseUpgrade
Upgrades the database of the Data Lake cluster.- Parameters:
input
-- Returns:
- StartDatabaseUpgradeResponse
-
startDatalake
Deprecated.Start Datalake- Parameters:
input
-- Returns:
- StartDatalakeResponse
-
startDatalakeVerticalScaling
public StartDatalakeVerticalScalingResponse startDatalakeVerticalScaling(StartDatalakeVerticalScalingRequest input) Initiates the vertical scaling on Data Lake.- Parameters:
input
-- Returns:
- StartDatalakeVerticalScalingResponse
-
stopDatalake
Deprecated.Stop Datalake- Parameters:
input
-- Returns:
- StopDatalakeResponse
-
syncComponentVersionsFromCm
public SyncComponentVersionsFromCmResponse syncComponentVersionsFromCm(SyncComponentVersionsFromCmRequest input) Syncs component versions from CM after a failed upgrade.- Parameters:
input
-- Returns:
- SyncComponentVersionsFromCmResponse
-
updateOrchestratorState
public UpdateOrchestratorStateResponse updateOrchestratorState(UpdateOrchestratorStateRequest input) Run orchestrator engine state update on the Data Lake cluster.- Parameters:
input
-- Returns:
- UpdateOrchestratorStateResponse
-
updateToAwsImdsV1
Updates Data Lake AWS cluster to use IMDSv1.- Parameters:
input
-- Returns:
- UpdateToAwsImdsV1Response
-
updateToAwsImdsV2
Updates Data Lake AWS cluster to use IMDSv2.- Parameters:
input
-- Returns:
- UpdateToAwsImdsV2Response
-
upgradeDatalake
OS or data platform upgrade for the SDX cluster.- Parameters:
input
-- Returns:
- UpgradeDatalakeResponse
-
validateAwsCloudStorage
public ValidateAwsCloudStorageResponse validateAwsCloudStorage(ValidateAwsCloudStorageRequest input) Validates AWS cloud storage.- Parameters:
input
-- Returns:
- ValidateAwsCloudStorageResponse
-
validateAzureCloudStorage
public ValidateAzureCloudStorageResponse validateAzureCloudStorage(ValidateAzureCloudStorageRequest input) Validates Azure cloud storage.- Parameters:
input
-- Returns:
- ValidateAzureCloudStorageResponse
-