automatic_cluster_update
Operations on a automatic_cluster_update
resource.
Overview
Name | automatic_cluster_update |
Type | Resource |
Id | databricks_workspace.workspace.automatic_cluster_update |
Fields
Name | Datatype |
---|---|
automatic_cluster_update_workspace | object |
etag | string |
setting_name | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deployment_name | Gets the automatic cluster update setting. |
update | UPDATE | deployment_name | Updates the automatic cluster update setting for the workspace. A fresh etag needs to be provided in |
SELECT
examples
SELECT
automatic_cluster_update_workspace,
etag,
setting_name
FROM databricks_workspace.workspace.automatic_cluster_update
WHERE deployment_name = '{{ deployment_name }}';
UPDATE
example
Updates a automatic_cluster_update
resource.
/*+ update */
-- replace field1, field2, etc. with the fields you want to update
UPDATE databricks_workspace.workspace.automatic_cluster_update
SET field1 = '{{ value1 }}',
field2 = '{{ value2 }}', ...
WHERE deployment_name = '{{ deployment_name }}';