Skip to main content

dashboard_embedding_access_policy

Operations on a dashboard_embedding_access_policy resource.

Overview

Namedashboard_embedding_access_policy
TypeResource
Iddatabricks_workspace.workspace.dashboard_embedding_access_policy

Fields

NameDatatype
aibi_dashboard_embedding_access_policyobject
etagstring
setting_namestring

Methods

NameAccessible byRequired 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.
deleteDELETEdeployment_nameDelete the AI/BI dashboard embedding access policy, reverting back to the default.
updateUPDATEdeployment_nameUpdates the AI/BI dashboard embedding access policy at the workspace level.

SELECT examples

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

UPDATE example

Updates a dashboard_embedding_access_policy resource.

/*+ update */
-- replace field1, field2, etc. with the fields you want to update
UPDATE databricks_workspace.workspace.dashboard_embedding_access_policy
SET field1 = '{{ value1 }}',
field2 = '{{ value2 }}', ...
WHERE deployment_name = '{{ deployment_name }}';

DELETE example

Deletes a dashboard_embedding_access_policy resource.

/*+ delete */
DELETE FROM databricks_workspace.workspace.dashboard_embedding_access_policy
WHERE deployment_name = '{{ deployment_name }}';