@pulumi/databricks 0.4.1 → 0.4.2-alpha.1657287601
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/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/mwsNetworks.d.ts +3 -3
- package/oboToken.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/permissions.d.ts +3 -0
- package/permissions.js +2 -0
- 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/permissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;A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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAjJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAmJC;AArIG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/pipeline.d.ts
CHANGED
|
@@ -38,10 +38,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
38
38
|
* path: dltDemo.id,
|
|
39
39
|
* },
|
|
40
40
|
* }],
|
|
41
|
-
* filters: {
|
|
42
|
-
* includes: ["com.databricks.include"],
|
|
43
|
-
* excludes: ["com.databricks.exclude"],
|
|
44
|
-
* },
|
|
45
41
|
* continuous: false,
|
|
46
42
|
* });
|
|
47
43
|
* ```
|
|
@@ -80,7 +76,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
80
76
|
static isInstance(obj: any): obj is Pipeline;
|
|
81
77
|
readonly allowDuplicateNames: pulumi.Output<boolean | undefined>;
|
|
82
78
|
/**
|
|
83
|
-
*
|
|
79
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
80
|
+
*/
|
|
81
|
+
readonly channel: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
84
84
|
*/
|
|
85
85
|
readonly clusters: pulumi.Output<outputs.PipelineCluster[] | undefined>;
|
|
86
86
|
/**
|
|
@@ -93,9 +93,17 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
93
93
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
94
94
|
*/
|
|
95
95
|
readonly continuous: pulumi.Output<boolean | undefined>;
|
|
96
|
-
readonly filters: pulumi.Output<outputs.PipelineFilters>;
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
98
|
+
*/
|
|
99
|
+
readonly development: pulumi.Output<boolean | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
102
|
+
*/
|
|
103
|
+
readonly edition: pulumi.Output<string | undefined>;
|
|
104
|
+
readonly filters: pulumi.Output<outputs.PipelineFilters | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
99
107
|
*/
|
|
100
108
|
readonly libraries: pulumi.Output<outputs.PipelineLibrary[] | undefined>;
|
|
101
109
|
/**
|
|
@@ -103,7 +111,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
103
111
|
*/
|
|
104
112
|
readonly name: pulumi.Output<string>;
|
|
105
113
|
/**
|
|
106
|
-
* A
|
|
114
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
115
|
+
*/
|
|
116
|
+
readonly photon: pulumi.Output<boolean | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
107
119
|
*/
|
|
108
120
|
readonly storage: pulumi.Output<string | undefined>;
|
|
109
121
|
/**
|
|
@@ -118,7 +130,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
118
130
|
* @param args The arguments to use to populate this resource's properties.
|
|
119
131
|
* @param opts A bag of options that control this resource's behavior.
|
|
120
132
|
*/
|
|
121
|
-
constructor(name: string, args
|
|
133
|
+
constructor(name: string, args?: PipelineArgs, opts?: pulumi.CustomResourceOptions);
|
|
122
134
|
}
|
|
123
135
|
/**
|
|
124
136
|
* Input properties used for looking up and filtering Pipeline resources.
|
|
@@ -126,7 +138,11 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
126
138
|
export interface PipelineState {
|
|
127
139
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
128
140
|
/**
|
|
129
|
-
*
|
|
141
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
142
|
+
*/
|
|
143
|
+
channel?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
130
146
|
*/
|
|
131
147
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
132
148
|
/**
|
|
@@ -139,9 +155,17 @@ export interface PipelineState {
|
|
|
139
155
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
140
156
|
*/
|
|
141
157
|
continuous?: pulumi.Input<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
160
|
+
*/
|
|
161
|
+
development?: pulumi.Input<boolean>;
|
|
162
|
+
/**
|
|
163
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
164
|
+
*/
|
|
165
|
+
edition?: pulumi.Input<string>;
|
|
142
166
|
filters?: pulumi.Input<inputs.PipelineFilters>;
|
|
143
167
|
/**
|
|
144
|
-
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have `path` attribute.
|
|
168
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
145
169
|
*/
|
|
146
170
|
libraries?: pulumi.Input<pulumi.Input<inputs.PipelineLibrary>[]>;
|
|
147
171
|
/**
|
|
@@ -149,7 +173,11 @@ export interface PipelineState {
|
|
|
149
173
|
*/
|
|
150
174
|
name?: pulumi.Input<string>;
|
|
151
175
|
/**
|
|
152
|
-
* A
|
|
176
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
177
|
+
*/
|
|
178
|
+
photon?: pulumi.Input<boolean>;
|
|
179
|
+
/**
|
|
180
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
153
181
|
*/
|
|
154
182
|
storage?: pulumi.Input<string>;
|
|
155
183
|
/**
|
|
@@ -164,7 +192,11 @@ export interface PipelineState {
|
|
|
164
192
|
export interface PipelineArgs {
|
|
165
193
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
166
194
|
/**
|
|
167
|
-
*
|
|
195
|
+
* optional name of the release channel for Spark version used by DLT pipeline. Supported values are: `current` (default) and `preview`.
|
|
196
|
+
*/
|
|
197
|
+
channel?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that DLT pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-api-guide.html#pipelinesnewcluster).*
|
|
168
200
|
*/
|
|
169
201
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
170
202
|
/**
|
|
@@ -177,9 +209,17 @@ export interface PipelineArgs {
|
|
|
177
209
|
* A flag indicating whether to run the pipeline continuously. The default value is `false`.
|
|
178
210
|
*/
|
|
179
211
|
continuous?: pulumi.Input<boolean>;
|
|
180
|
-
filters: pulumi.Input<inputs.PipelineFilters>;
|
|
181
212
|
/**
|
|
182
|
-
*
|
|
213
|
+
* A flag indicating whether to run the pipeline in development mode. The default value is `false`.
|
|
214
|
+
*/
|
|
215
|
+
development?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* optional name of the [product edition](https://docs.databricks.com/data-engineering/delta-live-tables/delta-live-tables-concepts.html#editions). Supported values are: `core`, `pro`, `advanced` (default).
|
|
218
|
+
*/
|
|
219
|
+
edition?: pulumi.Input<string>;
|
|
220
|
+
filters?: pulumi.Input<inputs.PipelineFilters>;
|
|
221
|
+
/**
|
|
222
|
+
* blocks - Specifies pipeline code and required artifacts. Syntax resembles library configuration block with the addition of a special `notebook` type of library that should have the `path` attribute. *Right now only the `notebook` type is supported.*
|
|
183
223
|
*/
|
|
184
224
|
libraries?: pulumi.Input<pulumi.Input<inputs.PipelineLibrary>[]>;
|
|
185
225
|
/**
|
|
@@ -187,7 +227,11 @@ export interface PipelineArgs {
|
|
|
187
227
|
*/
|
|
188
228
|
name?: pulumi.Input<string>;
|
|
189
229
|
/**
|
|
190
|
-
* A
|
|
230
|
+
* A flag indicating whether to use Photon engine. The default value is `false`.
|
|
231
|
+
*/
|
|
232
|
+
photon?: pulumi.Input<boolean>;
|
|
233
|
+
/**
|
|
234
|
+
* A location on DBFS or cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.*
|
|
191
235
|
*/
|
|
192
236
|
storage?: pulumi.Input<string>;
|
|
193
237
|
/**
|
package/pipeline.js
CHANGED
|
@@ -43,10 +43,6 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* path: dltDemo.id,
|
|
44
44
|
* },
|
|
45
45
|
* }],
|
|
46
|
-
* filters: {
|
|
47
|
-
* includes: ["com.databricks.include"],
|
|
48
|
-
* excludes: ["com.databricks.exclude"],
|
|
49
|
-
* },
|
|
50
46
|
* continuous: false,
|
|
51
47
|
* });
|
|
52
48
|
* ```
|
|
@@ -74,28 +70,33 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
74
70
|
if (opts.id) {
|
|
75
71
|
const state = argsOrState;
|
|
76
72
|
resourceInputs["allowDuplicateNames"] = state ? state.allowDuplicateNames : undefined;
|
|
73
|
+
resourceInputs["channel"] = state ? state.channel : undefined;
|
|
77
74
|
resourceInputs["clusters"] = state ? state.clusters : undefined;
|
|
78
75
|
resourceInputs["configuration"] = state ? state.configuration : undefined;
|
|
79
76
|
resourceInputs["continuous"] = state ? state.continuous : undefined;
|
|
77
|
+
resourceInputs["development"] = state ? state.development : undefined;
|
|
78
|
+
resourceInputs["edition"] = state ? state.edition : undefined;
|
|
80
79
|
resourceInputs["filters"] = state ? state.filters : undefined;
|
|
81
80
|
resourceInputs["libraries"] = state ? state.libraries : undefined;
|
|
82
81
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
82
|
+
resourceInputs["photon"] = state ? state.photon : undefined;
|
|
83
83
|
resourceInputs["storage"] = state ? state.storage : undefined;
|
|
84
84
|
resourceInputs["target"] = state ? state.target : undefined;
|
|
85
85
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
88
|
const args = argsOrState;
|
|
89
|
-
if ((!args || args.filters === undefined) && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'filters'");
|
|
91
|
-
}
|
|
92
89
|
resourceInputs["allowDuplicateNames"] = args ? args.allowDuplicateNames : undefined;
|
|
90
|
+
resourceInputs["channel"] = args ? args.channel : undefined;
|
|
93
91
|
resourceInputs["clusters"] = args ? args.clusters : undefined;
|
|
94
92
|
resourceInputs["configuration"] = args ? args.configuration : undefined;
|
|
95
93
|
resourceInputs["continuous"] = args ? args.continuous : undefined;
|
|
94
|
+
resourceInputs["development"] = args ? args.development : undefined;
|
|
95
|
+
resourceInputs["edition"] = args ? args.edition : undefined;
|
|
96
96
|
resourceInputs["filters"] = args ? args.filters : undefined;
|
|
97
97
|
resourceInputs["libraries"] = args ? args.libraries : undefined;
|
|
98
98
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
99
|
+
resourceInputs["photon"] = args ? args.photon : undefined;
|
|
99
100
|
resourceInputs["storage"] = args ? args.storage : undefined;
|
|
100
101
|
resourceInputs["target"] = args ? args.target : undefined;
|
|
101
102
|
resourceInputs["url"] = undefined /*out*/;
|
package/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAoF/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;Q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AAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA2HC;AA7GG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
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,iFA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AC;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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAsDC;AAxCG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/sqlEndpoint.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,cA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Ac,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;;;;;;;;;;;;;;;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,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;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.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C,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,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
|
}
|