1. 学ぶ
  2. /
  3. コース
  4. /
  5. Databricks with the Python SDK

Connected

演習

Listing Databricks clusters

Databricks clusters are a set of virtual computers hosted in the Databricks platform that allow you to run Databricks jobs and notebooks. Similar to the jobs API, the clusters API of the WorkspaceClient exposes a .list() function that lists all clusters in the authenticated workspace.

指示

100 XP
  • Iterate through all clusters.
  • Print the cluster id for each cluster.