Pin the First Listed Cluster
A 3-step recipe with Azure Databricks. We can help you get access.
Recipe · 3 steps
Pin the First Listed Cluster
with Azure Databricks · IT Infrastructure Management
List clusters and pin the first one returned.
- List the workspace clusters and capture the id of the first cluster in the response to pin.
- Pin the selected cluster so it is always returned by the list clusters API even after it is terminated.
- Read the cluster back to confirm it still resolves after pinning and to capture its current state for the workflow outputs.
What you'll need to have ready
- token: Databricks personal access token for the Authorization header.
- canUseClient: Optional client filter, either NOTEBOOKS or JOBS.
For your developer
Arazzo workflow microsoft-azure-databricks:pin-most-recent-cluster, 3 operations: listClusters → pinCluster → getCluster. Specs on APIs.io.