node_types
Creates, updates, deletes, gets or lists a node_types
resource.
Overview
Name | node_types |
Type | Resource |
Id | databricks_workspace.compute.node_types |
Fields
The following fields are returned by SELECT
queries:
- listnodetypes
Name | Datatype | Description |
---|---|---|
instance_type_id | string | |
node_type_id | string | |
category | string | |
description | string | |
display_order | integer | |
is_deprecated | boolean | |
is_hidden | boolean | |
is_io_cache_enabled | boolean | |
memory_mb | integer | |
node_instance_type | object | |
num_cores | integer | |
num_gpus | integer | |
support_cluster_tags | boolean | |
support_ebs_volumes | boolean | |
support_port_forwarding | boolean | |
supports_elastic_disk | boolean |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
listnodetypes | select | deployment_name | Returns 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.
Name | Datatype | Description |
---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
SELECT
examples
- listnodetypes
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;