Skip to main content

dashboard_embedding_access_policy

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

Overview

Namedashboard_embedding_access_policy
TypeResource
Iddatabricks_workspace.workspace.dashboard_embedding_access_policy

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
setting_namestring
aibi_dashboard_embedding_access_policyobject
etagstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeployment_nameRetrieves the AI/BI dashboard embedding access policy. The default setting is ALLOW_APPROVED_DOMAINS, permitting AI/BI dashboards to be embedded on approved domains.
updateupdatedeployment_nameUpdates the AI/BI dashboard embedding access policy at the workspace level.
deletedeletedeployment_nameDelete the AI/BI dashboard embedding access policy, reverting back to the default.

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

Retrieves the AI/BI dashboard embedding access policy. The default setting is ALLOW_APPROVED_DOMAINS, permitting AI/BI dashboards to be embedded on approved domains.

SELECT
setting_name,
aibi_dashboard_embedding_access_policy,
etag
FROM databricks_workspace.workspace.dashboard_embedding_access_policy
WHERE deployment_name = '{{ deployment_name }}' -- required;

UPDATE examples

Updates the AI/BI dashboard embedding access policy at the workspace level.

UPDATE databricks_workspace.workspace.dashboard_embedding_access_policy
SET
data__allow_missing = '{{ allow_missing }}',
data__field_mask = {{ field_mask }},
data__setting = '{{ setting }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
RETURNING
setting_name,
aibi_dashboard_embedding_access_policy,
etag;

DELETE examples

Delete the AI/BI dashboard embedding access policy, reverting back to the default.

DELETE FROM databricks_workspace.workspace.dashboard_embedding_access_policy
WHERE deployment_name = '{{ deployment_name }}' --required;