warehouse_permission_levels
Operations on a warehouse_permission_levels
resource.
Overview
Name | warehouse_permission_levels |
Type | Resource |
Id | databricks_workspace.dbsql.warehouse_permission_levels |
Fields
Name | Datatype |
---|---|
description | string |
permission_level | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getpermissionlevels | SELECT | warehouse_id, deployment_name | Gets the permission levels that a user can have on an object. |
SELECT
examples
SELECT
description,
permission_level
FROM databricks_workspace.dbsql.warehouse_permission_levels
WHERE warehouse_id = '{{ warehouse_id }}' AND
deployment_name = '{{ deployment_name }}';