policy_families
Creates, updates, deletes, gets or lists a policy_families
resource.
Overview
Name | policy_families |
Type | Resource |
Id | databricks_workspace.compute.policy_families |
Fields
The following fields are returned by SELECT
queries:
- list
- get
Request completed successfully.
Name | Datatype | Description |
---|---|---|
name | string | |
policy_family_id | string | |
definition | object | |
description | string |
Request completed successfully.
Name | Datatype | Description |
---|---|---|
name | string | |
policy_family_id | string | |
definition | object | |
description | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | deployment_name | Returns the list of policy definition types available to use at their latest version. This API is paginated. | |
get | select | deployment_name | Retrieve the information for an policy family based on its identifier and version |
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) |
SELECT
examples
- list
- get
Returns the list of policy definition types available to use at their latest version. This API is paginated.
SELECT
name,
policy_family_id,
definition,
description
FROM databricks_workspace.compute.policy_families
WHERE deployment_name = '{{ deployment_name }}' -- required;
Retrieve the information for an policy family based on its identifier and version
SELECT
name,
policy_family_id,
definition,
description
FROM databricks_workspace.compute.policy_families
WHERE deployment_name = '{{ deployment_name }}' -- required;