Skip to main content

node_types

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

Overview

Namenode_types
TypeResource
Iddatabricks_workspace.compute.node_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
instance_type_idstring
node_type_idstring
categorystring
descriptionstring
display_orderinteger
is_deprecatedboolean
is_hiddenboolean
is_io_cache_enabledboolean
memory_mbinteger
node_instance_typeobject
num_coresinteger
num_gpusinteger
support_cluster_tagsboolean
support_ebs_volumesboolean
support_port_forwardingboolean
supports_elastic_diskboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listnodetypesselectdeployment_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
instance_type_id,
node_type_id,
category,
description,
display_order,
is_deprecated,
is_hidden,
is_io_cache_enabled,
memory_mb,
node_instance_type,
num_cores,
num_gpus,
support_cluster_tags,
support_ebs_volumes,
support_port_forwarding,
supports_elastic_disk
FROM databricks_workspace.compute.node_types
WHERE deployment_name = '{{ deployment_name }}' -- required;