How to check weather cluster is running or not( up/not) using ADF

Viewed 63

I have a real time senario Req:

  1. I need to check weather databrick clusters is running or not
  2. if not then re start the existing cluster

Problem : found that we can use web activity but in my current senario ...I am not having any access token for the existing cluster

Looking for diff approch

1 Answers

You can't check status of the cluster without having a personal access token or using Azure Active Directory token (for example, by using service principal).

After you get access by using either method, you can use Clusters Get REST API to check status of the cluster.

Related