capabilities.work

Terminate and Permanently Delete a Cluster

A 3-step recipe with Azure Databricks. We can help you get access.

Recipe · 3 steps

Terminate and Permanently Delete a Cluster

with Azure Databricks · IT Infrastructure Management

Terminate a cluster, wait for TERMINATED, then permanently delete it.

  1. Terminate the cluster. The cluster is removed from the running state but its configuration is preserved until permanent deletion.
  2. Retrieve the current cluster state. Repeat until the cluster reports TERMINATED, then proceed to permanent deletion.
  3. Permanently delete the terminated cluster, removing its configuration so it can never be restarted.
What you'll need to have ready
  • token: Databricks personal access token for the Authorization header.
  • clusterId: The id of the cluster to terminate and permanently delete.
For your developer

Arazzo workflow microsoft-azure-databricks:terminate-and-purge-cluster, 3 operations: terminateCluster → getCluster → permanentDeleteCluster. Specs on APIs.io.