Skip to main content

cluster_node_types

Creates, updates, deletes, gets or lists a cluster_node_types resource.

Overview

Namecluster_node_types
TypeResource
Iddatabricks_workspace.compute.cluster_node_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
node_typesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeployment_nameReturns a list of supported Spark node types. These node types can be used to launch a cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

Returns a list of supported Spark node types. These node types can be used to launch a cluster.

SELECT
node_types
FROM databricks_workspace.compute.cluster_node_types
WHERE deployment_name = '{{ deployment_name }}' -- required
;