Skip to content

Commit 5a697bd

Browse files
committed
Update Databricks SQL Warehouse docs URLs
1 parent 97b92e1 commit 5a697bd

File tree

11 files changed

+27
-16
lines changed

11 files changed

+27
-16
lines changed

components/databricks/actions/create-sql-warehouse/create-sql-warehouse.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-create-sql-warehouse",
55
name: "Create SQL Warehouse",
6-
description: "Creates a new SQL Warehouse in Databricks. [See the documentation](https://docs.databricks.com/api/workspace/warehouse/create)",
6+
description: "Creates a new SQL Warehouse in Databricks. [See the documentation](https://docs.databricks.com/api/workspace/warehouses/create)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/delete-sql-warehouse/delete-sql-warehouse.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-delete-sql-warehouse",
55
name: "Delete SQL Warehouse",
6-
description: "Deletes a SQL Warehouse by ID. [See the documentation](https://docs.databricks.com/api/workspace/warehouse/delete)",
6+
description: "Deletes a SQL Warehouse by ID. [See the documentation](https://docs.databricks.com/api/workspace/warehouses/delete)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/edit-sql-warehouse/edit-sql-warehouse.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-edit-sql-warehouse",
55
name: "Edit SQL Warehouse",
6-
description: "Edits the configuration of an existing SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouse/edit)",
6+
description: "Edits the configuration of an existing SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouses/edit)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/get-sql-warehouse-config/get-sql-warehouse-config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-get-sql-warehouse-config",
55
name: "Get SQL Warehouse Config",
6-
description: "Retrieves the global configuration for SQL Warehouses. [See docs](https://docs.databricks.com/api/workspace/warehouse/get-config)",
6+
description: "Retrieves the global configuration for SQL Warehouses. [See docs](https://docs.databricks.com/api/workspace/warehouses/getworkspacewarehouseconfig)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/get-sql-warehouse-permissions/get-sql-warehouse-permissions.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-get-sql-warehouse-permissions",
55
name: "Get SQL Warehouse Permissions",
6-
description: "Retrieves the permissions for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouse/get-permissions)",
6+
description: "Retrieves the permissions for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouses/getpermissions)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/get-sql-warehouse/get-sql-warehouse.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-get-sql-warehouse",
55
name: "Get SQL Warehouse",
6-
description: "Retrieves details for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouse/get)",
6+
description: "Retrieves details for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouses/get)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/list-sql-warehouses/list-sql-warehouses.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-list-sql-warehouses",
55
name: "List SQL Warehouses",
6-
description: "Lists all SQL Warehouses available in the Databricks workspace. [See the documentation](https://docs.databricks.com/api/workspace/warehouse/list)",
6+
description: "Lists all SQL Warehouses available in the Databricks workspace. [See the documentation](https://docs.databricks.com/api/workspace/warehouses/list)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/set-sql-warehouse-config/set-sql-warehouse-config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-set-sql-warehouse-config",
55
name: "Set SQL Warehouse Config",
6-
description: "Updates the global configuration for SQL Warehouses. [See docs](https://docs.databricks.com/api/workspace/warehouse/set-config)",
6+
description: "Updates the global configuration for SQL Warehouses. [See docs](https://docs.databricks.com/api/workspace/warehouses/setworkspacewarehouseconfig)",
77
version: "0.0.1",
88
type: "action",
99
props: {

components/databricks/actions/set-sql-warehouse-permissions/set-sql-warehouse-permissions.mjs

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-set-sql-warehouse-permissions",
55
name: "Set SQL Warehouse Permissions",
6-
description: "Updates the permissions for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouse/set-permissions)",
6+
description: "Updates the permissions for a specific SQL Warehouse. [See docs](https://docs.databricks.com/api/workspace/warehouses/setpermissions)",
77
version: "0.0.1",
88
type: "action",
99
props: {
@@ -13,16 +13,27 @@ export default {
1313
label: "Warehouse ID",
1414
description: "The ID of the SQL Warehouse to update permissions for",
1515
},
16-
permissions: {
17-
type: "object",
18-
label: "Permissions",
19-
description: "The permissions object. Example: `{ \"access_control_list\": [{ \"user_name\": \"[email protected]\", \"permission_level\": \"CAN_MANAGE\" }] }`",
16+
accessControlList: {
17+
type: "object[]",
18+
label: "Access Control List",
19+
description: "List of access control entries. Each entry must include one of `user_name`, `group_name`, or `service_principal_name`, and a `permission_level` (`CAN_VIEW`, `CAN_MONITOR`, `CAN_USE`, `CAN_MANAGE`).",
20+
properties: {
21+
user_name: { type: "string", optional: true },
22+
group_name: { type: "string", optional: true },
23+
service_principal_name: { type: "string", optional: true },
24+
permission_level: {
25+
type: "string",
26+
options: ["CAN_VIEW", "CAN_MONITOR", "CAN_USE", "CAN_MANAGE"]
27+
},
28+
},
2029
},
2130
},
2231
async run({ $ }) {
2332
const response = await this.databricks.setSQLWarehousePermissions({
2433
warehouseId: this.warehouseId,
25-
data: this.permissions,
34+
data: {
35+
access_control_list: this.accessControlList,
36+
},
2637
$,
2738
});
2839

components/databricks/actions/start-sql-warehouse/start-sql-warehouse.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import databricks from "../../databricks.app.mjs";
33
export default {
44
key: "databricks-start-sql-warehouse",
55
name: "Start SQL Warehouse",
6-
description: "Starts a SQL Warehouse by ID. [See the documentation](https://docs.databricks.com/api/workspace/warehouse/start)",
6+
description: "Starts a SQL Warehouse by ID. [See the documentation](https://docs.databricks.com/api/workspace/warehouses/start)",
77
version: "0.0.1",
88
type: "action",
99
props: {

0 commit comments

Comments
 (0)