<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can you create Clusters via a REST API? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-you-create-clusters-via-a-rest-api/m-p/24971#M17380</link>
    <description>&lt;P&gt;Yes, you can. See here: &lt;A href="https://docs.databricks.com/dev-tools/api/latest/clusters.html" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/clusters.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON payload would look as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
  "cluster_name": "my-cluster",
  "spark_version": "7.3.x-scala2.12",
  "node_type_id": "i3.xlarge",
  "spark_conf": {
    "spark.speculation": true
  },
  "aws_attributes": {
    "availability": "SPOT",
    "zone_id": "us-west-2a"
  },
  "num_workers": 25
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jun 2021 18:20:10 GMT</pubDate>
    <dc:creator>User16856693631</dc:creator>
    <dc:date>2021-06-11T18:20:10Z</dc:date>
    <item>
      <title>Can you create Clusters via a REST API?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-create-clusters-via-a-rest-api/m-p/24971#M17380</link>
      <description>&lt;P&gt;Yes, you can. See here: &lt;A href="https://docs.databricks.com/dev-tools/api/latest/clusters.html" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/clusters.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON payload would look as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
  "cluster_name": "my-cluster",
  "spark_version": "7.3.x-scala2.12",
  "node_type_id": "i3.xlarge",
  "spark_conf": {
    "spark.speculation": true
  },
  "aws_attributes": {
    "availability": "SPOT",
    "zone_id": "us-west-2a"
  },
  "num_workers": 25
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 18:20:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-create-clusters-via-a-rest-api/m-p/24971#M17380</guid>
      <dc:creator>User16856693631</dc:creator>
      <dc:date>2021-06-11T18:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create Clusters via a REST API?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-you-create-clusters-via-a-rest-api/m-p/24973#M17382</link>
      <description>&lt;P&gt;One can create a Cluster(s) using CLuster API @ &lt;A href="https://docs.databricks.com/dev-tools/api/latest/clusters.html#create" alt="https://docs.databricks.com/dev-tools/api/latest/clusters.html#create" target="_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/clusters.html#create &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, REST API 2.0 doesn't provide certain features like "Enable Table Access Control", which has been introduced after REST API 2.0. Given said that one can always enable those features using spark config:  &lt;/P&gt;&lt;P&gt;&lt;I&gt;spark.databricks.acl.sqlOnly true&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Ref: &lt;A href="https://docs.databricks.com/security/access-control/table-acls/table-acl.html#sql-only-table-access-control" alt="https://docs.databricks.com/security/access-control/table-acls/table-acl.html#sql-only-table-access-control" target="_blank"&gt;https://docs.databricks.com/security/access-control/table-acls/table-acl.html#sql-only-table-access-control&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:05:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-you-create-clusters-via-a-rest-api/m-p/24973#M17382</guid>
      <dc:creator>ManishPatil</dc:creator>
      <dc:date>2021-09-08T13:05:17Z</dc:date>
    </item>
  </channel>
</rss>

