workspace_assignments
Operations on a workspace_assignments
resource.
Overview
Name | workspace_assignments |
Type | Resource |
Id | databricks_account.unity_catalog.workspace_assignments |
Fields
Name | Datatype |
---|---|
workspace_ids | array |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | account_id, metastore_id | Gets a list of all Databricks workspace IDs that have been assigned to given metastore. |
SELECT
examples
SELECT
workspace_ids
FROM databricks_account.unity_catalog.workspace_assignments
WHERE account_id = '{{ account_id }}' AND
metastore_id = '{{ metastore_id }}';