def terminate(cls, cluster_id_label):
        """
        Terminate the cluster with id/label `cluster_id_label`.
        """
        conn = Qubole.agent(version=Cluster.api_version)
        data = {"state": "terminate"}
        return conn.put(cls.element_path(cluster_id_label) + "/state", data)
def terminate ( cls , cluster_id_label ) : conn = Qubole . agent ( version = Cluster . api_version ) data = { "state" : "terminate" } return conn . put ( cls . element_path ( cluster_id_label ) + "/state" , data )
Terminate the cluster with id/label `cluster_id_label`.