@pulumi/databricks 1.62.0-alpha.1741239473 → 1.62.0-alpha.1741375452

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,50 @@
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.getBudgetPoliciesOutput = exports.getBudgetPolicies = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to fetch the list of budget policies.
10
+ *
11
+ * > **Note** This data source can only be used with an account-level provider!
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Getting a list of all budget policies:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const all = databricks.getBudgetPolicies({});
22
+ * ```
23
+ */
24
+ function getBudgetPolicies(opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("databricks:index/getBudgetPolicies:getBudgetPolicies", {}, opts);
27
+ }
28
+ exports.getBudgetPolicies = getBudgetPolicies;
29
+ /**
30
+ * This data source can be used to fetch the list of budget policies.
31
+ *
32
+ * > **Note** This data source can only be used with an account-level provider!
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * Getting a list of all budget policies:
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as databricks from "@pulumi/databricks";
41
+ *
42
+ * const all = databricks.getBudgetPolicies({});
43
+ * ```
44
+ */
45
+ function getBudgetPoliciesOutput(opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("databricks:index/getBudgetPolicies:getBudgetPolicies", {}, opts);
48
+ }
49
+ exports.getBudgetPoliciesOutput = getBudgetPoliciesOutput;
50
+ //# sourceMappingURL=getBudgetPolicies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBudgetPolicies.js","sourceRoot":"","sources":["../getBudgetPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC;AAeD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,uBAAuB,CAAC,IAAiC;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0DAIC"}
@@ -0,0 +1,53 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This data source can be used to get a single budget policy.
6
+ *
7
+ * > **Note** This data source can only be used with an account-level provider!
8
+ */
9
+ export declare function getBudgetPolicy(args?: GetBudgetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetPolicyResult>;
10
+ /**
11
+ * A collection of arguments for invoking getBudgetPolicy.
12
+ */
13
+ export interface GetBudgetPolicyArgs {
14
+ customTags?: inputs.GetBudgetPolicyCustomTag[];
15
+ /**
16
+ * The name of the budget policy.
17
+ */
18
+ policyName?: string;
19
+ }
20
+ /**
21
+ * A collection of values returned by getBudgetPolicy.
22
+ */
23
+ export interface GetBudgetPolicyResult {
24
+ readonly customTags?: outputs.GetBudgetPolicyCustomTag[];
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * The id of the budget policy.
31
+ */
32
+ readonly policyId: string;
33
+ /**
34
+ * The name of the budget policy.
35
+ */
36
+ readonly policyName?: string;
37
+ }
38
+ /**
39
+ * This data source can be used to get a single budget policy.
40
+ *
41
+ * > **Note** This data source can only be used with an account-level provider!
42
+ */
43
+ export declare function getBudgetPolicyOutput(args?: GetBudgetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetPolicyResult>;
44
+ /**
45
+ * A collection of arguments for invoking getBudgetPolicy.
46
+ */
47
+ export interface GetBudgetPolicyOutputArgs {
48
+ customTags?: pulumi.Input<pulumi.Input<inputs.GetBudgetPolicyCustomTagArgs>[]>;
49
+ /**
50
+ * The name of the budget policy.
51
+ */
52
+ policyName?: pulumi.Input<string>;
53
+ }
@@ -0,0 +1,36 @@
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.getBudgetPolicyOutput = exports.getBudgetPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to get a single budget policy.
10
+ *
11
+ * > **Note** This data source can only be used with an account-level provider!
12
+ */
13
+ function getBudgetPolicy(args, opts) {
14
+ args = args || {};
15
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
16
+ return pulumi.runtime.invoke("databricks:index/getBudgetPolicy:getBudgetPolicy", {
17
+ "customTags": args.customTags,
18
+ "policyName": args.policyName,
19
+ }, opts);
20
+ }
21
+ exports.getBudgetPolicy = getBudgetPolicy;
22
+ /**
23
+ * This data source can be used to get a single budget policy.
24
+ *
25
+ * > **Note** This data source can only be used with an account-level provider!
26
+ */
27
+ function getBudgetPolicyOutput(args, opts) {
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("databricks:index/getBudgetPolicy:getBudgetPolicy", {
31
+ "customTags": args.customTags,
32
+ "policyName": args.policyName,
33
+ }, opts);
34
+ }
35
+ exports.getBudgetPolicyOutput = getBudgetPolicyOutput;
36
+ //# sourceMappingURL=getBudgetPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBudgetPolicy.js","sourceRoot":"","sources":["../getBudgetPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA+BD;;;;GAIG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC"}
package/getCluster.d.ts CHANGED
@@ -19,18 +19,6 @@ import * as outputs from "./types/output";
19
19
  * clusterId: __value,
20
20
  * }) })));
21
21
  * ```
22
- *
23
- * ## Related Resources
24
- *
25
- * The following resources are often used in the same context:
26
- *
27
- * * End to end workspace management guide.
28
- * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
29
- * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
30
- * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
31
- * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
32
- * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
33
- * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
34
22
  */
35
23
  export declare function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
36
24
  /**
@@ -38,7 +26,7 @@ export declare function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOp
38
26
  */
39
27
  export interface GetClusterArgs {
40
28
  /**
41
- * The id of the cluster
29
+ * The id of the cluster.
42
30
  */
43
31
  clusterId?: string;
44
32
  /**
@@ -46,7 +34,7 @@ export interface GetClusterArgs {
46
34
  */
47
35
  clusterInfo?: inputs.GetClusterClusterInfo;
48
36
  /**
49
- * The exact name of the cluster to search
37
+ * The exact name of the cluster to search. Can only be specified if there is exactly one cluster with the provided name.
50
38
  */
51
39
  clusterName?: string;
52
40
  /**
@@ -90,18 +78,6 @@ export interface GetClusterResult {
90
78
  * clusterId: __value,
91
79
  * }) })));
92
80
  * ```
93
- *
94
- * ## Related Resources
95
- *
96
- * The following resources are often used in the same context:
97
- *
98
- * * End to end workspace management guide.
99
- * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
100
- * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
101
- * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
102
- * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
103
- * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
104
- * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
105
81
  */
106
82
  export declare function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
107
83
  /**
@@ -109,7 +85,7 @@ export declare function getClusterOutput(args?: GetClusterOutputArgs, opts?: pul
109
85
  */
110
86
  export interface GetClusterOutputArgs {
111
87
  /**
112
- * The id of the cluster
88
+ * The id of the cluster.
113
89
  */
114
90
  clusterId?: pulumi.Input<string>;
115
91
  /**
@@ -117,7 +93,7 @@ export interface GetClusterOutputArgs {
117
93
  */
118
94
  clusterInfo?: pulumi.Input<inputs.GetClusterClusterInfoArgs>;
119
95
  /**
120
- * The exact name of the cluster to search
96
+ * The exact name of the cluster to search. Can only be specified if there is exactly one cluster with the provided name.
121
97
  */
122
98
  clusterName?: pulumi.Input<string>;
123
99
  /**
package/getCluster.js CHANGED
@@ -23,18 +23,6 @@ const utilities = require("./utilities");
23
23
  * clusterId: __value,
24
24
  * }) })));
25
25
  * ```
26
- *
27
- * ## Related Resources
28
- *
29
- * The following resources are often used in the same context:
30
- *
31
- * * End to end workspace management guide.
32
- * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
33
- * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
34
- * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
35
- * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
36
- * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
37
- * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
38
26
  */
39
27
  function getCluster(args, opts) {
40
28
  args = args || {};
@@ -65,18 +53,6 @@ exports.getCluster = getCluster;
65
53
  * clusterId: __value,
66
54
  * }) })));
67
55
  * ```
68
- *
69
- * ## Related Resources
70
- *
71
- * The following resources are often used in the same context:
72
- *
73
- * * End to end workspace management guide.
74
- * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
75
- * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
76
- * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
77
- * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
78
- * * databricks.Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
79
- * * databricks.Pipeline to deploy [Delta Live Tables](https://docs.databricks.com/data-engineering/delta-live-tables/index.html).
80
56
  */
81
57
  function getClusterOutput(args, opts) {
82
58
  args = args || {};
package/getCluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
1
+ {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AA0CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
package/getClusters.d.ts CHANGED
@@ -28,6 +28,36 @@ import * as outputs from "./types/output";
28
28
  * });
29
29
  * ```
30
30
  *
31
+ * ### Filtering clusters
32
+ *
33
+ * Listing clusters can be slow for workspaces containing many clusters. Use filters to limit the number of clusters returned for better performance. You can filter clusters by state, source, policy, or pinned status:
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as databricks from "@pulumi/databricks";
38
+ *
39
+ * const allRunningClusters = databricks.getClusters({
40
+ * filterBy: {
41
+ * clusterStates: ["RUNNING"],
42
+ * },
43
+ * });
44
+ * const allClustersWithPolicy = databricks.getClusters({
45
+ * filterBy: {
46
+ * policyId: "1234-5678-9012",
47
+ * },
48
+ * });
49
+ * const allApiClusters = databricks.getClusters({
50
+ * filterBy: {
51
+ * clusterSources: ["API"],
52
+ * },
53
+ * });
54
+ * const allPinnedClusters = databricks.getClusters({
55
+ * filterBy: {
56
+ * isPinned: true,
57
+ * },
58
+ * });
59
+ * ```
60
+ *
31
61
  * ## Related Resources
32
62
  *
33
63
  * The following resources are used in the same context:
@@ -98,6 +128,36 @@ export interface GetClustersResult {
98
128
  * });
99
129
  * ```
100
130
  *
131
+ * ### Filtering clusters
132
+ *
133
+ * Listing clusters can be slow for workspaces containing many clusters. Use filters to limit the number of clusters returned for better performance. You can filter clusters by state, source, policy, or pinned status:
134
+ *
135
+ * ```typescript
136
+ * import * as pulumi from "@pulumi/pulumi";
137
+ * import * as databricks from "@pulumi/databricks";
138
+ *
139
+ * const allRunningClusters = databricks.getClusters({
140
+ * filterBy: {
141
+ * clusterStates: ["RUNNING"],
142
+ * },
143
+ * });
144
+ * const allClustersWithPolicy = databricks.getClusters({
145
+ * filterBy: {
146
+ * policyId: "1234-5678-9012",
147
+ * },
148
+ * });
149
+ * const allApiClusters = databricks.getClusters({
150
+ * filterBy: {
151
+ * clusterSources: ["API"],
152
+ * },
153
+ * });
154
+ * const allPinnedClusters = databricks.getClusters({
155
+ * filterBy: {
156
+ * isPinned: true,
157
+ * },
158
+ * });
159
+ * ```
160
+ *
101
161
  * ## Related Resources
102
162
  *
103
163
  * The following resources are used in the same context:
package/getClusters.js CHANGED
@@ -32,6 +32,36 @@ const utilities = require("./utilities");
32
32
  * });
33
33
  * ```
34
34
  *
35
+ * ### Filtering clusters
36
+ *
37
+ * Listing clusters can be slow for workspaces containing many clusters. Use filters to limit the number of clusters returned for better performance. You can filter clusters by state, source, policy, or pinned status:
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as databricks from "@pulumi/databricks";
42
+ *
43
+ * const allRunningClusters = databricks.getClusters({
44
+ * filterBy: {
45
+ * clusterStates: ["RUNNING"],
46
+ * },
47
+ * });
48
+ * const allClustersWithPolicy = databricks.getClusters({
49
+ * filterBy: {
50
+ * policyId: "1234-5678-9012",
51
+ * },
52
+ * });
53
+ * const allApiClusters = databricks.getClusters({
54
+ * filterBy: {
55
+ * clusterSources: ["API"],
56
+ * },
57
+ * });
58
+ * const allPinnedClusters = databricks.getClusters({
59
+ * filterBy: {
60
+ * isPinned: true,
61
+ * },
62
+ * });
63
+ * ```
64
+ *
35
65
  * ## Related Resources
36
66
  *
37
67
  * The following resources are used in the same context:
@@ -82,6 +112,36 @@ exports.getClusters = getClusters;
82
112
  * });
83
113
  * ```
84
114
  *
115
+ * ### Filtering clusters
116
+ *
117
+ * Listing clusters can be slow for workspaces containing many clusters. Use filters to limit the number of clusters returned for better performance. You can filter clusters by state, source, policy, or pinned status:
118
+ *
119
+ * ```typescript
120
+ * import * as pulumi from "@pulumi/pulumi";
121
+ * import * as databricks from "@pulumi/databricks";
122
+ *
123
+ * const allRunningClusters = databricks.getClusters({
124
+ * filterBy: {
125
+ * clusterStates: ["RUNNING"],
126
+ * },
127
+ * });
128
+ * const allClustersWithPolicy = databricks.getClusters({
129
+ * filterBy: {
130
+ * policyId: "1234-5678-9012",
131
+ * },
132
+ * });
133
+ * const allApiClusters = databricks.getClusters({
134
+ * filterBy: {
135
+ * clusterSources: ["API"],
136
+ * },
137
+ * });
138
+ * const allPinnedClusters = databricks.getClusters({
139
+ * filterBy: {
140
+ * isPinned: true,
141
+ * },
142
+ * });
143
+ * ```
144
+ *
85
145
  * ## Related Resources
86
146
  *
87
147
  * The following resources are used in the same context:
@@ -1 +1 @@
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;IAClB,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;AATD,kCASC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,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;AATD,8CASC"}
1
+ {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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;AATD,kCASC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,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;AATD,8CASC"}
@@ -0,0 +1,42 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
5
+ */
6
+ export declare function getDashboards(args?: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardsResult>;
7
+ /**
8
+ * A collection of arguments for invoking getDashboards.
9
+ */
10
+ export interface GetDashboardsArgs {
11
+ /**
12
+ * A **case-insensitive** substring to filter Dashboards by their name.
13
+ */
14
+ dashboardNameContains?: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getDashboards.
18
+ */
19
+ export interface GetDashboardsResult {
20
+ readonly dashboardNameContains?: string;
21
+ /**
22
+ * A list of dashboards matching the specified criteria. Each element contains the following attributes:
23
+ */
24
+ readonly dashboards: outputs.GetDashboardsDashboard[];
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ }
30
+ /**
31
+ * This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
32
+ */
33
+ export declare function getDashboardsOutput(args?: GetDashboardsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDashboardsResult>;
34
+ /**
35
+ * A collection of arguments for invoking getDashboards.
36
+ */
37
+ export interface GetDashboardsOutputArgs {
38
+ /**
39
+ * A **case-insensitive** substring to filter Dashboards by their name.
40
+ */
41
+ dashboardNameContains?: pulumi.Input<string>;
42
+ }
@@ -0,0 +1,30 @@
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.getDashboardsOutput = exports.getDashboards = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
10
+ */
11
+ function getDashboards(args, opts) {
12
+ args = args || {};
13
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
+ return pulumi.runtime.invoke("databricks:index/getDashboards:getDashboards", {
15
+ "dashboardNameContains": args.dashboardNameContains,
16
+ }, opts);
17
+ }
18
+ exports.getDashboards = getDashboards;
19
+ /**
20
+ * This data source allows you to retrieve information about Databricks [Dashboards](https://docs.databricks.com/en/dashboards/index.html).
21
+ */
22
+ function getDashboardsOutput(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invokeOutput("databricks:index/getDashboards:getDashboards", {
26
+ "dashboardNameContains": args.dashboardNameContains,
27
+ }, opts);
28
+ }
29
+ exports.getDashboardsOutput = getDashboardsOutput;
30
+ //# sourceMappingURL=getDashboards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDashboards.js","sourceRoot":"","sources":["../getDashboards.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA0BD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
package/index.d.ts CHANGED
@@ -22,6 +22,9 @@ export declare const AutomaticClusterUpdateWorkspaceSetting: typeof import("./au
22
22
  export { BudgetArgs, BudgetState } from "./budget";
23
23
  export type Budget = import("./budget").Budget;
24
24
  export declare const Budget: typeof import("./budget").Budget;
25
+ export { BudgetPolicyArgs, BudgetPolicyState } from "./budgetPolicy";
26
+ export type BudgetPolicy = import("./budgetPolicy").BudgetPolicy;
27
+ export declare const BudgetPolicy: typeof import("./budgetPolicy").BudgetPolicy;
25
28
  export { CatalogArgs, CatalogState } from "./catalog";
26
29
  export type Catalog = import("./catalog").Catalog;
27
30
  export declare const Catalog: typeof import("./catalog").Catalog;
@@ -91,6 +94,12 @@ export declare const getAwsUnityCatalogAssumeRolePolicyOutput: typeof import("./
91
94
  export { GetAwsUnityCatalogPolicyArgs, GetAwsUnityCatalogPolicyResult, GetAwsUnityCatalogPolicyOutputArgs } from "./getAwsUnityCatalogPolicy";
92
95
  export declare const getAwsUnityCatalogPolicy: typeof import("./getAwsUnityCatalogPolicy").getAwsUnityCatalogPolicy;
93
96
  export declare const getAwsUnityCatalogPolicyOutput: typeof import("./getAwsUnityCatalogPolicy").getAwsUnityCatalogPolicyOutput;
97
+ export { GetBudgetPoliciesResult } from "./getBudgetPolicies";
98
+ export declare const getBudgetPolicies: typeof import("./getBudgetPolicies").getBudgetPolicies;
99
+ export declare const getBudgetPoliciesOutput: typeof import("./getBudgetPolicies").getBudgetPoliciesOutput;
100
+ export { GetBudgetPolicyArgs, GetBudgetPolicyResult, GetBudgetPolicyOutputArgs } from "./getBudgetPolicy";
101
+ export declare const getBudgetPolicy: typeof import("./getBudgetPolicy").getBudgetPolicy;
102
+ export declare const getBudgetPolicyOutput: typeof import("./getBudgetPolicy").getBudgetPolicyOutput;
94
103
  export { GetCatalogArgs, GetCatalogResult, GetCatalogOutputArgs } from "./getCatalog";
95
104
  export declare const getCatalog: typeof import("./getCatalog").getCatalog;
96
105
  export declare const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput;
@@ -115,6 +124,9 @@ export declare const getCurrentMetastoreOutput: typeof import("./getCurrentMetas
115
124
  export { GetCurrentUserResult } from "./getCurrentUser";
116
125
  export declare const getCurrentUser: typeof import("./getCurrentUser").getCurrentUser;
117
126
  export declare const getCurrentUserOutput: typeof import("./getCurrentUser").getCurrentUserOutput;
127
+ export { GetDashboardsArgs, GetDashboardsResult, GetDashboardsOutputArgs } from "./getDashboards";
128
+ export declare const getDashboards: typeof import("./getDashboards").getDashboards;
129
+ export declare const getDashboardsOutput: typeof import("./getDashboards").getDashboardsOutput;
118
130
  export { GetDbfsFileArgs, GetDbfsFileResult, GetDbfsFileOutputArgs } from "./getDbfsFile";
119
131
  export declare const getDbfsFile: typeof import("./getDbfsFile").getDbfsFile;
120
132
  export declare const getDbfsFileOutput: typeof import("./getDbfsFile").getDbfsFileOutput;
package/index.js CHANGED
@@ -2,11 +2,11 @@
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.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.getAwsUnityCatalogAssumeRolePolicyOutput = exports.getAwsUnityCatalogAssumeRolePolicy = exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = exports.getAwsBucketPolicyOutput = exports.getAwsBucketPolicy = exports.getAwsAssumeRolePolicyOutput = exports.getAwsAssumeRolePolicy = exports.getAppsOutput = exports.getApps = exports.getAppOutput = exports.getApp = exports.File = exports.ExternalLocation = exports.Entitlements = exports.EnhancedSecurityMonitoringWorkspaceSetting = exports.Directory = exports.DefaultNamespaceSetting = exports.DbfsFile = exports.Dashboard = exports.CustomAppIntegration = exports.Credential = exports.Connection = exports.ComplianceSecurityProfileWorkspaceSetting = exports.ClusterPolicy = exports.Cluster = exports.CatalogWorkspaceBinding = exports.Catalog = exports.Budget = exports.AutomaticClusterUpdateWorkspaceSetting = exports.ArtifactAllowlist = exports.App = exports.Alert = exports.AibiDashboardEmbeddingApprovedDomainsSetting = exports.AibiDashboardEmbeddingAccessPolicySetting = exports.AccessControlRuleSet = void 0;
6
- exports.getNotebookPathsOutput = exports.getNotebookPaths = exports.getNotebookOutput = exports.getNotebook = exports.getNodeTypeOutput = exports.getNodeType = exports.getMwsWorkspacesOutput = exports.getMwsWorkspaces = exports.getMwsNetworkConnectivityConfigsOutput = exports.getMwsNetworkConnectivityConfigs = exports.getMwsNetworkConnectivityConfigOutput = exports.getMwsNetworkConnectivityConfig = exports.getMwsCredentialsOutput = exports.getMwsCredentials = exports.getMlflowModelsOutput = exports.getMlflowModels = 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 = exports.getInstancePool = exports.getGroupOutput = exports.getGroup = exports.getFunctionsOutput = exports.getFunctions = 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 = void 0;
7
- exports.Grants = exports.Grant = exports.GlobalInitScript = exports.GitCredential = exports.getZonesOutput = exports.getZones = exports.getVolumesOutput = exports.getVolumes = exports.getVolumeOutput = exports.getVolume = exports.getViewsOutput = exports.getViews = exports.getUserOutput = exports.getUser = exports.getTablesOutput = 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.getServingEndpointsOutput = exports.getServingEndpoints = exports.getServicePrincipalsOutput = exports.getServicePrincipals = exports.getServicePrincipalOutput = exports.getServicePrincipal = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaOutput = exports.getSchema = exports.getRegisteredModelVersionsOutput = exports.getRegisteredModelVersions = exports.getRegisteredModelOutput = exports.getRegisteredModel = exports.getPipelinesOutput = exports.getPipelines = exports.getNotificationDestinationsOutput = exports.getNotificationDestinations = void 0;
8
- exports.ServicePrincipal = exports.SecretScope = exports.SecretAcl = exports.Secret = exports.Schema = exports.RestrictWorkspaceAdminsSetting = exports.Repo = exports.RegisteredModel = exports.Recipient = exports.Query = exports.QualityMonitor = exports.Provider = exports.Pipeline = exports.Permissions = exports.PermissionAssignment = exports.OnlineTable = exports.OboToken = exports.NotificationDestination = 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 = void 0;
9
- exports.types = exports.config = exports.WorkspaceFile = exports.WorkspaceConf = exports.WorkspaceBinding = 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 = void 0;
5
+ exports.getClusterPolicy = exports.getClusterOutput = exports.getCluster = exports.getCatalogsOutput = exports.getCatalogs = exports.getCatalogOutput = exports.getCatalog = exports.getBudgetPolicyOutput = exports.getBudgetPolicy = exports.getBudgetPoliciesOutput = exports.getBudgetPolicies = exports.getAwsUnityCatalogPolicyOutput = exports.getAwsUnityCatalogPolicy = exports.getAwsUnityCatalogAssumeRolePolicyOutput = exports.getAwsUnityCatalogAssumeRolePolicy = exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = exports.getAwsBucketPolicyOutput = exports.getAwsBucketPolicy = exports.getAwsAssumeRolePolicyOutput = exports.getAwsAssumeRolePolicy = exports.getAppsOutput = exports.getApps = exports.getAppOutput = exports.getApp = exports.File = exports.ExternalLocation = exports.Entitlements = exports.EnhancedSecurityMonitoringWorkspaceSetting = exports.Directory = exports.DefaultNamespaceSetting = exports.DbfsFile = exports.Dashboard = exports.CustomAppIntegration = exports.Credential = exports.Connection = exports.ComplianceSecurityProfileWorkspaceSetting = exports.ClusterPolicy = exports.Cluster = exports.CatalogWorkspaceBinding = exports.Catalog = exports.BudgetPolicy = exports.Budget = exports.AutomaticClusterUpdateWorkspaceSetting = exports.ArtifactAllowlist = exports.App = exports.Alert = exports.AibiDashboardEmbeddingApprovedDomainsSetting = exports.AibiDashboardEmbeddingAccessPolicySetting = exports.AccessControlRuleSet = void 0;
6
+ exports.getMwsWorkspaces = exports.getMwsNetworkConnectivityConfigsOutput = exports.getMwsNetworkConnectivityConfigs = exports.getMwsNetworkConnectivityConfigOutput = exports.getMwsNetworkConnectivityConfig = exports.getMwsCredentialsOutput = exports.getMwsCredentials = exports.getMlflowModelsOutput = exports.getMlflowModels = 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 = exports.getInstancePool = exports.getGroupOutput = exports.getGroup = exports.getFunctionsOutput = exports.getFunctions = exports.getExternalLocationsOutput = exports.getExternalLocations = exports.getExternalLocationOutput = exports.getExternalLocation = exports.getDirectoryOutput = exports.getDirectory = exports.getDbfsFilePathsOutput = exports.getDbfsFilePaths = exports.getDbfsFileOutput = exports.getDbfsFile = exports.getDashboardsOutput = exports.getDashboards = exports.getCurrentUserOutput = exports.getCurrentUser = exports.getCurrentMetastoreOutput = exports.getCurrentMetastore = exports.getCurrentConfigOutput = exports.getCurrentConfig = exports.getClustersOutput = exports.getClusters = exports.getClusterPolicyOutput = void 0;
7
+ exports.getVolumes = exports.getVolumeOutput = exports.getVolume = exports.getViewsOutput = exports.getViews = exports.getUserOutput = exports.getUser = exports.getTablesOutput = 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.getServingEndpointsOutput = exports.getServingEndpoints = exports.getServicePrincipalsOutput = exports.getServicePrincipals = exports.getServicePrincipalOutput = exports.getServicePrincipal = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaOutput = exports.getSchema = exports.getRegisteredModelVersionsOutput = exports.getRegisteredModelVersions = exports.getRegisteredModelOutput = exports.getRegisteredModel = exports.getPipelinesOutput = exports.getPipelines = exports.getNotificationDestinationsOutput = exports.getNotificationDestinations = exports.getNotebookPathsOutput = exports.getNotebookPaths = exports.getNotebookOutput = exports.getNotebook = exports.getNodeTypeOutput = exports.getNodeType = exports.getMwsWorkspacesOutput = void 0;
8
+ exports.RegisteredModel = exports.Recipient = exports.Query = exports.QualityMonitor = exports.Provider = exports.Pipeline = exports.Permissions = exports.PermissionAssignment = exports.OnlineTable = exports.OboToken = exports.NotificationDestination = 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;
9
+ exports.types = exports.config = exports.WorkspaceFile = exports.WorkspaceConf = exports.WorkspaceBinding = 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 = void 0;
10
10
  const pulumi = require("@pulumi/pulumi");
11
11
  const utilities = require("./utilities");
12
12
  exports.AccessControlRuleSet = null;
@@ -25,6 +25,8 @@ exports.AutomaticClusterUpdateWorkspaceSetting = null;
25
25
  utilities.lazyLoad(exports, ["AutomaticClusterUpdateWorkspaceSetting"], () => require("./automaticClusterUpdateWorkspaceSetting"));
26
26
  exports.Budget = null;
27
27
  utilities.lazyLoad(exports, ["Budget"], () => require("./budget"));
28
+ exports.BudgetPolicy = null;
29
+ utilities.lazyLoad(exports, ["BudgetPolicy"], () => require("./budgetPolicy"));
28
30
  exports.Catalog = null;
29
31
  utilities.lazyLoad(exports, ["Catalog"], () => require("./catalog"));
30
32
  exports.CatalogWorkspaceBinding = null;
@@ -78,6 +80,12 @@ utilities.lazyLoad(exports, ["getAwsUnityCatalogAssumeRolePolicy", "getAwsUnityC
78
80
  exports.getAwsUnityCatalogPolicy = null;
79
81
  exports.getAwsUnityCatalogPolicyOutput = null;
80
82
  utilities.lazyLoad(exports, ["getAwsUnityCatalogPolicy", "getAwsUnityCatalogPolicyOutput"], () => require("./getAwsUnityCatalogPolicy"));
83
+ exports.getBudgetPolicies = null;
84
+ exports.getBudgetPoliciesOutput = null;
85
+ utilities.lazyLoad(exports, ["getBudgetPolicies", "getBudgetPoliciesOutput"], () => require("./getBudgetPolicies"));
86
+ exports.getBudgetPolicy = null;
87
+ exports.getBudgetPolicyOutput = null;
88
+ utilities.lazyLoad(exports, ["getBudgetPolicy", "getBudgetPolicyOutput"], () => require("./getBudgetPolicy"));
81
89
  exports.getCatalog = null;
82
90
  exports.getCatalogOutput = null;
83
91
  utilities.lazyLoad(exports, ["getCatalog", "getCatalogOutput"], () => require("./getCatalog"));
@@ -102,6 +110,9 @@ utilities.lazyLoad(exports, ["getCurrentMetastore", "getCurrentMetastoreOutput"]
102
110
  exports.getCurrentUser = null;
103
111
  exports.getCurrentUserOutput = null;
104
112
  utilities.lazyLoad(exports, ["getCurrentUser", "getCurrentUserOutput"], () => require("./getCurrentUser"));
113
+ exports.getDashboards = null;
114
+ exports.getDashboardsOutput = null;
115
+ utilities.lazyLoad(exports, ["getDashboards", "getDashboardsOutput"], () => require("./getDashboards"));
105
116
  exports.getDbfsFile = null;
106
117
  exports.getDbfsFileOutput = null;
107
118
  utilities.lazyLoad(exports, ["getDbfsFile", "getDbfsFileOutput"], () => require("./getDbfsFile"));
@@ -423,6 +434,8 @@ const _module = {
423
434
  return new exports.AutomaticClusterUpdateWorkspaceSetting(name, undefined, { urn });
424
435
  case "databricks:index/budget:Budget":
425
436
  return new exports.Budget(name, undefined, { urn });
437
+ case "databricks:index/budgetPolicy:BudgetPolicy":
438
+ return new exports.BudgetPolicy(name, undefined, { urn });
426
439
  case "databricks:index/catalog:Catalog":
427
440
  return new exports.Catalog(name, undefined, { urn });
428
441
  case "databricks:index/catalogWorkspaceBinding:CatalogWorkspaceBinding":
@@ -624,6 +637,7 @@ pulumi.runtime.registerResourceModule("databricks", "index/app", _module);
624
637
  pulumi.runtime.registerResourceModule("databricks", "index/artifactAllowlist", _module);
625
638
  pulumi.runtime.registerResourceModule("databricks", "index/automaticClusterUpdateWorkspaceSetting", _module);
626
639
  pulumi.runtime.registerResourceModule("databricks", "index/budget", _module);
640
+ pulumi.runtime.registerResourceModule("databricks", "index/budgetPolicy", _module);
627
641
  pulumi.runtime.registerResourceModule("databricks", "index/catalog", _module);
628
642
  pulumi.runtime.registerResourceModule("databricks", "index/catalogWorkspaceBinding", _module);
629
643
  pulumi.runtime.registerResourceModule("databricks", "index/cluster", _module);