Overview

Cloudera data hub is a service for launching and managing workload clusters powered by Cloudera Runtime.

Version information

Version : 0.9.128 (BETA)

License information

URI scheme

Schemes : HTTPS

Consumes

  • application/json

Produces

  • application/json

Paths

Cancel running Datahub diagnostics collections

POST /api/v1/datahub/cancelDatahubDiagnostics

Description

Cancel running Datahub diagnostics collection

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Start Datahub Cloudera Manager based diagnostics collection

POST /api/v1/datahub/collectCmDiagnostics

Description

Start Datahub Cloudera Manager based diagnostics collection

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Start DataHub diagnostics collection

POST /api/v1/datahub/collectDatahubDiagnostics

Description

Start DataHub diagnostics collection

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates an AWS workload cluster.

POST /api/v1/datahub/createAWSCluster

Description

Creates an AWS workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates an AWS Data Hub cluster for GovCloud.

POST /api/v1/datahub/createAWSGovCloudCluster

Description

Creates an AWS Data Hub cluster for GovCloud.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Create Auto Scaling rules for a DataHub cluster

POST /api/v1/datahub/createAutoScaleRules

Description

Create Auto Scaling rules for a DataHub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates an Azure workload cluster.

POST /api/v1/datahub/createAzureCluster

Description

Creates an Azure workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates a cluster definition. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

POST /api/v1/datahub/createClusterDefinition

Description

Creates a cluster definition. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

POST /api/v1/datahub/createClusterTemplate

Description

Creates a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

POST /api/v1/datahub/createCustomConfigurations

Description

Creates custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates a GCP workload cluster.

POST /api/v1/datahub/createGCPCluster

Description

Creates a GCP workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates recipe. A recipe is a script that runs on all nodes of a specified instance group.

POST /api/v1/datahub/createRecipe

Description

Creates recipe. A recipe is a script that runs on all nodes of a specified instance group.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Delete AutoScaling policies for a DataHub cluster

POST /api/v1/datahub/deleteAutoScaleRules

Description

Delete AutoScaling policies for a DataHub cluster

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

The AutoScale policy before deletion.

default

The default response on an error.

Deletes a workload cluster.

POST /api/v1/datahub/deleteCluster

Description

Deletes a workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Deletes cluster definitions. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

POST /api/v1/datahub/deleteClusterDefinitions

Description

Deletes cluster definitions. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Deletes cluster templates. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

POST /api/v1/datahub/deleteClusterTemplates

Description

Deletes cluster templates. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Deletes custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

POST /api/v1/datahub/deleteCustomConfigurations

Description

Deletes custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Deletes instances for the specified cluster.

POST /api/v1/datahub/deleteInstances

Description

Deletes instances for the specified cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Deletes recipes. A recipe is a script that runs on all nodes of a specified instance group.

POST /api/v1/datahub/deleteRecipes

Description

Deletes recipes. A recipe is a script that runs on all nodes of a specified instance group.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Describe the AutoScaling policies for a DataHub cluster

POST /api/v1/datahub/describeAutoScaleRules

Description

Describe the AutoScaling policies for a DataHub cluster

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

The AutoScaling policy for the request cluster.

default

The default response on an error.

Describes a workload cluster.

POST /api/v1/datahub/describeCluster

Description

Describes a workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Describes a cluster definition. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

POST /api/v1/datahub/describeClusterDefinition

Description

Describes a cluster definition. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Describes a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

POST /api/v1/datahub/describeClusterTemplate

Description

Describes a cluster template. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Describes custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

POST /api/v1/datahub/describeCustomConfigurations

Description

Describes custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Gets external database server details.

POST /api/v1/datahub/describeDatabaseServer

Description

Gets external database server details for Data Hub cluster by cluster CRN

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Database server details for the requested resource.

default

The default response on an error.

Describes recipe. A recipe is a script that runs on all nodes of a specified instance group.

POST /api/v1/datahub/describeRecipe

Description

Describes recipe. A recipe is a script that runs on all nodes of a specified instance group.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Describes the Scaling Activity using Cluster CRN or Cluster NAME and operation ID.

POST /api/v1/datahub/describeScalingActivity

Description

Describes the Scaling Activity using Cluster CRN or Cluster NAME and operation ID.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Get cluster host status.

POST /api/v1/datahub/getClusterHostStatus

Description

Gets the status of the hosts in a cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Get cluster service status.

POST /api/v1/datahub/getClusterServiceStatus

Description

Gets the status of the services in a cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.

POST /api/v1/datahub/getCmRoles

Description

Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Gather log descriptors that are used for diagnostics collection.

POST /api/v1/datahub/getDatahubLogDescriptors

Description

Gather log descriptors that are used for diagnostics collection.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Get the latest (in progress or finished) operation for the datahub cluster.

POST /api/v1/datahub/getOperation

Description

Get the latest (in progress or finished) operation for the datahub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.

POST /api/v1/datahub/getVmTypes

Description

Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

List AutoScale history activity for a DataHub cluster.

POST /api/v1/datahub/listAutoScaleHistory

Description

List AutoScale history activity for a DataHub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

AutoScale activity for a DataHub cluster.

default

The default response on an error.

Lists cluster definitions. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

POST /api/v1/datahub/listClusterDefinitions

Description

Lists cluster definitions. A cluster definition is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical cloud provider settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists Workload cluster lifecycle events.

POST /api/v1/datahub/listClusterLifecycleEvents

Description

Lists Workload cluster lifecycle events.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists cluster templates. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

POST /api/v1/datahub/listClusterTemplates

Description

Lists cluster templates. A cluster template is a reusable template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists workload clusters.

POST /api/v1/datahub/listClusters

Description

Lists workload clusters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

POST /api/v1/datahub/listCustomConfigurations

Description

Lists custom configurations. Custom Configurations are sets of properties or name-value pairs that belong to any of the services present in cluster templates. These can be used to override and/or append properties to the corresponding cluster template while launching DataHub clusters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

List recent Datahub diagnostics collections

POST /api/v1/datahub/listDatahubDiagnostics

Description

List recent Datahub diagnostics collection

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists all Datahub related secret types.

POST /api/v1/datahub/listDatahubSecretTypes

Description

Lists Datahub related secret types for Datahub instances.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists recipes. A recipe is a script that runs on all nodes of a specified instance group.

POST /api/v1/datahub/listRecipes

Description

Lists recipes. A recipe is a script that runs on all nodes of a specified instance group.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Lists Scaling activities for a cluster.

POST /api/v1/datahub/listScalingActivities

Description

Lists Scaling activities for a cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Running upgrade related validations and prepares the required parcels for the upgrade.

POST /api/v1/datahub/prepareClusterUpgrade

Description

In order to reduce the chance of upgrade failures, we’re introducing a preparation phase for runtime upgrades. During this phase, we’re running all validations and downloading the required parcels for the machines. You can track the progress of the parcel preparation on the Cloudera Manager UI or you can check on the Management Console as well.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Renew certificate on datahub cluster by name or CRN

POST /api/v1/datahub/renewCertificate

Description

Deprecated, please use renew-public-certificate command instead. Renew certificate on datahub cluster by name or CRN

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Renews public certificate on a Datahub cluster by name or CRN.

POST /api/v1/datahub/renewPublicCertificate

Description

Renews public certificate on a Datahub cluster by name or CRN.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Repairs a cluster.

POST /api/v1/datahub/repairCluster

Description

Repairs a cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Replaces recipes for the given instance groups.

POST /api/v1/datahub/replaceRecipes

Description

Replaces recipes for the given instance groups.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Restarts instances of a cluster on Cloud provider.

POST /api/v1/datahub/restartClusterInstances

Description

Restarts instances of a cluster on Cloud provider.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Retries creation of a failed workload cluster.

POST /api/v1/datahub/retryCluster

Description

When stack provisioning or cluster creation fails, retryCluster allows you to resume the process from the last failed step.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Rotate autotls certificates on the datahub’s hosts

POST /api/v1/datahub/rotateAutoTlsCertificates

Description

Deprecated, please use rotate-private-certificates command instead. Rotate autotls certificates on the datahub’s hosts

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Rotates database ssl certificate for a specific Data Hub

POST /api/v1/datahub/rotateDbCertificate

Description

Rotates database ssl certificate for a specific Data Hub

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Rotates private certificates on the hosts of Datahub.

POST /api/v1/datahub/rotatePrivateCertificates

Description

Rotates private certificates on the hosts of Datahub.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Rotate SaltStack user password on Data Hub instances.

POST /api/v1/datahub/rotateSaltPassword

Description

Deprecated, please use rotateSecrets with SALT_PASSWORD secretType instead.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Rotates secrets for a specific datahub

POST /api/v1/datahub/rotateSecrets

Description

Rotates secrets for a specific datahub based on what secret types are specified.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Scales a cluster by adding or removing cluster nodes.

POST /api/v1/datahub/scaleCluster

Description

Scales a cluster by adding or removing cluster nodes.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Sets a catalog for a DataHub.

POST /api/v1/datahub/setCatalog

Description

Sets a catalog for a DataHub.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Configures the default Java version for the Data Hub.

POST /api/v1/datahub/setDefaultJavaVersion

Description

Configures the default Java version for the Data Hub. This command updates the system’s default Java version and will restart both the Cluster Manager and the services.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Starts a stopped workload cluster.

POST /api/v1/datahub/startCluster

Description

Starts a stopped workload cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Initiates the vertical scaling on Data Hub cluster.

POST /api/v1/datahub/startClusterVerticalScaling

Description

Initiates the vertical scaling on Data Hub cluster. You have the option to either specify one of 'modifyDisks' or 'instanceTemplate' as parameter.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Upgrades the database of the Data Hub cluster.

POST /api/v1/datahub/startDatabaseUpgrade

Description

This command initiates the upgrade of the database of the Data Hub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Starts instances of a particular host group in the Data Hub cluster.

POST /api/v1/datahub/startInstances

Description

Starts instances of a particular host group in the Data Hub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Stops a workload cluster.

POST /api/v1/datahub/stopCluster

Description

Stops a workload cluster. When a cluster is put in the stopped state, cluster VMs are given back to the cloud provider. To provision new VMs, start the cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Stops instances of particular host group in the Data Hub cluster.

POST /api/v1/datahub/stopInstances

Description

Stops instances of a particular host group in the Data Hub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid stop instances request.

default

The default response on an error.

Synchronizes the state of a cluster with the cloud provider and Cloudera Manager.

POST /api/v1/datahub/syncCluster

Description

Synchronizes the state of a cluster with the cloud provider and Cloudera Manager.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Syncs component versions from CM after a failed upgrade.

POST /api/v1/datahub/syncComponentVersionsFromCm

Description

Syncs component versions from CM after a failed upgrade.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid sync datahub CM component versions request.

default

The default response on an error.

Modify AutoScaling for a DataHub cluster

POST /api/v1/datahub/updateAutoScaleRules

Description

Modify AutoScaling for a DataHub cluster

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Run orchestrator engine state update on the Data Hub cluster.

POST /api/v1/datahub/updateOrchestratorState

Description

Run orchestrator engine state update on the Data Hub cluster.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Updates Data Hub AWS cluster to use IMDSv1.

POST /api/v1/datahub/updateToAwsImdsV1

Description

Updates Data Hub AWS cluster to use IMDSv1.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Updates Data Hub AWS cluster to use IMDSv2.

POST /api/v1/datahub/updateToAwsImdsV2

Description

Updates Data Hub AWS cluster to use IMDSv2.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Upgrades the OS or data platform on a datahub cluster.

POST /api/v1/datahub/upgradeCluster

Description

Upgrades the OS or data platform on a datahub cluster. You have the option to either specify one of 'imageId', 'runtime' or 'lockComponents' or both 'imageId' and 'lockComponents' or none of the parameters.

Parameters

Type Name Schema

Body

input
required

Responses

HTTP Code Description Schema

200

Expected response to a valid request.

default

The default response on an error.

Definitions

AddDisks

Attached volume configuration.

Name Description Schema

cloudVolumeUsageType
required

Usage for the requested disks.

enum (GENERAL, DATABASE)

numberOfDisks
required

Number of disks to add on all the instances in a group.

integer (int32)

size
required

Size of disks to add on all the instances in a group in GB.

integer (int32)

volumeType
required

Type of disks to add on all the instances in a group.

string

AttachedVolumeDetail

The attached volume configuration.

Name Description Schema

count
optional

The number of volumes.

integer (int32)

size
optional

The size of each volume in GB.

integer (int32)

volumeType
optional

The type of volumes.

string

AttachedVolumeRequest

Configurations for additional attached volumes.

Name Description Schema

volumeCount
required

The attached volume count.

integer (int32)

volumeSize
required

The attached volume size.

integer (int32)

volumeType
required

The attached volume type.

string

AutoScaleLoadRequest

Configuration for Load Based Scaling

Name Description Schema

configuration
required

Configuration for Load Based Scaling

description
optional

An optional description for the specific schedule.
Length : 0 - 1000

string

identifier
optional

An optional identifier for the rule. Generally useful for debugging. Will be auto-generated if none is provided.
Length : 5 - 200

string

AutoScaleLoadRequestConfiguration

Configuration for load based scaling

Name Description Schema

coolDownMinutes
optional

Minimum time, in minutes, between autoscale activity

integer (int32)

maxResourceValue
required

The upper bound for the resource
Minimum value : 0

integer (int32)

maxScaleDownStepSize
optional

The maximum scale down step size.

integer (int32)

maxScaleUpStepSize
optional

The maximum scale up step size.

integer (int32)

minResourceValue
required

The lower bound for the resource
Minimum value : 0

integer (int32)

scaleDownCoolDownMinutes
optional

Minimum time (in minutes) for scale down, after last autoscaling action. Use this to override coolDownMinutes.

integer (int32)

scaleUpCoolDownMinutes
optional

Minimum time (in minutes) for scale up, after last autoscaling action. Use this to override coolDownMinutes.

integer (int32)

AutoScaleLoadResponse

Configuration for Load Based Scaling

Name Description Schema

configuration
required

Configuration for Load Based Scaling

description
optional

Description for the specified schedule.

string

identifier
required

An identifer for this rule. Useful for debugging and logging.

string

AutoScaleLoadResponseConfiguration

Configuration for load based scaling

Name Description Schema

coolDownMinutes
optional

Minimum time, in minutes, between autoscale activity

integer (int32)

maxResourceValue
required

The upper bound for the resource

integer (int32)

maxScaleDownStepSize
optional

The maximum scale down step size.

integer (int32)

maxScaleUpStepSize
optional

The maximum scale up step size.

integer (int32)

minResourceValue
required

The lower bound for the resource

integer (int32)

scaleDownCoolDownMinutes
optional

Minimum time (in minutes) for scale down, after last autoscaling action. Use this to override coolDownMinutes.

integer (int32)

scaleUpCoolDownMinutes
optional

Minimum time (in minutes) for scale up, after last autoscaling action. Use this to override coolDownMinutes.

integer (int32)

AutoScalePolicyRequest

An individual AutoScale Policy

Name Description Schema

hostGroups
required

A single hostgroup, or a comma separated list of hostGroups to which the rules apply
Length : 1 - 200

string

loadBasedPolicy
optional

Load based policy

scheduleBasedPolicy
optional

Scheduled based policy

AutoScalePolicyResponse

An individual AutoScale Policy

Name Description Schema

hostGroups
required

A single hostgroup, or a comma separated list of hostGroups to which the rules apply

string

loadBasedPolicy
optional

Load based policy

scheduleBasedPolicy
optional

Scheduled based policy

AutoScaleRulesResponse

Autoscale configuration

Name Description Schema

autoScalePolicies
required

The actual scaling policy(ies) for the cluster

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

enabled
required

Whether autoscaling is enabled or not for the cluster

boolean

useStopStartMechanism
optional

Whether StopStart scaling mechanism is enabled for the cluster.

boolean

AutoScaleScheduleRequest

Schedule for AutoScaling

Name Description Schema

schedules
optional

List of individual schedules

AutoScaleScheduleResponse

Schedule for AutoScaling

Name Description Schema

schedules
optional

List of individual schedules

AzureInstanceGroupRequest

Configurations for instance group

Name Description Schema

attachedVolumeConfiguration
required

The attached volume configuration. This does not include root volume.

availabilityZones
optional

List of availability zones that this instance group is associated with.

< string > array

instanceGroupName
required

The instance group name.

string

instanceGroupType
required

The instance group type.

string

instanceType
required

The cloud provider specific instance type to be used.

string

nodeCount
required

Number of instances in the instance group

integer (int32)

recipeNames
optional

The names or CRNs of the recipes that would be applied to the instance group.

< string > array

recoveryMode
optional

Recovery mode for the instance group.

string

rootVolumeSize
required

The root volume size.

integer (int32)

CancelDatahubDiagnosticsRequest

Request object for cancel running Datahub diagnostics collections.

Name Description Schema

crn
required

CRN of the DataHub cluster.

string

CancelDatahubDiagnosticsResponse

Response object for cancel running Datahub diagnostics collections.

Type : object

ClouderaManagerDetails

Cloudera Manager details.

Name Description Schema

platformVersion
optional

CDP Platform version.

string

version
required

Cloudera Manager version.

string

Cluster

Information about a cluster.

Name Description Schema

cloudPlatform
optional

The cloud platform.

string

clouderaManager
optional

The Cloudera Manager details.

clusterName
required

The name of the cluster.

string

clusterStatus
optional

The status of the cluster.

string

clusterTemplateCrn
optional

The CRN of the cluster template used for the cluster creation.

string

creationDate
optional

The date when the cluster was created.

string (date-time)

credentialCrn
optional

The CRN of the credential.

string

crn
required

The CRN of the cluster.

string

datalakeCrn
optional

The CRN of the attached datalake.

string

endpoints
optional

The exposed service api endpoints.

environmentCrn
optional

The CRN of the environment.

string

environmentName
optional

The name of the environment.

string

imageDetails
optional

The image details.

instanceGroups
optional

The instance details.

< InstanceGroup > array

multiAz
optional

Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
Default : false

boolean

nodeCount
optional

The cluster node count.

integer (int32)

status
optional

The status of the stack.

string

statusReason
optional

The status reason.

string

workloadType
optional

The workload type for the cluster.

string

ClusterDefinition

Information about a cluster definition.

Name Description Schema

cloudPlatform
optional

The cloud platform.

string

clusterDefinitionName
required

The name of the cluster definition.

string

crn
required

The CRN of the cluster definition.

string

description
optional

The description of the cluster definition.

string

environmentCrn
optional

The CRN of the environment.

string

type
optional

The type of cluster definition.

string

workloadTemplate
optional

The workload template.

string

ClusterDefinitionSummary

Information about a cluster definition.

Name Description Schema

cloudPlatform
optional

The cloud platform.

string

clusterDefinitionName
required

The name of the cluster definition.

string

crn
required

The CRN of the cluster definition.

string

description
optional

The description of the cluster definition.

string

environmentCrn
optional

The CRN of the environment.

string

nodeCount
optional

The node count of the cluster.

integer (int32)

productVersion
optional

The product version.

string

type
optional

The type of cluster definition.

string

ClusterExtension

Cluster extensions for Data Hub cluster.

Name Description Schema

customProperties
optional

The custom properties JSON, encoded in base64.

string

ClusterLdapDetails

Details of the LDAP attached to cluster.

Name Description Schema

adminGroup
optional

Admin group.

string

certificate
optional

Certificate.

string

description
optional

Description of the LDAP.

string

directoryType
optional

Directory type.

string

domain
optional

LDAP domain.

string

groupMemberAttribute
optional

Group member attribute.

string

groupNameAttribute
optional

Group name attribute.

string

groupObjectClass
optional

Group object class.

string

groupSearchBase
optional

Group search base.

string

id
optional

ID of the LDAP.

integer (int64)

name
optional

Name of the LDAP.

string

protocol
optional

LDAP protocol.

string

serverHost
optional

LDAP server host.

string

serverPort
optional

LDAP server port.

integer (int32)

tenantName
optional

Tenant name.

string

userDnPattern
optional

UserDN pattern.

string

userId
optional

User ID.

string

userName
optional

User name.

string

userNameAttribute
optional

User name attribute.

string

userObjectClass
optional

User object class.

string

userSearchBase
optional

User search base.

string

workspaceId
optional

Workspace ID.

integer (int64)

ClusterLifecycleEvents

Related events for the stack.

Name Description Schema

availabilityZone
optional

Cloud provider availability zone for the region in which the cluster is deployed.

string

blueprintId
optional

Blueprint ID for the blueprint deployed on the cluster.

integer (int64)

blueprintName
optional

Blueprint name for the blueprint deployed on the cluster.

string

cloudType
optional

Cloud provider type.

string

clusterId
optional

ID of the cluster.

integer (int64)

clusterName
optional

Name of the cluster.

string

clusterStatus
optional

Status of the cluster.

eventMessage
optional

Message from this event.

string

eventTimestamp
optional

Timestamp of this event.

string (date-time)

eventType
optional

Type of the event.

string

instanceGroup
optional

Name of the instance group.

string

ldapDetails
optional

Details of the LDAP.

nodeCount
optional

Current node count for the nodes in the cluster.

integer (int32)

notificationType
optional

Type of notification as identified in the UI.

string

rdsDetails
optional

Details of the RDS.

region
optional

Cloud provider region in which the cluster is deployed.

string

stackCrn
optional

The unique CRN of the resource.

string

stackName
optional

Name of the stack.

string

stackStatus
optional

Current status of the stack.

tenantName
optional

Name of the current tenant.

string

userId
optional

User ID.

string

workspaceId
optional

Workspace ID of the resource.

integer (int64)

ClusterRdsDetails

Details of the RDS attached to cluster.

Name Description Schema

connectionDriver
optional

Connection driver.

string

connectionURL
optional

Connection URL of RDS.

string

connectorJarUrl
optional

Connector Jar URL.

string

creationDate
optional

RDS creation date.

string (date-time)

databaseEngine
optional

Database engine.

string

description
optional

Description of RDS.

string

external
optional

Set to true if RDS is external.

boolean

id
optional

ID of RDS.

integer (int64)

name
optional

Name of RDS.

string

sslMode
optional

SSL mode.

string

stackVersion
optional

Stack version.

string

status
optional

Status of RDS.

string

tenantName
optional

RDS tenant name.

string

type
optional

Type of RDS.

string

userId
optional

User ID.

string

userName
optional

User name.

string

workspaceId
optional

Workspace ID.

integer (int64)

ClusterSummary

Information about a cluster.

Name Description Schema

certificateExpirationState
optional

Indicates the certificate status on the cluster.

enum (VALID, HOST_CERT_EXPIRING)

cloudPlatform
optional

The name of the cloud platform.

string

clusterName
required

The name of the cluster.

string

clusterTemplateCrn
optional

The CRN of the cluster template used for the cluster creation.

string

creationDate
optional

The date when the cluster was created.

string (date-time)

crn
required

The CRN of the cluster.

string

datalakeCrn
optional

The CRN of the attached datalake.

string

environmentCrn
optional

The CRN of the environment.

string

environmentName
optional

The name of the environment.

string

nodeCount
optional

The cluster node count.

integer (int32)

status
optional

The status of the cluster.

string

workloadType
optional

The type of cluster.

string

ClusterTemplate

Information about a cluster template.

Name Description Schema

clusterTemplateContent
optional

The content of the cluster template.

string

clusterTemplateName
required

The name of the cluster template.

string

crn
required

The CRN of the cluster template.

string

description
optional

The description of the cluster template.

string

instanceGroupCount
optional

The instance group count of the cluster.

integer (int32)

status
optional

The status of the cluster template.

string

tags
optional

Tags added to the cluster template.

< DatahubResourceTag > array

ClusterTemplateSummary

Information about a cluster template.

Name Description Schema

clusterTemplateName
required

The name of the cluster template.

string

crn
required

The CRN of the cluster template.

string

description
optional

The description of the cluster template.

string

instanceGroupCount
optional

The instance group count of the cluster.

integer (int32)

productVersion
optional

The product version.

string

status
optional

The status of the cluster template.

string

tags
optional

Tags added to the cluster template.

< DatahubResourceTag > array

CollectCmDiagnosticsRequest

Request object for collecting Datahub diagnostics.

Name Description Schema

bundleSizeLimit
optional

Diagnostics bundle size limit in MB.

integer (int32)

caseNumber
optional

Optional support case number in case of SUPPORT destination, otherwise only act as additional data.

string

crn
required

CRN of the Datahub cluster.

string

description
optional

Additional information / title for the diagnostics collection.

string

destination
required

Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)

enum (SUPPORT, CLOUD_STORAGE, LOCAL)

endDate
optional

Restrict collected logs and metrics (until the provided date timestamp).

string (date-time)

monitorMetricsCollection
optional

Flag to enable collection of metrics for chart display in CM based diagnostics collection.
Default : false

boolean

roles
optional

Array of roles for which to get logs and metrics. If set, this restricts the roles for log and metrics collection.

< string > array

startDate
optional

Restrict collected logs and metrics (from the provided date timestamp).

string (date-time)

storageValidation
optional

Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs)
Default : false

boolean

updatePackage
optional

If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation.
Default : false

boolean

CollectCmDiagnosticsResponse

Response object for collecting Datahub diagnostics.

Type : object

CollectDatahubDiagnosticsRequest

Request object for collecting DataHub diagnostics.

Name Description Schema

additionalLogs
optional

Array of log descriptors that should be additionally collected during diagnostics collection.

caseNumber
optional

Optional support case number in case of SUPPORT destination, otherwise only act as additional data.

string

crn
required

CRN of the DataHub cluster.

string

description
required

Additional information / title for the diagnostics collection.

string

destination
required

Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)

enum (SUPPORT, CLOUD_STORAGE, ENG, LOCAL)

endDate
optional

Date timestamp - collect files only for diagnostics that has lower created timestamp value than this.

string (date-time)

excludeHosts
optional

Array of host names (fqdn or IP address), collection will not run on the excluded hosts.

< string > array

hostGroups
optional

Array of host groups, collection will run only on the dedicated hosts that belongs to these host groups.

< string > array

hosts
optional

Array of host names (fqdn), collection will run only on the dedicated hosts.

< string > array

includeNginxReport
optional

Include Nginx report generated by GoAccess (if available).

boolean

includeSaltLogs
optional

Include salt minion/master/api system logs in the diagnostics collection.

boolean

includeSarOutput
optional

Include SAR (System Activity Report) generated outputs in the diagnostics collection (if available).

boolean

labels
optional

Array of labels that can filter logs that are collected during diagnostics collection.

< string > array

skipUnresponsiveHosts
optional

Skip unhealthy hosts from the diagnostics collection.

boolean

startDate
optional

Date timestamp - collect files only for diagnostics that has higher last modified timestamp value than this.

string (date-time)

storageValidation
optional

Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs)
Default : false

boolean

updatePackage
optional

If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation.
Default : false

boolean

CollectDatahubDiagnosticsResponse

Response object for collecting DataHub diagnostics.

Type : object

CreateAWSClusterRequest

Request object for create AWS cluster request.

Name Description Schema

clusterDefinition
optional

The name or CRN of the cluster definition to use for cluster creation.

string

clusterDefinitionName
optional

Deprecated, the name or CRN of the cluster definition to use for cluster creation.

string

clusterExtension
optional

Cluster extensions for the given Data Hub cluster.

clusterName
optional

The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 40

string

clusterTemplate
optional

Name or CRN of the cluster template to use for cluster creation.

string

clusterTemplateName
optional

Deprecated, name or CRN of the cluster template to use for cluster creation.

string

customConfigurationsName
optional

The name of the custom configurations to use for cluster creation.

string

datahubDatabase
optional

Database type for datahub. Currently supported values: NONE, NON_HA, HA

enableLoadBalancer
optional

Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.

boolean

environment
optional

Name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.

string

environmentName
optional

Deprecated, name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.

string

image
optional

The image to be used for cluster creation.

instanceGroups
optional

Instance group details.

javaVersion
optional

Configure the major version of Java on the cluster.

integer (int32)

multiAz
optional

Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.

boolean

requestTemplate
optional

JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.

string

subnetId
optional

The subnet ID.

string

subnetIds
optional

List of subnet IDs in case of multi availability zone setup.

< string > array

tags
optional

Tags to be added to Datahub related resources.

CreateAWSClusterResponse

Response object for create AWS cluster request.

Name Description Schema

cluster
required

The cluster.

CreateAWSGovCloudClusterRequest

Request object for creating AWS Data Hub cluster request on GovCloud.

Name Description Schema

clusterDefinition
optional

The name or CRN of the cluster definition to use for cluster creation.

string

clusterExtension
optional

Cluster extensions for the given Data Hub cluster.

clusterName
optional

The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers, and hyphens. Names are case-sensitive.
Length : 5 - 40

string

clusterTemplate
optional

Name or CRN of the cluster template to use for cluster creation.

string

datahubDatabase
optional

Database type for datahub. Currently supported values: NONE, NON_HA, HA

enableLoadBalancer
optional

Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.

boolean

environment
optional

Name or CRN of the environment to use when creating the cluster. The environment must be an AWS GovCloud environment.

string

image
optional

The image to be used for cluster creation.

instanceGroups
optional

Instance group details.

javaVersion
optional

Configure the major version of Java on the cluster.

integer (int32)

multiAz
optional

Flag that toggles the multi availability zone for the given Data Hub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.

boolean

requestTemplate
optional

JSON template to use for cluster creation. This is different from the cluster template and would be removed in the future.

string

subnetId
optional

The subnet ID.

string

subnetIds
optional

List of subnet IDs in case of multi availability zone setup.

< string > array

tags
optional

Tags to be added to Data Hub related resources.

CreateAWSGovCloudClusterResponse

Response object for create AWS cluster request on GovCloud.

Name Description Schema

cluster
required

The cluster.

CreateAutoScaleRulesRequest

Autoscale configuration request

Name Description Schema

autoScalePolicies
required

The actual scaling policies for the cluster

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

enabled
optional

true (default) to enable Autoscaling, false to disable AutoScaling.

boolean

useStopStartMechanism
optional

true to enable StopStart scaling mechanism, false to use regular AutoScaling (if enabled).

boolean

CreateAutoScaleRulesResponse

The AutoScale rules for the cluster.

Name Description Schema

autoScaleRules
optional

The autoscale rules.

CreateAzureClusterRequest

Request object for create Azure cluster request.

Name Description Schema

clusterDefinitionName
optional

The name or CRN of the cluster definition to use for cluster creation.

string

clusterExtension
optional

Cluster extensions for the given Data Hub cluster.

clusterName
optional

The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 40

string

clusterTemplateName
optional

Name or CRN of the cluster template to use for cluster creation.

string

customConfigurationsName
optional

The name of the custom configurations to use for cluster creation.

string

databaseType
optional

The type of the azure database. FLEXIBLE_SERVER is the next generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations. SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.

enum (FLEXIBLE_SERVER, SINGLE_SERVER)

datahubDatabase
optional

Database type for datahub. Currently supported values: NONE, NON_HA, HA

enableLoadBalancer
optional

Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.

boolean

environmentName
optional

Name or CRN of the environment to use when creating the cluster. The environment must be an Azure environment.

string

flexibleServerDelegatedSubnetId
optional

Allows you to specify the subnet ID for the subnet within which you want to configure your Azure Flexible Server.

string

image
optional

The image to be used for cluster creation.

instanceGroups
optional

Instance group details.

javaVersion
optional

Configure the major version of Java on the cluster.

integer (int32)

loadBalancerSku
optional

The SKU for the datahub load balancer. Allowed values are "BASIC", "STANDARD", or "NONE".

multiAz
optional

Flag that toggles the multi availability zone feature for the given datahub cluster when unsure what subnet IDs can be used. When true, the subnet IDs suggested by the environment will be used.
Default : false

boolean

requestTemplate
optional

JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.

string

subnetId
optional

The subnet ID.

string

tags
optional

Tags to be added to Datahub related resources.

CreateAzureClusterResponse

Response object for create Azure cluster request.

Name Description Schema

cluster
required

The cluster.

CreateClusterDefinitionRequest

Request object for create cluster definition request.

Name Description Schema

clusterDefinitionName
required

The name of the cluster definition. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 1000

string

description
optional

The description of the cluster definition. The description can have a maximum of 1000 characters.
Maximal length : 1000

string

workloadTemplate
required

The cluster creation JSON. This must contain the name of a running environment.

string

CreateClusterDefinitionResponse

Response object for create cluster definition request.

Name Description Schema

clusterDefinition
required

The clusterDefinition.

CreateClusterTemplateRequest

Request object for create cluster template request.

Name Description Schema

clusterTemplateContent
required

The cluster template content.

string

clusterTemplateName
required

The name of the cluster template. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 1000

string

description
optional

The description of the cluster template. The description can have a maximum of 1000 characters.
Maximal length : 1000

string

tags
optional

Tags to be added to the cluster template.

CreateClusterTemplateResponse

Response object for create cluster template request.

Name Description Schema

clusterTemplate
required

The cluster template.

CreateCustomConfigurationsRequest

The request object for creating custom configurations request.

Name Description Schema

configurations
required

The configuration properties of custom configurations.

customConfigurationsName
required

The name of the custom configurations. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers, and hyphens. Names are case-sensitive.

string

runtimeVersion
optional

The runtime version of custom configurations.

string

CreateCustomConfigurationsResponse

The response object for create custom configurations request.

Name Description Schema

customConfigurations
required

The custom configurations.

CreateGCPClusterRequest

Request object for create GCP cluster request.

Name Description Schema

clusterDefinitionName
optional

The name or CRN of the cluster definition to use for cluster creation.

string

clusterExtension
optional

Cluster extensions for the given Data Hub cluster.

clusterName
optional

The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 40

string

clusterTemplateName
optional

Name or CRN of the cluster template to use for cluster creation.

string

customConfigurationsName
optional

The name of the custom configurations to use for cluster creation.

string

datahubDatabase
optional

Database type for datahub. Currently supported values: NONE, NON_HA, HA

environmentName
optional

Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment.

string

image
optional

The image to be used for cluster creation.

instanceGroups
optional

Instance group details.

javaVersion
optional

Configure the major version of Java on the cluster.

integer (int32)

requestTemplate
optional

JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.

string

subnetName
optional

The subnet name.

string

tags
optional

Tags that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.

CreateGCPClusterResponse

Response object for create GCP cluster request.

Name Description Schema

cluster
required

The cluster.

CreateRecipeRequest

Request object for create recipe request.

Name Description Schema

description
optional

The description of the recipe. The description can have a maximum of 1000 characters.
Maximal length : 1000

string

recipeContent
required

The content of the recipe.

string

recipeName
required

The name of the recipe. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
Length : 5 - 1000

string

type
required

The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.

string

CreateRecipeResponse

Response object for create recipe request.

Name Description Schema

recipe
required

The recipe.

CustomConfigurationProperty

Information about Custom Configuration Property.

Name Description Schema

configName
required

The name of the custom configuration property.

string

configValue
required

The value of the custom configuration property.

string

roleType
optional

The role within the service type.

string

serviceType
required

The service under which the custom configuration property belongs.

string

CustomConfigurationPropertyRequest

The request object for the custom configuration property request.

Name Description Schema

configName
required

The name of the custom configuration property.

string

configValue
required

The value of the custom configuration property.

string

roleType
optional

The role within the service type.

string

serviceType
required

The service under which the custom configuration property belongs.

string

CustomConfigurations

Information about custom configurations.

Name Description Schema

accountId
optional

The account ID that was used for creating custom configurations.

string

configurations
required

The custom configuration properties.

crn
required

The CRN of the custom configurations.

string

name
required

The name of the custom configurations.

string

runtimeVersion
optional

The runtime version of the custom configurations.

string

DatabaseServerSslConfig

SSL configuration for the database server

Name Description Schema

sslCertificateType
optional

SSL certificate type

enum (CLOUD_PROVIDER_OWNED, BRING_YOUR_OWN, NONE)

sslCertificates
optional

Set of SSL certificates for the actual database server

< string > array

sslMode
optional

SSL enforcement mode for the actual database server

enum (ENABLED, DISABLED)

DatahubDatabaseType

Database type for datahub. Currently supported values: NONE, NON_HA, HA

Type : enum (HA, NON_HA, NONE)

DatahubDiagnosticsCollectionDetailsResponse

Response object for diagnostic collection details.

Name Description Schema

accountId
optional

Account Id that was used for the diagnostics collection.

string

case
optional

Case number for the diagnostics collection.

string

clusterVersion
optional

Version of the cluster that was used for the diagnostics collection.

string

description
optional

Description of the diagnostics collection.

string

destination
optional

Destination type of the diagnostics collection.

string

output
optional

Output destination of the diagnostics collection.

string

resourceCrn
optional

Crn of the cluster.

string

DatahubDiagnosticsCollectionResponse

Response object for diagnostic collection flow details.

Name Description Schema

collectionDetails
optional

Additional details about the diagnostics collection.

created
optional

Creation date of the diagnostics collection flow.

string (date-time)

flowId
optional

Flow ID of the diagnostics collection flow.

string

flowState
optional

Current state of the diagnostics collection flow.

string

progressPercentage
optional

Progress percentage of the diagnostics collection flow (maximum value if finished).

integer (int32)

status
optional

Status of the diagnostics collection flow.

enum (RUNNING, FAILED, FINISHED, CANCELLED)

DatahubLoadBalancerSkuType

Represents the Azure load balancer SKU type. The current default is BASIC. To disable the load balancer, use type NONE.

Type : enum (BASIC, STANDARD, NONE)

DatahubResourceTag

Tag for a datahub resource.

Name Description Schema

key
required

The key of tag.

string

value
required

The value of the tag.

string

DatahubResourceTagRequest

Tag for a datahub resource.

Name Description Schema

key
required

The key of tag.

string

value
required

The value of the tag.

string

DatahubVmLogRequest

Log descriptor, contains a path and label pair. Used for diagnostics collections.

Name Description Schema

label
required

Label that will be used to identify a log descriptor. (will be used as a folder inside logs folder)

string

path
required

Path of the log file(s) that needs to be collected. (Can be glob wildcard)

string

DatahubVmLogResponse

Log descriptor, contains a path and label pair. Used for diagnostics collections.

Name Description Schema

label
optional

Label that will be used to identify a log descriptor. (will be used as a folder inside logs folder)

string

path
optional

Path of the log file(s) that needs to be collected. (Can be glob wildcard)

string

DeleteAutoScaleRulesRequest

Delete request.

Name Description Schema

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

DeleteAutoScaleRulesResponse

Response object for DeleteAutoScalesRulesRequest

Type : object

DeleteClusterDefinitionsRequest

Request object for delete cluster definition request.

Name Description Schema

clusterDefinitionNames
required

The name or CRN of the cluster definitions to be deleted.

< string > array

DeleteClusterDefinitionsResponse

Response object for delete cluster definition request.

Name Description Schema

clusterDefinitions
required

The clusterDefinitions.

< ClusterDefinition > array

DeleteClusterRequest

Request object for delete cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be deleted.

string

force
optional

Whether the cluster should be force deleted. This option can be used when cluster deletion fails. This removes the entry from Cloudera Datahub service. Any lingering resources have to be deleted from the cloud provider manually. The default is false.

boolean

DeleteClusterResponse

Response object for delete cluster request.

Type : object

DeleteClusterTemplatesRequest

Request object for delete cluster templates request.

Name Description Schema

clusterTemplateNames
required

The names or CRNs of the cluster templates to be deleted.

< string > array

DeleteClusterTemplatesResponse

Response object for delete cluster templates request.

Name Description Schema

clusterTemplates
required

The cluster templates.

< ClusterTemplate > array

DeleteCustomConfigurationsRequest

The request object for the delete custom configurations request.

Name Description Schema

customConfigurations
required

The names or CRNs of the custom configurations to be deleted.

< string > array

DeleteCustomConfigurationsResponse

The response object for the delete custom configurations request.

Name Description Schema

customConfigurations
required

The deleted custom configurations.

DeleteInstancesRequest

Request object for deleting multiple instance from a cluster

Name Description Schema

clusterName
required

The name or CRN of the cluster for which instances are to be deleted.

string

force
optional

Whether the termination would be forced or not. If it is true, the termination would not be stopped by other - usually blocking - circumstances. Defaults to false.

boolean

instanceIds
required

The instanceIds to be deleted from the cluster.

< string > array

DeleteInstancesResponse

Response object for instance deletion.

Name Description Schema

cluster
required

The cluster.

DeleteRecipesRequest

Request object for delete recipe request.

Name Description Schema

recipeNames
required

The names or CRNs of the recipes to be deleted.

< string > array

DeleteRecipesResponse

Response object for delete recipe request.

Name Description Schema

recipes
required

The recipes.

< Recipe > array

DescribeAutoScaleRulesRequest

Request object to describe the AutoScale rules for a DataHub cluster.

Name Description Schema

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

DescribeAutoScaleRulesResponse

The response object which describes the AutoScale rules for a DataHub cluster.

Name Description Schema

autoScaleRules
optional

The autoscale rules.

DescribeClusterDefinitionRequest

Request object for describe cluster definition request.

Name Description Schema

clusterDefinitionName
required

The name or CRN of the cluster definition.

string

DescribeClusterDefinitionResponse

Response object for describe cluster definition response.

Name Description Schema

clusterDefinition
required

The clusterDefinition.

DescribeClusterRequest

Request object for describe cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster.

string

DescribeClusterResponse

Response object for describe cluster request.

Name Description Schema

cluster
required

The cluster.

DescribeClusterTemplateRequest

Request object for describe cluster template request.

Name Description Schema

clusterTemplateName
required

The name or CRN of the cluster template.

string

DescribeClusterTemplateResponse

Response object for describe cluster template request.

Name Description Schema

clusterTemplate
required

The cluster template.

DescribeCustomConfigurationsRequest

The request object for the describe custom configurations request.

Name Description Schema

customConfigurations
required

The name or CRN of the custom configurations.

string

DescribeCustomConfigurationsResponse

The response object for the describe custom configurations request.

Name Description Schema

customConfigurations
required

The custom configurations.

DescribeDatabaseServerRequest

Request object for obtaining Database Server details.

Name Description Schema

clusterCrn
optional

CRN of the Data Hub cluster

string

DescribeDatabaseServerResponse

Response object for obtaining Database Server details.

Name Description Schema

clusterCrn
optional

CRN of the cluster of the database server

string

creationDate
optional

Creation date of the database server

string (date-time)

crn
optional

CRN of the database server

string

databaseVendor
optional

Name of the database vendor (MYSQL, POSTGRES, …)

string

databaseVendorDisplayName
optional

Display name of the database vendor (MySQL, PostgreSQL, …)

string

description
optional

Description of the database server

string

environmentCrn
optional

CRN of the environment of the database server

string

host
optional

Host of the database server

string

name
optional

Name of the database server

string

port
optional

Port of the database server

integer (int32)

resourceStatus
optional

Ownership status of the database server

enum (UNKNOWN, SERVICE_MANAGED, USER_MANAGED)

sslConfig
optional

SSL configuration of the database server

status
optional

Status of the database server stack

enum (REQUESTED, CREATE_IN_PROGRESS, AVAILABLE, UPDATE_IN_PROGRESS, UPDATE_REQUESTED, UPDATE_FAILED, CREATE_FAILED, ENABLE_SECURITY_FAILED, DELETE_REQUESTED, PRE_DELETE_IN_PROGRESS, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETED, STOPPED, STOP_REQUESTED, START_REQUESTED, STOP_IN_PROGRESS, START_IN_PROGRESS, START_FAILED, STOP_FAILED, WAIT_FOR_SYNC, MAINTENANCE_MODE_ENABLED, UNKNOWN)

statusReason
optional

Additional status information about the database server stack

string

DescribeRecipeRequest

Request object for describe recipe request.

Name Description Schema

recipeName
required

The name or CRN of the recipe.

string

DescribeRecipeResponse

Response object for describe recipe request.

Name Description Schema

recipe
required

The recipe.

DescribeScalingActivityRequest

Request object for describing a particular scaling activity using clusterCrn or clusterName and operationId.

Name Description Schema

cluster
required

The name or CRN of the cluster.

string

operationId
required

Operation ID of the scaling activity.

string

DescribeScalingActivityResponse

Response object for describe scaling activity request.

Name Description Schema

scalingActivity
required

The scaling activity.

DiskOptions

Attached disk configuration(s).

Name Description Schema

addDisks
optional

Adds the requested number of disks of the requested type, size, and usage type.

deleteDisks
optional

Set it true to delete all attached disks on all the instances in a group.

boolean

modifyDisks
optional

Modifies all the disks attached to all instances in a group.

Endpoint

Object which holds the exposed endpoint.

Name Description Schema

displayName
required

The more consumable name of the exposed service.

string

knoxService
required

The related knox entry.

string

mode
required

The SSO mode of the given service.

string

open
required

The access status of the given endpoint. Whether its open or not.

boolean

serviceName
required

The name of the exposed service

string

serviceUrl
required

The server url for the given exposed service’s API.

string

Endpoints

Object which holds the exposed endpoints for the given cluster.

Name Description Schema

endpoints
required

The endpoints.

< Endpoint > array

Error

An object returned on an error.

Name Description Schema

code
optional

The error code.

string

message
optional

The error message.

string

GCPDatahubResourceTagRequest

A label that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.

Name Description Schema

key
required

The key of tag.

string

value
required

The value of the tag.

string

GCPInstanceGroupRequest

Configurations for instance group

Name Description Schema

attachedVolumeConfiguration
required

The attached volume configuration. This does not include root volume.

instanceGroupName
required

The instance group name.

string

instanceGroupType
required

The instance group type.

string

instanceType
required

The cloud provider specific instance type to be used.

string

nodeCount
required

Number of instances in the instance group

integer (int32)

recipeNames
optional

The names or CRNs of the recipes that would be applied to the instance group.

< string > array

recoveryMode
optional

Recovery mode for the instance group.

string

rootVolumeSize
required

The root volume size.

integer (int32)

GetClusterHostStatusRequest

Request object to get host status.

Name Description Schema

clusterName
required

The name or CRN of the cluster.

string

GetClusterHostStatusResponse

Response object for getting host status.

Name Description Schema

hosts
required

The cluster hosts status.

< HostStatus > array

GetClusterServiceStatusRequest

Request object to get service status.

Name Description Schema

clusterName
required

The name or CRN of the cluster.

string

GetClusterServiceStatusResponse

Response object to get service status.

Name Description Schema

services
required

The cluster services health.

< ServiceStatus > array

GetCmRolesRequest

Request object for obtaining Cloudera Manger roles. (that can be used for filtering in CM based diagnostics collection)

Name Description Schema

crn
required

CRN of the Datahub cluster.

string

GetCmRolesResponse

Response object for obtaining Cloudera Manger roles. (that can be used for filtering in CM based diagnostics collection)

Name Description Schema

roles
optional

Array of CM roles. (useful for CM based diagnostics collection filtering)

< string > array

GetDatahubLogDescriptorsRequest

Request object for obtaining log descriptors. (that are used for diagnostics collection)

Type : object

GetDatahubLogDescriptorsResponse

Response object for obtaining log descriptors. (useful for diagnostics collection filtering)

Name Description Schema

logs
optional

Array of log descriptors. (useful for diagnostics collection filtering)

GetOperationRequest

Request object for tracking the latest (current/last) operation on the datahub resource.

Name Description Schema

crn
required

CRN of the datahub resource.

string

operationId
optional

Filter by operation id.

string

GetOperationResponse

Response object for tracking the latest (current/last) operation on the datahub resource.

Name Description Schema

operationId
optional

Identifier of the operation.

string

operationStatus
optional

Status of the operation.

enum (UNKNOWN, RUNNING, FAILED, FINISHED, CANCELLED)

operationType
optional

Type of the operation.

string

progress
optional

Progress percentage of the operation.

integer (int32)

GetVmTypesRequest

Request object for fetching the available virtual machine types based on the given parameters.

Name Description Schema

availabilityZone
optional

The selected availability zone.

string

clusterDefinitionName
optional

The name of the cluster definition.

string

clusterTemplate
required

The name of the given cluster template.

string

credential
required

The name or CRN of the credential that is required to access the cloud provider.

string

region
required

The region where we should look for the supported VM types.

string

GetVmTypesResponse

Response object from the VM type fetch operation.

Name Description Schema

vmTypes
optional

The supported VM types based on the given parameters.

< string > array

vmTypesWithMetadata
optional

The supported VM types based on the given parameters with metadata.

HealthCheck

The result of a health check.

Name Description Schema

name
optional

The name of service health check.

string

summary
optional

The service health check summary.

string

HostStatus

Information about cluster host status.

Name Description Schema

healthSummary
optional

The host health summary.

string

hostid
optional

Unique identifier of the cluster host given by Cloudera Manager.

string

hostname
optional

The cluster hostname.

string

ImageComponentVersions

Versions of the image components.

Name Description Schema

cdp
optional

CDP version.

string

cm
optional

Version of CM.

string

os
optional

OS name.

string

osPatchLevel
optional

OS patch level.

string

ImageDetails

The details of the image used for cluster instances.

Name Description Schema

catalogName
optional

The image catalog name.

string

catalogUrl
optional

The image catalog URL.

string

id
optional

The ID of the image used for cluster instances. This is internally generated by the cloud provider to uniquely identify the image.

string

name
optional

The name of the image used for cluster instances.

string

os
optional

The OS of the image used for cluster instances.

string

ImageInfo

Basic information about an image.

Name Description Schema

componentVersions
optional

Version of the image components.

created
optional

Image creation timestamp.

integer (int64)

imageCatalogName
optional

Name of the image catalog, the image is from.

string

imageId
optional

The id of the image.

string

imageName
optional

The name of the image.

string

ImageRequest

The details of the image used for cluster instances.

Name Description Schema

catalogName
optional

The image catalog name.

string

id
optional

The ID of the image used for cluster instances. This is generated by the cloud provider to uniquely identify the image.

string

os
optional

The OS of the image used for cluster instances.

string

IndividualAutoScaleHistoryResponse

An object representing a single AutoScale history event for a DataHub cluster.

Name Description Schema

eventMessage
optional

The AutoScale related operation that was performed.

string

eventTime
optional

The time at which the event occurred.

string (date-time)

IndividualScheduleRequest

An individual schedule based policy

Name Description Schema

configuration
required

The schedule configuration

description
optional

An optional description for the specific schedule.
Length : 0 - 1000

string

identifier
optional

An optional identifier for the specific schedule. Generally useful for debugging. Will be auto-generated if none provided.
Length : 5 - 200

string

configuration

Name Description Schema

action
required

The scaling action to take when triggered

trigger
required

The trigger for this rule

action

Name Description Schema

resourceAdjustmentType
optional

The type of resource adjustment. Only ABSOLUTE_COUNT supported at the moment.

enum (ABSOLUTE_COUNT)

resourceAdjustmentValue
required

The target value for the resource based on the AdjustmentType
Minimum value : 0

integer (int32)

trigger

Name Description Schema

cronExpression
required

The cron expression for this schedule
Length : 1 - 100

string

timeZone
required

The time zone for the cron expression
Length : 1 - 50

string

IndividualScheduleResponse

An individual schedule based policy

Name Description Schema

configuration
required

The schedule configuration.

description
optional

Description for the specified schedule.

string

identifier
required

An identifier fot the specific schedule. Generally usefulf for debugging.

string

configuration

Name Description Schema

action
required

The scaling action to take when triggered.

trigger
required

The trigger for this rule.

action

Name Description Schema

resourceAdjustmentType
optional

The type of resource adjustment. Only ABSOLUTE_COUNT supported at the moment.

enum (ABSOLUTE_COUNT)

resourceAdjustmentValue
required

The target value for the resource based on the AdjustmentType

integer (int32)

trigger

Name Description Schema

cronExpression
required

The cron expression for this schedule
Length : 1 - 100

string

timeZone
required

The time zone for the cron expression
Length : 1 - 50

string

Instance

Object which holds some details of an instance for the given cluster.

Name Description Schema

attachedVolumes
optional

List of volumes attached to this instance.

availabilityZone
optional

The availability zone of the instance.

string

clouderaManagerServer
optional

Whether the instance has Cloudera Manager deployed or not.

boolean

fqdn
optional

The FQDN of the instance.

string

id
required

The ID of the given instance.

string

instanceGroup
optional

The name of the instance group this instance belongs to.

string

instanceType
required

The type of the given instance (either GATEWAY, GATEWAY_PRIMARY, or CORE).

string

instanceVmType
optional

The VM type of the instance. Supported values depend on the cloud platform.

string

privateIp
optional

The private IP of the given instance.

string

publicIp
optional

The public IP of the given instance.

string

rackId
optional

The rack ID of the instance in Cloudera Manager.

string

sshPort
optional

The SSH port for the instance.

integer (int32)

state
required

The health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations.

string

status
optional

The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc.

string

statusReason
optional

The reason for the current status of this instance.

string

subnetId
optional

The subnet ID of the instance.

string

InstanceGroup

The type of the instance group which also contains the actual instance(s)

Name Description Schema

availabilityZones
optional

List of availability zones that this instance group is associated with.

< string > array

instances
required

List of instances in this instance group.

< Instance > array

name
required

The name of the instance group where the given instance is located.

string

recipes
optional

The recipe names for the Data Hub cluster.

< string > array

subnetIds
optional

The list of subnet IDs in case of multi-availability zone setup

< string > array

InstanceGroupRecipeRequest

Represents an instance group - recipe pair (by names) request.

Name Description Schema

instanceGroupName
required

A valid instance/host group name. This name must be unique.

string

recipeNames
optional

Names of the recipes (empty is valid).

< string > array

InstanceGroupRecipeResponse

Represents an instance group - recipe pair (by names) response.

Name Description Schema

instanceGroupName
required

A valid instance/host group name. This name must be unique.

string

recipeNames
optional

Names of the recipes (empty is valid).

< string > array

InstanceGroupRequest

Configurations for instance group

Name Description Schema

attachedVolumeConfiguration
required

The attached volume configuration. This does not include root volume.

instanceGroupName
required

The instance group name.

string

instanceGroupType
required

The instance group type.

string

instanceType
required

The cloud provider specific instance type to be used.

string

nodeCount
required

Number of instances in the instance group

integer (int32)

recipeNames
optional

The names or CRNs of the recipes that would be applied to the instance group.

< string > array

recoveryMode
optional

Recovery mode for the instance group.

string

rootVolumeSize
optional

The root volume size.

integer (int32)

subnetIds
optional

The list of subnet IDs in case of multi-availability zone setup. Specifying this field overrides the datahub level subnet ID setup for the multi-availability zone configuration.

< string > array

volumeEncryption
optional

The volume encryption settings. This setting does not apply to Azure which always encrypts volumes.

InstanceTemplate

Instance template configuration(s).

Name Description Schema

instanceType
optional

The type of the instance.

string

ListAutoScaleHistoryRequest

Request object to retrieve the AutoScale history for a DataHub cluster.

Name Description Schema

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

count
optional

The maximum number of history entries to retrieve (Default 200).
Minimum value : 0
Maximum value : 1000

integer (int32)

ListAutoScaleHistoryResponse

The response object which describes the AutoScale rules for a DataHub cluster.

Name Description Schema

historyEvents
optional

List of history events for the cluster.

ListClusterDefinitionsRequest

Request object for list cluster definitions request.

Type : object

ListClusterDefinitionsResponse

Response object for list cluster definition response.

Name Description Schema

clusterDefinitions
required

The clusterDefinitions.

ListClusterLifecycleEventsRequest

Request object for listing cluster events.

Name Description Schema

cluster
required

The name or CRN of the cluster for which events are to be listed.

string

pageSize
optional

The size of each page.
Minimum value : 1
Maximum value : 100

integer (int32)

startingToken
optional

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

string

ListClusterLifecycleEventsResponse

Response object for fetching cluster events request.

Name Description Schema

clusterEvents
required

Cluster events.

nextToken
optional

The token to use when requesting the next set of results. If not present, there are no additional results.

string

ListClusterTemplatesRequest

Request object for list cluster templates request.

Type : object

ListClusterTemplatesResponse

Response object for list cluster templates request.

Name Description Schema

clusterTemplates
required

The cluster templates.

ListClustersRequest

Request object for list clusters request.

Name Description Schema

environmentName
optional

The name or CRN of the environment for which the clusters will be listed.

string

ListClustersResponse

Response object for list clusters request.

Name Description Schema

clusters
required

The clusters.

< ClusterSummary > array

ListCustomConfigurationsRequest

The request object for the list custom configurations request.

Name Description Schema

pageSize
optional

The size of each page.
Minimum value : 1
Maximum value : 100

integer (int32)

startingToken
optional

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

string

ListCustomConfigurationsResponse

The response object for the list custom configurations request.

Name Description Schema

customConfigurations
required

The list of custom configurations.

nextToken
optional

The token to use when requesting the next set of results. If not present, there are no additional results.

string

ListDatahubDiagnosticsRequest

Request object for listing recent Datahub diagnostics collections.

Name Description Schema

crn
required

CRN of the DataHub cluster.

string

ListDatahubDiagnosticsResponse

Response object for listing recent Datahub diagnostics collections.

Name Description Schema

collections
optional

description.

ListDatahubSecretTypesRequest

Request for listing possible secret values for Datahub.

Name Description Schema

datahub
required

The Datahub CRN where we wish to get the rotatable secrets.

string

ListDatahubSecretTypesResponse

Response object for showing the secret types and descriptions.

Name Description Schema

datahubSecretTypes
required

The list of secret types supported by Datahub.

< SecretTypeResponse > array

ListRecipesRequest

Request object for list recipes request.

Type : object

ListRecipesResponse

Response object for list recipes request.

Name Description Schema

recipes
required

The recipes.

< RecipeSummary > array

ListScalingActivitiesRequest

Request object for List scaling Activities request.

Name Description Schema

cluster
required

The name or CRN of the cluster.

string

duration
optional

Duration in minutes for which we want all the scaling activities for the cluster. Either duration or start and end time needs to be provided.

integer (int64)

endTime
optional

End time value in epoch millisecond until which we want to get all the scaling activities. Need to specify start time with it.

integer (int64)

onlyFailedScalingActivities
optional

Flag that decides whether to return only failed scaling activities or return all scaling activities in a given duration or a specific time interval.

boolean

pageSize
optional

The size of the page for getting scaling activities.
Minimum value : 1
Maximum value : 100

integer (int32)

startTime
optional

Start time value in epoch millisecond from which we want to get all the scaling activities. Need to specify end time with it.

integer (int64)

startingToken
optional

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

string

ListScalingActivitiesResponse

Response object for list scaling activities request.

Name Description Schema

nextToken
optional

The token to use when requesting the next set of results. If not present, there are no additional results.

string

scalingActivity
required

The list of scaling activities.

ModifyDisks

Root or additional volume properties to modify.

Name Description Schema

size
required

Size of disks to modify on all the instances in a group in GB.

integer (int32)

volumeType
optional

Type of disks to modify on all the instances in a group.

string

PrepareClusterUpgradeRequest

Request object to Data Hub upgrade preparation. This command indicates the upgrade preparation for a specific image or a selected runtime version. Important to note that the imageId or the runtime parameter must be present in the request.

Name Description Schema

cluster
required

The name or CRN of the Data Hub.

string

imageId
optional

The ID of an image to upgrade to.

string

runtime
optional

The runtime version to upgrade to.

string

PrepareClusterUpgradeResponse

Response object for upgrade Data Hub request.

Name Description Schema

current
optional

Information about the current image.

reason
optional

The reason why upgrade is not possible.

string

upgradeCandidates
optional

List of images and components to upgrade to.

< ImageInfo > array

Recipe

Information about a recipe.

Name Description Schema

creatorCrn
optional

The CRN of the creator of the recipe.

string

crn
required

The CRN of the recipe.

string

description
optional

The description of the recipe.

string

recipeContent
optional

The content of the recipe.

string

recipeName
required

The name of the recipe.

string

type
optional

The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.

string

RecipeSummary

Information about a recipe.

Name Description Schema

crn
required

The CRN of the recipe.

string

description
optional

The description of the recipe.

string

recipeName
required

The name of the recipe.

string

type
optional

The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.

string

RenewCertificateRequest

Request object for renew datahub certificate request, deprecated.

Name Description Schema

clusterName
required

The name or CRN of the cluster.

string

RenewCertificateResponse

Response object for renew certificate request, deprecated.

Type : object

RenewPublicCertificateRequest

Request object for renewing the Datahub public certificate.

Name Description Schema

datahub
required

The name or CRN of the datahub.

string

RenewPublicCertificateResponse

Response object for renew public certificate request.

Type : object

RepairClusterRequest

Request object for repair cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be repaired.

string

instanceGroupNames
optional

List of instance groups where the failed instances will be repaired.

< string > array

instances
optional

List of instances.

removeOnly
optional

If true, the failed instances will only be removed, otherwise the failed instances will be removed and new instances will be started.

boolean

RepairClusterResponse

Response object for repair cluster request.

Type : object

RepairInstancesRequest

Details for repair instances.

Name Description Schema

deleteVolumes
optional

The existing disk volumes on the instances will be re-created if the deleteVolumes is true. Otherwise, the volumes will be reattached to the new instances.

boolean

instanceIds
optional

List of instance ids.

< string > array

ReplaceRecipesRequest

The request for replacing recipes.

Name Description Schema

datahub
required

The name or CRN of the datahub.

string

instanceGroupRecipes
required

The list of instance group and recipe name pairs.

ReplaceRecipesResponse

The response for replacing recipes.

Name Description Schema

attachedRecipes
optional

The list of recipes, which will be attached to the cluster.

detachedRecipes
optional

The list of recipes, which will be detached from the cluster.

RestartClusterInstancesRequest

Request object for restart cluster instances request.

Name Description Schema

cluster
required

The name or CRN of the cluster.

string

instances
required

List of instance ids.

< string > array

RestartClusterInstancesResponse

Response object for restart cluster instances request.

Type : object

RetryClusterRequest

Request object for retry cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster for which the operations need to be retried.

string

RetryClusterResponse

Response object for retry cluster request.

Type : object

RotateAutoTlsCertificatesRequest

Request object to rotate autotls certificates on datahub’s hosts, deprecated.

Name Description Schema

datahubName
required

The name or CRN of the datahub.

string

RotateAutoTlsCertificatesResponse

Response object to rotate autotls certificates on datahub’s hosts, deprecated.

Type : object

RotateDbCertificateRequest

Request object to rotate ssl certificate a datahub.

Name Description Schema

datahubName
required

The name or CRN of the datahub.

string

RotateDbCertificateResponse

Response object to rotate ssl certificate a datahub.

Type : object

RotatePrivateCertificatesRequest

Request object to rotate private certificates on the hosts of Datahub.

Name Description Schema

datahub
required

The name or CRN of the datahub.

string

RotatePrivateCertificatesResponse

Response object to rotate private certificates on the hosts of Datahub.

Type : object

RotateSaltPasswordRequest

Request object for rotating SaltStack user password on Data Hub instances (Deprecated).

Name Description Schema

cluster
required

The name or CRN of the cluster.

string

RotateSaltPasswordResponse

Response object for rotating SaltStack user password on Data Hub instances (Deprecated).

Type : object

RotateSecretsRequest

Request object for starting secret rotation for datahub.

Name Description Schema

datahub
required

The datahub CRN where we wish to rotate secrets.

string

secretTypes
required

The list of secrets that need replacement.

< string > array

RotateSecretsResponse

Response object for rotating secrets.

Type : object

ScaleClusterRequest

Request object for scale cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be scaled.

string

instanceGroupDesiredCount
required

The desired number of instances in the instance group.

integer (int32)

instanceGroupName
required

The name of the instance group which needs to be scaled.

string

ScaleClusterResponse

Response object for scale cluster request.

Type : object

ScalingActivitySummary

Information about a Scaling activity.

Name Description Schema

activityStatus
required

The status of the scaling activity. Supported values- ACTIVITY_PENDING - If scaling activity is in pending state, METRICS_COLLECTION_SUCCESS/FAILED - for success/failure of metrics collection, UPSCALE_TRIGGER_SUCCESS/FAILED - for success/failure at the time of upscaling, DOWNSCALE_TRIGGER_SUCCESS/FAILED for success/failure at the time of downscaling, SCHEDULE_BASED_UPSCALE/DOWNSCALE - if schedule based scaling is used, SCALING_FLOW_IN_PROGRESS/SUCCESS/FAILED - State at which the scaling has reached, POLICY_ADJUSTMENT - if policy adjustment is taking place, UNKNOWN - if the state is not known.

string

endTime
required

The end time of the scaling activity.

string (date-time)

operationId
required

The operation ID of the scaling activity.

string

scalingActivityReason
required

The reason of the scaling activity.

string

startTime
required

The start time of the scaling activity.

string (date-time)

SecretTypeResponse

Response object for showing the secret types and descriptions

Name Description Schema

description
optional

The description of the secret type.

string

secretType
optional

The type of secret that can be used with the rotate-secrets command.

string

ServiceStatus

Information about a cluster service.

Name Description Schema

healthChecks
optional

The service health checks.

< HealthCheck > array

healthSummary
optional

The service health summary.

string

state
optional

The service state.

string

type
optional

The service type.

string

SetCatalogRequest

The request object to set catalog for a DataHub.

Name Description Schema

catalogName
required

The name of the catalog to be used.

string

cluster
required

The name or CRN of the affected DataHub cluster.

string

SetCatalogResponse

The response object to set catalog for a DataHub request.

Type : object

SetDefaultJavaVersionRequest

Request object for setting the default Java version on the Data Hub cluster.

Name Description Schema

clusterCrn
required

The CRN of the Data Hub cluster.

string

javaVersion
required

The Java version to set as default.

string

SetDefaultJavaVersionResponse

Response object for setting the default Java version on the Data Hub cluster.

Name Description Schema

operationId
optional

The id of the related operation.

string

StackStatus

Status of the stack.

Type : enum (REQUESTED, CREATE_IN_PROGRESS, AVAILABLE, UPDATE_IN_PROGRESS, UPDATE_REQUESTED, UPDATE_FAILED, BACKUP_IN_PROGRESS, BACKUP_FAILED, BACKUP_FINISHED, RESTORE_IN_PROGRESS, RESTORE_FAILED, RESTORE_FINISHED, RECOVERY_IN_PROGRESS, RECOVERY_REQUESTED, RECOVERY_FAILED, CREATE_FAILED, ENABLE_SECURITY_FAILED, PRE_DELETE_IN_PROGRESS, DELETE_IN_PROGRESS, DELETE_FAILED, DELETED_ON_PROVIDER_SIDE, DELETE_COMPLETED, STOPPED, STOP_REQUESTED, START_REQUESTED, STOP_IN_PROGRESS, START_IN_PROGRESS, START_FAILED, STOP_FAILED, WAIT_FOR_SYNC, MAINTENANCE_MODE_ENABLED, AMBIGUOUS, UNREACHABLE, NODE_FAILURE, EXTERNAL_DATABASE_CREATION_IN_PROGRESS, EXTERNAL_DATABASE_CREATION_FAILED, EXTERNAL_DATABASE_DELETION_IN_PROGRESS, EXTERNAL_DATABASE_DELETION_FINISHED, EXTERNAL_DATABASE_DELETION_FAILED, EXTERNAL_DATABASE_START_IN_PROGRESS, EXTERNAL_DATABASE_START_FINISHED, EXTERNAL_DATABASE_START_FAILED, EXTERNAL_DATABASE_STOP_IN_PROGRESS, EXTERNAL_DATABASE_STOP_FINISHED, EXTERNAL_DATABASE_STOP_FAILED, LOAD_BALANCER_UPDATE_IN_PROGRESS, LOAD_BALANCER_UPDATE_FINISHED, LOAD_BALANCER_UPDATE_FAILED)

StartClusterRequest

Request object for start cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be started.

string

StartClusterResponse

Response object for start cluster request.

Type : object

StartClusterVerticalScalingRequest

The request object for Data Hub vertical scaling.

Name Description Schema

datahub
required

The name or CRN of the Data Hub cluster.

string

diskOptions
optional

Disk options for vertical scaling. Available options are - add, remove, or modify.

group
required

The target group that reqested for vertical scaling.

string

instanceTemplate
optional

Instance template that specifies the core information for the vertical scale.

StartClusterVerticalScalingResponse

The response object for Data Hub cluster vertical scaling.

Name Description Schema

result
optional

The result of the operation.

string

StartDatabaseUpgradeRequest

Request object for Data Hub database upgrade.

Name Description Schema

cluster
required

The name or CRN of the Data Hub.

string

force
optional

Start the database upgrade flow even if the source and target versions are the same. Can be used to reinitiate an upgrade after a failure.

boolean

targetVersion
optional

The database engine major version to upgrade to.

enum (VERSION_11, VERSION_14)

StartDatabaseUpgradeResponse

Response object to Data Hub database upgrade.

Name Description Schema

targetVersion
optional

The database engine major version to upgrade to.

string

StartInstancesRequest

Request object to start instances of a host group on a Data Hub.

Name Description Schema

cluster
required

The name or CRN of the cluster whose instances are to be started.

string

hostGroup
required

The name of the instance group whose instances are to be started.

string

instanceCount
optional

The number of instances to start.

integer (int32)

StartInstancesResponse

Response object to start instances of a host group on Data Hub.

Type : object

StopClusterRequest

Request object for stop cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be stopped.

string

StopClusterResponse

Response object for stop cluster request.

Type : object

StopInstancesRequest

Request object to stop instances of a host group on a Data Hub.

Name Description Schema

cluster
required

The name or CRN of the cluster whose instances are to be stopped.

string

forced
optional

Whether the stop instances operation should be forced or not. Defaults to false.

boolean

instanceIds
required

The list of instance IDs.

< string > array

StopInstancesResponse

Response object to a stop instances of a host group on a Data Hub.

Type : object

SyncClusterRequest

Request object for sync cluster request.

Name Description Schema

clusterName
required

The name or CRN of the cluster to be synced.

string

SyncClusterResponse

Response object for sync cluster request.

Type : object

SyncComponentVersionsFromCmRequest

Datahub sync CM component versions request.

Name Description Schema

datahubName
required

The name or CRN of the datahub.

string

SyncComponentVersionsFromCmResponse

Datahub sync CM component versions response.

Type : object

UpdateAutoScaleRulesRequest

Autoscale Modification request

Name Description Schema

autoScalePolicies
optional

The actual scaling policies for the cluster

clusterName
required

The name or CRN of the cluster.
Length : 5 - 500

string

enabled
optional

true to enable Autoscaling, false to disable AutoScaling. If not specified, the existing value is used.

boolean

useStopStartMechanism
optional

true to enable StopStart scaling mechanism, false to use regular AutoScaling (if enabled). If not specified, the existing value is used.

boolean

UpdateAutoScaleRulesResponse

The AutoScale rules for the cluster.

Name Description Schema

autoScaleRules
optional

The autoscale rules.

UpdateOrchestratorStateRequest

Request object for running orchestrator engine state update on the Data Hub cluster.

Name Description Schema

clusterCrn
required

The CRN of the Data Hub cluster.

string

UpdateOrchestratorStateResponse

Response object for running orchestrator engine state update on the Data Hub cluster.

Type : object

UpdateToAwsImdsV1Request

Request object for updating Data Hub to use AWS IMDSv1.

Name Description Schema

crn
required

The CRN of the Data Hub.

string

UpdateToAwsImdsV1Response

Response object for updating Data Hub to AWS IMDSv1.

Type : object

UpdateToAwsImdsV2Request

Request object for updating Data Hub to use AWS IMDSv2.

Name Description Schema

crn
required

The CRN of the Data Hub.

string

UpdateToAwsImdsV2Response

Response object for updating Data Hub to AWS IMDSv2.

Type : object

UpgradeClusterRequest

Request object to upgrade datahub.

Name Description Schema

clusterName
required

The name or CRN of the datahub.

string

dryRun
optional

Checks the eligibility of an image to upgrade but do not perform the upgrade.

boolean

imageId
optional

The id of an image to upgrade to.

string

lockComponents
optional

Perform an os upgrade only.

boolean

rollingUpgradeEnabled
optional

Enables the ability to perform rolling runtime upgrade.

boolean

runtime
optional

The runtime version to upgrade to.

string

showAvailableImages
optional

Returns the list of images that are eligible for the upgrade.

boolean

showLatestAvailableImagePerRuntime
optional

Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate.

boolean

UpgradeClusterResponse

Response object for upgrade datahub request.

Name Description Schema

current
optional

Information about the current image.

reason
optional

The reason why upgrade is not possible.

string

upgradeCandidates
optional

List of images and components to upgrade to.

< ImageInfo > array

VmTypeResponseWithMetadata

Response object containing vm types and its metadata.

Name Description Schema

name
optional

Name of the vm type.

string

properties
optional

JSON string with metadata as key value pairs.

string

VolumeEncryptionRequest

Configurations for volume encryption.

Name Description Schema

enableEncryption
optional

Enable encyrption for all volumes in the instance group. Default is false.

boolean

encryptionKey
optional

The ARN of the encryption key to use. If nothing is specified, the default key will be used.

string


Copyright © 2024 Cloudera, Inc. All rights reserved.