assignable_roles
Operations on a assignable_roles
resource.
Overview
Name | assignable_roles |
Type | Resource |
Id | databricks_workspace.iam.assignable_roles |
Fields
Name | Datatype |
---|---|
name | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getassignablerolesforresource | SELECT | resource, deployment_name | Gets all the roles that can be granted on an account-level resource. A role is grantable if the rule set on the resource can contain an access rule of the role. |
SELECT
examples
SELECT
name
FROM databricks_workspace.iam.assignable_roles
WHERE resource = '{{ resource }}' AND
deployment_name = '{{ deployment_name }}';