transitive_parent_groups
Creates, updates, deletes, gets or lists a transitive_parent_groups resource.
Overview
| Name | transitive_parent_groups |
| Type | Resource |
| Id | databricks_workspace.iamv2.transitive_parent_groups |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
account_id | string | The parent account ID for group in Databricks. |
external_id | string | ExternalId of the group in the customer's IdP. |
internal_id | string | Internal group ID of the group in Databricks. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | principal_id, deployment_name | page_size, page_token | Lists all transitive parent groups of a 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 |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
principal_id | integer | Required. Internal ID of the principal in Databricks whose transitive parent groups are being listed. |
page_size | integer | The maximum number of parent groups to return. The service may return fewer than this value. If not provided, defaults to 1000 (also the maximum allowed). |
page_token | string | A page token, received from a previous ListTransitiveParentGroups call. Provide this to retrieve the subsequent page. |
SELECT examples
- list
Lists all transitive parent groups of a principal.
SELECT
account_id,
external_id,
internal_id
FROM databricks_workspace.iamv2.transitive_parent_groups
WHERE principal_id = '{{ principal_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND page_size = '{{ page_size }}'
AND page_token = '{{ page_token }}'
;