@pulumi/databricks 1.47.0-alpha.1721236148 → 1.47.0-alpha.1721667289
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/catalogWorkspaceBinding.d.ts +1 -1
- package/cluster.d.ts +3 -3
- package/dashboard.d.ts +143 -0
- package/dashboard.js +95 -0
- package/dashboard.js.map +1 -0
- package/getClusters.d.ts +10 -3
- package/getClusters.js +2 -0
- package/getClusters.js.map +1 -1
- package/getSchema.d.ts +66 -0
- package/getSchema.js +31 -0
- package/getSchema.js.map +1 -0
- package/getSqlWarehouses.d.ts +2 -2
- package/getSqlWarehouses.js +2 -2
- package/getVolume.d.ts +66 -0
- package/getVolume.js +31 -0
- package/getVolume.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +20 -4
- package/index.js.map +1 -1
- package/mwsNccBinding.d.ts +1 -1
- package/mwsNccBinding.js +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +1 -1
- package/mwsNccPrivateEndpointRule.js +1 -1
- package/mwsNetworkConnectivityConfig.d.ts +2 -2
- package/mwsNetworkConnectivityConfig.js +2 -2
- package/package.json +2 -2
- package/permissions.d.ts +3 -0
- package/permissions.js +2 -0
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +12 -3
- package/pipeline.js.map +1 -1
- package/registeredModel.d.ts +2 -3
- package/registeredModel.js +2 -3
- package/registeredModel.js.map +1 -1
- package/types/input.d.ts +861 -20
- package/types/output.d.ts +459 -19
- package/user.d.ts +1 -1
- package/user.js +1 -1
- package/workspaceBinding.d.ts +121 -0
- package/workspaceBinding.js +82 -0
- package/workspaceBinding.js.map +1 -0
|
@@ -51,7 +51,7 @@ export declare class CatalogWorkspaceBinding extends pulumi.CustomResource {
|
|
|
51
51
|
/**
|
|
52
52
|
* Name of securable. Change forces creation of a new resource.
|
|
53
53
|
*/
|
|
54
|
-
readonly securableName: pulumi.Output<string
|
|
54
|
+
readonly securableName: pulumi.Output<string>;
|
|
55
55
|
/**
|
|
56
56
|
* Type of securable. Default to `catalog`. Change forces creation of a new resource.
|
|
57
57
|
*/
|
package/cluster.d.ts
CHANGED
|
@@ -128,7 +128,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
128
128
|
[key: string]: any;
|
|
129
129
|
} | undefined>;
|
|
130
130
|
/**
|
|
131
|
-
* 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,
|
|
131
|
+
* 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`. In the Databricks UI, this has been recently been renamed *Access Mode* and `USER_ISOLATION` has been renamed *Shared*, but use these terms here.
|
|
132
132
|
*/
|
|
133
133
|
readonly dataSecurityMode: pulumi.Output<string | undefined>;
|
|
134
134
|
/**
|
|
@@ -302,7 +302,7 @@ export interface ClusterState {
|
|
|
302
302
|
[key: string]: any;
|
|
303
303
|
}>;
|
|
304
304
|
/**
|
|
305
|
-
* 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,
|
|
305
|
+
* 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`. In the Databricks UI, this has been recently been renamed *Access Mode* and `USER_ISOLATION` has been renamed *Shared*, but use these terms here.
|
|
306
306
|
*/
|
|
307
307
|
dataSecurityMode?: pulumi.Input<string>;
|
|
308
308
|
/**
|
|
@@ -467,7 +467,7 @@ export interface ClusterArgs {
|
|
|
467
467
|
[key: string]: any;
|
|
468
468
|
}>;
|
|
469
469
|
/**
|
|
470
|
-
* 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,
|
|
470
|
+
* 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`. In the Databricks UI, this has been recently been renamed *Access Mode* and `USER_ISOLATION` has been renamed *Shared*, but use these terms here.
|
|
471
471
|
*/
|
|
472
472
|
dataSecurityMode?: pulumi.Input<string>;
|
|
473
473
|
dockerImage?: pulumi.Input<inputs.ClusterDockerImage>;
|
package/dashboard.d.ts
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* You can import a `databricks_dashboard` resource with ID like the following:
|
|
6
|
+
*
|
|
7
|
+
* bash
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import databricks:index/dashboard:Dashboard this <dashboard-id>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Dashboard extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Dashboard resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DashboardState, opts?: pulumi.CustomResourceOptions): Dashboard;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Dashboard. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Dashboard;
|
|
29
|
+
readonly createTime: pulumi.Output<string>;
|
|
30
|
+
readonly dashboardChangeDetected: pulumi.Output<boolean | undefined>;
|
|
31
|
+
readonly dashboardId: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The display name of the dashboard.
|
|
34
|
+
*/
|
|
35
|
+
readonly displayName: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to embed credentials in the dashboard. Default is `true`.
|
|
38
|
+
*/
|
|
39
|
+
readonly embedCredentials: pulumi.Output<boolean | undefined>;
|
|
40
|
+
readonly etag: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The path to the dashboard JSON file. Conflicts with `serializedDashboard`.
|
|
43
|
+
*/
|
|
44
|
+
readonly filePath: pulumi.Output<string | undefined>;
|
|
45
|
+
readonly lifecycleState: pulumi.Output<string>;
|
|
46
|
+
readonly md5: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The workspace path of the folder containing the dashboard. Includes leading slash and no trailing slash.
|
|
49
|
+
*/
|
|
50
|
+
readonly parentPath: pulumi.Output<string>;
|
|
51
|
+
readonly path: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The contents of the dashboard in serialized string form. Conflicts with `filePath`.
|
|
54
|
+
*/
|
|
55
|
+
readonly serializedDashboard: pulumi.Output<string | undefined>;
|
|
56
|
+
readonly updateTime: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The warehouse ID used to run the dashboard.
|
|
59
|
+
*/
|
|
60
|
+
readonly warehouseId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Dashboard resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: DashboardArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering Dashboard resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface DashboardState {
|
|
74
|
+
createTime?: pulumi.Input<string>;
|
|
75
|
+
dashboardChangeDetected?: pulumi.Input<boolean>;
|
|
76
|
+
dashboardId?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The display name of the dashboard.
|
|
79
|
+
*/
|
|
80
|
+
displayName?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Whether to embed credentials in the dashboard. Default is `true`.
|
|
83
|
+
*/
|
|
84
|
+
embedCredentials?: pulumi.Input<boolean>;
|
|
85
|
+
etag?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The path to the dashboard JSON file. Conflicts with `serializedDashboard`.
|
|
88
|
+
*/
|
|
89
|
+
filePath?: pulumi.Input<string>;
|
|
90
|
+
lifecycleState?: pulumi.Input<string>;
|
|
91
|
+
md5?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The workspace path of the folder containing the dashboard. Includes leading slash and no trailing slash.
|
|
94
|
+
*/
|
|
95
|
+
parentPath?: pulumi.Input<string>;
|
|
96
|
+
path?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The contents of the dashboard in serialized string form. Conflicts with `filePath`.
|
|
99
|
+
*/
|
|
100
|
+
serializedDashboard?: pulumi.Input<string>;
|
|
101
|
+
updateTime?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The warehouse ID used to run the dashboard.
|
|
104
|
+
*/
|
|
105
|
+
warehouseId?: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a Dashboard resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface DashboardArgs {
|
|
111
|
+
createTime?: pulumi.Input<string>;
|
|
112
|
+
dashboardChangeDetected?: pulumi.Input<boolean>;
|
|
113
|
+
dashboardId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The display name of the dashboard.
|
|
116
|
+
*/
|
|
117
|
+
displayName: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Whether to embed credentials in the dashboard. Default is `true`.
|
|
120
|
+
*/
|
|
121
|
+
embedCredentials?: pulumi.Input<boolean>;
|
|
122
|
+
etag?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The path to the dashboard JSON file. Conflicts with `serializedDashboard`.
|
|
125
|
+
*/
|
|
126
|
+
filePath?: pulumi.Input<string>;
|
|
127
|
+
lifecycleState?: pulumi.Input<string>;
|
|
128
|
+
md5?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The workspace path of the folder containing the dashboard. Includes leading slash and no trailing slash.
|
|
131
|
+
*/
|
|
132
|
+
parentPath: pulumi.Input<string>;
|
|
133
|
+
path?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The contents of the dashboard in serialized string form. Conflicts with `filePath`.
|
|
136
|
+
*/
|
|
137
|
+
serializedDashboard?: pulumi.Input<string>;
|
|
138
|
+
updateTime?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The warehouse ID used to run the dashboard.
|
|
141
|
+
*/
|
|
142
|
+
warehouseId: pulumi.Input<string>;
|
|
143
|
+
}
|
package/dashboard.js
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
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.Dashboard = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* You can import a `databricks_dashboard` resource with ID like the following:
|
|
12
|
+
*
|
|
13
|
+
* bash
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import databricks:index/dashboard:Dashboard this <dashboard-id>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class Dashboard extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing Dashboard resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new Dashboard(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of Dashboard. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === Dashboard.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
constructor(name, argsOrState, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (opts.id) {
|
|
46
|
+
const state = argsOrState;
|
|
47
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
48
|
+
resourceInputs["dashboardChangeDetected"] = state ? state.dashboardChangeDetected : undefined;
|
|
49
|
+
resourceInputs["dashboardId"] = state ? state.dashboardId : undefined;
|
|
50
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
51
|
+
resourceInputs["embedCredentials"] = state ? state.embedCredentials : undefined;
|
|
52
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
53
|
+
resourceInputs["filePath"] = state ? state.filePath : undefined;
|
|
54
|
+
resourceInputs["lifecycleState"] = state ? state.lifecycleState : undefined;
|
|
55
|
+
resourceInputs["md5"] = state ? state.md5 : undefined;
|
|
56
|
+
resourceInputs["parentPath"] = state ? state.parentPath : undefined;
|
|
57
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
58
|
+
resourceInputs["serializedDashboard"] = state ? state.serializedDashboard : undefined;
|
|
59
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
60
|
+
resourceInputs["warehouseId"] = state ? state.warehouseId : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'displayName'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.parentPath === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'parentPath'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.warehouseId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'warehouseId'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["createTime"] = args ? args.createTime : undefined;
|
|
74
|
+
resourceInputs["dashboardChangeDetected"] = args ? args.dashboardChangeDetected : undefined;
|
|
75
|
+
resourceInputs["dashboardId"] = args ? args.dashboardId : undefined;
|
|
76
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
77
|
+
resourceInputs["embedCredentials"] = args ? args.embedCredentials : undefined;
|
|
78
|
+
resourceInputs["etag"] = args ? args.etag : undefined;
|
|
79
|
+
resourceInputs["filePath"] = args ? args.filePath : undefined;
|
|
80
|
+
resourceInputs["lifecycleState"] = args ? args.lifecycleState : undefined;
|
|
81
|
+
resourceInputs["md5"] = args ? args.md5 : undefined;
|
|
82
|
+
resourceInputs["parentPath"] = args ? args.parentPath : undefined;
|
|
83
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
84
|
+
resourceInputs["serializedDashboard"] = args ? args.serializedDashboard : undefined;
|
|
85
|
+
resourceInputs["updateTime"] = args ? args.updateTime : undefined;
|
|
86
|
+
resourceInputs["warehouseId"] = args ? args.warehouseId : undefined;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(Dashboard.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.Dashboard = Dashboard;
|
|
93
|
+
/** @internal */
|
|
94
|
+
Dashboard.__pulumiType = 'databricks:index/dashboard:Dashboard';
|
|
95
|
+
//# sourceMappingURL=dashboard.js.map
|
package/dashboard.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAE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AC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AApHL,8BAqHC;AAvGG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
package/getClusters.d.ts
CHANGED
|
@@ -43,15 +43,17 @@ export interface GetClustersArgs {
|
|
|
43
43
|
* Only return databricks.Cluster ids that match the given name string.
|
|
44
44
|
*/
|
|
45
45
|
clusterNameContains?: string;
|
|
46
|
+
id?: string;
|
|
47
|
+
/**
|
|
48
|
+
* list of databricks.Cluster ids
|
|
49
|
+
*/
|
|
50
|
+
ids?: string[];
|
|
46
51
|
}
|
|
47
52
|
/**
|
|
48
53
|
* A collection of values returned by getClusters.
|
|
49
54
|
*/
|
|
50
55
|
export interface GetClustersResult {
|
|
51
56
|
readonly clusterNameContains?: string;
|
|
52
|
-
/**
|
|
53
|
-
* The provider-assigned unique ID for this managed resource.
|
|
54
|
-
*/
|
|
55
57
|
readonly id: string;
|
|
56
58
|
/**
|
|
57
59
|
* list of databricks.Cluster ids
|
|
@@ -102,4 +104,9 @@ export interface GetClustersOutputArgs {
|
|
|
102
104
|
* Only return databricks.Cluster ids that match the given name string.
|
|
103
105
|
*/
|
|
104
106
|
clusterNameContains?: pulumi.Input<string>;
|
|
107
|
+
id?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* list of databricks.Cluster ids
|
|
110
|
+
*/
|
|
111
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
112
|
}
|
package/getClusters.js
CHANGED
|
@@ -45,6 +45,8 @@ function getClusters(args, opts) {
|
|
|
45
45
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
46
|
return pulumi.runtime.invoke("databricks:index/getClusters:getClusters", {
|
|
47
47
|
"clusterNameContains": args.clusterNameContains,
|
|
48
|
+
"id": args.id,
|
|
49
|
+
"ids": args.ids,
|
|
48
50
|
}, opts);
|
|
49
51
|
}
|
|
50
52
|
exports.getClusters = getClusters;
|
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;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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;
|
|
1
|
+
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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/getSchema.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
* * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
|
|
8
|
+
*/
|
|
9
|
+
export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
|
|
10
|
+
/**
|
|
11
|
+
* A collection of arguments for invoking getSchema.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetSchemaArgs {
|
|
14
|
+
/**
|
|
15
|
+
* ID of this Unity Catalog Schema in form of `<catalog>.<schema>`.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* a fully qualified name of databricks_schema: *`catalog`.`schema`*
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* `SchemaInfo` object for a Unity Catalog schema. This contains the following attributes:
|
|
24
|
+
*/
|
|
25
|
+
schemaInfo?: inputs.GetSchemaSchemaInfo;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getSchema.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetSchemaResult {
|
|
31
|
+
/**
|
|
32
|
+
* ID of this Unity Catalog Schema in form of `<catalog>.<schema>`.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of schema, relative to parent catalog.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* `SchemaInfo` object for a Unity Catalog schema. This contains the following attributes:
|
|
41
|
+
*/
|
|
42
|
+
readonly schemaInfo: outputs.GetSchemaSchemaInfo;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
|
|
48
|
+
*/
|
|
49
|
+
export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaResult>;
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getSchema.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetSchemaOutputArgs {
|
|
54
|
+
/**
|
|
55
|
+
* ID of this Unity Catalog Schema in form of `<catalog>.<schema>`.
|
|
56
|
+
*/
|
|
57
|
+
id?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* a fully qualified name of databricks_schema: *`catalog`.`schema`*
|
|
60
|
+
*/
|
|
61
|
+
name: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* `SchemaInfo` object for a Unity Catalog schema. This contains the following attributes:
|
|
64
|
+
*/
|
|
65
|
+
schemaInfo?: pulumi.Input<inputs.GetSchemaSchemaInfoArgs>;
|
|
66
|
+
}
|
package/getSchema.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.getSchemaOutput = exports.getSchema = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
|
|
12
|
+
*/
|
|
13
|
+
function getSchema(args, opts) {
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invoke("databricks:index/getSchema:getSchema", {
|
|
16
|
+
"id": args.id,
|
|
17
|
+
"name": args.name,
|
|
18
|
+
"schemaInfo": args.schemaInfo,
|
|
19
|
+
}, opts);
|
|
20
|
+
}
|
|
21
|
+
exports.getSchema = getSchema;
|
|
22
|
+
/**
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
|
|
26
|
+
*/
|
|
27
|
+
function getSchemaOutput(args, opts) {
|
|
28
|
+
return pulumi.output(args).apply((a) => getSchema(a, opts));
|
|
29
|
+
}
|
|
30
|
+
exports.getSchemaOutput = getSchemaOutput;
|
|
31
|
+
//# sourceMappingURL=getSchema.js.map
|
package/getSchema.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSchema.js","sourceRoot":"","sources":["../getSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAqCD;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getSqlWarehouses.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* * End to end workspace management guide.
|
|
30
30
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
31
31
|
* * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
32
|
-
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.
|
|
32
|
+
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
|
|
33
33
|
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
34
34
|
*/
|
|
35
35
|
export declare function getSqlWarehouses(args?: GetSqlWarehousesArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlWarehousesResult>;
|
|
@@ -90,7 +90,7 @@ export interface GetSqlWarehousesResult {
|
|
|
90
90
|
* * End to end workspace management guide.
|
|
91
91
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
92
92
|
* * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
93
|
-
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.
|
|
93
|
+
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
|
|
94
94
|
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
95
95
|
*/
|
|
96
96
|
export declare function getSqlWarehousesOutput(args?: GetSqlWarehousesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSqlWarehousesResult>;
|
package/getSqlWarehouses.js
CHANGED
|
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* * End to end workspace management guide.
|
|
36
36
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
37
37
|
* * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
38
|
-
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.
|
|
38
|
+
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
|
|
39
39
|
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
40
40
|
*/
|
|
41
41
|
function getSqlWarehouses(args, opts) {
|
|
@@ -77,7 +77,7 @@ exports.getSqlWarehouses = getSqlWarehouses;
|
|
|
77
77
|
* * End to end workspace management guide.
|
|
78
78
|
* * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
|
|
79
79
|
* * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
80
|
-
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.
|
|
80
|
+
* * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
|
|
81
81
|
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
82
82
|
*/
|
|
83
83
|
function getSqlWarehousesOutput(args, opts) {
|
package/getVolume.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
* * Retrieve details of all volumes in in a _things_ databricks.Schema of a _sandbox_ databricks_catalog:
|
|
8
|
+
*/
|
|
9
|
+
export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeResult>;
|
|
10
|
+
/**
|
|
11
|
+
* A collection of arguments for invoking getVolume.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetVolumeArgs {
|
|
14
|
+
/**
|
|
15
|
+
* ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* a fully qualified name of databricks_volume: *`catalog`.`schema`.`volume`*
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
24
|
+
*/
|
|
25
|
+
volumeInfo?: inputs.GetVolumeVolumeInfo;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getVolume.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetVolumeResult {
|
|
31
|
+
/**
|
|
32
|
+
* ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* the name of the volume
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
41
|
+
*/
|
|
42
|
+
readonly volumeInfo: outputs.GetVolumeVolumeInfo;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* * Retrieve details of all volumes in in a _things_ databricks.Schema of a _sandbox_ databricks_catalog:
|
|
48
|
+
*/
|
|
49
|
+
export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVolumeResult>;
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getVolume.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetVolumeOutputArgs {
|
|
54
|
+
/**
|
|
55
|
+
* ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
56
|
+
*/
|
|
57
|
+
id?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* a fully qualified name of databricks_volume: *`catalog`.`schema`.`volume`*
|
|
60
|
+
*/
|
|
61
|
+
name: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
64
|
+
*/
|
|
65
|
+
volumeInfo?: pulumi.Input<inputs.GetVolumeVolumeInfoArgs>;
|
|
66
|
+
}
|
package/getVolume.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.getVolumeOutput = exports.getVolume = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* * Retrieve details of all volumes in in a _things_ databricks.Schema of a _sandbox_ databricks_catalog:
|
|
12
|
+
*/
|
|
13
|
+
function getVolume(args, opts) {
|
|
14
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
|
+
return pulumi.runtime.invoke("databricks:index/getVolume:getVolume", {
|
|
16
|
+
"id": args.id,
|
|
17
|
+
"name": args.name,
|
|
18
|
+
"volumeInfo": args.volumeInfo,
|
|
19
|
+
}, opts);
|
|
20
|
+
}
|
|
21
|
+
exports.getVolume = getVolume;
|
|
22
|
+
/**
|
|
23
|
+
* ## Example Usage
|
|
24
|
+
*
|
|
25
|
+
* * Retrieve details of all volumes in in a _things_ databricks.Schema of a _sandbox_ databricks_catalog:
|
|
26
|
+
*/
|
|
27
|
+
function getVolumeOutput(args, opts) {
|
|
28
|
+
return pulumi.output(args).apply((a) => getVolume(a, opts));
|
|
29
|
+
}
|
|
30
|
+
exports.getVolumeOutput = getVolumeOutput;
|
|
31
|
+
//# sourceMappingURL=getVolume.js.map
|
package/getVolume.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVolume.js","sourceRoot":"","sources":["../getVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAqCD;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/index.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ export declare const ComplianceSecurityProfileWorkspaceSetting: typeof import(".
|
|
|
25
25
|
export { ConnectionArgs, ConnectionState } from "./connection";
|
|
26
26
|
export type Connection = import("./connection").Connection;
|
|
27
27
|
export declare const Connection: typeof import("./connection").Connection;
|
|
28
|
+
export { DashboardArgs, DashboardState } from "./dashboard";
|
|
29
|
+
export type Dashboard = import("./dashboard").Dashboard;
|
|
30
|
+
export declare const Dashboard: typeof import("./dashboard").Dashboard;
|
|
28
31
|
export { DbfsFileArgs, DbfsFileState } from "./dbfsFile";
|
|
29
32
|
export type DbfsFile = import("./dbfsFile").DbfsFile;
|
|
30
33
|
export declare const DbfsFile: typeof import("./dbfsFile").DbfsFile;
|
|
@@ -145,6 +148,9 @@ export declare const getNotebookPathsOutput: typeof import("./getNotebookPaths")
|
|
|
145
148
|
export { GetPipelinesArgs, GetPipelinesResult, GetPipelinesOutputArgs } from "./getPipelines";
|
|
146
149
|
export declare const getPipelines: typeof import("./getPipelines").getPipelines;
|
|
147
150
|
export declare const getPipelinesOutput: typeof import("./getPipelines").getPipelinesOutput;
|
|
151
|
+
export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema";
|
|
152
|
+
export declare const getSchema: typeof import("./getSchema").getSchema;
|
|
153
|
+
export declare const getSchemaOutput: typeof import("./getSchema").getSchemaOutput;
|
|
148
154
|
export { GetSchemasArgs, GetSchemasResult, GetSchemasOutputArgs } from "./getSchemas";
|
|
149
155
|
export declare const getSchemas: typeof import("./getSchemas").getSchemas;
|
|
150
156
|
export declare const getSchemasOutput: typeof import("./getSchemas").getSchemasOutput;
|
|
@@ -187,6 +193,9 @@ export declare const getUserOutput: typeof import("./getUser").getUserOutput;
|
|
|
187
193
|
export { GetViewsArgs, GetViewsResult, GetViewsOutputArgs } from "./getViews";
|
|
188
194
|
export declare const getViews: typeof import("./getViews").getViews;
|
|
189
195
|
export declare const getViewsOutput: typeof import("./getViews").getViewsOutput;
|
|
196
|
+
export { GetVolumeArgs, GetVolumeResult, GetVolumeOutputArgs } from "./getVolume";
|
|
197
|
+
export declare const getVolume: typeof import("./getVolume").getVolume;
|
|
198
|
+
export declare const getVolumeOutput: typeof import("./getVolume").getVolumeOutput;
|
|
190
199
|
export { GetVolumesArgs, GetVolumesResult, GetVolumesOutputArgs } from "./getVolumes";
|
|
191
200
|
export declare const getVolumes: typeof import("./getVolumes").getVolumes;
|
|
192
201
|
export declare const getVolumesOutput: typeof import("./getVolumes").getVolumesOutput;
|
|
@@ -415,6 +424,9 @@ export declare const VectorSearchIndex: typeof import("./vectorSearchIndex").Vec
|
|
|
415
424
|
export { VolumeArgs, VolumeState } from "./volume";
|
|
416
425
|
export type Volume = import("./volume").Volume;
|
|
417
426
|
export declare const Volume: typeof import("./volume").Volume;
|
|
427
|
+
export { WorkspaceBindingArgs, WorkspaceBindingState } from "./workspaceBinding";
|
|
428
|
+
export type WorkspaceBinding = import("./workspaceBinding").WorkspaceBinding;
|
|
429
|
+
export declare const WorkspaceBinding: typeof import("./workspaceBinding").WorkspaceBinding;
|
|
418
430
|
export { WorkspaceConfArgs, WorkspaceConfState } from "./workspaceConf";
|
|
419
431
|
export type WorkspaceConf = import("./workspaceConf").WorkspaceConf;
|
|
420
432
|
export declare const WorkspaceConf: typeof import("./workspaceConf").WorkspaceConf;
|