assignable_roles
Operations on a assignable_roles
resource.
Overview
Name | assignable_roles |
Type | Resource |
Id | databricks_account.iam.assignable_roles |
Fields
Name | Datatype |
---|---|
name | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getassignablerolesforresource | SELECT | account_id, resource | 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_account.iam.assignable_roles
WHERE account_id = '{{ account_id }}' AND
resource = '{{ resource }}';