@pulumi/databricks 0.4.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.d.ts +3 -3
- package/cluster.d.ts +12 -12
- package/externalLocation.d.ts +3 -3
- package/getAwsCrossAccountPolicy.d.ts +1 -1
- package/getAwsCrossAccountPolicy.js +1 -1
- package/getCurrentUser.d.ts +1 -0
- package/getCurrentUser.js +1 -0
- package/getCurrentUser.js.map +1 -1
- package/getNodeType.d.ts +3 -0
- package/getNodeType.js +1 -0
- package/getNodeType.js.map +1 -1
- package/getServicePrincipal.d.ts +117 -0
- package/getServicePrincipal.js +43 -0
- package/getServicePrincipal.js.map +1 -0
- package/getServicePrincipals.d.ts +57 -0
- package/getServicePrincipals.js +38 -0
- package/getServicePrincipals.js.map +1 -0
- package/getUser.d.ts +1 -0
- package/getUser.js.map +1 -1
- package/gitCredential.d.ts +0 -9
- package/gitCredential.js.map +1 -1
- package/grants.d.ts +3 -0
- package/grants.js +2 -0
- package/grants.js.map +1 -1
- package/index.d.ts +2 -4
- package/index.js +2 -20
- package/index.js.map +1 -1
- package/instanceProfile.d.ts +2 -2
- package/instanceProfile.js +2 -2
- package/ipAccessList.d.ts +3 -3
- package/library.d.ts +3 -3
- package/library.js +3 -3
- package/metastore.d.ts +60 -3
- package/metastore.js +20 -0
- package/metastore.js.map +1 -1
- package/metastoreDataAccess.d.ts +3 -0
- package/metastoreDataAccess.js +2 -0
- package/metastoreDataAccess.js.map +1 -1
- package/mlflowWebhook.d.ts +3 -3
- package/mwsLogDelivery.d.ts +12 -1
- package/mwsLogDelivery.js +3 -1
- package/mwsLogDelivery.js.map +1 -1
- package/mwsNetworks.d.ts +3 -3
- package/oboToken.d.ts +3 -16
- package/oboToken.js +0 -13
- package/oboToken.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissions.d.ts +86 -2
- package/permissions.js +22 -2
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +60 -16
- package/pipeline.js +8 -7
- package/pipeline.js.map +1 -1
- package/repo.d.ts +6 -6
- package/schema.d.ts +3 -3
- package/sqlDashboard.d.ts +5 -1
- package/sqlDashboard.js +5 -1
- package/sqlDashboard.js.map +1 -1
- package/sqlEndpoint.d.ts +3 -3
- package/sqlGlobalConfig.d.ts +1 -1
- package/sqlGlobalConfig.js +1 -1
- package/sqlQuery.d.ts +5 -1
- package/sqlQuery.js +5 -1
- package/sqlQuery.js.map +1 -1
- package/sqlVisualization.d.ts +5 -1
- package/sqlVisualization.js +5 -1
- package/sqlVisualization.js.map +1 -1
- package/sqlWidget.d.ts +5 -1
- package/sqlWidget.js +5 -1
- package/sqlWidget.js.map +1 -1
- package/storageCredential.d.ts +15 -3
- package/storageCredential.js +13 -3
- package/storageCredential.js.map +1 -1
- package/table.d.ts +3 -3
- package/token.d.ts +1 -1
- package/token.js +1 -1
- package/types/input.d.ts +55 -5
- package/types/output.d.ts +55 -5
- package/user.d.ts +1 -1
- package/user.js +1 -1
- package/userInstanceProfile.d.ts +1 -1
- package/userInstanceProfile.js +1 -1
- package/userRole.d.ts +1 -1
- package/userRole.js +1 -1
- package/workspaceConf.d.ts +3 -3
- package/awsS3Mount.d.ts +0 -50
- package/awsS3Mount.js +0 -63
- package/awsS3Mount.js.map +0 -1
- package/azureAdlsGen1Mount.d.ts +0 -65
- package/azureAdlsGen1Mount.js +0 -85
- package/azureAdlsGen1Mount.js.map +0 -1
- package/azureAdlsGen2Mount.d.ts +0 -68
- package/azureAdlsGen2Mount.js +0 -93
- package/azureAdlsGen2Mount.js.map +0 -1
- package/azureBlobMount.d.ts +0 -62
- package/azureBlobMount.js +0 -83
- package/azureBlobMount.js.map +0 -1
package/repo.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare class Repo extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly gitProvider: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
40
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
40
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If the value changes, repo is re-created.
|
|
41
41
|
*/
|
|
42
42
|
readonly path: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class Repo extends pulumi.CustomResource {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly tag: pulumi.Output<string | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
48
|
+
* The URL of the Git Repository to clone from. If the value changes, repo is re-created.
|
|
49
49
|
*/
|
|
50
50
|
readonly url: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
@@ -74,7 +74,7 @@ export interface RepoState {
|
|
|
74
74
|
*/
|
|
75
75
|
gitProvider?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
77
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If the value changes, repo is re-created.
|
|
78
78
|
*/
|
|
79
79
|
path?: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
@@ -82,7 +82,7 @@ export interface RepoState {
|
|
|
82
82
|
*/
|
|
83
83
|
tag?: pulumi.Input<string>;
|
|
84
84
|
/**
|
|
85
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
85
|
+
* The URL of the Git Repository to clone from. If the value changes, repo is re-created.
|
|
86
86
|
*/
|
|
87
87
|
url?: pulumi.Input<string>;
|
|
88
88
|
}
|
|
@@ -103,7 +103,7 @@ export interface RepoArgs {
|
|
|
103
103
|
*/
|
|
104
104
|
gitProvider?: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
|
-
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If value changes, repo is re-created.
|
|
106
|
+
* path to put the checked out Repo. If not specified, then repo will be created in the user's repo directory (`/Repos/<username>/...`). If the value changes, repo is re-created.
|
|
107
107
|
*/
|
|
108
108
|
path?: pulumi.Input<string>;
|
|
109
109
|
/**
|
|
@@ -111,7 +111,7 @@ export interface RepoArgs {
|
|
|
111
111
|
*/
|
|
112
112
|
tag?: pulumi.Input<string>;
|
|
113
113
|
/**
|
|
114
|
-
* The URL of the Git Repository to clone from. If value changes, repo is re-created.
|
|
114
|
+
* The URL of the Git Repository to clone from. If the value changes, repo is re-created.
|
|
115
115
|
*/
|
|
116
116
|
url: pulumi.Input<string>;
|
|
117
117
|
}
|
package/schema.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
readonly name: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
76
|
-
* Username/groupname
|
|
76
|
+
* Username/groupname/sp applicationId schema owner.
|
|
77
77
|
*/
|
|
78
78
|
readonly owner: pulumi.Output<string>;
|
|
79
79
|
/**
|
|
@@ -109,7 +109,7 @@ export interface SchemaState {
|
|
|
109
109
|
*/
|
|
110
110
|
name?: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
112
|
-
* Username/groupname
|
|
112
|
+
* Username/groupname/sp applicationId schema owner.
|
|
113
113
|
*/
|
|
114
114
|
owner?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
@@ -137,7 +137,7 @@ export interface SchemaArgs {
|
|
|
137
137
|
*/
|
|
138
138
|
name?: pulumi.Input<string>;
|
|
139
139
|
/**
|
|
140
|
-
* Username/groupname
|
|
140
|
+
* Username/groupname/sp applicationId schema owner.
|
|
141
141
|
*/
|
|
142
142
|
owner?: pulumi.Input<string>;
|
|
143
143
|
/**
|
package/sqlDashboard.d.ts
CHANGED
|
@@ -45,7 +45,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
45
|
*
|
|
46
46
|
* ## Import
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* You can import a `databricks_sql_dashboard` resource with ID like the followingbash
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import databricks:index/sqlDashboard:SqlDashboard this <dashboard-id>
|
|
52
|
+
* ```
|
|
49
53
|
*/
|
|
50
54
|
export declare class SqlDashboard extends pulumi.CustomResource {
|
|
51
55
|
/**
|
package/sqlDashboard.js
CHANGED
|
@@ -51,7 +51,11 @@ const utilities = require("./utilities");
|
|
|
51
51
|
*
|
|
52
52
|
* ## Import
|
|
53
53
|
*
|
|
54
|
-
*
|
|
54
|
+
* You can import a `databricks_sql_dashboard` resource with ID like the followingbash
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import databricks:index/sqlDashboard:SqlDashboard this <dashboard-id>
|
|
58
|
+
* ```
|
|
55
59
|
*/
|
|
56
60
|
class SqlDashboard extends pulumi.CustomResource {
|
|
57
61
|
constructor(name, argsOrState, opts) {
|
package/sqlDashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlDashboard.js","sourceRoot":"","sources":["../sqlDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlDashboard.js","sourceRoot":"","sources":["../sqlDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAuCnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,C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ndpoint.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare class SqlEndpoint extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
readonly clusterSize: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
76
|
-
* ID of the data source for this endpoint. This is used to bind an
|
|
76
|
+
* ID of the data source for this endpoint. This is used to bind an Databricks SQL query to an endpoint.
|
|
77
77
|
*/
|
|
78
78
|
readonly dataSourceId: pulumi.Output<string>;
|
|
79
79
|
/**
|
|
@@ -141,7 +141,7 @@ export interface SqlEndpointState {
|
|
|
141
141
|
*/
|
|
142
142
|
clusterSize?: pulumi.Input<string>;
|
|
143
143
|
/**
|
|
144
|
-
* ID of the data source for this endpoint. This is used to bind an
|
|
144
|
+
* ID of the data source for this endpoint. This is used to bind an Databricks SQL query to an endpoint.
|
|
145
145
|
*/
|
|
146
146
|
dataSourceId?: pulumi.Input<string>;
|
|
147
147
|
/**
|
|
@@ -201,7 +201,7 @@ export interface SqlEndpointArgs {
|
|
|
201
201
|
*/
|
|
202
202
|
clusterSize: pulumi.Input<string>;
|
|
203
203
|
/**
|
|
204
|
-
* ID of the data source for this endpoint. This is used to bind an
|
|
204
|
+
* ID of the data source for this endpoint. This is used to bind an Databricks SQL query to an endpoint.
|
|
205
205
|
*/
|
|
206
206
|
dataSourceId?: pulumi.Input<string>;
|
|
207
207
|
/**
|
package/sqlGlobalConfig.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource configures the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.SqlEndpoint of workspace. *Please note that changing parameters of this
|
|
3
|
+
* This resource configures the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.SqlEndpoint of workspace. *Please note that changing parameters of this resource will restart all running databricks_sql_endpoint.* To use this resource you need to be an administrator.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
* ### AWS example
|
package/sqlGlobalConfig.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.SqlGlobalConfig = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource configures the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.SqlEndpoint of workspace. *Please note that changing parameters of this
|
|
9
|
+
* This resource configures the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.SqlEndpoint of workspace. *Please note that changing parameters of this resource will restart all running databricks_sql_endpoint.* To use this resource you need to be an administrator.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
* ### AWS example
|
package/sqlQuery.d.ts
CHANGED
|
@@ -68,7 +68,11 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
68
68
|
*
|
|
69
69
|
* ## Import
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* You can import a `databricks_sql_query` resource with ID like the followingbash
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import databricks:index/sqlQuery:SqlQuery this <query-id>
|
|
75
|
+
* ```
|
|
72
76
|
*/
|
|
73
77
|
export declare class SqlQuery extends pulumi.CustomResource {
|
|
74
78
|
/**
|
package/sqlQuery.js
CHANGED
|
@@ -73,7 +73,11 @@ const utilities = require("./utilities");
|
|
|
73
73
|
*
|
|
74
74
|
* ## Import
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
* You can import a `databricks_sql_query` resource with ID like the followingbash
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import databricks:index/sqlQuery:SqlQuery this <query-id>
|
|
80
|
+
* ```
|
|
77
81
|
*/
|
|
78
82
|
class SqlQuery extends pulumi.CustomResource {
|
|
79
83
|
constructor(name, argsOrState, opts) {
|
package/sqlQuery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlQuery.js","sourceRoot":"","sources":["../sqlQuery.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlQuery.js","sourceRoot":"","sources":["../sqlQuery.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6C/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CA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K,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA8EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/sqlVisualization.d.ts
CHANGED
|
@@ -48,7 +48,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
48
48
|
*
|
|
49
49
|
* ## Import
|
|
50
50
|
*
|
|
51
|
-
*
|
|
51
|
+
* You can import a `databricks_sql_visualization` resource with ID like the followingbash
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import databricks:index/sqlVisualization:SqlVisualization this <query-id>/<visualization-id>
|
|
55
|
+
* ```
|
|
52
56
|
*/
|
|
53
57
|
export declare class SqlVisualization extends pulumi.CustomResource {
|
|
54
58
|
/**
|
package/sqlVisualization.js
CHANGED
|
@@ -54,7 +54,11 @@ const utilities = require("./utilities");
|
|
|
54
54
|
*
|
|
55
55
|
* ## Import
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* You can import a `databricks_sql_visualization` resource with ID like the followingbash
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import databricks:index/sqlVisualization:SqlVisualization this <query-id>/<visualization-id>
|
|
61
|
+
* ```
|
|
58
62
|
*/
|
|
59
63
|
class SqlVisualization extends pulumi.CustomResource {
|
|
60
64
|
constructor(name, argsOrState, opts) {
|
package/sqlVisualization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlVisualization.js","sourceRoot":"","sources":["../sqlVisualization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlVisualization.js","sourceRoot":"","sources":["../sqlVisualization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA2CvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC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AC;IACjE,CAAC;;AA1BL,4CA2EC;AA7DG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
package/sqlWidget.d.ts
CHANGED
|
@@ -46,7 +46,11 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
46
46
|
*
|
|
47
47
|
* ## Import
|
|
48
48
|
*
|
|
49
|
-
*
|
|
49
|
+
* You can import a `databricks_sql_widget` resource with ID like the followingbash
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import databricks:index/sqlWidget:SqlWidget this <dashboard-id>/<widget-id>
|
|
53
|
+
* ```
|
|
50
54
|
*/
|
|
51
55
|
export declare class SqlWidget extends pulumi.CustomResource {
|
|
52
56
|
/**
|
package/sqlWidget.js
CHANGED
|
@@ -51,7 +51,11 @@ const utilities = require("./utilities");
|
|
|
51
51
|
*
|
|
52
52
|
* ## Import
|
|
53
53
|
*
|
|
54
|
-
*
|
|
54
|
+
* You can import a `databricks_sql_widget` resource with ID like the followingbash
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import databricks:index/sqlWidget:SqlWidget this <dashboard-id>/<widget-id>
|
|
58
|
+
* ```
|
|
55
59
|
*/
|
|
56
60
|
class SqlWidget extends pulumi.CustomResource {
|
|
57
61
|
constructor(name, argsOrState, opts) {
|
package/sqlWidget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlWidget.js","sourceRoot":"","sources":["../sqlWidget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlWidget.js","sourceRoot":"","sources":["../sqlWidget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG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B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA2EC;AA7DG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
package/storageCredential.d.ts
CHANGED
|
@@ -36,16 +36,22 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
37
|
* import * as databricks from "@pulumi/databricks";
|
|
38
38
|
*
|
|
39
|
-
* const
|
|
39
|
+
* const externalSp = new databricks.StorageCredential("externalSp", {
|
|
40
40
|
* azureServicePrincipal: {
|
|
41
41
|
* directoryId: _var.tenant_id,
|
|
42
42
|
* applicationId: azuread_application.ext_cred.application_id,
|
|
43
43
|
* clientSecret: azuread_application_password.ext_cred.value,
|
|
44
44
|
* },
|
|
45
|
-
* comment: "
|
|
45
|
+
* comment: "SP credential managed by TF",
|
|
46
|
+
* });
|
|
47
|
+
* const externalMi = new databricks.StorageCredential("externalMi", {
|
|
48
|
+
* azureManagedIdentity: {
|
|
49
|
+
* accessConnectorId: _var.access_connector_id,
|
|
50
|
+
* },
|
|
51
|
+
* comment: "Managed identity credential managed by TF",
|
|
46
52
|
* });
|
|
47
53
|
* const externalCreds = new databricks.Grants("externalCreds", {
|
|
48
|
-
* storageCredential: external.id,
|
|
54
|
+
* storageCredential: databricks_storage_credential.external.id,
|
|
49
55
|
* grants: [{
|
|
50
56
|
* principal: "Data Engineers",
|
|
51
57
|
* privileges: ["CREATE_TABLE"],
|
|
@@ -78,6 +84,7 @@ export declare class StorageCredential extends pulumi.CustomResource {
|
|
|
78
84
|
*/
|
|
79
85
|
static isInstance(obj: any): obj is StorageCredential;
|
|
80
86
|
readonly awsIamRole: pulumi.Output<outputs.StorageCredentialAwsIamRole | undefined>;
|
|
87
|
+
readonly azureManagedIdentity: pulumi.Output<outputs.StorageCredentialAzureManagedIdentity | undefined>;
|
|
81
88
|
readonly azureServicePrincipal: pulumi.Output<outputs.StorageCredentialAzureServicePrincipal | undefined>;
|
|
82
89
|
readonly comment: pulumi.Output<string | undefined>;
|
|
83
90
|
readonly metastoreId: pulumi.Output<string>;
|
|
@@ -85,6 +92,7 @@ export declare class StorageCredential extends pulumi.CustomResource {
|
|
|
85
92
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
86
93
|
*/
|
|
87
94
|
readonly name: pulumi.Output<string>;
|
|
95
|
+
readonly owner: pulumi.Output<string>;
|
|
88
96
|
/**
|
|
89
97
|
* Create a StorageCredential resource with the given unique name, arguments, and options.
|
|
90
98
|
*
|
|
@@ -99,6 +107,7 @@ export declare class StorageCredential extends pulumi.CustomResource {
|
|
|
99
107
|
*/
|
|
100
108
|
export interface StorageCredentialState {
|
|
101
109
|
awsIamRole?: pulumi.Input<inputs.StorageCredentialAwsIamRole>;
|
|
110
|
+
azureManagedIdentity?: pulumi.Input<inputs.StorageCredentialAzureManagedIdentity>;
|
|
102
111
|
azureServicePrincipal?: pulumi.Input<inputs.StorageCredentialAzureServicePrincipal>;
|
|
103
112
|
comment?: pulumi.Input<string>;
|
|
104
113
|
metastoreId?: pulumi.Input<string>;
|
|
@@ -106,12 +115,14 @@ export interface StorageCredentialState {
|
|
|
106
115
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
107
116
|
*/
|
|
108
117
|
name?: pulumi.Input<string>;
|
|
118
|
+
owner?: pulumi.Input<string>;
|
|
109
119
|
}
|
|
110
120
|
/**
|
|
111
121
|
* The set of arguments for constructing a StorageCredential resource.
|
|
112
122
|
*/
|
|
113
123
|
export interface StorageCredentialArgs {
|
|
114
124
|
awsIamRole?: pulumi.Input<inputs.StorageCredentialAwsIamRole>;
|
|
125
|
+
azureManagedIdentity?: pulumi.Input<inputs.StorageCredentialAzureManagedIdentity>;
|
|
115
126
|
azureServicePrincipal?: pulumi.Input<inputs.StorageCredentialAzureServicePrincipal>;
|
|
116
127
|
comment?: pulumi.Input<string>;
|
|
117
128
|
metastoreId?: pulumi.Input<string>;
|
|
@@ -119,4 +130,5 @@ export interface StorageCredentialArgs {
|
|
|
119
130
|
* Name of Storage Credentials, which must be unique within the databricks_metastore. Change forces creation of a new resource.
|
|
120
131
|
*/
|
|
121
132
|
name?: pulumi.Input<string>;
|
|
133
|
+
owner?: pulumi.Input<string>;
|
|
122
134
|
}
|
package/storageCredential.js
CHANGED
|
@@ -41,16 +41,22 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
42
|
* import * as databricks from "@pulumi/databricks";
|
|
43
43
|
*
|
|
44
|
-
* const
|
|
44
|
+
* const externalSp = new databricks.StorageCredential("externalSp", {
|
|
45
45
|
* azureServicePrincipal: {
|
|
46
46
|
* directoryId: _var.tenant_id,
|
|
47
47
|
* applicationId: azuread_application.ext_cred.application_id,
|
|
48
48
|
* clientSecret: azuread_application_password.ext_cred.value,
|
|
49
49
|
* },
|
|
50
|
-
* comment: "
|
|
50
|
+
* comment: "SP credential managed by TF",
|
|
51
|
+
* });
|
|
52
|
+
* const externalMi = new databricks.StorageCredential("externalMi", {
|
|
53
|
+
* azureManagedIdentity: {
|
|
54
|
+
* accessConnectorId: _var.access_connector_id,
|
|
55
|
+
* },
|
|
56
|
+
* comment: "Managed identity credential managed by TF",
|
|
51
57
|
* });
|
|
52
58
|
* const externalCreds = new databricks.Grants("externalCreds", {
|
|
53
|
-
* storageCredential: external.id,
|
|
59
|
+
* storageCredential: databricks_storage_credential.external.id,
|
|
54
60
|
* grants: [{
|
|
55
61
|
* principal: "Data Engineers",
|
|
56
62
|
* privileges: ["CREATE_TABLE"],
|
|
@@ -73,18 +79,22 @@ class StorageCredential extends pulumi.CustomResource {
|
|
|
73
79
|
if (opts.id) {
|
|
74
80
|
const state = argsOrState;
|
|
75
81
|
resourceInputs["awsIamRole"] = state ? state.awsIamRole : undefined;
|
|
82
|
+
resourceInputs["azureManagedIdentity"] = state ? state.azureManagedIdentity : undefined;
|
|
76
83
|
resourceInputs["azureServicePrincipal"] = state ? state.azureServicePrincipal : undefined;
|
|
77
84
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
78
85
|
resourceInputs["metastoreId"] = state ? state.metastoreId : undefined;
|
|
79
86
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
87
|
+
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
80
88
|
}
|
|
81
89
|
else {
|
|
82
90
|
const args = argsOrState;
|
|
83
91
|
resourceInputs["awsIamRole"] = args ? args.awsIamRole : undefined;
|
|
92
|
+
resourceInputs["azureManagedIdentity"] = args ? args.azureManagedIdentity : undefined;
|
|
84
93
|
resourceInputs["azureServicePrincipal"] = args ? args.azureServicePrincipal : undefined;
|
|
85
94
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
86
95
|
resourceInputs["metastoreId"] = args ? args.metastoreId : undefined;
|
|
87
96
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
97
|
+
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
88
98
|
}
|
|
89
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
100
|
super(StorageCredential.__pulumiType, name, resourceInputs, opts);
|
package/storageCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
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KD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAwEC;AA1DG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/table.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
105
105
|
*/
|
|
106
106
|
readonly name: pulumi.Output<string>;
|
|
107
107
|
/**
|
|
108
|
-
* Username/groupname
|
|
108
|
+
* Username/groupname/sp applicationId Table owner.
|
|
109
109
|
*/
|
|
110
110
|
readonly owner: pulumi.Output<string>;
|
|
111
111
|
/**
|
|
@@ -165,7 +165,7 @@ export interface TableState {
|
|
|
165
165
|
*/
|
|
166
166
|
name?: pulumi.Input<string>;
|
|
167
167
|
/**
|
|
168
|
-
* Username/groupname
|
|
168
|
+
* Username/groupname/sp applicationId Table owner.
|
|
169
169
|
*/
|
|
170
170
|
owner?: pulumi.Input<string>;
|
|
171
171
|
/**
|
|
@@ -217,7 +217,7 @@ export interface TableArgs {
|
|
|
217
217
|
*/
|
|
218
218
|
name?: pulumi.Input<string>;
|
|
219
219
|
/**
|
|
220
|
-
* Username/groupname
|
|
220
|
+
* Username/groupname/sp applicationId Table owner.
|
|
221
221
|
*/
|
|
222
222
|
owner?: pulumi.Input<string>;
|
|
223
223
|
/**
|
package/token.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user
|
|
3
|
+
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user that is authenticated with the provider. Most likely you should use databricks.OboToken to create [On-Behalf-Of tokens](https://docs.databricks.com/administration-guide/users-groups/service-principals.html#manage-personal-access-tokens-for-a-service-principal) for a databricks.ServicePrincipal in Databricks workspaces on AWS. Databricks workspaces on other clouds use their own native OAuth token flows.
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
package/token.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Token = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user
|
|
9
|
+
* This resource creates [Personal Access Tokens](https://docs.databricks.com/sql/user/security/personal-access-tokens.html) for the same user that is authenticated with the provider. Most likely you should use databricks.OboToken to create [On-Behalf-Of tokens](https://docs.databricks.com/administration-guide/users-groups/service-principals.html#manage-personal-access-tokens-for-a-service-principal) for a databricks.ServicePrincipal in Databricks workspaces on AWS. Databricks workspaces on other clouds use their own native OAuth token flows.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/types/input.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export interface InstancePoolAwsAttributes {
|
|
|
109
109
|
*/
|
|
110
110
|
spotBidPricePercent?: pulumi.Input<number>;
|
|
111
111
|
/**
|
|
112
|
-
* (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of
|
|
112
|
+
* (String) Identifier for the availability zone/datacenter in which the instance pool resides. This string is of the form like `"us-west-2a"`. The provided availability zone must be in the same region as the Databricks deployment. For example, `"us-west-2a"` is not a valid zone ID if the Databricks deployment resides in the `"us-east-1"` region. This is an optional field. If not specified, a default zone is used. You can find the list of available zones as well as the default value by using the [List Zones API](https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterservicelistavailablezones).
|
|
113
113
|
*/
|
|
114
114
|
zoneId?: pulumi.Input<string>;
|
|
115
115
|
}
|
|
@@ -119,7 +119,7 @@ export interface InstancePoolAzureAttributes {
|
|
|
119
119
|
*/
|
|
120
120
|
availability?: pulumi.Input<string>;
|
|
121
121
|
/**
|
|
122
|
-
* The max price for Azure spot instances. Use `-1` to specify lowest price.
|
|
122
|
+
* The max price for Azure spot instances. Use `-1` to specify the lowest price.
|
|
123
123
|
*/
|
|
124
124
|
spotBidMaxPrice?: pulumi.Input<number>;
|
|
125
125
|
}
|
|
@@ -526,6 +526,7 @@ export interface JobSparkSubmitTask {
|
|
|
526
526
|
parameters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
527
527
|
}
|
|
528
528
|
export interface JobTask {
|
|
529
|
+
dbtTask?: pulumi.Input<inputs.JobTaskDbtTask>;
|
|
529
530
|
dependsOns?: pulumi.Input<pulumi.Input<inputs.JobTaskDependsOn>[]>;
|
|
530
531
|
description?: pulumi.Input<string>;
|
|
531
532
|
/**
|
|
@@ -566,12 +567,18 @@ export interface JobTask {
|
|
|
566
567
|
sparkJarTask?: pulumi.Input<inputs.JobTaskSparkJarTask>;
|
|
567
568
|
sparkPythonTask?: pulumi.Input<inputs.JobTaskSparkPythonTask>;
|
|
568
569
|
sparkSubmitTask?: pulumi.Input<inputs.JobTaskSparkSubmitTask>;
|
|
570
|
+
sqlTask?: pulumi.Input<inputs.JobTaskSqlTask>;
|
|
569
571
|
taskKey?: pulumi.Input<string>;
|
|
570
572
|
/**
|
|
571
573
|
* (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
|
|
572
574
|
*/
|
|
573
575
|
timeoutSeconds?: pulumi.Input<number>;
|
|
574
576
|
}
|
|
577
|
+
export interface JobTaskDbtTask {
|
|
578
|
+
commands: pulumi.Input<pulumi.Input<string>[]>;
|
|
579
|
+
projectDirectory?: pulumi.Input<string>;
|
|
580
|
+
schema?: pulumi.Input<string>;
|
|
581
|
+
}
|
|
575
582
|
export interface JobTaskDependsOn {
|
|
576
583
|
taskKey?: pulumi.Input<string>;
|
|
577
584
|
}
|
|
@@ -791,6 +798,27 @@ export interface JobTaskSparkSubmitTask {
|
|
|
791
798
|
*/
|
|
792
799
|
parameters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
793
800
|
}
|
|
801
|
+
export interface JobTaskSqlTask {
|
|
802
|
+
alert?: pulumi.Input<inputs.JobTaskSqlTaskAlert>;
|
|
803
|
+
dashboard?: pulumi.Input<inputs.JobTaskSqlTaskDashboard>;
|
|
804
|
+
/**
|
|
805
|
+
* Parameters for the task
|
|
806
|
+
*/
|
|
807
|
+
parameters?: pulumi.Input<{
|
|
808
|
+
[key: string]: any;
|
|
809
|
+
}>;
|
|
810
|
+
query?: pulumi.Input<inputs.JobTaskSqlTaskQuery>;
|
|
811
|
+
warehouseId?: pulumi.Input<string>;
|
|
812
|
+
}
|
|
813
|
+
export interface JobTaskSqlTaskAlert {
|
|
814
|
+
alertId: pulumi.Input<string>;
|
|
815
|
+
}
|
|
816
|
+
export interface JobTaskSqlTaskDashboard {
|
|
817
|
+
dashboardId: pulumi.Input<string>;
|
|
818
|
+
}
|
|
819
|
+
export interface JobTaskSqlTaskQuery {
|
|
820
|
+
queryId: pulumi.Input<string>;
|
|
821
|
+
}
|
|
794
822
|
export interface LibraryCran {
|
|
795
823
|
package: pulumi.Input<string>;
|
|
796
824
|
repo?: pulumi.Input<string>;
|
|
@@ -810,6 +838,12 @@ export interface MetastoreDataAccessAwsIamRole {
|
|
|
810
838
|
*/
|
|
811
839
|
roleArn: pulumi.Input<string>;
|
|
812
840
|
}
|
|
841
|
+
export interface MetastoreDataAccessAzureManagedIdentity {
|
|
842
|
+
/**
|
|
843
|
+
* The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`
|
|
844
|
+
*/
|
|
845
|
+
accessConnectorId: pulumi.Input<string>;
|
|
846
|
+
}
|
|
813
847
|
export interface MetastoreDataAccessAzureServicePrincipal {
|
|
814
848
|
/**
|
|
815
849
|
* The application ID of the application registration within the referenced AAD tenant
|
|
@@ -927,7 +961,8 @@ export interface MwsWorkspacesExternalCustomerInfo {
|
|
|
927
961
|
}
|
|
928
962
|
export interface MwsWorkspacesNetwork {
|
|
929
963
|
gcpCommonNetworkConfig: pulumi.Input<inputs.MwsWorkspacesNetworkGcpCommonNetworkConfig>;
|
|
930
|
-
gcpManagedNetworkConfig
|
|
964
|
+
gcpManagedNetworkConfig?: pulumi.Input<inputs.MwsWorkspacesNetworkGcpManagedNetworkConfig>;
|
|
965
|
+
networkId?: pulumi.Input<string>;
|
|
931
966
|
}
|
|
932
967
|
export interface MwsWorkspacesNetworkGcpCommonNetworkConfig {
|
|
933
968
|
gkeClusterMasterIpRange: pulumi.Input<string>;
|
|
@@ -946,16 +981,19 @@ export interface MwsWorkspacesToken {
|
|
|
946
981
|
}
|
|
947
982
|
export interface PermissionsAccessControl {
|
|
948
983
|
/**
|
|
949
|
-
* name of the group
|
|
984
|
+
* name of the group. We recommend setting permissions on groups.
|
|
950
985
|
*/
|
|
951
986
|
groupName?: pulumi.Input<string>;
|
|
952
987
|
/**
|
|
953
988
|
* permission level according to specific resource. See examples above for the reference.
|
|
954
989
|
*/
|
|
955
990
|
permissionLevel: pulumi.Input<string>;
|
|
991
|
+
/**
|
|
992
|
+
* Application ID of the service_principal.
|
|
993
|
+
*/
|
|
956
994
|
servicePrincipalName?: pulumi.Input<string>;
|
|
957
995
|
/**
|
|
958
|
-
* name of the user
|
|
996
|
+
* name of the user.
|
|
959
997
|
*/
|
|
960
998
|
userName?: pulumi.Input<string>;
|
|
961
999
|
}
|
|
@@ -966,7 +1004,9 @@ export interface PipelineCluster {
|
|
|
966
1004
|
customTags?: pulumi.Input<{
|
|
967
1005
|
[key: string]: any;
|
|
968
1006
|
}>;
|
|
1007
|
+
driverInstancePoolId?: pulumi.Input<string>;
|
|
969
1008
|
driverNodeTypeId?: pulumi.Input<string>;
|
|
1009
|
+
gcpAttributes?: pulumi.Input<inputs.PipelineClusterGcpAttributes>;
|
|
970
1010
|
initScripts?: pulumi.Input<pulumi.Input<inputs.PipelineClusterInitScript>[]>;
|
|
971
1011
|
instancePoolId?: pulumi.Input<string>;
|
|
972
1012
|
label?: pulumi.Input<string>;
|
|
@@ -985,6 +1025,7 @@ export interface PipelineClusterAutoscale {
|
|
|
985
1025
|
minWorkers?: pulumi.Input<number>;
|
|
986
1026
|
}
|
|
987
1027
|
export interface PipelineClusterAwsAttributes {
|
|
1028
|
+
firstOnDemand?: pulumi.Input<number>;
|
|
988
1029
|
instanceProfileArn?: pulumi.Input<string>;
|
|
989
1030
|
zoneId?: pulumi.Input<string>;
|
|
990
1031
|
}
|
|
@@ -1004,6 +1045,9 @@ export interface PipelineClusterClusterLogConfS3 {
|
|
|
1004
1045
|
kmsKey?: pulumi.Input<string>;
|
|
1005
1046
|
region?: pulumi.Input<string>;
|
|
1006
1047
|
}
|
|
1048
|
+
export interface PipelineClusterGcpAttributes {
|
|
1049
|
+
googleServiceAccount?: pulumi.Input<string>;
|
|
1050
|
+
}
|
|
1007
1051
|
export interface PipelineClusterInitScript {
|
|
1008
1052
|
dbfs?: pulumi.Input<inputs.PipelineClusterInitScriptDbfs>;
|
|
1009
1053
|
file?: pulumi.Input<inputs.PipelineClusterInitScriptFile>;
|
|
@@ -1181,6 +1225,12 @@ export interface StorageCredentialAwsIamRole {
|
|
|
1181
1225
|
*/
|
|
1182
1226
|
roleArn: pulumi.Input<string>;
|
|
1183
1227
|
}
|
|
1228
|
+
export interface StorageCredentialAzureManagedIdentity {
|
|
1229
|
+
/**
|
|
1230
|
+
* The Resource ID of the Azure Databricks Access Connector resource, of the form `/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name`
|
|
1231
|
+
*/
|
|
1232
|
+
accessConnectorId: pulumi.Input<string>;
|
|
1233
|
+
}
|
|
1184
1234
|
export interface StorageCredentialAzureServicePrincipal {
|
|
1185
1235
|
/**
|
|
1186
1236
|
* The application ID of the application registration within the referenced AAD tenant
|