szymon_dybczak
Esteemed Contributor III

Hi @SHASHANK2 ,

If you want to globally set termination time on any future cluster created you can use cluster policy. Refer to documentation:
Create and manage compute policies - Azure Databricks | Microsoft Learn
Compute policy reference - Azure Databricks | Microsoft Learn

{
   "autotermination_minutes" : {
    "type" : "unlimited",
    "defaultValue" : 4320,
    "isOptional" : true
  },
  "instance_pool_id": {
    "type": "forbidden",
    "hidden": true
  },
  "runtime_engine": {
    "type": "fixed",
    "value": "PHOTON",
    "hidden": true
  }
}