Skip to contents

Terminates the Spark cluster with the specified ID. The cluster is removed asynchronously. Once the termination has completed, the cluster will be in a TERMINATED state. If the cluster is already in a TERMINATING or TERMINATED state, nothing will happen.

Usage

delete_cluster(client, cluster_id)

clustersDelete(client, cluster_id)

Arguments

client

Required. Instance of DatabricksClient()

cluster_id

Required. The cluster to be terminated.