Cluster Action Helper Function
db_cluster_action(
cluster_id,
action = c("start", "restart", "delete", "permanent-delete", "pin", "unpin"),
host = db_host(),
token = db_token(),
perform_request = TRUE
)Canonical identifier for the cluster.
One of start, restart, delete, permanent-delete, pin,
unpin.
Databricks workspace URL, defaults to calling db_host().
Databricks workspace token, defaults to calling db_token().
If TRUE (default) the request is performed, if
FALSE the httr2 request is returned without being performed.