Databricks SDK for JavaScript
    Preparing search index...
    interface ClusterSpec {
        libraries?: Library[];
        spec?:
            | { $case: "existingClusterId"; existingClusterId: string }
            | { $case: "newCluster"; newCluster: ClusterSpec_NewCluster }
            | { $case: "jobClusterKey"; jobClusterKey: string };
    }
    Index

    Properties

    Properties

    libraries?: Library[]

    An optional list of libraries to be installed on the cluster. The default value is an empty list.

    spec?:
        | { $case: "existingClusterId"; existingClusterId: string }
        | { $case: "newCluster"; newCluster: ClusterSpec_NewCluster }
        | { $case: "jobClusterKey"; jobClusterKey: string }

    Type Declaration

    • { $case: "existingClusterId"; existingClusterId: string }
      • $case: "existingClusterId"
      • existingClusterId: string

        If existing_cluster_id, the ID of an existing cluster that is used for all runs. When running jobs or tasks on an existing cluster, you may need to manually restart the cluster if it stops responding. We suggest running jobs and tasks on new clusters for greater reliability

    • { $case: "newCluster"; newCluster: ClusterSpec_NewCluster }
      • $case: "newCluster"
      • newCluster: ClusterSpec_NewCluster

        If new_cluster, a description of a new cluster that is created for each run.

    • { $case: "jobClusterKey"; jobClusterKey: string }
      • $case: "jobClusterKey"
      • jobClusterKey: string

        If job_cluster_key, this task is executed reusing the cluster specified in job.settings.job_clusters.