@pulumi/databricks 1.58.0-alpha.1736850074 → 1.58.0-alpha.1737486672
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/cluster.d.ts +42 -6
- package/cluster.js.map +1 -1
- package/externalLocation.d.ts +54 -0
- package/externalLocation.js +14 -0
- package/externalLocation.js.map +1 -1
- package/grants.d.ts +11 -11
- package/grants.js +11 -11
- package/job.d.ts +9 -0
- package/job.js.map +1 -1
- package/package.json +2 -2
- package/permissions.d.ts +1 -1
- package/permissions.js +1 -1
- package/sqlTable.d.ts +34 -32
- package/sqlTable.js +4 -2
- package/sqlTable.js.map +1 -1
- package/types/input.d.ts +27 -3
- package/types/output.d.ts +27 -3
package/cluster.d.ts
CHANGED
|
@@ -74,7 +74,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
74
74
|
[key: string]: string;
|
|
75
75
|
} | undefined>;
|
|
76
76
|
/**
|
|
77
|
-
* Select the security features of the cluster. [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`.
|
|
77
|
+
* Select the security features of the cluster (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#data_security_mode) for full list of values). [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`. If `kind` is specified, then the following options are available:
|
|
78
|
+
* * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration.
|
|
79
|
+
* * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`.
|
|
80
|
+
* * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
|
|
78
81
|
*/
|
|
79
82
|
readonly dataSecurityMode: pulumi.Output<string | undefined>;
|
|
80
83
|
/**
|
|
@@ -114,7 +117,13 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
114
117
|
* boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).
|
|
115
118
|
*/
|
|
116
119
|
readonly isPinned: pulumi.Output<boolean | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* When set to true, Databricks will automatically set single node related `customTags`, `sparkConf`, and `numWorkers`.
|
|
122
|
+
*/
|
|
117
123
|
readonly isSingleNode: pulumi.Output<boolean | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* The kind of compute described by this compute specification. Possible values (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#kind) for full list): `CLASSIC_PREVIEW` (if corresponding public preview is enabled).
|
|
126
|
+
*/
|
|
118
127
|
readonly kind: pulumi.Output<string | undefined>;
|
|
119
128
|
readonly libraries: pulumi.Output<outputs.ClusterLibrary[] | undefined>;
|
|
120
129
|
/**
|
|
@@ -167,7 +176,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
167
176
|
*/
|
|
168
177
|
readonly runtimeEngine: pulumi.Output<string | undefined>;
|
|
169
178
|
/**
|
|
170
|
-
* The optional user name of the user to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
179
|
+
* The optional user name of the user (or group name if `kind` if specified) to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
171
180
|
*/
|
|
172
181
|
readonly singleUserName: pulumi.Output<string | undefined>;
|
|
173
182
|
/**
|
|
@@ -197,6 +206,9 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
197
206
|
*/
|
|
198
207
|
readonly state: pulumi.Output<string>;
|
|
199
208
|
readonly url: pulumi.Output<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
211
|
+
*/
|
|
200
212
|
readonly useMlRuntime: pulumi.Output<boolean | undefined>;
|
|
201
213
|
readonly workloadType: pulumi.Output<outputs.ClusterWorkloadType | undefined>;
|
|
202
214
|
/**
|
|
@@ -258,7 +270,10 @@ export interface ClusterState {
|
|
|
258
270
|
[key: string]: pulumi.Input<string>;
|
|
259
271
|
}>;
|
|
260
272
|
/**
|
|
261
|
-
* Select the security features of the cluster. [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`.
|
|
273
|
+
* Select the security features of the cluster (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#data_security_mode) for full list of values). [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`. If `kind` is specified, then the following options are available:
|
|
274
|
+
* * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration.
|
|
275
|
+
* * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`.
|
|
276
|
+
* * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
|
|
262
277
|
*/
|
|
263
278
|
dataSecurityMode?: pulumi.Input<string>;
|
|
264
279
|
/**
|
|
@@ -298,7 +313,13 @@ export interface ClusterState {
|
|
|
298
313
|
* boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).
|
|
299
314
|
*/
|
|
300
315
|
isPinned?: pulumi.Input<boolean>;
|
|
316
|
+
/**
|
|
317
|
+
* When set to true, Databricks will automatically set single node related `customTags`, `sparkConf`, and `numWorkers`.
|
|
318
|
+
*/
|
|
301
319
|
isSingleNode?: pulumi.Input<boolean>;
|
|
320
|
+
/**
|
|
321
|
+
* The kind of compute described by this compute specification. Possible values (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#kind) for full list): `CLASSIC_PREVIEW` (if corresponding public preview is enabled).
|
|
322
|
+
*/
|
|
302
323
|
kind?: pulumi.Input<string>;
|
|
303
324
|
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
304
325
|
/**
|
|
@@ -351,7 +372,7 @@ export interface ClusterState {
|
|
|
351
372
|
*/
|
|
352
373
|
runtimeEngine?: pulumi.Input<string>;
|
|
353
374
|
/**
|
|
354
|
-
* The optional user name of the user to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
375
|
+
* The optional user name of the user (or group name if `kind` if specified) to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
355
376
|
*/
|
|
356
377
|
singleUserName?: pulumi.Input<string>;
|
|
357
378
|
/**
|
|
@@ -381,6 +402,9 @@ export interface ClusterState {
|
|
|
381
402
|
*/
|
|
382
403
|
state?: pulumi.Input<string>;
|
|
383
404
|
url?: pulumi.Input<string>;
|
|
405
|
+
/**
|
|
406
|
+
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
407
|
+
*/
|
|
384
408
|
useMlRuntime?: pulumi.Input<boolean>;
|
|
385
409
|
workloadType?: pulumi.Input<inputs.ClusterWorkloadType>;
|
|
386
410
|
}
|
|
@@ -433,7 +457,10 @@ export interface ClusterArgs {
|
|
|
433
457
|
[key: string]: pulumi.Input<string>;
|
|
434
458
|
}>;
|
|
435
459
|
/**
|
|
436
|
-
* Select the security features of the cluster. [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`.
|
|
460
|
+
* Select the security features of the cluster (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#data_security_mode) for full list of values). [Unity Catalog requires](https://docs.databricks.com/data-governance/unity-catalog/compute.html#create-clusters--sql-warehouses-with-unity-catalog-access) `SINGLE_USER` or `USER_ISOLATION` mode. `LEGACY_PASSTHROUGH` for passthrough cluster and `LEGACY_TABLE_ACL` for Table ACL cluster. If omitted, default security features are enabled. To disable security features use `NONE` or legacy mode `NO_ISOLATION`. If `kind` is specified, then the following options are available:
|
|
461
|
+
* * `DATA_SECURITY_MODE_AUTO`: Databricks will choose the most appropriate access mode depending on your compute configuration.
|
|
462
|
+
* * `DATA_SECURITY_MODE_STANDARD`: Alias for `USER_ISOLATION`.
|
|
463
|
+
* * `DATA_SECURITY_MODE_DEDICATED`: Alias for `SINGLE_USER`.
|
|
437
464
|
*/
|
|
438
465
|
dataSecurityMode?: pulumi.Input<string>;
|
|
439
466
|
dockerImage?: pulumi.Input<inputs.ClusterDockerImage>;
|
|
@@ -467,7 +494,13 @@ export interface ClusterArgs {
|
|
|
467
494
|
* boolean value specifying if the cluster is pinned (not pinned by default). You must be a Databricks administrator to use this. The pinned clusters' maximum number is [limited to 100](https://docs.databricks.com/clusters/clusters-manage.html#pin-a-cluster), so `apply` may fail if you have more than that (this number may change over time, so check Databricks documentation for actual number).
|
|
468
495
|
*/
|
|
469
496
|
isPinned?: pulumi.Input<boolean>;
|
|
497
|
+
/**
|
|
498
|
+
* When set to true, Databricks will automatically set single node related `customTags`, `sparkConf`, and `numWorkers`.
|
|
499
|
+
*/
|
|
470
500
|
isSingleNode?: pulumi.Input<boolean>;
|
|
501
|
+
/**
|
|
502
|
+
* The kind of compute described by this compute specification. Possible values (see [API docs](https://docs.databricks.com/api/workspace/clusters/create#kind) for full list): `CLASSIC_PREVIEW` (if corresponding public preview is enabled).
|
|
503
|
+
*/
|
|
471
504
|
kind?: pulumi.Input<string>;
|
|
472
505
|
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
473
506
|
/**
|
|
@@ -520,7 +553,7 @@ export interface ClusterArgs {
|
|
|
520
553
|
*/
|
|
521
554
|
runtimeEngine?: pulumi.Input<string>;
|
|
522
555
|
/**
|
|
523
|
-
* The optional user name of the user to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
556
|
+
* The optional user name of the user (or group name if `kind` if specified) to assign to an interactive cluster. This field is required when using `dataSecurityMode` set to `SINGLE_USER` or AAD Passthrough for Azure Data Lake Storage (ADLS) with a single-user cluster (i.e., not high-concurrency clusters).
|
|
524
557
|
*/
|
|
525
558
|
singleUserName?: pulumi.Input<string>;
|
|
526
559
|
/**
|
|
@@ -545,6 +578,9 @@ export interface ClusterArgs {
|
|
|
545
578
|
* SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys.
|
|
546
579
|
*/
|
|
547
580
|
sshPublicKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
581
|
+
/**
|
|
582
|
+
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
583
|
+
*/
|
|
548
584
|
useMlRuntime?: pulumi.Input<boolean>;
|
|
549
585
|
workloadType?: pulumi.Input<inputs.ClusterWorkloadType>;
|
|
550
586
|
}
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAw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AAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/SL,0BAgTC;AAlSG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
package/externalLocation.d.ts
CHANGED
|
@@ -74,10 +74,23 @@ export declare class ExternalLocation extends pulumi.CustomResource {
|
|
|
74
74
|
* The ARN of the s3 access point to use with the external location (AWS).
|
|
75
75
|
*/
|
|
76
76
|
readonly accessPoint: pulumi.Output<string | undefined>;
|
|
77
|
+
readonly browseOnly: pulumi.Output<boolean>;
|
|
77
78
|
/**
|
|
78
79
|
* User-supplied free-form text.
|
|
79
80
|
*/
|
|
80
81
|
readonly comment: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Time at which this external location was created, in epoch milliseconds.
|
|
84
|
+
*/
|
|
85
|
+
readonly createdAt: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* Username of external location creator.
|
|
88
|
+
*/
|
|
89
|
+
readonly createdBy: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Unique ID of the location's storage credential.
|
|
92
|
+
*/
|
|
93
|
+
readonly credentialId: pulumi.Output<string>;
|
|
81
94
|
/**
|
|
82
95
|
* Name of the databricks.StorageCredential to use with this external location.
|
|
83
96
|
*/
|
|
@@ -86,6 +99,10 @@ export declare class ExternalLocation extends pulumi.CustomResource {
|
|
|
86
99
|
* The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
|
|
87
100
|
*/
|
|
88
101
|
readonly encryptionDetails: pulumi.Output<outputs.ExternalLocationEncryptionDetails | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled (disabled by default), the access to the location falls back to cluster credentials if UC credentials are not sufficient.
|
|
104
|
+
*/
|
|
105
|
+
readonly fallback: pulumi.Output<boolean | undefined>;
|
|
89
106
|
/**
|
|
90
107
|
* Destroy external location regardless of its dependents.
|
|
91
108
|
*/
|
|
@@ -115,6 +132,14 @@ export declare class ExternalLocation extends pulumi.CustomResource {
|
|
|
115
132
|
* Suppress validation errors if any & force save the external location
|
|
116
133
|
*/
|
|
117
134
|
readonly skipValidation: pulumi.Output<boolean | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Time at which external location this was last modified, in epoch milliseconds.
|
|
137
|
+
*/
|
|
138
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
139
|
+
/**
|
|
140
|
+
* Username of user who last modified the external location.
|
|
141
|
+
*/
|
|
142
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
118
143
|
/**
|
|
119
144
|
* Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
120
145
|
*/
|
|
@@ -136,10 +161,23 @@ export interface ExternalLocationState {
|
|
|
136
161
|
* The ARN of the s3 access point to use with the external location (AWS).
|
|
137
162
|
*/
|
|
138
163
|
accessPoint?: pulumi.Input<string>;
|
|
164
|
+
browseOnly?: pulumi.Input<boolean>;
|
|
139
165
|
/**
|
|
140
166
|
* User-supplied free-form text.
|
|
141
167
|
*/
|
|
142
168
|
comment?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Time at which this external location was created, in epoch milliseconds.
|
|
171
|
+
*/
|
|
172
|
+
createdAt?: pulumi.Input<number>;
|
|
173
|
+
/**
|
|
174
|
+
* Username of external location creator.
|
|
175
|
+
*/
|
|
176
|
+
createdBy?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Unique ID of the location's storage credential.
|
|
179
|
+
*/
|
|
180
|
+
credentialId?: pulumi.Input<string>;
|
|
143
181
|
/**
|
|
144
182
|
* Name of the databricks.StorageCredential to use with this external location.
|
|
145
183
|
*/
|
|
@@ -148,6 +186,10 @@ export interface ExternalLocationState {
|
|
|
148
186
|
* The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
|
|
149
187
|
*/
|
|
150
188
|
encryptionDetails?: pulumi.Input<inputs.ExternalLocationEncryptionDetails>;
|
|
189
|
+
/**
|
|
190
|
+
* Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled (disabled by default), the access to the location falls back to cluster credentials if UC credentials are not sufficient.
|
|
191
|
+
*/
|
|
192
|
+
fallback?: pulumi.Input<boolean>;
|
|
151
193
|
/**
|
|
152
194
|
* Destroy external location regardless of its dependents.
|
|
153
195
|
*/
|
|
@@ -177,6 +219,14 @@ export interface ExternalLocationState {
|
|
|
177
219
|
* Suppress validation errors if any & force save the external location
|
|
178
220
|
*/
|
|
179
221
|
skipValidation?: pulumi.Input<boolean>;
|
|
222
|
+
/**
|
|
223
|
+
* Time at which external location this was last modified, in epoch milliseconds.
|
|
224
|
+
*/
|
|
225
|
+
updatedAt?: pulumi.Input<number>;
|
|
226
|
+
/**
|
|
227
|
+
* Username of user who last modified the external location.
|
|
228
|
+
*/
|
|
229
|
+
updatedBy?: pulumi.Input<string>;
|
|
180
230
|
/**
|
|
181
231
|
* Path URL in cloud storage, of the form: `s3://[bucket-host]/[bucket-dir]` (AWS), `abfss://[user]@[host]/[path]` (Azure), `gs://[bucket-host]/[bucket-dir]` (GCP).
|
|
182
232
|
*/
|
|
@@ -202,6 +252,10 @@ export interface ExternalLocationArgs {
|
|
|
202
252
|
* The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
|
|
203
253
|
*/
|
|
204
254
|
encryptionDetails?: pulumi.Input<inputs.ExternalLocationEncryptionDetails>;
|
|
255
|
+
/**
|
|
256
|
+
* Indicates whether fallback mode is enabled for this external location. When fallback mode is enabled (disabled by default), the access to the location falls back to cluster credentials if UC credentials are not sufficient.
|
|
257
|
+
*/
|
|
258
|
+
fallback?: pulumi.Input<boolean>;
|
|
205
259
|
/**
|
|
206
260
|
* Destroy external location regardless of its dependents.
|
|
207
261
|
*/
|
package/externalLocation.js
CHANGED
|
@@ -87,9 +87,14 @@ class ExternalLocation extends pulumi.CustomResource {
|
|
|
87
87
|
if (opts.id) {
|
|
88
88
|
const state = argsOrState;
|
|
89
89
|
resourceInputs["accessPoint"] = state ? state.accessPoint : undefined;
|
|
90
|
+
resourceInputs["browseOnly"] = state ? state.browseOnly : undefined;
|
|
90
91
|
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
92
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
93
|
+
resourceInputs["createdBy"] = state ? state.createdBy : undefined;
|
|
94
|
+
resourceInputs["credentialId"] = state ? state.credentialId : undefined;
|
|
91
95
|
resourceInputs["credentialName"] = state ? state.credentialName : undefined;
|
|
92
96
|
resourceInputs["encryptionDetails"] = state ? state.encryptionDetails : undefined;
|
|
97
|
+
resourceInputs["fallback"] = state ? state.fallback : undefined;
|
|
93
98
|
resourceInputs["forceDestroy"] = state ? state.forceDestroy : undefined;
|
|
94
99
|
resourceInputs["forceUpdate"] = state ? state.forceUpdate : undefined;
|
|
95
100
|
resourceInputs["isolationMode"] = state ? state.isolationMode : undefined;
|
|
@@ -98,6 +103,8 @@ class ExternalLocation extends pulumi.CustomResource {
|
|
|
98
103
|
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
99
104
|
resourceInputs["readOnly"] = state ? state.readOnly : undefined;
|
|
100
105
|
resourceInputs["skipValidation"] = state ? state.skipValidation : undefined;
|
|
106
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
107
|
+
resourceInputs["updatedBy"] = state ? state.updatedBy : undefined;
|
|
101
108
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
102
109
|
}
|
|
103
110
|
else {
|
|
@@ -112,6 +119,7 @@ class ExternalLocation extends pulumi.CustomResource {
|
|
|
112
119
|
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
113
120
|
resourceInputs["credentialName"] = args ? args.credentialName : undefined;
|
|
114
121
|
resourceInputs["encryptionDetails"] = args ? args.encryptionDetails : undefined;
|
|
122
|
+
resourceInputs["fallback"] = args ? args.fallback : undefined;
|
|
115
123
|
resourceInputs["forceDestroy"] = args ? args.forceDestroy : undefined;
|
|
116
124
|
resourceInputs["forceUpdate"] = args ? args.forceUpdate : undefined;
|
|
117
125
|
resourceInputs["isolationMode"] = args ? args.isolationMode : undefined;
|
|
@@ -121,6 +129,12 @@ class ExternalLocation extends pulumi.CustomResource {
|
|
|
121
129
|
resourceInputs["readOnly"] = args ? args.readOnly : undefined;
|
|
122
130
|
resourceInputs["skipValidation"] = args ? args.skipValidation : undefined;
|
|
123
131
|
resourceInputs["url"] = args ? args.url : undefined;
|
|
132
|
+
resourceInputs["browseOnly"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
134
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
135
|
+
resourceInputs["credentialId"] = undefined /*out*/;
|
|
136
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
137
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
124
138
|
}
|
|
125
139
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
126
140
|
super(ExternalLocation.__pulumiType, name, resourceInputs, opts);
|
package/externalLocation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalLocation.js","sourceRoot":"","sources":["../externalLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,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;
|
|
1
|
+
{"version":3,"file":"externalLocation.js","sourceRoot":"","sources":["../externalLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAA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jD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvKL,4CAwKC;AA1JG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
package/grants.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ import * as outputs from "./types/output";
|
|
|
57
57
|
*
|
|
58
58
|
* ## Catalog grants
|
|
59
59
|
*
|
|
60
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:
|
|
60
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `MANAGE`, and `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:
|
|
61
61
|
*
|
|
62
62
|
* ```typescript
|
|
63
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -106,7 +106,7 @@ import * as outputs from "./types/output";
|
|
|
106
106
|
*
|
|
107
107
|
* ## Schema grants
|
|
108
108
|
*
|
|
109
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
|
|
109
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
|
|
110
110
|
*
|
|
111
111
|
* ```typescript
|
|
112
112
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -134,7 +134,7 @@ import * as outputs from "./types/output";
|
|
|
134
134
|
*
|
|
135
135
|
* ## Table grants
|
|
136
136
|
*
|
|
137
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
|
|
137
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
|
|
138
138
|
*
|
|
139
139
|
* ```typescript
|
|
140
140
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -187,7 +187,7 @@ import * as outputs from "./types/output";
|
|
|
187
187
|
*
|
|
188
188
|
* ## View grants
|
|
189
189
|
*
|
|
190
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
|
|
190
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
|
|
191
191
|
*
|
|
192
192
|
* ```typescript
|
|
193
193
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -231,7 +231,7 @@ import * as outputs from "./types/output";
|
|
|
231
231
|
*
|
|
232
232
|
* ## Volume grants
|
|
233
233
|
*
|
|
234
|
-
* You can grant `ALL_PRIVILEGES`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
|
|
234
|
+
* You can grant `ALL_PRIVILEGES`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
|
|
235
235
|
*
|
|
236
236
|
* ```typescript
|
|
237
237
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -256,7 +256,7 @@ import * as outputs from "./types/output";
|
|
|
256
256
|
*
|
|
257
257
|
* ## Registered model grants
|
|
258
258
|
*
|
|
259
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, and `
|
|
259
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.
|
|
260
260
|
*
|
|
261
261
|
* ```typescript
|
|
262
262
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -282,7 +282,7 @@ import * as outputs from "./types/output";
|
|
|
282
282
|
*
|
|
283
283
|
* ## Function grants
|
|
284
284
|
*
|
|
285
|
-
* You can grant `ALL_PRIVILEGES` and `
|
|
285
|
+
* You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.
|
|
286
286
|
*
|
|
287
287
|
* ```typescript
|
|
288
288
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -305,7 +305,7 @@ import * as outputs from "./types/output";
|
|
|
305
305
|
*
|
|
306
306
|
* ## Service credential grants
|
|
307
307
|
*
|
|
308
|
-
* You can grant `ALL_PRIVILEGES`, `ACCESS` and `
|
|
308
|
+
* You can grant `ALL_PRIVILEGES`, `ACCESS`, `CREATE_CONNECTION`, and `MANAGE` privileges to databricks.Credential id specified in `credential` attribute:
|
|
309
309
|
*
|
|
310
310
|
* ```typescript
|
|
311
311
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -330,7 +330,7 @@ import * as outputs from "./types/output";
|
|
|
330
330
|
*
|
|
331
331
|
* ## Storage credential grants
|
|
332
332
|
*
|
|
333
|
-
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
|
|
333
|
+
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `MANAGE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
|
|
334
334
|
*
|
|
335
335
|
* ```typescript
|
|
336
336
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -354,7 +354,7 @@ import * as outputs from "./types/output";
|
|
|
354
354
|
*
|
|
355
355
|
* ## External location grants
|
|
356
356
|
*
|
|
357
|
-
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `externalLocation` attribute:
|
|
357
|
+
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `MANAGE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `externalLocation` attribute:
|
|
358
358
|
*
|
|
359
359
|
* ```typescript
|
|
360
360
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -403,7 +403,7 @@ import * as outputs from "./types/output";
|
|
|
403
403
|
*
|
|
404
404
|
* ## Connection grants
|
|
405
405
|
*
|
|
406
|
-
* You can grant `ALL_PRIVILEGES`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreignConnection` attribute:
|
|
406
|
+
* You can grant `ALL_PRIVILEGES`, `MANAGE`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreignConnection` attribute:
|
|
407
407
|
*
|
|
408
408
|
* ```typescript
|
|
409
409
|
* import * as pulumi from "@pulumi/pulumi";
|
package/grants.js
CHANGED
|
@@ -61,7 +61,7 @@ const utilities = require("./utilities");
|
|
|
61
61
|
*
|
|
62
62
|
* ## Catalog grants
|
|
63
63
|
*
|
|
64
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:
|
|
64
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_CONNECTION`, `CREATE_SCHEMA`, `MANAGE`, and `USE_CATALOG` privileges to databricks.Catalog specified in the `catalog` attribute. You can also grant `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` and `USE_SCHEMA` at the catalog level to apply them to the pertinent current and future securable objects within the catalog:
|
|
65
65
|
*
|
|
66
66
|
* ```typescript
|
|
67
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -110,7 +110,7 @@ const utilities = require("./utilities");
|
|
|
110
110
|
*
|
|
111
111
|
* ## Schema grants
|
|
112
112
|
*
|
|
113
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
|
|
113
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
|
|
114
114
|
*
|
|
115
115
|
* ```typescript
|
|
116
116
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -138,7 +138,7 @@ const utilities = require("./utilities");
|
|
|
138
138
|
*
|
|
139
139
|
* ## Table grants
|
|
140
140
|
*
|
|
141
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
|
|
141
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
|
|
142
142
|
*
|
|
143
143
|
* ```typescript
|
|
144
144
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -191,7 +191,7 @@ const utilities = require("./utilities");
|
|
|
191
191
|
*
|
|
192
192
|
* ## View grants
|
|
193
193
|
*
|
|
194
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
|
|
194
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
|
|
195
195
|
*
|
|
196
196
|
* ```typescript
|
|
197
197
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -235,7 +235,7 @@ const utilities = require("./utilities");
|
|
|
235
235
|
*
|
|
236
236
|
* ## Volume grants
|
|
237
237
|
*
|
|
238
|
-
* You can grant `ALL_PRIVILEGES`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
|
|
238
|
+
* You can grant `ALL_PRIVILEGES`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
|
|
239
239
|
*
|
|
240
240
|
* ```typescript
|
|
241
241
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -260,7 +260,7 @@ const utilities = require("./utilities");
|
|
|
260
260
|
*
|
|
261
261
|
* ## Registered model grants
|
|
262
262
|
*
|
|
263
|
-
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, and `
|
|
263
|
+
* You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.
|
|
264
264
|
*
|
|
265
265
|
* ```typescript
|
|
266
266
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -286,7 +286,7 @@ const utilities = require("./utilities");
|
|
|
286
286
|
*
|
|
287
287
|
* ## Function grants
|
|
288
288
|
*
|
|
289
|
-
* You can grant `ALL_PRIVILEGES` and `
|
|
289
|
+
* You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.
|
|
290
290
|
*
|
|
291
291
|
* ```typescript
|
|
292
292
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -309,7 +309,7 @@ const utilities = require("./utilities");
|
|
|
309
309
|
*
|
|
310
310
|
* ## Service credential grants
|
|
311
311
|
*
|
|
312
|
-
* You can grant `ALL_PRIVILEGES`, `ACCESS` and `
|
|
312
|
+
* You can grant `ALL_PRIVILEGES`, `ACCESS`, `CREATE_CONNECTION`, and `MANAGE` privileges to databricks.Credential id specified in `credential` attribute:
|
|
313
313
|
*
|
|
314
314
|
* ```typescript
|
|
315
315
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -334,7 +334,7 @@ const utilities = require("./utilities");
|
|
|
334
334
|
*
|
|
335
335
|
* ## Storage credential grants
|
|
336
336
|
*
|
|
337
|
-
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
|
|
337
|
+
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `MANAGE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
|
|
338
338
|
*
|
|
339
339
|
* ```typescript
|
|
340
340
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -358,7 +358,7 @@ const utilities = require("./utilities");
|
|
|
358
358
|
*
|
|
359
359
|
* ## External location grants
|
|
360
360
|
*
|
|
361
|
-
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `externalLocation` attribute:
|
|
361
|
+
* You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_TABLE`, `CREATE_MANAGED_STORAGE`, `CREATE EXTERNAL VOLUME`, `MANAGE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.ExternalLocation id specified in `externalLocation` attribute:
|
|
362
362
|
*
|
|
363
363
|
* ```typescript
|
|
364
364
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -407,7 +407,7 @@ const utilities = require("./utilities");
|
|
|
407
407
|
*
|
|
408
408
|
* ## Connection grants
|
|
409
409
|
*
|
|
410
|
-
* You can grant `ALL_PRIVILEGES`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreignConnection` attribute:
|
|
410
|
+
* You can grant `ALL_PRIVILEGES`, `MANAGE`, `USE_CONNECTION` and `CREATE_FOREIGN_CATALOG` to databricks.Connection specified in `foreignConnection` attribute:
|
|
411
411
|
*
|
|
412
412
|
* ```typescript
|
|
413
413
|
* import * as pulumi from "@pulumi/pulumi";
|
package/job.d.ts
CHANGED
|
@@ -126,6 +126,9 @@ export declare class Job extends pulumi.CustomResource {
|
|
|
126
126
|
* An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
|
|
127
127
|
*/
|
|
128
128
|
readonly description: pulumi.Output<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
|
|
131
|
+
*/
|
|
129
132
|
readonly editMode: pulumi.Output<string | undefined>;
|
|
130
133
|
/**
|
|
131
134
|
* (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
|
|
@@ -289,6 +292,9 @@ export interface JobState {
|
|
|
289
292
|
* An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
|
|
290
293
|
*/
|
|
291
294
|
description?: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
|
|
297
|
+
*/
|
|
292
298
|
editMode?: pulumi.Input<string>;
|
|
293
299
|
/**
|
|
294
300
|
* (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
|
|
@@ -444,6 +450,9 @@ export interface JobArgs {
|
|
|
444
450
|
* An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
|
|
445
451
|
*/
|
|
446
452
|
description?: pulumi.Input<string>;
|
|
453
|
+
/**
|
|
454
|
+
* If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
|
|
455
|
+
*/
|
|
447
456
|
editMode?: pulumi.Input<string>;
|
|
448
457
|
/**
|
|
449
458
|
* (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
|
package/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;
|
|
1
|
+
{"version":3,"file":"job.js","sourceRoot":"","sources":["../job.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGz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.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.58.0-alpha.
|
|
3
|
+
"version": "1.58.0-alpha.1737486672",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.58.0-alpha.
|
|
27
|
+
"version": "1.58.0-alpha.1737486672"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/permissions.d.ts
CHANGED
|
@@ -792,7 +792,7 @@ import * as outputs from "./types/output";
|
|
|
792
792
|
*
|
|
793
793
|
* ## Data Access with Unity Catalog
|
|
794
794
|
*
|
|
795
|
-
* Initially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants resource.
|
|
795
|
+
* Initially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants or databricks.Grant resource.
|
|
796
796
|
*
|
|
797
797
|
* ## Import
|
|
798
798
|
*
|
package/permissions.js
CHANGED
|
@@ -796,7 +796,7 @@ const utilities = require("./utilities");
|
|
|
796
796
|
*
|
|
797
797
|
* ## Data Access with Unity Catalog
|
|
798
798
|
*
|
|
799
|
-
* Initially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants resource.
|
|
799
|
+
* Initially in Unity Catalog all users have no access to data, which has to be later assigned through databricks.Grants or databricks.Grant resource.
|
|
800
800
|
*
|
|
801
801
|
* ## Import
|
|
802
802
|
*
|
package/sqlTable.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables
|
|
5
|
+
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables/views.
|
|
6
6
|
*
|
|
7
|
-
* A `databricks.SqlTable` is contained within databricks_schema, and can represent either a managed table, an external table or a view.
|
|
7
|
+
* A `databricks.SqlTable` is contained within databricks_schema, and can represent either a managed table, an external table, or a view.
|
|
8
8
|
*
|
|
9
9
|
* This resource creates and updates the Unity Catalog table/view by executing the necessary SQL queries on a special auto-terminating cluster it would create for this operation. You could also specify a SQL warehouse or cluster for the queries to be executed on.
|
|
10
10
|
*
|
|
11
|
+
* > This resource doesn't handle complex cases of schema evolution due to the limitations of Pulumi itself. If you need to implement schema evolution it's recommended to use specialized tools, such as, [Luquibase](https://medium.com/dbsql-sme-engineering/advanced-schema-management-on-databricks-with-liquibase-1900e9f7b9c0) and [Flyway](https://medium.com/dbsql-sme-engineering/databricks-schema-management-with-flyway-527c4a9f5d67).
|
|
12
|
+
*
|
|
11
13
|
* ## Use an Identity Column
|
|
12
14
|
*
|
|
13
15
|
* ```typescript
|
|
@@ -79,7 +81,7 @@ export declare class SqlTable extends pulumi.CustomResource {
|
|
|
79
81
|
*/
|
|
80
82
|
static isInstance(obj: any): obj is SqlTable;
|
|
81
83
|
/**
|
|
82
|
-
* Name of parent catalog. Change forces creation of a new resource.
|
|
84
|
+
* Name of parent catalog. Change forces the creation of a new resource.
|
|
83
85
|
*/
|
|
84
86
|
readonly catalogName: pulumi.Output<string>;
|
|
85
87
|
readonly clusterId: pulumi.Output<string>;
|
|
@@ -89,18 +91,18 @@ export declare class SqlTable extends pulumi.CustomResource {
|
|
|
89
91
|
readonly clusterKeys: pulumi.Output<string[] | undefined>;
|
|
90
92
|
readonly columns: pulumi.Output<outputs.SqlTableColumn[]>;
|
|
91
93
|
/**
|
|
92
|
-
* User-supplied free-form text. Changing comment is not currently supported on `VIEW`
|
|
94
|
+
* User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
93
95
|
*/
|
|
94
96
|
readonly comment: pulumi.Output<string | undefined>;
|
|
95
97
|
/**
|
|
96
|
-
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
98
|
+
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
97
99
|
*/
|
|
98
100
|
readonly dataSourceFormat: pulumi.Output<string | undefined>;
|
|
99
101
|
readonly effectiveProperties: pulumi.Output<{
|
|
100
102
|
[key: string]: string;
|
|
101
103
|
}>;
|
|
102
104
|
/**
|
|
103
|
-
* Name of table relative to parent catalog and schema. Change forces creation of a new resource.
|
|
105
|
+
* Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
104
106
|
*/
|
|
105
107
|
readonly name: pulumi.Output<string>;
|
|
106
108
|
/**
|
|
@@ -110,25 +112,25 @@ export declare class SqlTable extends pulumi.CustomResource {
|
|
|
110
112
|
[key: string]: string;
|
|
111
113
|
} | undefined>;
|
|
112
114
|
/**
|
|
113
|
-
*
|
|
115
|
+
* User name/group name/sp applicationId of the schema owner.
|
|
114
116
|
*/
|
|
115
117
|
readonly owner: pulumi.Output<string>;
|
|
116
118
|
/**
|
|
117
|
-
* a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
119
|
+
* a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
118
120
|
*/
|
|
119
121
|
readonly partitions: pulumi.Output<string[] | undefined>;
|
|
120
122
|
/**
|
|
121
|
-
*
|
|
123
|
+
* A map of table properties.
|
|
122
124
|
*/
|
|
123
125
|
readonly properties: pulumi.Output<{
|
|
124
126
|
[key: string]: string;
|
|
125
127
|
} | undefined>;
|
|
126
128
|
/**
|
|
127
|
-
* Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
129
|
+
* Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
128
130
|
*/
|
|
129
131
|
readonly schemaName: pulumi.Output<string>;
|
|
130
132
|
/**
|
|
131
|
-
* For EXTERNAL Tables only: the name of storage credential to use. Change forces creation of a new resource.
|
|
133
|
+
* For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
132
134
|
*/
|
|
133
135
|
readonly storageCredentialName: pulumi.Output<string | undefined>;
|
|
134
136
|
/**
|
|
@@ -136,7 +138,7 @@ export declare class SqlTable extends pulumi.CustomResource {
|
|
|
136
138
|
*/
|
|
137
139
|
readonly storageLocation: pulumi.Output<string | undefined>;
|
|
138
140
|
/**
|
|
139
|
-
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
141
|
+
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL`, or `VIEW`. Change forces the creation of a new resource.
|
|
140
142
|
*/
|
|
141
143
|
readonly tableType: pulumi.Output<string>;
|
|
142
144
|
/**
|
|
@@ -161,7 +163,7 @@ export declare class SqlTable extends pulumi.CustomResource {
|
|
|
161
163
|
*/
|
|
162
164
|
export interface SqlTableState {
|
|
163
165
|
/**
|
|
164
|
-
* Name of parent catalog. Change forces creation of a new resource.
|
|
166
|
+
* Name of parent catalog. Change forces the creation of a new resource.
|
|
165
167
|
*/
|
|
166
168
|
catalogName?: pulumi.Input<string>;
|
|
167
169
|
clusterId?: pulumi.Input<string>;
|
|
@@ -171,18 +173,18 @@ export interface SqlTableState {
|
|
|
171
173
|
clusterKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
172
174
|
columns?: pulumi.Input<pulumi.Input<inputs.SqlTableColumn>[]>;
|
|
173
175
|
/**
|
|
174
|
-
* User-supplied free-form text. Changing comment is not currently supported on `VIEW`
|
|
176
|
+
* User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
175
177
|
*/
|
|
176
178
|
comment?: pulumi.Input<string>;
|
|
177
179
|
/**
|
|
178
|
-
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
180
|
+
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
179
181
|
*/
|
|
180
182
|
dataSourceFormat?: pulumi.Input<string>;
|
|
181
183
|
effectiveProperties?: pulumi.Input<{
|
|
182
184
|
[key: string]: pulumi.Input<string>;
|
|
183
185
|
}>;
|
|
184
186
|
/**
|
|
185
|
-
* Name of table relative to parent catalog and schema. Change forces creation of a new resource.
|
|
187
|
+
* Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
186
188
|
*/
|
|
187
189
|
name?: pulumi.Input<string>;
|
|
188
190
|
/**
|
|
@@ -192,25 +194,25 @@ export interface SqlTableState {
|
|
|
192
194
|
[key: string]: pulumi.Input<string>;
|
|
193
195
|
}>;
|
|
194
196
|
/**
|
|
195
|
-
*
|
|
197
|
+
* User name/group name/sp applicationId of the schema owner.
|
|
196
198
|
*/
|
|
197
199
|
owner?: pulumi.Input<string>;
|
|
198
200
|
/**
|
|
199
|
-
* a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
201
|
+
* a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
200
202
|
*/
|
|
201
203
|
partitions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
202
204
|
/**
|
|
203
|
-
*
|
|
205
|
+
* A map of table properties.
|
|
204
206
|
*/
|
|
205
207
|
properties?: pulumi.Input<{
|
|
206
208
|
[key: string]: pulumi.Input<string>;
|
|
207
209
|
}>;
|
|
208
210
|
/**
|
|
209
|
-
* Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
211
|
+
* Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
210
212
|
*/
|
|
211
213
|
schemaName?: pulumi.Input<string>;
|
|
212
214
|
/**
|
|
213
|
-
* For EXTERNAL Tables only: the name of storage credential to use. Change forces creation of a new resource.
|
|
215
|
+
* For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
214
216
|
*/
|
|
215
217
|
storageCredentialName?: pulumi.Input<string>;
|
|
216
218
|
/**
|
|
@@ -218,7 +220,7 @@ export interface SqlTableState {
|
|
|
218
220
|
*/
|
|
219
221
|
storageLocation?: pulumi.Input<string>;
|
|
220
222
|
/**
|
|
221
|
-
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
223
|
+
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL`, or `VIEW`. Change forces the creation of a new resource.
|
|
222
224
|
*/
|
|
223
225
|
tableType?: pulumi.Input<string>;
|
|
224
226
|
/**
|
|
@@ -235,7 +237,7 @@ export interface SqlTableState {
|
|
|
235
237
|
*/
|
|
236
238
|
export interface SqlTableArgs {
|
|
237
239
|
/**
|
|
238
|
-
* Name of parent catalog. Change forces creation of a new resource.
|
|
240
|
+
* Name of parent catalog. Change forces the creation of a new resource.
|
|
239
241
|
*/
|
|
240
242
|
catalogName: pulumi.Input<string>;
|
|
241
243
|
clusterId?: pulumi.Input<string>;
|
|
@@ -245,15 +247,15 @@ export interface SqlTableArgs {
|
|
|
245
247
|
clusterKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
246
248
|
columns?: pulumi.Input<pulumi.Input<inputs.SqlTableColumn>[]>;
|
|
247
249
|
/**
|
|
248
|
-
* User-supplied free-form text. Changing comment is not currently supported on `VIEW`
|
|
250
|
+
* User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
249
251
|
*/
|
|
250
252
|
comment?: pulumi.Input<string>;
|
|
251
253
|
/**
|
|
252
|
-
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, `TEXT`. Change forces creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
254
|
+
* External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
253
255
|
*/
|
|
254
256
|
dataSourceFormat?: pulumi.Input<string>;
|
|
255
257
|
/**
|
|
256
|
-
* Name of table relative to parent catalog and schema. Change forces creation of a new resource.
|
|
258
|
+
* Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
257
259
|
*/
|
|
258
260
|
name?: pulumi.Input<string>;
|
|
259
261
|
/**
|
|
@@ -263,25 +265,25 @@ export interface SqlTableArgs {
|
|
|
263
265
|
[key: string]: pulumi.Input<string>;
|
|
264
266
|
}>;
|
|
265
267
|
/**
|
|
266
|
-
*
|
|
268
|
+
* User name/group name/sp applicationId of the schema owner.
|
|
267
269
|
*/
|
|
268
270
|
owner?: pulumi.Input<string>;
|
|
269
271
|
/**
|
|
270
|
-
* a subset of columns to partition the table by. Change forces creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
272
|
+
* a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `clusterKeys`. Change forces creation of a new resource.
|
|
271
273
|
*/
|
|
272
274
|
partitions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
273
275
|
/**
|
|
274
|
-
*
|
|
276
|
+
* A map of table properties.
|
|
275
277
|
*/
|
|
276
278
|
properties?: pulumi.Input<{
|
|
277
279
|
[key: string]: pulumi.Input<string>;
|
|
278
280
|
}>;
|
|
279
281
|
/**
|
|
280
|
-
* Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
282
|
+
* Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
281
283
|
*/
|
|
282
284
|
schemaName: pulumi.Input<string>;
|
|
283
285
|
/**
|
|
284
|
-
* For EXTERNAL Tables only: the name of storage credential to use. Change forces creation of a new resource.
|
|
286
|
+
* For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
285
287
|
*/
|
|
286
288
|
storageCredentialName?: pulumi.Input<string>;
|
|
287
289
|
/**
|
|
@@ -289,7 +291,7 @@ export interface SqlTableArgs {
|
|
|
289
291
|
*/
|
|
290
292
|
storageLocation?: pulumi.Input<string>;
|
|
291
293
|
/**
|
|
292
|
-
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
294
|
+
* Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL`, or `VIEW`. Change forces the creation of a new resource.
|
|
293
295
|
*/
|
|
294
296
|
tableType: pulumi.Input<string>;
|
|
295
297
|
/**
|
package/sqlTable.js
CHANGED
|
@@ -6,12 +6,14 @@ exports.SqlTable = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables
|
|
9
|
+
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, databases (also called schemas), and tables/views.
|
|
10
10
|
*
|
|
11
|
-
* A `databricks.SqlTable` is contained within databricks_schema, and can represent either a managed table, an external table or a view.
|
|
11
|
+
* A `databricks.SqlTable` is contained within databricks_schema, and can represent either a managed table, an external table, or a view.
|
|
12
12
|
*
|
|
13
13
|
* This resource creates and updates the Unity Catalog table/view by executing the necessary SQL queries on a special auto-terminating cluster it would create for this operation. You could also specify a SQL warehouse or cluster for the queries to be executed on.
|
|
14
14
|
*
|
|
15
|
+
* > This resource doesn't handle complex cases of schema evolution due to the limitations of Pulumi itself. If you need to implement schema evolution it's recommended to use specialized tools, such as, [Luquibase](https://medium.com/dbsql-sme-engineering/advanced-schema-management-on-databricks-with-liquibase-1900e9f7b9c0) and [Flyway](https://medium.com/dbsql-sme-engineering/databricks-schema-management-with-flyway-527c4a9f5d67).
|
|
16
|
+
*
|
|
15
17
|
* ## Use an Identity Column
|
|
16
18
|
*
|
|
17
19
|
* ```typescript
|
package/sqlTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlTable.js","sourceRoot":"","sources":["../sqlTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"sqlTable.js","sourceRoot":"","sources":["../sqlTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;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;IA0ED,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,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ebhookNotifications>;
|
|
8339
8339
|
}
|
|
8340
8340
|
export interface JobTaskCleanRoomsNotebookTask {
|
|
8341
|
+
/**
|
|
8342
|
+
* The clean room that the notebook belongs to.
|
|
8343
|
+
*/
|
|
8341
8344
|
cleanRoomName: pulumi.Input<string>;
|
|
8345
|
+
/**
|
|
8346
|
+
* Checksum to validate the freshness of the notebook resource.
|
|
8347
|
+
*/
|
|
8342
8348
|
etag?: pulumi.Input<string>;
|
|
8349
|
+
/**
|
|
8350
|
+
* Base parameters to be used for the clean room notebook job.
|
|
8351
|
+
*/
|
|
8343
8352
|
notebookBaseParameters?: pulumi.Input<{
|
|
8344
8353
|
[key: string]: pulumi.Input<string>;
|
|
8345
8354
|
}>;
|
|
8355
|
+
/**
|
|
8356
|
+
* Name of the notebook being run.
|
|
8357
|
+
*/
|
|
8346
8358
|
notebookName: pulumi.Input<string>;
|
|
8347
8359
|
}
|
|
8348
8360
|
export interface JobTaskConditionTask {
|
|
@@ -8535,11 +8547,23 @@ export interface JobTaskForEachTaskTask {
|
|
|
8535
8547
|
webhookNotifications?: pulumi.Input<inputs.JobTaskForEachTaskTaskWebhookNotifications>;
|
|
8536
8548
|
}
|
|
8537
8549
|
export interface JobTaskForEachTaskTaskCleanRoomsNotebookTask {
|
|
8550
|
+
/**
|
|
8551
|
+
* The clean room that the notebook belongs to.
|
|
8552
|
+
*/
|
|
8538
8553
|
cleanRoomName: pulumi.Input<string>;
|
|
8554
|
+
/**
|
|
8555
|
+
* Checksum to validate the freshness of the notebook resource.
|
|
8556
|
+
*/
|
|
8539
8557
|
etag?: pulumi.Input<string>;
|
|
8558
|
+
/**
|
|
8559
|
+
* Base parameters to be used for the clean room notebook job.
|
|
8560
|
+
*/
|
|
8540
8561
|
notebookBaseParameters?: pulumi.Input<{
|
|
8541
8562
|
[key: string]: pulumi.Input<string>;
|
|
8542
8563
|
}>;
|
|
8564
|
+
/**
|
|
8565
|
+
* Name of the notebook being run.
|
|
8566
|
+
*/
|
|
8543
8567
|
notebookName: pulumi.Input<string>;
|
|
8544
8568
|
}
|
|
8545
8569
|
export interface JobTaskForEachTaskTaskConditionTask {
|
|
@@ -11461,7 +11485,7 @@ export interface ShareObject {
|
|
|
11461
11485
|
comment?: pulumi.Input<string>;
|
|
11462
11486
|
content?: pulumi.Input<string>;
|
|
11463
11487
|
/**
|
|
11464
|
-
* Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported.
|
|
11488
|
+
* Type of the data object, currently `TABLE`, `VIEW`, `SCHEMA`, `VOLUME`, and `MODEL` are supported.
|
|
11465
11489
|
*/
|
|
11466
11490
|
dataObjectType: pulumi.Input<string>;
|
|
11467
11491
|
/**
|
|
@@ -11471,7 +11495,7 @@ export interface ShareObject {
|
|
|
11471
11495
|
*/
|
|
11472
11496
|
historyDataSharingStatus?: pulumi.Input<string>;
|
|
11473
11497
|
/**
|
|
11474
|
-
* Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas.
|
|
11498
|
+
* Full name of the object, e.g. `catalog.schema.name` for a tables, views, volumes and models, or `catalog.schema` for schemas.
|
|
11475
11499
|
*/
|
|
11476
11500
|
name: pulumi.Input<string>;
|
|
11477
11501
|
partitions?: pulumi.Input<pulumi.Input<inputs.ShareObjectPartition>[]>;
|
|
@@ -11727,7 +11751,7 @@ export interface SqlTableColumn {
|
|
|
11727
11751
|
*/
|
|
11728
11752
|
comment?: pulumi.Input<string>;
|
|
11729
11753
|
/**
|
|
11730
|
-
* Whether field is an identity column. Can be `default`, `always
|
|
11754
|
+
* Whether the field is an identity column. Can be `default`, `always`, or unset. It is unset by default.
|
|
11731
11755
|
*/
|
|
11732
11756
|
identity?: pulumi.Input<string>;
|
|
11733
11757
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -5475,11 +5475,23 @@ export interface JobTask {
|
|
|
5475
5475
|
webhookNotifications?: outputs.JobTaskWebhookNotifications;
|
|
5476
5476
|
}
|
|
5477
5477
|
export interface JobTaskCleanRoomsNotebookTask {
|
|
5478
|
+
/**
|
|
5479
|
+
* The clean room that the notebook belongs to.
|
|
5480
|
+
*/
|
|
5478
5481
|
cleanRoomName: string;
|
|
5482
|
+
/**
|
|
5483
|
+
* Checksum to validate the freshness of the notebook resource.
|
|
5484
|
+
*/
|
|
5479
5485
|
etag?: string;
|
|
5486
|
+
/**
|
|
5487
|
+
* Base parameters to be used for the clean room notebook job.
|
|
5488
|
+
*/
|
|
5480
5489
|
notebookBaseParameters?: {
|
|
5481
5490
|
[key: string]: string;
|
|
5482
5491
|
};
|
|
5492
|
+
/**
|
|
5493
|
+
* Name of the notebook being run.
|
|
5494
|
+
*/
|
|
5483
5495
|
notebookName: string;
|
|
5484
5496
|
}
|
|
5485
5497
|
export interface JobTaskConditionTask {
|
|
@@ -5672,11 +5684,23 @@ export interface JobTaskForEachTaskTask {
|
|
|
5672
5684
|
webhookNotifications?: outputs.JobTaskForEachTaskTaskWebhookNotifications;
|
|
5673
5685
|
}
|
|
5674
5686
|
export interface JobTaskForEachTaskTaskCleanRoomsNotebookTask {
|
|
5687
|
+
/**
|
|
5688
|
+
* The clean room that the notebook belongs to.
|
|
5689
|
+
*/
|
|
5675
5690
|
cleanRoomName: string;
|
|
5691
|
+
/**
|
|
5692
|
+
* Checksum to validate the freshness of the notebook resource.
|
|
5693
|
+
*/
|
|
5676
5694
|
etag?: string;
|
|
5695
|
+
/**
|
|
5696
|
+
* Base parameters to be used for the clean room notebook job.
|
|
5697
|
+
*/
|
|
5677
5698
|
notebookBaseParameters?: {
|
|
5678
5699
|
[key: string]: string;
|
|
5679
5700
|
};
|
|
5701
|
+
/**
|
|
5702
|
+
* Name of the notebook being run.
|
|
5703
|
+
*/
|
|
5680
5704
|
notebookName: string;
|
|
5681
5705
|
}
|
|
5682
5706
|
export interface JobTaskForEachTaskTaskConditionTask {
|
|
@@ -8598,7 +8622,7 @@ export interface ShareObject {
|
|
|
8598
8622
|
comment?: string;
|
|
8599
8623
|
content?: string;
|
|
8600
8624
|
/**
|
|
8601
|
-
* Type of the data object, currently `TABLE`, `SCHEMA`, `VOLUME`, and `MODEL` are supported.
|
|
8625
|
+
* Type of the data object, currently `TABLE`, `VIEW`, `SCHEMA`, `VOLUME`, and `MODEL` are supported.
|
|
8602
8626
|
*/
|
|
8603
8627
|
dataObjectType: string;
|
|
8604
8628
|
/**
|
|
@@ -8608,7 +8632,7 @@ export interface ShareObject {
|
|
|
8608
8632
|
*/
|
|
8609
8633
|
historyDataSharingStatus?: string;
|
|
8610
8634
|
/**
|
|
8611
|
-
* Full name of the object, e.g. `catalog.schema.name` for a tables, volumes and models, or `catalog.schema` for schemas.
|
|
8635
|
+
* Full name of the object, e.g. `catalog.schema.name` for a tables, views, volumes and models, or `catalog.schema` for schemas.
|
|
8612
8636
|
*/
|
|
8613
8637
|
name: string;
|
|
8614
8638
|
partitions?: outputs.ShareObjectPartition[];
|
|
@@ -8864,7 +8888,7 @@ export interface SqlTableColumn {
|
|
|
8864
8888
|
*/
|
|
8865
8889
|
comment?: string;
|
|
8866
8890
|
/**
|
|
8867
|
-
* Whether field is an identity column. Can be `default`, `always
|
|
8891
|
+
* Whether the field is an identity column. Can be `default`, `always`, or unset. It is unset by default.
|
|
8868
8892
|
*/
|
|
8869
8893
|
identity?: string;
|
|
8870
8894
|
/**
|