workspace_permission_assignments
Creates, updates, deletes, gets or lists a workspace_permission_assignments
resource.
Overview
Name | workspace_permission_assignments |
Type | Resource |
Id | databricks_account.iam.workspace_permission_assignments |
Fields
The following fields are returned by SELECT
queries:
- list
Request completed successfully.
Name | Datatype | Description |
---|---|---|
error | string | |
permissions | array | |
principal | object |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | Get the permission assignments for the specified Databricks account and Databricks workspace. | ||
createorupdate | insert | Creates or updates the workspace permissions assignment in a given account and workspace for the specified principal. | ||
delete | delete | Deletes the workspace permissions assignment in a given account and workspace for the specified principal. |
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 |
---|
SELECT
examples
- list
Get the permission assignments for the specified Databricks account and Databricks workspace.
SELECT
error,
permissions,
principal
FROM databricks_account.iam.workspace_permission_assignments;
INSERT
examples
- createorupdate
- Manifest
Creates or updates the workspace permissions assignment in a given account and workspace for the specified principal.
INSERT INTO databricks_account.iam.workspace_permission_assignments (
data__permissions
)
SELECT
'{{ permissions }}'
RETURNING
error,
permissions,
principal
;
# Description fields are for documentation purposes
- name: workspace_permission_assignments
props:
- name: permissions
value: Array of string
DELETE
examples
- delete
Deletes the workspace permissions assignment in a given account and workspace for the specified principal.
DELETE FROM databricks_account.iam.workspace_permission_assignments;