@pulumi/databricks 1.50.0-alpha.1726205574 → 1.50.0-alpha.1726827873
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/accessControlRuleSet.d.ts +1 -1
- package/accessControlRuleSet.js +1 -1
- package/artifactAllowlist.d.ts +1 -1
- package/artifactAllowlist.js +1 -1
- package/catalog.d.ts +1 -1
- package/catalog.js +1 -1
- package/cluster.d.ts +18 -6
- package/cluster.js +2 -0
- package/cluster.js.map +1 -1
- package/connection.d.ts +4 -4
- package/connection.js +1 -1
- package/defaultNamespaceSetting.d.ts +1 -1
- package/defaultNamespaceSetting.js +1 -1
- package/externalLocation.d.ts +1 -1
- package/externalLocation.js +1 -1
- package/getAwsCrossAccountPolicy.d.ts +2 -2
- package/getAwsCrossAccountPolicy.js +2 -2
- package/getAwsUnityCatalogAssumeRolePolicy.d.ts +2 -2
- package/getAwsUnityCatalogAssumeRolePolicy.js +2 -2
- package/getCatalog.d.ts +2 -2
- package/getCatalog.js +2 -2
- package/getCatalogs.d.ts +2 -2
- package/getCatalogs.js +2 -2
- package/getClusters.d.ts +11 -0
- package/getClusters.js +1 -0
- package/getClusters.js.map +1 -1
- package/getExternalLocation.d.ts +2 -2
- package/getExternalLocation.js +2 -2
- package/getExternalLocations.d.ts +2 -2
- package/getExternalLocations.js +2 -2
- package/getMetastore.d.ts +2 -2
- package/getMetastore.js +2 -2
- package/getMetastores.d.ts +2 -2
- package/getMetastores.js +2 -2
- package/getSchemas.d.ts +2 -2
- package/getSchemas.js +2 -2
- package/getStorageCredential.d.ts +2 -2
- package/getStorageCredential.js +2 -2
- package/getStorageCredentials.d.ts +2 -2
- package/getStorageCredentials.js +2 -2
- package/getTable.d.ts +2 -2
- package/getTable.js +2 -2
- package/getTables.d.ts +2 -2
- package/getTables.js +2 -2
- package/getVolumes.d.ts +2 -2
- package/getVolumes.js +2 -2
- package/metastore.d.ts +1 -1
- package/metastore.js +1 -1
- package/metastoreAssignment.d.ts +1 -1
- package/metastoreAssignment.js +1 -1
- package/metastoreDataAccess.d.ts +1 -1
- package/metastoreDataAccess.js +1 -1
- package/metastoreProvider.d.ts +1 -1
- package/metastoreProvider.js +1 -1
- package/mwsCredentials.d.ts +3 -4
- package/mwsCredentials.js +0 -1
- package/mwsCredentials.js.map +1 -1
- package/onlineTable.d.ts +1 -1
- package/onlineTable.js +1 -1
- package/package.json +2 -2
- package/recipient.d.ts +1 -1
- package/recipient.js +1 -1
- package/registeredModel.d.ts +1 -1
- package/registeredModel.js +1 -1
- package/restrictWorkspaceAdminsSetting.d.ts +1 -1
- package/restrictWorkspaceAdminsSetting.js +1 -1
- package/schema.d.ts +1 -1
- package/schema.js +1 -1
- package/share.d.ts +16 -1
- package/share.js +11 -1
- package/share.js.map +1 -1
- package/sqlTable.d.ts +7 -1
- package/sqlTable.js +2 -0
- package/sqlTable.js.map +1 -1
- package/storageCredential.d.ts +1 -1
- package/storageCredential.js +1 -1
- package/systemSchema.d.ts +1 -1
- package/systemSchema.js +1 -1
- package/types/input.d.ts +72 -22
- package/types/output.d.ts +49 -19
- package/vectorSearchEndpoint.d.ts +9 -9
- package/vectorSearchEndpoint.js +3 -3
- package/vectorSearchIndex.d.ts +12 -12
- package/vectorSearchIndex.js +3 -3
- package/volume.d.ts +1 -1
- package/volume.js +1 -1
- package/workspaceBinding.d.ts +4 -4
- package/workspaceBinding.js +1 -1
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This resource
|
|
5
|
+
* > **Note** This resource can be used with an account or workspace-level provider.
|
|
6
6
|
*
|
|
7
7
|
* This resource allows you to manage access rules on Databricks account level resources. For convenience we allow accessing this resource through the Databricks account and workspace.
|
|
8
8
|
*
|
package/accessControlRuleSet.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.AccessControlRuleSet = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource
|
|
9
|
+
* > **Note** This resource can be used with an account or workspace-level provider.
|
|
10
10
|
*
|
|
11
11
|
* This resource allows you to manage access rules on Databricks account level resources. For convenience we allow accessing this resource through the Databricks account and workspace.
|
|
12
12
|
*
|
package/artifactAllowlist.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* > **Note**
|
|
6
6
|
* It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
7
7
|
*
|
|
8
|
-
* > **Note** This resource
|
|
8
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
9
9
|
*
|
|
10
10
|
* In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.
|
|
11
11
|
*
|
package/artifactAllowlist.js
CHANGED
|
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* > **Note**
|
|
10
10
|
* It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
11
11
|
*
|
|
12
|
-
* > **Note** This resource
|
|
12
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
13
13
|
*
|
|
14
14
|
* In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.
|
|
15
15
|
*
|
package/catalog.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This resource
|
|
3
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
6
6
|
*
|
package/catalog.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Catalog = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource
|
|
9
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
12
12
|
*
|
package/cluster.d.ts
CHANGED
|
@@ -112,6 +112,11 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
112
112
|
readonly instancePoolId: pulumi.Output<string | undefined>;
|
|
113
113
|
/**
|
|
114
114
|
* 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
|
+
*/
|
|
116
|
+
readonly isPinned: pulumi.Output<boolean | undefined>;
|
|
117
|
+
readonly libraries: pulumi.Output<outputs.ClusterLibrary[] | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed).
|
|
115
120
|
*
|
|
116
121
|
* The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled:
|
|
117
122
|
*
|
|
@@ -142,8 +147,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
142
147
|
* });
|
|
143
148
|
* ```
|
|
144
149
|
*/
|
|
145
|
-
readonly
|
|
146
|
-
readonly libraries: pulumi.Output<outputs.ClusterLibrary[] | undefined>;
|
|
150
|
+
readonly noWait: pulumi.Output<boolean | undefined>;
|
|
147
151
|
/**
|
|
148
152
|
* Any supported databricks.getNodeType id. If `instancePoolId` is specified, this field is not needed.
|
|
149
153
|
*/
|
|
@@ -289,6 +293,11 @@ export interface ClusterState {
|
|
|
289
293
|
instancePoolId?: pulumi.Input<string>;
|
|
290
294
|
/**
|
|
291
295
|
* 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).
|
|
296
|
+
*/
|
|
297
|
+
isPinned?: pulumi.Input<boolean>;
|
|
298
|
+
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed).
|
|
292
301
|
*
|
|
293
302
|
* The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled:
|
|
294
303
|
*
|
|
@@ -319,8 +328,7 @@ export interface ClusterState {
|
|
|
319
328
|
* });
|
|
320
329
|
* ```
|
|
321
330
|
*/
|
|
322
|
-
|
|
323
|
-
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
331
|
+
noWait?: pulumi.Input<boolean>;
|
|
324
332
|
/**
|
|
325
333
|
* Any supported databricks.getNodeType id. If `instancePoolId` is specified, this field is not needed.
|
|
326
334
|
*/
|
|
@@ -451,6 +459,11 @@ export interface ClusterArgs {
|
|
|
451
459
|
instancePoolId?: pulumi.Input<string>;
|
|
452
460
|
/**
|
|
453
461
|
* 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).
|
|
462
|
+
*/
|
|
463
|
+
isPinned?: pulumi.Input<boolean>;
|
|
464
|
+
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
465
|
+
/**
|
|
466
|
+
* If true, the provider will not wait for the cluster to reach `RUNNING` state when creating the cluster, allowing cluster creation and library installation to continue asynchronously. Defaults to false (the provider will wait for cluster creation and library installation to succeed).
|
|
454
467
|
*
|
|
455
468
|
* The following example demonstrates how to create an autoscaling cluster with [Delta Cache](https://docs.databricks.com/delta/optimizations/delta-cache.html) enabled:
|
|
456
469
|
*
|
|
@@ -481,8 +494,7 @@ export interface ClusterArgs {
|
|
|
481
494
|
* });
|
|
482
495
|
* ```
|
|
483
496
|
*/
|
|
484
|
-
|
|
485
|
-
libraries?: pulumi.Input<pulumi.Input<inputs.ClusterLibrary>[]>;
|
|
497
|
+
noWait?: pulumi.Input<boolean>;
|
|
486
498
|
/**
|
|
487
499
|
* Any supported databricks.getNodeType id. If `instancePoolId` is specified, this field is not needed.
|
|
488
500
|
*/
|
package/cluster.js
CHANGED
|
@@ -67,6 +67,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
67
67
|
resourceInputs["instancePoolId"] = state ? state.instancePoolId : undefined;
|
|
68
68
|
resourceInputs["isPinned"] = state ? state.isPinned : undefined;
|
|
69
69
|
resourceInputs["libraries"] = state ? state.libraries : undefined;
|
|
70
|
+
resourceInputs["noWait"] = state ? state.noWait : undefined;
|
|
70
71
|
resourceInputs["nodeTypeId"] = state ? state.nodeTypeId : undefined;
|
|
71
72
|
resourceInputs["numWorkers"] = state ? state.numWorkers : undefined;
|
|
72
73
|
resourceInputs["policyId"] = state ? state.policyId : undefined;
|
|
@@ -106,6 +107,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
106
107
|
resourceInputs["instancePoolId"] = args ? args.instancePoolId : undefined;
|
|
107
108
|
resourceInputs["isPinned"] = args ? args.isPinned : undefined;
|
|
108
109
|
resourceInputs["libraries"] = args ? args.libraries : undefined;
|
|
110
|
+
resourceInputs["noWait"] = args ? args.noWait : undefined;
|
|
109
111
|
resourceInputs["nodeTypeId"] = args ? args.nodeTypeId : undefined;
|
|
110
112
|
resourceInputs["numWorkers"] = args ? args.numWorkers : undefined;
|
|
111
113
|
resourceInputs["policyId"] = args ? args.policyId : undefined;
|
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,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;IAC9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Y,GAAG,kCAAkC,CAAC"}
|
package/connection.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This resource
|
|
3
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* Lakehouse Federation is the query federation platform for Databricks. Databricks uses Unity Catalog to manage query federation. To make a dataset available for read-only querying using Lakehouse Federation, you create the following:
|
|
6
6
|
*
|
|
@@ -98,7 +98,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
98
98
|
*/
|
|
99
99
|
readonly comment: pulumi.Output<string | undefined>;
|
|
100
100
|
/**
|
|
101
|
-
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
101
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
102
102
|
*/
|
|
103
103
|
readonly connectionType: pulumi.Output<string>;
|
|
104
104
|
readonly metastoreId: pulumi.Output<string>;
|
|
@@ -141,7 +141,7 @@ export interface ConnectionState {
|
|
|
141
141
|
*/
|
|
142
142
|
comment?: pulumi.Input<string>;
|
|
143
143
|
/**
|
|
144
|
-
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
144
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
145
145
|
*/
|
|
146
146
|
connectionType?: pulumi.Input<string>;
|
|
147
147
|
metastoreId?: pulumi.Input<string>;
|
|
@@ -176,7 +176,7 @@ export interface ConnectionArgs {
|
|
|
176
176
|
*/
|
|
177
177
|
comment?: pulumi.Input<string>;
|
|
178
178
|
/**
|
|
179
|
-
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
179
|
+
* Connection type. `BIGQUERY` `MYSQL` `POSTGRESQL` `SNOWFLAKE` `REDSHIFT` `SQLDW` `SQLSERVER`, `SALESFORCE` or `DATABRICKS` are supported. [Up-to-date list of connection type supported](https://docs.databricks.com/query-federation/index.html#supported-data-sources)
|
|
180
180
|
*/
|
|
181
181
|
connectionType: pulumi.Input<string>;
|
|
182
182
|
metastoreId?: pulumi.Input<string>;
|
package/connection.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Connection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource
|
|
9
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Lakehouse Federation is the query federation platform for Databricks. Databricks uses Unity Catalog to manage query federation. To make a dataset available for read-only querying using Lakehouse Federation, you create the following:
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This resource
|
|
5
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* The `databricks.DefaultNamespaceSetting` resource allows you to operate the setting configuration for the default namespace in the Databricks workspace.
|
|
8
8
|
* Setting the default catalog for the workspace determines the catalog that is used when queries do not reference
|
|
@@ -6,7 +6,7 @@ exports.DefaultNamespaceSetting = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource
|
|
9
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* The `databricks.DefaultNamespaceSetting` resource allows you to operate the setting configuration for the default namespace in the Databricks workspace.
|
|
12
12
|
* Setting the default catalog for the workspace determines the catalog that is used when queries do not reference
|
package/externalLocation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This resource
|
|
5
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
|
|
8
8
|
*
|
package/externalLocation.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.ExternalLocation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource
|
|
9
|
+
* > **Note** This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
|
|
12
12
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This data source
|
|
3
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
4
4
|
*
|
|
5
5
|
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
6
6
|
*
|
|
@@ -75,7 +75,7 @@ export interface GetAwsCrossAccountPolicyResult {
|
|
|
75
75
|
readonly vpcId?: string;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* > **Note** This data source
|
|
78
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
79
79
|
*
|
|
80
80
|
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
81
81
|
*
|
|
@@ -6,7 +6,7 @@ exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = void
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
10
10
|
*
|
|
11
11
|
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
12
12
|
*
|
|
@@ -44,7 +44,7 @@ function getAwsCrossAccountPolicy(args, opts) {
|
|
|
44
44
|
}
|
|
45
45
|
exports.getAwsCrossAccountPolicy = getAwsCrossAccountPolicy;
|
|
46
46
|
/**
|
|
47
|
-
* > **Note** This data source
|
|
47
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
48
48
|
*
|
|
49
49
|
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%C2%A0VPC,%C2%A0default).
|
|
50
50
|
*
|
|
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* });
|
|
29
29
|
* const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
|
|
30
30
|
* name: `${prefix}-uc-access`,
|
|
31
|
-
* assumeRolePolicy:
|
|
31
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
|
|
32
32
|
* managedPolicyArns: [unityMetastore.arn],
|
|
33
33
|
* });
|
|
34
34
|
* ```
|
|
@@ -98,7 +98,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyResult {
|
|
|
98
98
|
* });
|
|
99
99
|
* const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
|
|
100
100
|
* name: `${prefix}-uc-access`,
|
|
101
|
-
* assumeRolePolicy:
|
|
101
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
|
|
102
102
|
* managedPolicyArns: [unityMetastore.arn],
|
|
103
103
|
* });
|
|
104
104
|
* ```
|
|
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* });
|
|
35
35
|
* const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
|
|
36
36
|
* name: `${prefix}-uc-access`,
|
|
37
|
-
* assumeRolePolicy:
|
|
37
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
|
|
38
38
|
* managedPolicyArns: [unityMetastore.arn],
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
@@ -78,7 +78,7 @@ exports.getAwsUnityCatalogAssumeRolePolicy = getAwsUnityCatalogAssumeRolePolicy;
|
|
|
78
78
|
* });
|
|
79
79
|
* const metastoreDataAccess = new aws.iam.Role("metastore_data_access", {
|
|
80
80
|
* name: `${prefix}-uc-access`,
|
|
81
|
-
* assumeRolePolicy:
|
|
81
|
+
* assumeRolePolicy: thisGetAwsUnityCatalogAssumeRolePolicy.then(thisGetAwsUnityCatalogAssumeRolePolicy => thisGetAwsUnityCatalogAssumeRolePolicy.json),
|
|
82
82
|
* managedPolicyArns: [unityMetastore.arn],
|
|
83
83
|
* });
|
|
84
84
|
* ```
|
package/getCatalog.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This data source
|
|
5
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
8
8
|
*
|
|
@@ -71,7 +71,7 @@ export interface GetCatalogResult {
|
|
|
71
71
|
readonly name: string;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* > **Note** This data source
|
|
74
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
75
75
|
*
|
|
76
76
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
77
77
|
*
|
package/getCatalog.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getCatalogOutput = exports.getCatalog = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
12
12
|
*
|
|
@@ -49,7 +49,7 @@ function getCatalog(args, opts) {
|
|
|
49
49
|
}
|
|
50
50
|
exports.getCatalog = getCatalog;
|
|
51
51
|
/**
|
|
52
|
-
* > **Note** This data source
|
|
52
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
53
53
|
*
|
|
54
54
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
55
55
|
*
|
package/getCatalogs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This data source
|
|
3
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
6
6
|
*
|
|
@@ -49,7 +49,7 @@ export interface GetCatalogsResult {
|
|
|
49
49
|
readonly ids: string[];
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* > **Note** This data source
|
|
52
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
53
53
|
*
|
|
54
54
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
55
55
|
*
|
package/getCatalogs.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getCatalogsOutput = exports.getCatalogs = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
12
12
|
*
|
|
@@ -40,7 +40,7 @@ function getCatalogs(args, opts) {
|
|
|
40
40
|
}
|
|
41
41
|
exports.getCatalogs = getCatalogs;
|
|
42
42
|
/**
|
|
43
|
-
* > **Note** This data source
|
|
43
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
44
44
|
*
|
|
45
45
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
46
46
|
*
|
package/getClusters.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
|
|
4
6
|
*
|
|
@@ -47,6 +49,10 @@ export interface GetClustersArgs {
|
|
|
47
49
|
* Only return databricks.Cluster ids that match the given name string.
|
|
48
50
|
*/
|
|
49
51
|
clusterNameContains?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Filters to apply to the listed clusters. See filterBy Configuration Block below for details.
|
|
54
|
+
*/
|
|
55
|
+
filterBy?: inputs.GetClustersFilterBy;
|
|
50
56
|
id?: string;
|
|
51
57
|
/**
|
|
52
58
|
* list of databricks.Cluster ids
|
|
@@ -58,6 +64,7 @@ export interface GetClustersArgs {
|
|
|
58
64
|
*/
|
|
59
65
|
export interface GetClustersResult {
|
|
60
66
|
readonly clusterNameContains?: string;
|
|
67
|
+
readonly filterBy?: outputs.GetClustersFilterBy;
|
|
61
68
|
readonly id: string;
|
|
62
69
|
/**
|
|
63
70
|
* list of databricks.Cluster ids
|
|
@@ -112,6 +119,10 @@ export interface GetClustersOutputArgs {
|
|
|
112
119
|
* Only return databricks.Cluster ids that match the given name string.
|
|
113
120
|
*/
|
|
114
121
|
clusterNameContains?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Filters to apply to the listed clusters. See filterBy Configuration Block below for details.
|
|
124
|
+
*/
|
|
125
|
+
filterBy?: pulumi.Input<inputs.GetClustersFilterByArgs>;
|
|
115
126
|
id?: pulumi.Input<string>;
|
|
116
127
|
/**
|
|
117
128
|
* list of databricks.Cluster ids
|
package/getClusters.js
CHANGED
|
@@ -49,6 +49,7 @@ function getClusters(args, opts) {
|
|
|
49
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
50
|
return pulumi.runtime.invoke("databricks:index/getClusters:getClusters", {
|
|
51
51
|
"clusterNameContains": args.clusterNameContains,
|
|
52
|
+
"filterBy": args.filterBy,
|
|
52
53
|
"id": args.id,
|
|
53
54
|
"ids": args.ids,
|
|
54
55
|
}, opts);
|
package/getClusters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/getExternalLocation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This data source
|
|
5
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
|
|
8
8
|
*
|
|
@@ -60,7 +60,7 @@ export interface GetExternalLocationResult {
|
|
|
60
60
|
readonly name: string;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* > **Note** This data source
|
|
63
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
64
64
|
*
|
|
65
65
|
* Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
|
|
66
66
|
*
|
package/getExternalLocation.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getExternalLocationOutput = exports.getExternalLocation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
|
|
12
12
|
*
|
|
@@ -41,7 +41,7 @@ function getExternalLocation(args, opts) {
|
|
|
41
41
|
}
|
|
42
42
|
exports.getExternalLocation = getExternalLocation;
|
|
43
43
|
/**
|
|
44
|
-
* > **Note** This data source
|
|
44
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
45
45
|
*
|
|
46
46
|
* Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
|
|
47
47
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This data source
|
|
3
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
6
6
|
*
|
|
@@ -47,7 +47,7 @@ export interface GetExternalLocationsResult {
|
|
|
47
47
|
readonly names: string[];
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* > **Note** This data source
|
|
50
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
51
51
|
*
|
|
52
52
|
* Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
53
53
|
*
|
package/getExternalLocations.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getExternalLocationsOutput = exports.getExternalLocations = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
12
12
|
*
|
|
@@ -38,7 +38,7 @@ function getExternalLocations(args, opts) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.getExternalLocations = getExternalLocations;
|
|
40
40
|
/**
|
|
41
|
-
* > **Note** This data source
|
|
41
|
+
* > **Note** This data source can only be used with a workspace-level provider!
|
|
42
42
|
*
|
|
43
43
|
* Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
44
44
|
*
|
package/getMetastore.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
-
* > **Note** This data source
|
|
5
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
6
6
|
*
|
|
7
7
|
* Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
8
8
|
*
|
|
@@ -82,7 +82,7 @@ export interface GetMetastoreResult {
|
|
|
82
82
|
readonly region: string;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
* > **Note** This data source
|
|
85
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
86
86
|
*
|
|
87
87
|
* Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
88
88
|
*
|
package/getMetastore.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getMetastoreOutput = exports.getMetastore = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
12
12
|
*
|
|
@@ -53,7 +53,7 @@ function getMetastore(args, opts) {
|
|
|
53
53
|
}
|
|
54
54
|
exports.getMetastore = getMetastore;
|
|
55
55
|
/**
|
|
56
|
-
* > **Note** This data source
|
|
56
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
57
57
|
*
|
|
58
58
|
* Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
59
59
|
*
|
package/getMetastores.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This data source
|
|
3
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
4
4
|
*
|
|
5
5
|
* Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
6
6
|
*
|
|
@@ -54,7 +54,7 @@ export interface GetMetastoresResult {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
|
-
* > **Note** This data source
|
|
57
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
58
58
|
*
|
|
59
59
|
* Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
60
60
|
*
|
package/getMetastores.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getMetastoresOutput = exports.getMetastores = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This data source
|
|
9
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
12
12
|
*
|
|
@@ -41,7 +41,7 @@ function getMetastores(args, opts) {
|
|
|
41
41
|
}
|
|
42
42
|
exports.getMetastores = getMetastores;
|
|
43
43
|
/**
|
|
44
|
-
* > **Note** This data source
|
|
44
|
+
* > **Note** This data source can only be used with an account-level provider!
|
|
45
45
|
*
|
|
46
46
|
* Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
47
47
|
*
|