Command to display all computes available in your workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 08:55 AM
Hi
Is there a command you could use to list all computes configured in your workspace (active and non-active).
This would be really helpful for anyone managing the platfrom to pull all the meta data (tags ,etc) and quickly evaluate all the configuration. Even if its just downloading a csv from the compute tab- that would be amazing!!
Let me know if there is one- thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 03:05 AM
@Kaizen
You've got three ways of doing this:
- Using REST API (https://docs.databricks.com/api/workspace/clusters/list),
- Using CLI (https://github.com/databricks/cli/blob/main/docs/commands.md#databricks-clusters-list---list-all-clu...)
- Using Python SDK (https://databricks-sdk-py.readthedocs.io/en/latest/workspace/compute/clusters.html#databricks.sdk.se...)