Stop cluster
Stop a running cluster to save cost. Its settings are kept so it can be started again. Optionally wait until it has stopped.
Command in the Databricks toolkit · id ooa.databricks/terminate_cluster · 7 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Workspace address (URL) | String | No | Workspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com. | |
| Cluster ID | String | Yes | Cluster to stop: its name or id. | |
| Access token | Credential | No | Databricks 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. | |
| Wait | Boolean | No | false | Wait until the cluster has stopped before going on. |
| Timeout (seconds) | Number | No | 1200 | Stop waiting after this many seconds and fail with WAIT_TIMEOUT. |
| Client ID | String | No | Application (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6). | |
| Client secret | Credential | No | The service principal's OAuth secret from the vault (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| state | String | Cluster state afterwards, e.g. TERMINATING or TERMINATED. |