Skip to main content

Start cluster

Start a stopped cluster, and wait until it is running if you like. Nothing happens if it is already running.

Command in the Databricks toolkit · id ooa.databricks/start_cluster · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Workspace address (URL)StringNoWorkspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com.
Cluster IDStringYesCluster to start: its name or id (see List clusters).
WaitBooleanNotrueWait until the cluster is ready before going on.
Timeout (seconds)NumberNo1200Stop waiting after this many seconds and fail with WAIT_TIMEOUT.
Access tokenCredentialNoDatabricks personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Client IDStringNoApplication (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6).
Client secretCredentialNoThe service principal's OAuth secret from the vault (G6).

Outputs​

OutputTypeWhat it is
stateStringCluster state afterwards, e.g. PENDING or RUNNING.