workspace_permissions
Creates, updates, deletes, gets or lists a workspace_permissions resource.
Overview
| Name | workspace_permissions |
| Type | Resource |
| Id | databricks_account.iam.workspace_permissions |
Fields
The following fields are returned by SELECT queries:
- workspace_assignment_get
| Name | Datatype | Description |
|---|---|---|
permissions | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
workspace_assignment_get | select | account_id, workspace_id | Get an array of workspace permissions for the specified account and workspace. |
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 |
|---|---|---|
account_id | string | |
workspace_id | integer | The workspace ID. |
SELECT examples
- workspace_assignment_get
Get an array of workspace permissions for the specified account and workspace.
SELECT
permissions
FROM databricks_account.iam.workspace_permissions
WHERE account_id = '{{ account_id }}' -- required
AND workspace_id = '{{ workspace_id }}' -- required
;