app_thumbnails
Creates, updates, deletes, gets or lists an app_thumbnails resource.
Overview
| Name | app_thumbnails |
| Type | Resource |
| Id | databricks_workspace.apps.app_thumbnails |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | name, deployment_name | Updates the thumbnail for an app. | |
delete | delete | name, deployment_name | Deletes the thumbnail for an app. |
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) |
name | string | The name of the app. |
UPDATE examples
- update
Updates the thumbnail for an app.
UPDATE databricks_workspace.apps.app_thumbnails
SET
app_thumbnail = '{{ app_thumbnail }}'
WHERE
name = '{{ name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
RETURNING
thumbnail;
DELETE examples
- delete
Deletes the thumbnail for an app.
DELETE FROM databricks_workspace.apps.app_thumbnails
WHERE name = '{{ name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
;