I'm new to Azure Databricks and I'm using it for a project.
As mentioned here in the documentation for Automatic termination
it says
You can also set auto termination for a cluster.
During cluster creation, you can specify an inactivity period
in minutes after which you want the cluster to terminate.
If the difference between the current time
and the last command
run on the cluster is more than the inactivity period specified,
Azure Databricks automatically terminates that cluster.
Is there a workaround to get the real time inactivity period (the difference between the current time and the last command run on the cluster) of a cluster on the Azure Databricks Notebooks via the Cluster API or any other method?