Skip to main content

policy_families

Creates, updates, deletes, gets or lists a policy_families resource.

Overview

Namepolicy_families
TypeResource
Iddatabricks_workspace.compute.policy_families

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
namestring
policy_family_idstring
definitionobject
descriptionstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeployment_nameReturns the list of policy definition types available to use at their latest version. This API is paginated.
getselectdeployment_nameRetrieve 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.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

SELECT examples

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;