@pulumi/databricks 0.0.1-alpha.1648473134

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.
Files changed (261) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +303 -0
  3. package/awsS3Mount.d.ts +50 -0
  4. package/awsS3Mount.js +63 -0
  5. package/awsS3Mount.js.map +1 -0
  6. package/azureAdlsGen1Mount.d.ts +65 -0
  7. package/azureAdlsGen1Mount.js +85 -0
  8. package/azureAdlsGen1Mount.js.map +1 -0
  9. package/azureAdlsGen2Mount.d.ts +68 -0
  10. package/azureAdlsGen2Mount.js +93 -0
  11. package/azureAdlsGen2Mount.js.map +1 -0
  12. package/azureBlobMount.d.ts +62 -0
  13. package/azureBlobMount.js +83 -0
  14. package/azureBlobMount.js.map +1 -0
  15. package/catalog.d.ts +124 -0
  16. package/catalog.js +88 -0
  17. package/catalog.js.map +1 -0
  18. package/cluster.d.ts +332 -0
  19. package/cluster.js +121 -0
  20. package/cluster.js.map +1 -0
  21. package/clusterPolicy.d.ts +112 -0
  22. package/clusterPolicy.js +97 -0
  23. package/clusterPolicy.js.map +1 -0
  24. package/config/index.d.ts +1 -0
  25. package/config/index.js +21 -0
  26. package/config/index.js.map +1 -0
  27. package/config/vars.d.ts +20 -0
  28. package/config/vars.js +127 -0
  29. package/config/vars.js.map +1 -0
  30. package/dbfsFile.d.ts +91 -0
  31. package/dbfsFile.js +71 -0
  32. package/dbfsFile.js.map +1 -0
  33. package/directory.d.ts +72 -0
  34. package/directory.js +65 -0
  35. package/directory.js.map +1 -0
  36. package/externalLocation.d.ts +114 -0
  37. package/externalLocation.js +80 -0
  38. package/externalLocation.js.map +1 -0
  39. package/getAwsAssumeRolePolicy.d.ts +47 -0
  40. package/getAwsAssumeRolePolicy.js +24 -0
  41. package/getAwsAssumeRolePolicy.js.map +1 -0
  42. package/getAwsBucketPolicy.d.ts +59 -0
  43. package/getAwsBucketPolicy.js +36 -0
  44. package/getAwsBucketPolicy.js.map +1 -0
  45. package/getAwsCrossAccountPolicy.d.ts +59 -0
  46. package/getAwsCrossAccountPolicy.js +47 -0
  47. package/getAwsCrossAccountPolicy.js.map +1 -0
  48. package/getCatalogs.d.ts +54 -0
  49. package/getCatalogs.js +43 -0
  50. package/getCatalogs.js.map +1 -0
  51. package/getClusters.d.ts +69 -0
  52. package/getClusters.js +57 -0
  53. package/getClusters.js.map +1 -0
  54. package/getCurrentUser.d.ts +39 -0
  55. package/getCurrentUser.js +38 -0
  56. package/getCurrentUser.js.map +1 -0
  57. package/getDbfsFile.d.ts +69 -0
  58. package/getDbfsFile.js +44 -0
  59. package/getDbfsFile.js.map +1 -0
  60. package/getDbfsFilePaths.d.ts +68 -0
  61. package/getDbfsFilePaths.js +46 -0
  62. package/getDbfsFilePaths.js.map +1 -0
  63. package/getGroup.d.ts +166 -0
  64. package/getGroup.js +46 -0
  65. package/getGroup.js.map +1 -0
  66. package/getJobs.d.ts +47 -0
  67. package/getJobs.js +30 -0
  68. package/getJobs.js.map +1 -0
  69. package/getNodeType.d.ts +173 -0
  70. package/getNodeType.js +71 -0
  71. package/getNodeType.js.map +1 -0
  72. package/getNotebook.d.ts +93 -0
  73. package/getNotebook.js +39 -0
  74. package/getNotebook.js.map +1 -0
  75. package/getNotebookPaths.d.ts +58 -0
  76. package/getNotebookPaths.js +36 -0
  77. package/getNotebookPaths.js.map +1 -0
  78. package/getSchemas.d.ts +65 -0
  79. package/getSchemas.js +45 -0
  80. package/getSchemas.js.map +1 -0
  81. package/getSparkVersion.d.ts +150 -0
  82. package/getSparkVersion.js +70 -0
  83. package/getSparkVersion.js.map +1 -0
  84. package/getTables.d.ts +75 -0
  85. package/getTables.js +47 -0
  86. package/getTables.js.map +1 -0
  87. package/getUser.d.ts +78 -0
  88. package/getUser.js +39 -0
  89. package/getUser.js.map +1 -0
  90. package/getZones.d.ts +29 -0
  91. package/getZones.js +26 -0
  92. package/getZones.js.map +1 -0
  93. package/gitCredential.d.ts +48 -0
  94. package/gitCredential.js +64 -0
  95. package/gitCredential.js.map +1 -0
  96. package/globalInitScript.d.ts +99 -0
  97. package/globalInitScript.js +68 -0
  98. package/globalInitScript.js.map +1 -0
  99. package/grants.d.ts +58 -0
  100. package/grants.js +64 -0
  101. package/grants.js.map +1 -0
  102. package/group.d.ts +131 -0
  103. package/group.js +83 -0
  104. package/group.js.map +1 -0
  105. package/groupInstanceProfile.d.ts +96 -0
  106. package/groupInstanceProfile.js +93 -0
  107. package/groupInstanceProfile.js.map +1 -0
  108. package/index.d.ts +81 -0
  109. package/index.js +362 -0
  110. package/index.js.map +1 -0
  111. package/instancePool.d.ts +166 -0
  112. package/instancePool.js +93 -0
  113. package/instancePool.js.map +1 -0
  114. package/instanceProfile.d.ts +180 -0
  115. package/instanceProfile.js +161 -0
  116. package/instanceProfile.js.map +1 -0
  117. package/ipAccessList.d.ts +128 -0
  118. package/ipAccessList.js +108 -0
  119. package/ipAccessList.js.map +1 -0
  120. package/job.d.ts +228 -0
  121. package/job.js +102 -0
  122. package/job.js.map +1 -0
  123. package/library.d.ts +183 -0
  124. package/library.js +189 -0
  125. package/library.js.map +1 -0
  126. package/metastore.d.ts +102 -0
  127. package/metastore.js +75 -0
  128. package/metastore.js.map +1 -0
  129. package/metastoreAssignment.d.ts +94 -0
  130. package/metastoreAssignment.js +81 -0
  131. package/metastoreAssignment.js.map +1 -0
  132. package/metastoreDataAccess.d.ts +85 -0
  133. package/metastoreDataAccess.js +73 -0
  134. package/metastoreDataAccess.js.map +1 -0
  135. package/mlflowExperiment.d.ts +122 -0
  136. package/mlflowExperiment.js +99 -0
  137. package/mlflowExperiment.js.map +1 -0
  138. package/mlflowModel.d.ts +131 -0
  139. package/mlflowModel.js +107 -0
  140. package/mlflowModel.js.map +1 -0
  141. package/mlflowWebhook.d.ts +129 -0
  142. package/mlflowWebhook.js +100 -0
  143. package/mlflowWebhook.js.map +1 -0
  144. package/mount.d.ts +89 -0
  145. package/mount.js +76 -0
  146. package/mount.js.map +1 -0
  147. package/mwsCredentials.d.ts +137 -0
  148. package/mwsCredentials.js +115 -0
  149. package/mwsCredentials.js.map +1 -0
  150. package/mwsCustomerManagedKeys.d.ts +257 -0
  151. package/mwsCustomerManagedKeys.js +226 -0
  152. package/mwsCustomerManagedKeys.js.map +1 -0
  153. package/mwsLogDelivery.d.ts +219 -0
  154. package/mwsLogDelivery.js +144 -0
  155. package/mwsLogDelivery.js.map +1 -0
  156. package/mwsNetworks.d.ts +129 -0
  157. package/mwsNetworks.js +89 -0
  158. package/mwsNetworks.js.map +1 -0
  159. package/mwsPrivateAccessSettings.d.ts +137 -0
  160. package/mwsPrivateAccessSettings.js +74 -0
  161. package/mwsPrivateAccessSettings.js.map +1 -0
  162. package/mwsStorageConfigurations.d.ts +122 -0
  163. package/mwsStorageConfigurations.js +106 -0
  164. package/mwsStorageConfigurations.js.map +1 -0
  165. package/mwsVpcEndpoint.d.ts +122 -0
  166. package/mwsVpcEndpoint.js +79 -0
  167. package/mwsVpcEndpoint.js.map +1 -0
  168. package/mwsWorkspaces.d.ts +222 -0
  169. package/mwsWorkspaces.js +106 -0
  170. package/mwsWorkspaces.js.map +1 -0
  171. package/notebook.d.ts +128 -0
  172. package/notebook.js +77 -0
  173. package/notebook.js.map +1 -0
  174. package/oboToken.d.ts +98 -0
  175. package/oboToken.js +82 -0
  176. package/oboToken.js.map +1 -0
  177. package/package.json +28 -0
  178. package/package.json.bak +28 -0
  179. package/package.json.dev +28 -0
  180. package/permissions.d.ts +211 -0
  181. package/permissions.js +97 -0
  182. package/permissions.js.map +1 -0
  183. package/pipeline.d.ts +200 -0
  184. package/pipeline.js +134 -0
  185. package/pipeline.js.map +1 -0
  186. package/provider.d.ts +61 -0
  187. package/provider.js +64 -0
  188. package/provider.js.map +1 -0
  189. package/repo.d.ts +117 -0
  190. package/repo.js +71 -0
  191. package/repo.js.map +1 -0
  192. package/schema.d.ts +149 -0
  193. package/schema.js +106 -0
  194. package/schema.js.map +1 -0
  195. package/scripts/install-pulumi-plugin.js +21 -0
  196. package/secret.d.ts +115 -0
  197. package/secret.js +99 -0
  198. package/secret.js.map +1 -0
  199. package/secretAcl.d.ts +115 -0
  200. package/secretAcl.js +105 -0
  201. package/secretAcl.js.map +1 -0
  202. package/secretScope.d.ts +85 -0
  203. package/secretScope.js +64 -0
  204. package/secretScope.js.map +1 -0
  205. package/servicePrincipal.d.ts +142 -0
  206. package/servicePrincipal.js +83 -0
  207. package/servicePrincipal.js.map +1 -0
  208. package/sqlDashboard.d.ts +90 -0
  209. package/sqlDashboard.js +99 -0
  210. package/sqlDashboard.js.map +1 -0
  211. package/sqlEndpoint.d.ts +249 -0
  212. package/sqlEndpoint.js +128 -0
  213. package/sqlEndpoint.js.map +1 -0
  214. package/sqlGlobalConfig.d.ts +157 -0
  215. package/sqlGlobalConfig.js +115 -0
  216. package/sqlGlobalConfig.js.map +1 -0
  217. package/sqlPermissions.d.ts +191 -0
  218. package/sqlPermissions.js +139 -0
  219. package/sqlPermissions.js.map +1 -0
  220. package/sqlQuery.d.ts +131 -0
  221. package/sqlQuery.js +139 -0
  222. package/sqlQuery.js.map +1 -0
  223. package/sqlVisualization.d.ts +105 -0
  224. package/sqlVisualization.js +119 -0
  225. package/sqlVisualization.js.map +1 -0
  226. package/sqlWidget.d.ts +109 -0
  227. package/sqlWidget.js +114 -0
  228. package/sqlWidget.js.map +1 -0
  229. package/storageCredential.d.ts +122 -0
  230. package/storageCredential.js +118 -0
  231. package/storageCredential.js.map +1 -0
  232. package/table.d.ts +249 -0
  233. package/table.js +157 -0
  234. package/table.js.map +1 -0
  235. package/token.d.ts +102 -0
  236. package/token.js +84 -0
  237. package/token.js.map +1 -0
  238. package/types/index.d.ts +3 -0
  239. package/types/index.js +11 -0
  240. package/types/index.js.map +1 -0
  241. package/types/input.d.ts +1209 -0
  242. package/types/input.js +5 -0
  243. package/types/input.js.map +1 -0
  244. package/types/output.d.ts +1222 -0
  245. package/types/output.js +5 -0
  246. package/types/output.js.map +1 -0
  247. package/user.d.ts +149 -0
  248. package/user.js +91 -0
  249. package/user.js.map +1 -0
  250. package/userInstanceProfile.d.ts +93 -0
  251. package/userInstanceProfile.js +90 -0
  252. package/userInstanceProfile.js.map +1 -0
  253. package/userRole.d.ts +106 -0
  254. package/userRole.js +103 -0
  255. package/userRole.js.map +1 -0
  256. package/utilities.d.ts +4 -0
  257. package/utilities.js +57 -0
  258. package/utilities.js.map +1 -0
  259. package/workspaceConf.d.ts +76 -0
  260. package/workspaceConf.js +71 -0
  261. package/workspaceConf.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AArBD,4BAqBC;AAwGD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
package/getJobs.d.ts ADDED
@@ -0,0 +1,47 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Related Resources
4
+ *
5
+ * The following resources are used in the same context:
6
+ *
7
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
8
+ */
9
+ export declare function getJobs(args?: GetJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetJobsResult>;
10
+ /**
11
+ * A collection of arguments for invoking getJobs.
12
+ */
13
+ export interface GetJobsArgs {
14
+ /**
15
+ * map of databricks.Job names to ids
16
+ */
17
+ ids?: {
18
+ [key: string]: any;
19
+ };
20
+ }
21
+ /**
22
+ * A collection of values returned by getJobs.
23
+ */
24
+ export interface GetJobsResult {
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * map of databricks.Job names to ids
31
+ */
32
+ readonly ids: {
33
+ [key: string]: any;
34
+ };
35
+ }
36
+ export declare function getJobsOutput(args?: GetJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetJobsResult>;
37
+ /**
38
+ * A collection of arguments for invoking getJobs.
39
+ */
40
+ export interface GetJobsOutputArgs {
41
+ /**
42
+ * map of databricks.Job names to ids
43
+ */
44
+ ids?: pulumi.Input<{
45
+ [key: string]: any;
46
+ }>;
47
+ }
package/getJobs.js ADDED
@@ -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.getJobsOutput = exports.getJobs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Related Resources
10
+ *
11
+ * The following resources are used in the same context:
12
+ *
13
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
14
+ */
15
+ function getJobs(args, opts) {
16
+ args = args || {};
17
+ if (!opts) {
18
+ opts = {};
19
+ }
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
21
+ return pulumi.runtime.invoke("databricks:index/getJobs:getJobs", {
22
+ "ids": args.ids,
23
+ }, opts);
24
+ }
25
+ exports.getJobs = getJobs;
26
+ function getJobsOutput(args, opts) {
27
+ return pulumi.output(args).apply(a => getJobs(a, opts));
28
+ }
29
+ exports.getJobsOutput = getJobsOutput;
30
+ //# sourceMappingURL=getJobs.js.map
package/getJobs.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0BAUC;AA0BD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,173 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as databricks from "@pulumi/databricks";
8
+ *
9
+ * const withGpu = databricks.getNodeType({
10
+ * localDisk: true,
11
+ * minCores: 16,
12
+ * gbPerCore: 1,
13
+ * minGpus: 1,
14
+ * });
15
+ * const gpuMl = databricks.getSparkVersion({
16
+ * gpu: true,
17
+ * ml: true,
18
+ * });
19
+ * const research = new databricks.Cluster("research", {
20
+ * clusterName: "Research Cluster",
21
+ * sparkVersion: gpuMl.then(gpuMl => gpuMl.id),
22
+ * nodeTypeId: withGpu.then(withGpu => withGpu.id),
23
+ * autoterminationMinutes: 20,
24
+ * autoscale: {
25
+ * minWorkers: 1,
26
+ * maxWorkers: 50,
27
+ * },
28
+ * });
29
+ * ```
30
+ * ## Related Resources
31
+ *
32
+ * The following resources are used in the same context:
33
+ *
34
+ * * End to end workspace management guide
35
+ * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
36
+ * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
37
+ * * 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.
38
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
39
+ */
40
+ export declare function getNodeType(args?: GetNodeTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeTypeResult>;
41
+ /**
42
+ * A collection of arguments for invoking getNodeType.
43
+ */
44
+ export interface GetNodeTypeArgs {
45
+ /**
46
+ * Node category, which can be one of (depending on the cloud environment, could be checked with `databricks clusters list-node-types|jq '.node_types[]|.category'|sort |uniq`):
47
+ * * `General Purpose` (all clouds)
48
+ * * `General Purpose (HDD)` (Azure)
49
+ * * `Compute Optimized` (all clouds)
50
+ * * `Memory Optimized` (all clouds)
51
+ * * `Memory Optimized (Remote HDD)` (Azure)
52
+ * * `Storage Optimized` (AWS, Azure)
53
+ * * `GPU Accelerated` (AWS, Azure)
54
+ */
55
+ category?: string;
56
+ /**
57
+ * Number of gigabytes per core available on instance. Conflicts with `minMemoryGb`. Defaults to *0*.
58
+ */
59
+ gbPerCore?: number;
60
+ /**
61
+ * if we should limit the search only to nodes with AWS Graviton CPUs. Default to *false*.
62
+ */
63
+ graviton?: boolean;
64
+ /**
65
+ * . Pick only nodes that have IO Cache. Defaults to *false*.
66
+ */
67
+ isIoCacheEnabled?: boolean;
68
+ /**
69
+ * Pick only nodes with local storage. Defaults to *false*.
70
+ */
71
+ localDisk?: boolean;
72
+ /**
73
+ * Minimum number of CPU cores available on instance. Defaults to *0*.
74
+ */
75
+ minCores?: number;
76
+ /**
77
+ * Minimum number of GPU's attached to instance. Defaults to *0*.
78
+ */
79
+ minGpus?: number;
80
+ /**
81
+ * Minimum amount of memory per node in gigabytes. Defaults to *0*.
82
+ */
83
+ minMemoryGb?: number;
84
+ /**
85
+ * Pick only nodes that can run Photon driver. Defaults to *false*.
86
+ */
87
+ photonDriverCapable?: boolean;
88
+ /**
89
+ * Pick only nodes that can run Photon workers. Defaults to *false*.
90
+ */
91
+ photonWorkerCapable?: boolean;
92
+ /**
93
+ * Pick only nodes that support port forwarding. Defaults to *false*.
94
+ */
95
+ supportPortForwarding?: boolean;
96
+ }
97
+ /**
98
+ * A collection of values returned by getNodeType.
99
+ */
100
+ export interface GetNodeTypeResult {
101
+ readonly category?: string;
102
+ readonly gbPerCore?: number;
103
+ readonly graviton?: boolean;
104
+ /**
105
+ * The provider-assigned unique ID for this managed resource.
106
+ */
107
+ readonly id: string;
108
+ readonly isIoCacheEnabled?: boolean;
109
+ readonly localDisk?: boolean;
110
+ readonly minCores?: number;
111
+ readonly minGpus?: number;
112
+ readonly minMemoryGb?: number;
113
+ readonly photonDriverCapable?: boolean;
114
+ readonly photonWorkerCapable?: boolean;
115
+ readonly supportPortForwarding?: boolean;
116
+ }
117
+ export declare function getNodeTypeOutput(args?: GetNodeTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNodeTypeResult>;
118
+ /**
119
+ * A collection of arguments for invoking getNodeType.
120
+ */
121
+ export interface GetNodeTypeOutputArgs {
122
+ /**
123
+ * Node category, which can be one of (depending on the cloud environment, could be checked with `databricks clusters list-node-types|jq '.node_types[]|.category'|sort |uniq`):
124
+ * * `General Purpose` (all clouds)
125
+ * * `General Purpose (HDD)` (Azure)
126
+ * * `Compute Optimized` (all clouds)
127
+ * * `Memory Optimized` (all clouds)
128
+ * * `Memory Optimized (Remote HDD)` (Azure)
129
+ * * `Storage Optimized` (AWS, Azure)
130
+ * * `GPU Accelerated` (AWS, Azure)
131
+ */
132
+ category?: pulumi.Input<string>;
133
+ /**
134
+ * Number of gigabytes per core available on instance. Conflicts with `minMemoryGb`. Defaults to *0*.
135
+ */
136
+ gbPerCore?: pulumi.Input<number>;
137
+ /**
138
+ * if we should limit the search only to nodes with AWS Graviton CPUs. Default to *false*.
139
+ */
140
+ graviton?: pulumi.Input<boolean>;
141
+ /**
142
+ * . Pick only nodes that have IO Cache. Defaults to *false*.
143
+ */
144
+ isIoCacheEnabled?: pulumi.Input<boolean>;
145
+ /**
146
+ * Pick only nodes with local storage. Defaults to *false*.
147
+ */
148
+ localDisk?: pulumi.Input<boolean>;
149
+ /**
150
+ * Minimum number of CPU cores available on instance. Defaults to *0*.
151
+ */
152
+ minCores?: pulumi.Input<number>;
153
+ /**
154
+ * Minimum number of GPU's attached to instance. Defaults to *0*.
155
+ */
156
+ minGpus?: pulumi.Input<number>;
157
+ /**
158
+ * Minimum amount of memory per node in gigabytes. Defaults to *0*.
159
+ */
160
+ minMemoryGb?: pulumi.Input<number>;
161
+ /**
162
+ * Pick only nodes that can run Photon driver. Defaults to *false*.
163
+ */
164
+ photonDriverCapable?: pulumi.Input<boolean>;
165
+ /**
166
+ * Pick only nodes that can run Photon workers. Defaults to *false*.
167
+ */
168
+ photonWorkerCapable?: pulumi.Input<boolean>;
169
+ /**
170
+ * Pick only nodes that support port forwarding. Defaults to *false*.
171
+ */
172
+ supportPortForwarding?: pulumi.Input<boolean>;
173
+ }
package/getNodeType.js ADDED
@@ -0,0 +1,71 @@
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.getNodeTypeOutput = exports.getNodeType = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const withGpu = databricks.getNodeType({
16
+ * localDisk: true,
17
+ * minCores: 16,
18
+ * gbPerCore: 1,
19
+ * minGpus: 1,
20
+ * });
21
+ * const gpuMl = databricks.getSparkVersion({
22
+ * gpu: true,
23
+ * ml: true,
24
+ * });
25
+ * const research = new databricks.Cluster("research", {
26
+ * clusterName: "Research Cluster",
27
+ * sparkVersion: gpuMl.then(gpuMl => gpuMl.id),
28
+ * nodeTypeId: withGpu.then(withGpu => withGpu.id),
29
+ * autoterminationMinutes: 20,
30
+ * autoscale: {
31
+ * minWorkers: 1,
32
+ * maxWorkers: 50,
33
+ * },
34
+ * });
35
+ * ```
36
+ * ## Related Resources
37
+ *
38
+ * The following resources are used in the same context:
39
+ *
40
+ * * End to end workspace management guide
41
+ * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
42
+ * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
43
+ * * 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.
44
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
45
+ */
46
+ function getNodeType(args, opts) {
47
+ args = args || {};
48
+ if (!opts) {
49
+ opts = {};
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ return pulumi.runtime.invoke("databricks:index/getNodeType:getNodeType", {
53
+ "category": args.category,
54
+ "gbPerCore": args.gbPerCore,
55
+ "graviton": args.graviton,
56
+ "isIoCacheEnabled": args.isIoCacheEnabled,
57
+ "localDisk": args.localDisk,
58
+ "minCores": args.minCores,
59
+ "minGpus": args.minGpus,
60
+ "minMemoryGb": args.minMemoryGb,
61
+ "photonDriverCapable": args.photonDriverCapable,
62
+ "photonWorkerCapable": args.photonWorkerCapable,
63
+ "supportPortForwarding": args.supportPortForwarding,
64
+ }, opts);
65
+ }
66
+ exports.getNodeType = getNodeType;
67
+ function getNodeTypeOutput(args, opts) {
68
+ return pulumi.output(args).apply(a => getNodeType(a, opts));
69
+ }
70
+ exports.getNodeTypeOutput = getNodeTypeOutput;
71
+ //# sourceMappingURL=getNodeType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNodeType.js","sourceRoot":"","sources":["../getNodeType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AApBD,kCAoBC;AAgFD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,93 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as databricks from "@pulumi/databricks";
8
+ *
9
+ * const features = pulumi.output(databricks.getNotebook({
10
+ * format: "SOURCE",
11
+ * path: "/Production/Features",
12
+ * }));
13
+ * ```
14
+ */
15
+ export declare function getNotebook(args: GetNotebookArgs, opts?: pulumi.InvokeOptions): Promise<GetNotebookResult>;
16
+ /**
17
+ * A collection of arguments for invoking getNotebook.
18
+ */
19
+ export interface GetNotebookArgs {
20
+ /**
21
+ * Notebook format to export. Either `SOURCE`, `HTML`, `JUPYTER`, or `DBC`.
22
+ */
23
+ format: string;
24
+ /**
25
+ * notebook language
26
+ */
27
+ language?: string;
28
+ /**
29
+ * notebook object ID
30
+ */
31
+ objectId?: number;
32
+ /**
33
+ * notebook object type
34
+ */
35
+ objectType?: string;
36
+ /**
37
+ * Notebook path on the workspace
38
+ */
39
+ path: string;
40
+ }
41
+ /**
42
+ * A collection of values returned by getNotebook.
43
+ */
44
+ export interface GetNotebookResult {
45
+ /**
46
+ * notebook content in selected format
47
+ */
48
+ readonly content: string;
49
+ readonly format: string;
50
+ /**
51
+ * The provider-assigned unique ID for this managed resource.
52
+ */
53
+ readonly id: string;
54
+ /**
55
+ * notebook language
56
+ */
57
+ readonly language: string;
58
+ /**
59
+ * notebook object ID
60
+ */
61
+ readonly objectId: number;
62
+ /**
63
+ * notebook object type
64
+ */
65
+ readonly objectType: string;
66
+ readonly path: string;
67
+ }
68
+ export declare function getNotebookOutput(args: GetNotebookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNotebookResult>;
69
+ /**
70
+ * A collection of arguments for invoking getNotebook.
71
+ */
72
+ export interface GetNotebookOutputArgs {
73
+ /**
74
+ * Notebook format to export. Either `SOURCE`, `HTML`, `JUPYTER`, or `DBC`.
75
+ */
76
+ format: pulumi.Input<string>;
77
+ /**
78
+ * notebook language
79
+ */
80
+ language?: pulumi.Input<string>;
81
+ /**
82
+ * notebook object ID
83
+ */
84
+ objectId?: pulumi.Input<number>;
85
+ /**
86
+ * notebook object type
87
+ */
88
+ objectType?: pulumi.Input<string>;
89
+ /**
90
+ * Notebook path on the workspace
91
+ */
92
+ path: pulumi.Input<string>;
93
+ }
package/getNotebook.js ADDED
@@ -0,0 +1,39 @@
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.getNotebookOutput = exports.getNotebook = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const features = pulumi.output(databricks.getNotebook({
16
+ * format: "SOURCE",
17
+ * path: "/Production/Features",
18
+ * }));
19
+ * ```
20
+ */
21
+ function getNotebook(args, opts) {
22
+ if (!opts) {
23
+ opts = {};
24
+ }
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
26
+ return pulumi.runtime.invoke("databricks:index/getNotebook:getNotebook", {
27
+ "format": args.format,
28
+ "language": args.language,
29
+ "objectId": args.objectId,
30
+ "objectType": args.objectType,
31
+ "path": args.path,
32
+ }, opts);
33
+ }
34
+ exports.getNotebook = getNotebook;
35
+ function getNotebookOutput(args, opts) {
36
+ return pulumi.output(args).apply(a => getNotebook(a, opts));
37
+ }
38
+ exports.getNotebookOutput = getNotebookOutput;
39
+ //# sourceMappingURL=getNotebook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNotebook.js","sourceRoot":"","sources":["../getNotebook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kCAaC;AAwDD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,58 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as databricks from "@pulumi/databricks";
9
+ *
10
+ * const prod = pulumi.output(databricks.getNotebookPaths({
11
+ * path: "/Production",
12
+ * recursive: true,
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getNotebookPaths(args: GetNotebookPathsArgs, opts?: pulumi.InvokeOptions): Promise<GetNotebookPathsResult>;
17
+ /**
18
+ * A collection of arguments for invoking getNotebookPaths.
19
+ */
20
+ export interface GetNotebookPathsArgs {
21
+ /**
22
+ * Path to workspace directory
23
+ */
24
+ path: string;
25
+ /**
26
+ * Either or recursively walk given path
27
+ */
28
+ recursive: boolean;
29
+ }
30
+ /**
31
+ * A collection of values returned by getNotebookPaths.
32
+ */
33
+ export interface GetNotebookPathsResult {
34
+ /**
35
+ * The provider-assigned unique ID for this managed resource.
36
+ */
37
+ readonly id: string;
38
+ /**
39
+ * list of objects with `path` and `language` attributes
40
+ */
41
+ readonly notebookPathLists: outputs.GetNotebookPathsNotebookPathList[];
42
+ readonly path: string;
43
+ readonly recursive: boolean;
44
+ }
45
+ export declare function getNotebookPathsOutput(args: GetNotebookPathsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNotebookPathsResult>;
46
+ /**
47
+ * A collection of arguments for invoking getNotebookPaths.
48
+ */
49
+ export interface GetNotebookPathsOutputArgs {
50
+ /**
51
+ * Path to workspace directory
52
+ */
53
+ path: pulumi.Input<string>;
54
+ /**
55
+ * Either or recursively walk given path
56
+ */
57
+ recursive: pulumi.Input<boolean>;
58
+ }
@@ -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.getNotebookPathsOutput = exports.getNotebookPaths = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const prod = pulumi.output(databricks.getNotebookPaths({
16
+ * path: "/Production",
17
+ * recursive: true,
18
+ * }));
19
+ * ```
20
+ */
21
+ function getNotebookPaths(args, opts) {
22
+ if (!opts) {
23
+ opts = {};
24
+ }
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
26
+ return pulumi.runtime.invoke("databricks:index/getNotebookPaths:getNotebookPaths", {
27
+ "path": args.path,
28
+ "recursive": args.recursive,
29
+ }, opts);
30
+ }
31
+ exports.getNotebookPaths = getNotebookPaths;
32
+ function getNotebookPathsOutput(args, opts) {
33
+ return pulumi.output(args).apply(a => getNotebookPaths(a, opts));
34
+ }
35
+ exports.getNotebookPathsOutput = getNotebookPathsOutput;
36
+ //# sourceMappingURL=getNotebookPaths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNotebookPaths.js","sourceRoot":"","sources":["../getNotebookPaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC;AAgCD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
@@ -0,0 +1,65 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * Listing all schemas in a _sandbox_ databricks_catalog:
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as databricks from "@pulumi/databricks";
10
+ *
11
+ * const sandbox = databricks.getSchemas({
12
+ * catalogName: "sandbox",
13
+ * });
14
+ * export const allSandboxSchemas = sandbox;
15
+ * ```
16
+ * ## Related Resources
17
+ *
18
+ * The following resources are used in the same context:
19
+ *
20
+ * * databricks.Table to manage tables within Unity Catalog.
21
+ * * databricks.Schema to manage schemas within Unity Catalog.
22
+ * * databricks.Catalog to manage catalogs within Unity Catalog.
23
+ */
24
+ export declare function getSchemas(args: GetSchemasArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemasResult>;
25
+ /**
26
+ * A collection of arguments for invoking getSchemas.
27
+ */
28
+ export interface GetSchemasArgs {
29
+ /**
30
+ * Name of databricks_catalog
31
+ */
32
+ catalogName: string;
33
+ /**
34
+ * set of databricks.Schema full names: *`catalog`.`schema`*
35
+ */
36
+ ids?: string[];
37
+ }
38
+ /**
39
+ * A collection of values returned by getSchemas.
40
+ */
41
+ export interface GetSchemasResult {
42
+ readonly catalogName: string;
43
+ /**
44
+ * The provider-assigned unique ID for this managed resource.
45
+ */
46
+ readonly id: string;
47
+ /**
48
+ * set of databricks.Schema full names: *`catalog`.`schema`*
49
+ */
50
+ readonly ids: string[];
51
+ }
52
+ export declare function getSchemasOutput(args: GetSchemasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemasResult>;
53
+ /**
54
+ * A collection of arguments for invoking getSchemas.
55
+ */
56
+ export interface GetSchemasOutputArgs {
57
+ /**
58
+ * Name of databricks_catalog
59
+ */
60
+ catalogName: pulumi.Input<string>;
61
+ /**
62
+ * set of databricks.Schema full names: *`catalog`.`schema`*
63
+ */
64
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
65
+ }
package/getSchemas.js ADDED
@@ -0,0 +1,45 @@
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.getSchemasOutput = exports.getSchemas = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Listing all schemas in a _sandbox_ databricks_catalog:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const sandbox = databricks.getSchemas({
18
+ * catalogName: "sandbox",
19
+ * });
20
+ * export const allSandboxSchemas = sandbox;
21
+ * ```
22
+ * ## Related Resources
23
+ *
24
+ * The following resources are used in the same context:
25
+ *
26
+ * * databricks.Table to manage tables within Unity Catalog.
27
+ * * databricks.Schema to manage schemas within Unity Catalog.
28
+ * * databricks.Catalog to manage catalogs within Unity Catalog.
29
+ */
30
+ function getSchemas(args, opts) {
31
+ if (!opts) {
32
+ opts = {};
33
+ }
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
35
+ return pulumi.runtime.invoke("databricks:index/getSchemas:getSchemas", {
36
+ "catalogName": args.catalogName,
37
+ "ids": args.ids,
38
+ }, opts);
39
+ }
40
+ exports.getSchemas = getSchemas;
41
+ function getSchemasOutput(args, opts) {
42
+ return pulumi.output(args).apply(a => getSchemas(a, opts));
43
+ }
44
+ exports.getSchemasOutput = getSchemasOutput;
45
+ //# sourceMappingURL=getSchemas.js.map