Skip to main content

redash_config

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

Overview

Nameredash_config
TypeResource
Iddatabricks_workspace.sql.redash_config

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
allow_custom_js_visualizationsboolean
allow_downloadsboolean
allow_external_sharesboolean
allow_subscriptionsboolean
date_formatstring
date_time_formatstring
disable_publishboolean
enable_legacy_autodetect_typesboolean
feature_show_permissions_controlboolean
hide_plotly_mode_barboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeployment_nameRead workspace configuration for Redash-v2.

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

Read workspace configuration for Redash-v2.

SELECT
allow_custom_js_visualizations,
allow_downloads,
allow_external_shares,
allow_subscriptions,
date_format,
date_time_format,
disable_publish,
enable_legacy_autodetect_types,
feature_show_permissions_control,
hide_plotly_mode_bar
FROM databricks_workspace.sql.redash_config
WHERE deployment_name = '{{ deployment_name }}' -- required
;