cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

"policy_id" parameter in JOB API

Anonymous
Not applicable

I can't find information about that parameter in

https://docs.databricks.com/dev-tools/api/latest/jobs.html

Where is it documented?

1 ACCEPTED SOLUTION

Accepted Solutions

Ryan_Chynoweth
Esteemed Contributor

I believe it is just "policy_id". As an incomplete example the specification via API would be something like:

{
  "cluster_id": "1234-567890-abd35gh",
  "spark_context_id": 1234567890,
  "cluster_name": "my_cluster",
  "spark_version": "9.1.x-scala2.12",
  "node_type_id": "Standard_DS13_v2",
  "driver_node_type_id": "Standard_DS13_v2",
  "spark_env_vars": {
    "PYSPARK_PYTHON": "/databricks/python3/bin/python3"
  },
  "autotermination_minutes": 25,
  "policy_id": "D901239DSFKJ43234"
}

View solution in original post

1 REPLY 1

Ryan_Chynoweth
Esteemed Contributor

I believe it is just "policy_id". As an incomplete example the specification via API would be something like:

{
  "cluster_id": "1234-567890-abd35gh",
  "spark_context_id": 1234567890,
  "cluster_name": "my_cluster",
  "spark_version": "9.1.x-scala2.12",
  "node_type_id": "Standard_DS13_v2",
  "driver_node_type_id": "Standard_DS13_v2",
  "spark_env_vars": {
    "PYSPARK_PYTHON": "/databricks/python3/bin/python3"
  },
  "autotermination_minutes": 25,
  "policy_id": "D901239DSFKJ43234"
}

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now