Restart cluster.
restart_cluster_and_wait.RdThis is a long-running operation, which blocks until Clusters on Databricks reach
RUNNING state with the timeout of 20 minutes, that you can change via timeout parameter.
By default, the state of Databricks Clusters is reported to console. You can change this behavior
by changing the callback parameter.
Usage
restart_cluster_and_wait(
client,
cluster_id,
restart_user = NULL,
timeout = 20,
callback = cli_reporter
)