all_clusters_policy_compliance
Operations on a all_clusters_policy_compliance
resource.
Overview
Name | all_clusters_policy_compliance |
Type | Resource |
Id | databricks_workspace.compute.all_clusters_policy_compliance |
Fields
Name | Datatype |
---|---|
cluster_id | string |
is_compliant | boolean |
violations | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
listcompliance | SELECT | policy_id, deployment_name | Returns 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 }}';