@pulumi/databricks 1.40.0 → 1.41.0

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.
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * Read on a specific catalog `test`:
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as databricks from "@pulumi/databricks";
12
+ *
13
+ * const test = databricks.getCatalog({
14
+ * name: "test",
15
+ * });
16
+ * const things = new databricks.Grants("things", {
17
+ * catalog: test.then(test => test.name),
18
+ * grants: [{
19
+ * principal: "sensitive",
20
+ * privileges: ["USE_CATALOG"],
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Related Resources
26
+ *
27
+ * The following resources are used in the same context:
28
+ *
29
+ * * databricks.Grant to manage grants within Unity Catalog.
30
+ * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
31
+ */
32
+ export declare function getCatalog(args: GetCatalogArgs, opts?: pulumi.InvokeOptions): Promise<GetCatalogResult>;
33
+ /**
34
+ * A collection of arguments for invoking getCatalog.
35
+ */
36
+ export interface GetCatalogArgs {
37
+ /**
38
+ * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ):
39
+ */
40
+ catalogInfo?: inputs.GetCatalogCatalogInfo;
41
+ /**
42
+ * same as the `name`
43
+ */
44
+ id?: string;
45
+ /**
46
+ * name of the catalog
47
+ */
48
+ name: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by getCatalog.
52
+ */
53
+ export interface GetCatalogResult {
54
+ /**
55
+ * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ):
56
+ */
57
+ readonly catalogInfo: outputs.GetCatalogCatalogInfo;
58
+ /**
59
+ * same as the `name`
60
+ */
61
+ readonly id: string;
62
+ /**
63
+ * Name of the catalog
64
+ */
65
+ readonly name: string;
66
+ }
67
+ /**
68
+ * ## Example Usage
69
+ *
70
+ * Read on a specific catalog `test`:
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as databricks from "@pulumi/databricks";
75
+ *
76
+ * const test = databricks.getCatalog({
77
+ * name: "test",
78
+ * });
79
+ * const things = new databricks.Grants("things", {
80
+ * catalog: test.then(test => test.name),
81
+ * grants: [{
82
+ * principal: "sensitive",
83
+ * privileges: ["USE_CATALOG"],
84
+ * }],
85
+ * });
86
+ * ```
87
+ *
88
+ * ## Related Resources
89
+ *
90
+ * The following resources are used in the same context:
91
+ *
92
+ * * databricks.Grant to manage grants within Unity Catalog.
93
+ * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
94
+ */
95
+ export declare function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCatalogResult>;
96
+ /**
97
+ * A collection of arguments for invoking getCatalog.
98
+ */
99
+ export interface GetCatalogOutputArgs {
100
+ /**
101
+ * the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ):
102
+ */
103
+ catalogInfo?: pulumi.Input<inputs.GetCatalogCatalogInfoArgs>;
104
+ /**
105
+ * same as the `name`
106
+ */
107
+ id?: pulumi.Input<string>;
108
+ /**
109
+ * name of the catalog
110
+ */
111
+ name: pulumi.Input<string>;
112
+ }
package/getCatalog.js ADDED
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCatalogOutput = exports.getCatalog = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Read on a specific catalog `test`:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const test = databricks.getCatalog({
18
+ * name: "test",
19
+ * });
20
+ * const things = new databricks.Grants("things", {
21
+ * catalog: test.then(test => test.name),
22
+ * grants: [{
23
+ * principal: "sensitive",
24
+ * privileges: ["USE_CATALOG"],
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Related Resources
30
+ *
31
+ * The following resources are used in the same context:
32
+ *
33
+ * * databricks.Grant to manage grants within Unity Catalog.
34
+ * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
35
+ */
36
+ function getCatalog(args, opts) {
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
+ return pulumi.runtime.invoke("databricks:index/getCatalog:getCatalog", {
39
+ "catalogInfo": args.catalogInfo,
40
+ "id": args.id,
41
+ "name": args.name,
42
+ }, opts);
43
+ }
44
+ exports.getCatalog = getCatalog;
45
+ /**
46
+ * ## Example Usage
47
+ *
48
+ * Read on a specific catalog `test`:
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as databricks from "@pulumi/databricks";
53
+ *
54
+ * const test = databricks.getCatalog({
55
+ * name: "test",
56
+ * });
57
+ * const things = new databricks.Grants("things", {
58
+ * catalog: test.then(test => test.name),
59
+ * grants: [{
60
+ * principal: "sensitive",
61
+ * privileges: ["USE_CATALOG"],
62
+ * }],
63
+ * });
64
+ * ```
65
+ *
66
+ * ## Related Resources
67
+ *
68
+ * The following resources are used in the same context:
69
+ *
70
+ * * databricks.Grant to manage grants within Unity Catalog.
71
+ * * databricks.getCatalogs to list all catalogs within Unity Catalog metastore.
72
+ */
73
+ function getCatalogOutput(args, opts) {
74
+ return pulumi.output(args).apply((a) => getCatalog(a, opts));
75
+ }
76
+ exports.getCatalogOutput = getCatalogOutput;
77
+ //# sourceMappingURL=getCatalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCatalog.js","sourceRoot":"","sources":["../getCatalog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,126 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
6
+ *
7
+ * Retrieves the settings of databricks.MlflowExperiment by id or name.
8
+ */
9
+ export declare function getMlflowExperiment(args?: GetMlflowExperimentArgs, opts?: pulumi.InvokeOptions): Promise<GetMlflowExperimentResult>;
10
+ /**
11
+ * A collection of arguments for invoking getMlflowExperiment.
12
+ */
13
+ export interface GetMlflowExperimentArgs {
14
+ /**
15
+ * Location where artifacts for the experiment are stored.
16
+ */
17
+ artifactLocation?: string;
18
+ /**
19
+ * Creation time in unix time stamp.
20
+ */
21
+ creationTime?: number;
22
+ /**
23
+ * Unique identifier for the experiment.
24
+ */
25
+ experimentId?: string;
26
+ /**
27
+ * Unique identifier for the experiment. (same as `experimentId`)
28
+ */
29
+ id?: string;
30
+ /**
31
+ * Last update time in unix time stamp.
32
+ */
33
+ lastUpdateTime?: number;
34
+ /**
35
+ * Current life cycle stage of the experiment: `active` or `deleted`.
36
+ */
37
+ lifecycleStage?: string;
38
+ /**
39
+ * Path to experiment.
40
+ */
41
+ name?: string;
42
+ /**
43
+ * Additional metadata key-value pairs.
44
+ */
45
+ tags?: inputs.GetMlflowExperimentTag[];
46
+ }
47
+ /**
48
+ * A collection of values returned by getMlflowExperiment.
49
+ */
50
+ export interface GetMlflowExperimentResult {
51
+ /**
52
+ * Location where artifacts for the experiment are stored.
53
+ */
54
+ readonly artifactLocation: string;
55
+ /**
56
+ * Creation time in unix time stamp.
57
+ */
58
+ readonly creationTime: number;
59
+ /**
60
+ * Unique identifier for the experiment. (same as `id`)
61
+ */
62
+ readonly experimentId: string;
63
+ /**
64
+ * Unique identifier for the experiment. (same as `experimentId`)
65
+ */
66
+ readonly id: string;
67
+ /**
68
+ * Last update time in unix time stamp.
69
+ */
70
+ readonly lastUpdateTime: number;
71
+ /**
72
+ * Current life cycle stage of the experiment: `active` or `deleted`.
73
+ */
74
+ readonly lifecycleStage: string;
75
+ /**
76
+ * Path to experiment.
77
+ */
78
+ readonly name: string;
79
+ /**
80
+ * Additional metadata key-value pairs.
81
+ */
82
+ readonly tags: outputs.GetMlflowExperimentTag[];
83
+ }
84
+ /**
85
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
86
+ *
87
+ * Retrieves the settings of databricks.MlflowExperiment by id or name.
88
+ */
89
+ export declare function getMlflowExperimentOutput(args?: GetMlflowExperimentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMlflowExperimentResult>;
90
+ /**
91
+ * A collection of arguments for invoking getMlflowExperiment.
92
+ */
93
+ export interface GetMlflowExperimentOutputArgs {
94
+ /**
95
+ * Location where artifacts for the experiment are stored.
96
+ */
97
+ artifactLocation?: pulumi.Input<string>;
98
+ /**
99
+ * Creation time in unix time stamp.
100
+ */
101
+ creationTime?: pulumi.Input<number>;
102
+ /**
103
+ * Unique identifier for the experiment.
104
+ */
105
+ experimentId?: pulumi.Input<string>;
106
+ /**
107
+ * Unique identifier for the experiment. (same as `experimentId`)
108
+ */
109
+ id?: pulumi.Input<string>;
110
+ /**
111
+ * Last update time in unix time stamp.
112
+ */
113
+ lastUpdateTime?: pulumi.Input<number>;
114
+ /**
115
+ * Current life cycle stage of the experiment: `active` or `deleted`.
116
+ */
117
+ lifecycleStage?: pulumi.Input<string>;
118
+ /**
119
+ * Path to experiment.
120
+ */
121
+ name?: pulumi.Input<string>;
122
+ /**
123
+ * Additional metadata key-value pairs.
124
+ */
125
+ tags?: pulumi.Input<pulumi.Input<inputs.GetMlflowExperimentTagArgs>[]>;
126
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getMlflowExperimentOutput = exports.getMlflowExperiment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
10
+ *
11
+ * Retrieves the settings of databricks.MlflowExperiment by id or name.
12
+ */
13
+ function getMlflowExperiment(args, opts) {
14
+ args = args || {};
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
+ return pulumi.runtime.invoke("databricks:index/getMlflowExperiment:getMlflowExperiment", {
17
+ "artifactLocation": args.artifactLocation,
18
+ "creationTime": args.creationTime,
19
+ "experimentId": args.experimentId,
20
+ "id": args.id,
21
+ "lastUpdateTime": args.lastUpdateTime,
22
+ "lifecycleStage": args.lifecycleStage,
23
+ "name": args.name,
24
+ "tags": args.tags,
25
+ }, opts);
26
+ }
27
+ exports.getMlflowExperiment = getMlflowExperiment;
28
+ /**
29
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
30
+ *
31
+ * Retrieves the settings of databricks.MlflowExperiment by id or name.
32
+ */
33
+ function getMlflowExperimentOutput(args, opts) {
34
+ return pulumi.output(args).apply((a) => getMlflowExperiment(a, opts));
35
+ }
36
+ exports.getMlflowExperimentOutput = getMlflowExperimentOutput;
37
+ //# sourceMappingURL=getMlflowExperiment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMlflowExperiment.js","sourceRoot":"","sources":["../getMlflowExperiment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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,0DAA0D,EAAE;QACrF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kDAcC;AA6ED;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
package/getTable.d.ts ADDED
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * Read on a specific table `main.certified.fct_transactions`:
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as databricks from "@pulumi/databricks";
12
+ *
13
+ * const fctTransactions = databricks.getTable({
14
+ * name: "main.certified.fct_transactions",
15
+ * });
16
+ * const things = new databricks.Grants("things", {
17
+ * table: fctTransactions.then(fctTransactions => fctTransactions.name),
18
+ * grants: [{
19
+ * principal: "sensitive",
20
+ * privileges: [
21
+ * "SELECT",
22
+ * "MODIFY",
23
+ * ],
24
+ * }],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Related Resources
29
+ *
30
+ * The following resources are used in the same context:
31
+ *
32
+ * * databricks.Grant to manage grants within Unity Catalog.
33
+ * * databricks.getTables to list all tables within a schema in Unity Catalog.
34
+ */
35
+ export declare function getTable(args: GetTableArgs, opts?: pulumi.InvokeOptions): Promise<GetTableResult>;
36
+ /**
37
+ * A collection of arguments for invoking getTable.
38
+ */
39
+ export interface GetTableArgs {
40
+ id?: string;
41
+ /**
42
+ * Full name of the databricks_table: _`catalog`.`schema`.`table`_
43
+ */
44
+ name: string;
45
+ /**
46
+ * TableInfo object for a Unity Catalog table. This contains the following attributes:
47
+ */
48
+ tableInfo?: inputs.GetTableTableInfo;
49
+ }
50
+ /**
51
+ * A collection of values returned by getTable.
52
+ */
53
+ export interface GetTableResult {
54
+ readonly id: string;
55
+ /**
56
+ * Name of table, relative to parent schema.
57
+ */
58
+ readonly name: string;
59
+ /**
60
+ * TableInfo object for a Unity Catalog table. This contains the following attributes:
61
+ */
62
+ readonly tableInfo: outputs.GetTableTableInfo;
63
+ }
64
+ /**
65
+ * ## Example Usage
66
+ *
67
+ * Read on a specific table `main.certified.fct_transactions`:
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as databricks from "@pulumi/databricks";
72
+ *
73
+ * const fctTransactions = databricks.getTable({
74
+ * name: "main.certified.fct_transactions",
75
+ * });
76
+ * const things = new databricks.Grants("things", {
77
+ * table: fctTransactions.then(fctTransactions => fctTransactions.name),
78
+ * grants: [{
79
+ * principal: "sensitive",
80
+ * privileges: [
81
+ * "SELECT",
82
+ * "MODIFY",
83
+ * ],
84
+ * }],
85
+ * });
86
+ * ```
87
+ *
88
+ * ## Related Resources
89
+ *
90
+ * The following resources are used in the same context:
91
+ *
92
+ * * databricks.Grant to manage grants within Unity Catalog.
93
+ * * databricks.getTables to list all tables within a schema in Unity Catalog.
94
+ */
95
+ export declare function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTableResult>;
96
+ /**
97
+ * A collection of arguments for invoking getTable.
98
+ */
99
+ export interface GetTableOutputArgs {
100
+ id?: pulumi.Input<string>;
101
+ /**
102
+ * Full name of the databricks_table: _`catalog`.`schema`.`table`_
103
+ */
104
+ name: pulumi.Input<string>;
105
+ /**
106
+ * TableInfo object for a Unity Catalog table. This contains the following attributes:
107
+ */
108
+ tableInfo?: pulumi.Input<inputs.GetTableTableInfoArgs>;
109
+ }
package/getTable.js ADDED
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTableOutput = exports.getTable = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Read on a specific table `main.certified.fct_transactions`:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const fctTransactions = databricks.getTable({
18
+ * name: "main.certified.fct_transactions",
19
+ * });
20
+ * const things = new databricks.Grants("things", {
21
+ * table: fctTransactions.then(fctTransactions => fctTransactions.name),
22
+ * grants: [{
23
+ * principal: "sensitive",
24
+ * privileges: [
25
+ * "SELECT",
26
+ * "MODIFY",
27
+ * ],
28
+ * }],
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Related Resources
33
+ *
34
+ * The following resources are used in the same context:
35
+ *
36
+ * * databricks.Grant to manage grants within Unity Catalog.
37
+ * * databricks.getTables to list all tables within a schema in Unity Catalog.
38
+ */
39
+ function getTable(args, opts) {
40
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
41
+ return pulumi.runtime.invoke("databricks:index/getTable:getTable", {
42
+ "id": args.id,
43
+ "name": args.name,
44
+ "tableInfo": args.tableInfo,
45
+ }, opts);
46
+ }
47
+ exports.getTable = getTable;
48
+ /**
49
+ * ## Example Usage
50
+ *
51
+ * Read on a specific table `main.certified.fct_transactions`:
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as databricks from "@pulumi/databricks";
56
+ *
57
+ * const fctTransactions = databricks.getTable({
58
+ * name: "main.certified.fct_transactions",
59
+ * });
60
+ * const things = new databricks.Grants("things", {
61
+ * table: fctTransactions.then(fctTransactions => fctTransactions.name),
62
+ * grants: [{
63
+ * principal: "sensitive",
64
+ * privileges: [
65
+ * "SELECT",
66
+ * "MODIFY",
67
+ * ],
68
+ * }],
69
+ * });
70
+ * ```
71
+ *
72
+ * ## Related Resources
73
+ *
74
+ * The following resources are used in the same context:
75
+ *
76
+ * * databricks.Grant to manage grants within Unity Catalog.
77
+ * * databricks.getTables to list all tables within a schema in Unity Catalog.
78
+ */
79
+ function getTableOutput(args, opts) {
80
+ return pulumi.output(args).apply((a) => getTable(a, opts));
81
+ }
82
+ exports.getTableOutput = getTableOutput;
83
+ //# sourceMappingURL=getTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTable.js","sourceRoot":"","sources":["../getTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/index.d.ts CHANGED
@@ -49,6 +49,9 @@ export declare const getAwsCrossAccountPolicyOutput: typeof import("./getAwsCros
49
49
  export { GetAwsUnityCatalogPolicyArgs, GetAwsUnityCatalogPolicyResult, GetAwsUnityCatalogPolicyOutputArgs } from "./getAwsUnityCatalogPolicy";
50
50
  export declare const getAwsUnityCatalogPolicy: typeof import("./getAwsUnityCatalogPolicy").getAwsUnityCatalogPolicy;
51
51
  export declare const getAwsUnityCatalogPolicyOutput: typeof import("./getAwsUnityCatalogPolicy").getAwsUnityCatalogPolicyOutput;
52
+ export { GetCatalogArgs, GetCatalogResult, GetCatalogOutputArgs } from "./getCatalog";
53
+ export declare const getCatalog: typeof import("./getCatalog").getCatalog;
54
+ export declare const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput;
52
55
  export { GetCatalogsArgs, GetCatalogsResult, GetCatalogsOutputArgs } from "./getCatalogs";
53
56
  export declare const getCatalogs: typeof import("./getCatalogs").getCatalogs;
54
57
  export declare const getCatalogsOutput: typeof import("./getCatalogs").getCatalogsOutput;
@@ -106,6 +109,9 @@ export declare const getMetastoreOutput: typeof import("./getMetastore").getMeta
106
109
  export { GetMetastoresArgs, GetMetastoresResult, GetMetastoresOutputArgs } from "./getMetastores";
107
110
  export declare const getMetastores: typeof import("./getMetastores").getMetastores;
108
111
  export declare const getMetastoresOutput: typeof import("./getMetastores").getMetastoresOutput;
112
+ export { GetMlflowExperimentArgs, GetMlflowExperimentResult, GetMlflowExperimentOutputArgs } from "./getMlflowExperiment";
113
+ export declare const getMlflowExperiment: typeof import("./getMlflowExperiment").getMlflowExperiment;
114
+ export declare const getMlflowExperimentOutput: typeof import("./getMlflowExperiment").getMlflowExperimentOutput;
109
115
  export { GetMlflowModelArgs, GetMlflowModelResult, GetMlflowModelOutputArgs } from "./getMlflowModel";
110
116
  export declare const getMlflowModel: typeof import("./getMlflowModel").getMlflowModel;
111
117
  export declare const getMlflowModelOutput: typeof import("./getMlflowModel").getMlflowModelOutput;
@@ -157,6 +163,9 @@ export declare const getStorageCredentialOutput: typeof import("./getStorageCred
157
163
  export { GetStorageCredentialsArgs, GetStorageCredentialsResult, GetStorageCredentialsOutputArgs } from "./getStorageCredentials";
158
164
  export declare const getStorageCredentials: typeof import("./getStorageCredentials").getStorageCredentials;
159
165
  export declare const getStorageCredentialsOutput: typeof import("./getStorageCredentials").getStorageCredentialsOutput;
166
+ export { GetTableArgs, GetTableResult, GetTableOutputArgs } from "./getTable";
167
+ export declare const getTable: typeof import("./getTable").getTable;
168
+ export declare const getTableOutput: typeof import("./getTable").getTableOutput;
160
169
  export { GetTablesArgs, GetTablesResult, GetTablesOutputArgs } from "./getTables";
161
170
  export declare const getTables: typeof import("./getTables").getTables;
162
171
  export declare const getTablesOutput: typeof import("./getTables").getTablesOutput;
package/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getInstanceProfiles = exports.getInstancePoolOutput = exports.getInstancePool = exports.getGroupOutput = exports.getGroup = exports.getExternalLocationsOutput = exports.getExternalLocations = exports.getExternalLocationOutput = exports.getExternalLocation = exports.getDirectoryOutput = exports.getDirectory = exports.getDbfsFilePathsOutput = exports.getDbfsFilePaths = exports.getDbfsFileOutput = exports.getDbfsFile = exports.getCurrentUserOutput = exports.getCurrentUser = exports.getCurrentMetastoreOutput = exports.getCurrentMetastore = exports.getCurrentConfigOutput = exports.getCurrentConfig = exports.getClustersOutput = exports.getClusters = exports.getClusterPolicyOutput = exports.getClusterPolicy = exports.getClusterOutput = exports.getCluster = exports.getCatalogsOutput = exports.getCatalogs = exports.getAwsUnityCatalogPolicyOutput = exports.getAwsUnityCatalogPolicy = exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = exports.getAwsBucketPolicyOutput = exports.getAwsBucketPolicy = exports.getAwsAssumeRolePolicyOutput = exports.getAwsAssumeRolePolicy = exports.File = exports.ExternalLocation = exports.Entitlements = exports.Directory = exports.DefaultNamespaceSetting = exports.DbfsFile = exports.Connection = exports.ClusterPolicy = exports.Cluster = exports.CatalogWorkspaceBinding = exports.Catalog = exports.ArtifactAllowlist = exports.AccessControlRuleSet = void 0;
6
- exports.getVolumes = exports.getViewsOutput = exports.getViews = exports.getUserOutput = exports.getUser = exports.getTablesOutput = exports.getTables = exports.getStorageCredentialsOutput = exports.getStorageCredentials = exports.getStorageCredentialOutput = exports.getStorageCredential = exports.getSqlWarehousesOutput = exports.getSqlWarehouses = exports.getSqlWarehouseOutput = exports.getSqlWarehouse = exports.getSparkVersionOutput = exports.getSparkVersion = exports.getSharesOutput = exports.getShares = exports.getShareOutput = exports.getShare = exports.getServicePrincipalsOutput = exports.getServicePrincipals = exports.getServicePrincipalOutput = exports.getServicePrincipal = exports.getSchemasOutput = exports.getSchemas = exports.getPipelinesOutput = exports.getPipelines = exports.getNotebookPathsOutput = exports.getNotebookPaths = exports.getNotebookOutput = exports.getNotebook = exports.getNodeTypeOutput = exports.getNodeType = exports.getMwsWorkspacesOutput = exports.getMwsWorkspaces = exports.getMwsCredentialsOutput = exports.getMwsCredentials = exports.getMlflowModelOutput = exports.getMlflowModel = exports.getMetastoresOutput = exports.getMetastores = exports.getMetastoreOutput = exports.getMetastore = exports.getJobsOutput = exports.getJobs = exports.getJobOutput = exports.getJob = exports.getInstanceProfilesOutput = void 0;
7
- exports.Schema = exports.RestrictWorkspaceAdminsSetting = exports.Repo = exports.RegisteredModel = exports.Recipient = exports.Provider = exports.Pipeline = exports.Permissions = exports.PermissionAssignment = exports.OnlineTable = exports.OboToken = exports.Notebook = exports.MwsWorkspaces = exports.MwsVpcEndpoint = exports.MwsStorageConfigurations = exports.MwsPrivateAccessSettings = exports.MwsPermissionAssignment = exports.MwsNetworks = exports.MwsNetworkConnectivityConfig = exports.MwsNccPrivateEndpointRule = exports.MwsNccBinding = exports.MwsLogDelivery = exports.MwsCustomerManagedKeys = exports.MwsCredentials = exports.Mount = exports.ModelServing = exports.MlflowWebhook = exports.MlflowModel = exports.MlflowExperiment = exports.MetastoreProvider = exports.MetastoreDataAccess = exports.MetastoreAssignment = exports.Metastore = exports.Library = exports.LakehouseMonitor = exports.Job = exports.IpAccessList = exports.InstanceProfile = exports.InstancePool = exports.GroupRole = exports.GroupMember = exports.GroupInstanceProfile = exports.Group = exports.Grants = exports.Grant = exports.GlobalInitScript = exports.GitCredential = exports.getZonesOutput = exports.getZones = exports.getVolumesOutput = void 0;
8
- exports.types = exports.config = exports.WorkspaceFile = exports.WorkspaceConf = exports.Volume = exports.VectorSearchIndex = exports.VectorSearchEndpoint = exports.UserRole = exports.UserInstanceProfile = exports.User = exports.Token = exports.Table = exports.SystemSchema = exports.StorageCredential = exports.SqlWidget = exports.SqlVisualization = exports.SqlTable = exports.SqlQuery = exports.SqlPermissions = exports.SqlGlobalConfig = exports.SqlEndpoint = exports.SqlDashboard = exports.SqlAlert = exports.Share = exports.ServicePrincipalSecret = exports.ServicePrincipalRole = exports.ServicePrincipal = exports.SecretScope = exports.SecretAcl = exports.Secret = void 0;
5
+ exports.getInstancePool = exports.getGroupOutput = exports.getGroup = exports.getExternalLocationsOutput = exports.getExternalLocations = exports.getExternalLocationOutput = exports.getExternalLocation = exports.getDirectoryOutput = exports.getDirectory = exports.getDbfsFilePathsOutput = exports.getDbfsFilePaths = exports.getDbfsFileOutput = exports.getDbfsFile = exports.getCurrentUserOutput = exports.getCurrentUser = exports.getCurrentMetastoreOutput = exports.getCurrentMetastore = exports.getCurrentConfigOutput = exports.getCurrentConfig = exports.getClustersOutput = exports.getClusters = exports.getClusterPolicyOutput = exports.getClusterPolicy = exports.getClusterOutput = exports.getCluster = exports.getCatalogsOutput = exports.getCatalogs = exports.getCatalogOutput = exports.getCatalog = exports.getAwsUnityCatalogPolicyOutput = exports.getAwsUnityCatalogPolicy = exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = exports.getAwsBucketPolicyOutput = exports.getAwsBucketPolicy = exports.getAwsAssumeRolePolicyOutput = exports.getAwsAssumeRolePolicy = exports.File = exports.ExternalLocation = exports.Entitlements = exports.Directory = exports.DefaultNamespaceSetting = exports.DbfsFile = exports.Connection = exports.ClusterPolicy = exports.Cluster = exports.CatalogWorkspaceBinding = exports.Catalog = exports.ArtifactAllowlist = exports.AccessControlRuleSet = void 0;
6
+ exports.getTables = exports.getTableOutput = exports.getTable = exports.getStorageCredentialsOutput = exports.getStorageCredentials = exports.getStorageCredentialOutput = exports.getStorageCredential = exports.getSqlWarehousesOutput = exports.getSqlWarehouses = exports.getSqlWarehouseOutput = exports.getSqlWarehouse = exports.getSparkVersionOutput = exports.getSparkVersion = exports.getSharesOutput = exports.getShares = exports.getShareOutput = exports.getShare = exports.getServicePrincipalsOutput = exports.getServicePrincipals = exports.getServicePrincipalOutput = exports.getServicePrincipal = exports.getSchemasOutput = exports.getSchemas = exports.getPipelinesOutput = exports.getPipelines = exports.getNotebookPathsOutput = exports.getNotebookPaths = exports.getNotebookOutput = exports.getNotebook = exports.getNodeTypeOutput = exports.getNodeType = exports.getMwsWorkspacesOutput = exports.getMwsWorkspaces = exports.getMwsCredentialsOutput = exports.getMwsCredentials = exports.getMlflowModelOutput = exports.getMlflowModel = exports.getMlflowExperimentOutput = exports.getMlflowExperiment = exports.getMetastoresOutput = exports.getMetastores = exports.getMetastoreOutput = exports.getMetastore = exports.getJobsOutput = exports.getJobs = exports.getJobOutput = exports.getJob = exports.getInstanceProfilesOutput = exports.getInstanceProfiles = exports.getInstancePoolOutput = void 0;
7
+ exports.Pipeline = exports.Permissions = exports.PermissionAssignment = exports.OnlineTable = exports.OboToken = exports.Notebook = exports.MwsWorkspaces = exports.MwsVpcEndpoint = exports.MwsStorageConfigurations = exports.MwsPrivateAccessSettings = exports.MwsPermissionAssignment = exports.MwsNetworks = exports.MwsNetworkConnectivityConfig = exports.MwsNccPrivateEndpointRule = exports.MwsNccBinding = exports.MwsLogDelivery = exports.MwsCustomerManagedKeys = exports.MwsCredentials = exports.Mount = exports.ModelServing = exports.MlflowWebhook = exports.MlflowModel = exports.MlflowExperiment = exports.MetastoreProvider = exports.MetastoreDataAccess = exports.MetastoreAssignment = exports.Metastore = exports.Library = exports.LakehouseMonitor = exports.Job = exports.IpAccessList = exports.InstanceProfile = exports.InstancePool = exports.GroupRole = exports.GroupMember = exports.GroupInstanceProfile = exports.Group = exports.Grants = exports.Grant = exports.GlobalInitScript = exports.GitCredential = exports.getZonesOutput = exports.getZones = exports.getVolumesOutput = exports.getVolumes = exports.getViewsOutput = exports.getViews = exports.getUserOutput = exports.getUser = exports.getTablesOutput = void 0;
8
+ exports.types = exports.config = exports.WorkspaceFile = exports.WorkspaceConf = exports.Volume = exports.VectorSearchIndex = exports.VectorSearchEndpoint = exports.UserRole = exports.UserInstanceProfile = exports.User = exports.Token = exports.Table = exports.SystemSchema = exports.StorageCredential = exports.SqlWidget = exports.SqlVisualization = exports.SqlTable = exports.SqlQuery = exports.SqlPermissions = exports.SqlGlobalConfig = exports.SqlEndpoint = exports.SqlDashboard = exports.SqlAlert = exports.Share = exports.ServicePrincipalSecret = exports.ServicePrincipalRole = exports.ServicePrincipal = exports.SecretScope = exports.SecretAcl = exports.Secret = exports.Schema = exports.RestrictWorkspaceAdminsSetting = exports.Repo = exports.RegisteredModel = exports.Recipient = exports.Provider = void 0;
9
9
  const pulumi = require("@pulumi/pulumi");
10
10
  const utilities = require("./utilities");
11
11
  exports.AccessControlRuleSet = null;
@@ -46,6 +46,9 @@ utilities.lazyLoad(exports, ["getAwsCrossAccountPolicy", "getAwsCrossAccountPoli
46
46
  exports.getAwsUnityCatalogPolicy = null;
47
47
  exports.getAwsUnityCatalogPolicyOutput = null;
48
48
  utilities.lazyLoad(exports, ["getAwsUnityCatalogPolicy", "getAwsUnityCatalogPolicyOutput"], () => require("./getAwsUnityCatalogPolicy"));
49
+ exports.getCatalog = null;
50
+ exports.getCatalogOutput = null;
51
+ utilities.lazyLoad(exports, ["getCatalog", "getCatalogOutput"], () => require("./getCatalog"));
49
52
  exports.getCatalogs = null;
50
53
  exports.getCatalogsOutput = null;
51
54
  utilities.lazyLoad(exports, ["getCatalogs", "getCatalogsOutput"], () => require("./getCatalogs"));
@@ -103,6 +106,9 @@ utilities.lazyLoad(exports, ["getMetastore", "getMetastoreOutput"], () => requir
103
106
  exports.getMetastores = null;
104
107
  exports.getMetastoresOutput = null;
105
108
  utilities.lazyLoad(exports, ["getMetastores", "getMetastoresOutput"], () => require("./getMetastores"));
109
+ exports.getMlflowExperiment = null;
110
+ exports.getMlflowExperimentOutput = null;
111
+ utilities.lazyLoad(exports, ["getMlflowExperiment", "getMlflowExperimentOutput"], () => require("./getMlflowExperiment"));
106
112
  exports.getMlflowModel = null;
107
113
  exports.getMlflowModelOutput = null;
108
114
  utilities.lazyLoad(exports, ["getMlflowModel", "getMlflowModelOutput"], () => require("./getMlflowModel"));
@@ -154,6 +160,9 @@ utilities.lazyLoad(exports, ["getStorageCredential", "getStorageCredentialOutput
154
160
  exports.getStorageCredentials = null;
155
161
  exports.getStorageCredentialsOutput = null;
156
162
  utilities.lazyLoad(exports, ["getStorageCredentials", "getStorageCredentialsOutput"], () => require("./getStorageCredentials"));
163
+ exports.getTable = null;
164
+ exports.getTableOutput = null;
165
+ utilities.lazyLoad(exports, ["getTable", "getTableOutput"], () => require("./getTable"));
157
166
  exports.getTables = null;
158
167
  exports.getTablesOutput = null;
159
168
  utilities.lazyLoad(exports, ["getTables", "getTablesOutput"], () => require("./getTables"));