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"
}

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group