Skip to main content

all_clusters_policy_compliance

Operations on a all_clusters_policy_compliance resource.

Overview

Nameall_clusters_policy_compliance
TypeResource
Iddatabricks_workspace.compute.all_clusters_policy_compliance

Fields

NameDatatype
cluster_idstring
is_compliantboolean
violationsobject

Methods

NameAccessible byRequired ParamsDescription
listcomplianceSELECTpolicy_id, deployment_nameReturns the policy compliance status of all clusters that use a given policy. Clusters could be out of compliance if their policy was updated after the cluster was last edited.

SELECT examples

SELECT
cluster_id,
is_compliant,
violations
FROM databricks_workspace.compute.all_clusters_policy_compliance
WHERE policy_id = '{{ policy_id }}' AND
deployment_name = '{{ deployment_name }}';