@pulumi/databricks 1.34.0 → 1.35.0-alpha.1710915250

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 (335) hide show
  1. package/accessControlRuleSet.d.ts +12 -0
  2. package/accessControlRuleSet.js +12 -0
  3. package/accessControlRuleSet.js.map +1 -1
  4. package/artifactAllowlist.d.ts +4 -1
  5. package/artifactAllowlist.js +4 -1
  6. package/artifactAllowlist.js.map +1 -1
  7. package/catalog.d.ts +4 -1
  8. package/catalog.js +4 -1
  9. package/catalog.js.map +1 -1
  10. package/catalogWorkspaceBinding.d.ts +2 -0
  11. package/catalogWorkspaceBinding.js +2 -0
  12. package/catalogWorkspaceBinding.js.map +1 -1
  13. package/cluster.d.ts +15 -1
  14. package/cluster.js +3 -1
  15. package/cluster.js.map +1 -1
  16. package/clusterPolicy.d.ts +4 -2
  17. package/clusterPolicy.js +4 -2
  18. package/clusterPolicy.js.map +1 -1
  19. package/connection.d.ts +5 -1
  20. package/connection.js +5 -1
  21. package/connection.js.map +1 -1
  22. package/dbfsFile.d.ts +1 -1
  23. package/dbfsFile.js +1 -1
  24. package/defaultNamespaceSetting.d.ts +3 -1
  25. package/defaultNamespaceSetting.js +3 -1
  26. package/defaultNamespaceSetting.js.map +1 -1
  27. package/directory.d.ts +1 -1
  28. package/directory.js +1 -1
  29. package/entitlements.d.ts +11 -4
  30. package/entitlements.js +11 -4
  31. package/entitlements.js.map +1 -1
  32. package/externalLocation.d.ts +36 -1
  33. package/externalLocation.js +36 -1
  34. package/externalLocation.js.map +1 -1
  35. package/file.d.ts +1 -1
  36. package/file.js +1 -1
  37. package/getAwsAssumeRolePolicy.d.ts +8 -2
  38. package/getAwsAssumeRolePolicy.js +8 -2
  39. package/getAwsAssumeRolePolicy.js.map +1 -1
  40. package/getAwsBucketPolicy.d.ts +0 -18
  41. package/getAwsBucketPolicy.js +0 -18
  42. package/getAwsBucketPolicy.js.map +1 -1
  43. package/getAwsCrossAccountPolicy.d.ts +8 -2
  44. package/getAwsCrossAccountPolicy.js +8 -2
  45. package/getAwsCrossAccountPolicy.js.map +1 -1
  46. package/getAwsUnityCatalogPolicy.d.ts +6 -2
  47. package/getAwsUnityCatalogPolicy.js +6 -2
  48. package/getAwsUnityCatalogPolicy.js.map +1 -1
  49. package/getCatalogs.d.ts +6 -0
  50. package/getCatalogs.js +6 -0
  51. package/getCatalogs.js.map +1 -1
  52. package/getCluster.d.ts +6 -0
  53. package/getCluster.js +6 -0
  54. package/getCluster.js.map +1 -1
  55. package/getClusterPolicy.d.ts +4 -0
  56. package/getClusterPolicy.js +4 -0
  57. package/getClusterPolicy.js.map +1 -1
  58. package/getClusters.d.ts +10 -0
  59. package/getClusters.js +10 -0
  60. package/getClusters.js.map +1 -1
  61. package/getCurrentConfig.d.ts +0 -38
  62. package/getCurrentConfig.js +0 -38
  63. package/getCurrentConfig.js.map +1 -1
  64. package/getCurrentMetastore.d.ts +6 -0
  65. package/getCurrentMetastore.js +6 -0
  66. package/getCurrentMetastore.js.map +1 -1
  67. package/getCurrentUser.d.ts +4 -40
  68. package/getCurrentUser.js +4 -40
  69. package/getCurrentUser.js.map +1 -1
  70. package/getDbfsFile.d.ts +6 -0
  71. package/getDbfsFile.js +6 -0
  72. package/getDbfsFile.js.map +1 -1
  73. package/getDbfsFilePaths.d.ts +6 -0
  74. package/getDbfsFilePaths.js +6 -0
  75. package/getDbfsFilePaths.js.map +1 -1
  76. package/getDirectory.d.ts +4 -0
  77. package/getDirectory.js +4 -0
  78. package/getDirectory.js.map +1 -1
  79. package/getGroup.d.ts +6 -0
  80. package/getGroup.js +6 -0
  81. package/getGroup.js.map +1 -1
  82. package/getInstancePool.d.ts +4 -0
  83. package/getInstancePool.js +4 -0
  84. package/getInstancePool.js.map +1 -1
  85. package/getInstanceProfiles.d.ts +4 -0
  86. package/getInstanceProfiles.js +4 -0
  87. package/getInstanceProfiles.js.map +1 -1
  88. package/getJob.d.ts +6 -0
  89. package/getJob.js +6 -0
  90. package/getJob.js.map +1 -1
  91. package/getJobs.d.ts +10 -0
  92. package/getJobs.js +10 -0
  93. package/getJobs.js.map +1 -1
  94. package/getMetastore.d.ts +4 -12
  95. package/getMetastore.js +4 -12
  96. package/getMetastore.js.map +1 -1
  97. package/getMetastores.d.ts +6 -0
  98. package/getMetastores.js +6 -0
  99. package/getMetastores.js.map +1 -1
  100. package/getMwsCredentials.d.ts +6 -0
  101. package/getMwsCredentials.js +6 -0
  102. package/getMwsCredentials.js.map +1 -1
  103. package/getMwsWorkspaces.d.ts +6 -0
  104. package/getMwsWorkspaces.js +6 -0
  105. package/getMwsWorkspaces.js.map +1 -1
  106. package/getNodeType.d.ts +6 -0
  107. package/getNodeType.js +6 -0
  108. package/getNodeType.js.map +1 -1
  109. package/getNotebook.d.ts +4 -0
  110. package/getNotebook.js +4 -0
  111. package/getNotebook.js.map +1 -1
  112. package/getNotebookPaths.d.ts +4 -0
  113. package/getNotebookPaths.js +4 -0
  114. package/getNotebookPaths.js.map +1 -1
  115. package/getPipelines.d.ts +16 -2
  116. package/getPipelines.js +14 -0
  117. package/getPipelines.js.map +1 -1
  118. package/getSchemas.d.ts +6 -0
  119. package/getSchemas.js +6 -0
  120. package/getSchemas.js.map +1 -1
  121. package/getServicePrincipal.d.ts +6 -0
  122. package/getServicePrincipal.js +6 -0
  123. package/getServicePrincipal.js.map +1 -1
  124. package/getServicePrincipals.d.ts +0 -26
  125. package/getServicePrincipals.js +0 -26
  126. package/getServicePrincipals.js.map +1 -1
  127. package/getShare.d.ts +6 -0
  128. package/getShare.js +6 -0
  129. package/getShare.js.map +1 -1
  130. package/getShares.d.ts +6 -0
  131. package/getShares.js +6 -0
  132. package/getShares.js.map +1 -1
  133. package/getSparkVersion.d.ts +6 -0
  134. package/getSparkVersion.js +6 -0
  135. package/getSparkVersion.js.map +1 -1
  136. package/getSqlWarehouse.d.ts +10 -0
  137. package/getSqlWarehouse.js +10 -0
  138. package/getSqlWarehouse.js.map +1 -1
  139. package/getSqlWarehouses.d.ts +10 -0
  140. package/getSqlWarehouses.js +10 -0
  141. package/getSqlWarehouses.js.map +1 -1
  142. package/getStorageCredential.d.ts +4 -10
  143. package/getStorageCredential.js +4 -10
  144. package/getStorageCredential.js.map +1 -1
  145. package/getStorageCredentials.d.ts +6 -0
  146. package/getStorageCredentials.js +6 -0
  147. package/getStorageCredentials.js.map +1 -1
  148. package/getTables.d.ts +6 -0
  149. package/getTables.js +6 -0
  150. package/getTables.js.map +1 -1
  151. package/getUser.d.ts +6 -0
  152. package/getUser.js +6 -0
  153. package/getUser.js.map +1 -1
  154. package/getViews.d.ts +4 -10
  155. package/getViews.js +4 -10
  156. package/getViews.js.map +1 -1
  157. package/getVolumes.d.ts +6 -0
  158. package/getVolumes.js +6 -0
  159. package/getVolumes.js.map +1 -1
  160. package/getZones.d.ts +4 -0
  161. package/getZones.js +4 -0
  162. package/getZones.js.map +1 -1
  163. package/gitCredential.d.ts +1 -1
  164. package/gitCredential.js +1 -1
  165. package/globalInitScript.d.ts +1 -1
  166. package/globalInitScript.js +1 -1
  167. package/grant.d.ts +1 -1
  168. package/grant.js +1 -1
  169. package/grants.d.ts +1 -1
  170. package/grants.js +1 -1
  171. package/group.d.ts +9 -1
  172. package/group.js +9 -1
  173. package/group.js.map +1 -1
  174. package/groupInstanceProfile.d.ts +3 -0
  175. package/groupInstanceProfile.js +3 -0
  176. package/groupInstanceProfile.js.map +1 -1
  177. package/groupRole.d.ts +5 -0
  178. package/groupRole.js +5 -0
  179. package/groupRole.js.map +1 -1
  180. package/instancePool.d.ts +4 -1
  181. package/instancePool.js +4 -1
  182. package/instancePool.js.map +1 -1
  183. package/instanceProfile.d.ts +9 -1
  184. package/instanceProfile.js +9 -1
  185. package/instanceProfile.js.map +1 -1
  186. package/ipAccessList.d.ts +4 -1
  187. package/ipAccessList.js +4 -1
  188. package/ipAccessList.js.map +1 -1
  189. package/job.d.ts +7 -1
  190. package/job.js +1 -1
  191. package/job.js.map +1 -1
  192. package/library.d.ts +14 -0
  193. package/library.js +14 -0
  194. package/library.js.map +1 -1
  195. package/metastore.d.ts +25 -1
  196. package/metastore.js +25 -1
  197. package/metastore.js.map +1 -1
  198. package/metastoreAssignment.d.ts +3 -1
  199. package/metastoreAssignment.js +3 -1
  200. package/metastoreAssignment.js.map +1 -1
  201. package/metastoreDataAccess.d.ts +28 -1
  202. package/metastoreDataAccess.js +28 -1
  203. package/metastoreDataAccess.js.map +1 -1
  204. package/metastoreProvider.d.ts +3 -0
  205. package/metastoreProvider.js +3 -0
  206. package/metastoreProvider.js.map +1 -1
  207. package/mlflowExperiment.d.ts +4 -1
  208. package/mlflowExperiment.js +4 -1
  209. package/mlflowExperiment.js.map +1 -1
  210. package/mlflowModel.d.ts +4 -1
  211. package/mlflowModel.js +4 -1
  212. package/mlflowModel.js.map +1 -1
  213. package/mlflowWebhook.d.ts +4 -0
  214. package/mlflowWebhook.js +4 -0
  215. package/mlflowWebhook.js.map +1 -1
  216. package/modelServing.d.ts +4 -1
  217. package/modelServing.js +4 -1
  218. package/modelServing.js.map +1 -1
  219. package/mount.d.ts +14 -0
  220. package/mount.js +14 -0
  221. package/mount.js.map +1 -1
  222. package/mwsCredentials.d.ts +1 -1
  223. package/mwsCredentials.js +1 -1
  224. package/mwsCustomerManagedKeys.d.ts +14 -0
  225. package/mwsCustomerManagedKeys.js +14 -0
  226. package/mwsCustomerManagedKeys.js.map +1 -1
  227. package/mwsLogDelivery.d.ts +4 -0
  228. package/mwsLogDelivery.js +4 -0
  229. package/mwsLogDelivery.js.map +1 -1
  230. package/mwsNetworks.d.ts +33 -95
  231. package/mwsNetworks.js +33 -95
  232. package/mwsNetworks.js.map +1 -1
  233. package/mwsPermissionAssignment.d.ts +8 -1
  234. package/mwsPermissionAssignment.js +8 -1
  235. package/mwsPermissionAssignment.js.map +1 -1
  236. package/mwsPrivateAccessSettings.d.ts +6 -0
  237. package/mwsPrivateAccessSettings.js +6 -0
  238. package/mwsPrivateAccessSettings.js.map +1 -1
  239. package/mwsWorkspaces.d.ts +9 -19
  240. package/mwsWorkspaces.js +9 -19
  241. package/mwsWorkspaces.js.map +1 -1
  242. package/notebook.d.ts +1 -1
  243. package/notebook.js +1 -1
  244. package/package.json +1 -1
  245. package/permissions.d.ts +15 -19
  246. package/permissions.js +15 -19
  247. package/permissions.js.map +1 -1
  248. package/pipeline.d.ts +4 -1
  249. package/pipeline.js +4 -1
  250. package/pipeline.js.map +1 -1
  251. package/recipient.d.ts +3 -7
  252. package/recipient.js +3 -7
  253. package/recipient.js.map +1 -1
  254. package/registeredModel.d.ts +4 -1
  255. package/registeredModel.js +4 -1
  256. package/registeredModel.js.map +1 -1
  257. package/repo.d.ts +1 -1
  258. package/repo.js +1 -1
  259. package/restrictWorkspaceAdminsSetting.d.ts +3 -1
  260. package/restrictWorkspaceAdminsSetting.js +3 -1
  261. package/restrictWorkspaceAdminsSetting.js.map +1 -1
  262. package/schema.d.ts +4 -1
  263. package/schema.js +4 -1
  264. package/schema.js.map +1 -1
  265. package/secret.d.ts +4 -1
  266. package/secret.js +4 -1
  267. package/secret.js.map +1 -1
  268. package/secretAcl.d.ts +4 -1
  269. package/secretAcl.js +4 -1
  270. package/secretAcl.js.map +1 -1
  271. package/secretScope.d.ts +4 -1
  272. package/secretScope.js +4 -1
  273. package/secretScope.js.map +1 -1
  274. package/servicePrincipal.d.ts +12 -1
  275. package/servicePrincipal.js +12 -1
  276. package/servicePrincipal.js.map +1 -1
  277. package/servicePrincipalRole.d.ts +3 -0
  278. package/servicePrincipalRole.js +3 -0
  279. package/servicePrincipalRole.js.map +1 -1
  280. package/sqlAlert.d.ts +0 -9
  281. package/sqlAlert.js +0 -9
  282. package/sqlAlert.js.map +1 -1
  283. package/sqlDashboard.d.ts +6 -1
  284. package/sqlDashboard.js +6 -1
  285. package/sqlDashboard.js.map +1 -1
  286. package/sqlEndpoint.d.ts +4 -1
  287. package/sqlEndpoint.js +4 -1
  288. package/sqlEndpoint.js.map +1 -1
  289. package/sqlGlobalConfig.d.ts +8 -1
  290. package/sqlGlobalConfig.js +8 -1
  291. package/sqlGlobalConfig.js.map +1 -1
  292. package/sqlPermissions.d.ts +10 -7
  293. package/sqlPermissions.js +10 -7
  294. package/sqlPermissions.js.map +1 -1
  295. package/sqlQuery.d.ts +6 -1
  296. package/sqlQuery.js +6 -1
  297. package/sqlQuery.js.map +1 -1
  298. package/sqlTable.d.ts +1 -1
  299. package/sqlTable.js +1 -1
  300. package/sqlVisualization.d.ts +1 -1
  301. package/sqlVisualization.js +1 -1
  302. package/sqlWidget.d.ts +4 -1
  303. package/sqlWidget.js +4 -1
  304. package/sqlWidget.js.map +1 -1
  305. package/storageCredential.d.ts +7 -1
  306. package/storageCredential.js +7 -1
  307. package/storageCredential.js.map +1 -1
  308. package/systemSchema.d.ts +3 -1
  309. package/systemSchema.js +3 -1
  310. package/systemSchema.js.map +1 -1
  311. package/token.d.ts +4 -0
  312. package/token.js +4 -0
  313. package/token.js.map +1 -1
  314. package/types/input.d.ts +22 -0
  315. package/types/output.d.ts +22 -0
  316. package/user.d.ts +12 -1
  317. package/user.js +12 -1
  318. package/user.js.map +1 -1
  319. package/userInstanceProfile.d.ts +3 -0
  320. package/userInstanceProfile.js +3 -0
  321. package/userInstanceProfile.js.map +1 -1
  322. package/userRole.d.ts +5 -0
  323. package/userRole.js +5 -0
  324. package/userRole.js.map +1 -1
  325. package/vectorSearchEndpoint.d.ts +3 -1
  326. package/vectorSearchEndpoint.js +3 -1
  327. package/vectorSearchEndpoint.js.map +1 -1
  328. package/volume.d.ts +9 -1
  329. package/volume.js +9 -1
  330. package/volume.js.map +1 -1
  331. package/workspaceConf.d.ts +2 -0
  332. package/workspaceConf.js +2 -0
  333. package/workspaceConf.js.map +1 -1
  334. package/workspaceFile.d.ts +1 -1
  335. package/workspaceFile.js +1 -1
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * MetastoreSummary response for a metastore attached to the current workspace.
18
18
  *
19
+ * <!--Start PulumiCodeChooser -->
19
20
  * ```typescript
20
21
  * import * as pulumi from "@pulumi/pulumi";
21
22
  * import * as databricks from "@pulumi/databricks";
@@ -23,6 +24,8 @@ const utilities = require("./utilities");
23
24
  * const this = databricks.getCurrentMetastore({});
24
25
  * export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
25
26
  * ```
27
+ * <!--End PulumiCodeChooser -->
28
+ *
26
29
  * ## Related Resources
27
30
  *
28
31
  * The following resources are used in the same context:
@@ -52,6 +55,7 @@ exports.getCurrentMetastore = getCurrentMetastore;
52
55
  *
53
56
  * MetastoreSummary response for a metastore attached to the current workspace.
54
57
  *
58
+ * <!--Start PulumiCodeChooser -->
55
59
  * ```typescript
56
60
  * import * as pulumi from "@pulumi/pulumi";
57
61
  * import * as databricks from "@pulumi/databricks";
@@ -59,6 +63,8 @@ exports.getCurrentMetastore = getCurrentMetastore;
59
63
  * const this = databricks.getCurrentMetastore({});
60
64
  * export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
61
65
  * ```
66
+ * <!--End PulumiCodeChooser -->
67
+ *
62
68
  * ## Related Resources
63
69
  *
64
70
  * The following resources are used in the same context:
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentMetastore.js","sourceRoot":"","sources":["../getCurrentMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getCurrentMetastore.js","sourceRoot":"","sources":["../getCurrentMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -1,26 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## Exported attributes
3
+ * ## Example Usage
4
4
  *
5
- * Data source exposes the following attributes:
6
- *
7
- * * `id` - The id of the calling user.
8
- * * `externalId` - ID of the user in an external identity provider.
9
- * * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
10
- * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
11
- * * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
12
- * * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
13
- * * `workspaceUrl` - URL of the current Databricks workspace.
14
- * * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
15
- *
16
- * ## Related Resources
17
- *
18
- * The following resources are used in the same context:
19
- *
20
- * * End to end workspace management guide
21
- * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
22
- * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
23
- * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
5
+ * Create personalized databricks.Job and databricks_notebook:
24
6
  */
25
7
  export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>;
26
8
  /**
@@ -40,26 +22,8 @@ export interface GetCurrentUserResult {
40
22
  readonly workspaceUrl: string;
41
23
  }
42
24
  /**
43
- * ## Exported attributes
44
- *
45
- * Data source exposes the following attributes:
46
- *
47
- * * `id` - The id of the calling user.
48
- * * `externalId` - ID of the user in an external identity provider.
49
- * * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
50
- * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
51
- * * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
52
- * * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
53
- * * `workspaceUrl` - URL of the current Databricks workspace.
54
- * * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
55
- *
56
- * ## Related Resources
57
- *
58
- * The following resources are used in the same context:
25
+ * ## Example Usage
59
26
  *
60
- * * End to end workspace management guide
61
- * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
62
- * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
63
- * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
27
+ * Create personalized databricks.Job and databricks_notebook:
64
28
  */
65
29
  export declare function getCurrentUserOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCurrentUserResult>;
package/getCurrentUser.js CHANGED
@@ -6,27 +6,9 @@ exports.getCurrentUserOutput = exports.getCurrentUser = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Exported attributes
9
+ * ## Example Usage
10
10
  *
11
- * Data source exposes the following attributes:
12
- *
13
- * * `id` - The id of the calling user.
14
- * * `externalId` - ID of the user in an external identity provider.
15
- * * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
16
- * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
17
- * * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
18
- * * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
19
- * * `workspaceUrl` - URL of the current Databricks workspace.
20
- * * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
21
- *
22
- * ## Related Resources
23
- *
24
- * The following resources are used in the same context:
25
- *
26
- * * End to end workspace management guide
27
- * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
28
- * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
29
- * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
11
+ * Create personalized databricks.Job and databricks_notebook:
30
12
  */
31
13
  function getCurrentUser(opts) {
32
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -34,27 +16,9 @@ function getCurrentUser(opts) {
34
16
  }
35
17
  exports.getCurrentUser = getCurrentUser;
36
18
  /**
37
- * ## Exported attributes
38
- *
39
- * Data source exposes the following attributes:
40
- *
41
- * * `id` - The id of the calling user.
42
- * * `externalId` - ID of the user in an external identity provider.
43
- * * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
44
- * * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
45
- * * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
46
- * * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
47
- * * `workspaceUrl` - URL of the current Databricks workspace.
48
- * * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
49
- *
50
- * ## Related Resources
51
- *
52
- * The following resources are used in the same context:
19
+ * ## Example Usage
53
20
  *
54
- * * End to end workspace management guide
55
- * * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
56
- * * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
57
- * * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
21
+ * Create personalized databricks.Job and databricks_notebook:
58
22
  */
59
23
  function getCurrentUserOutput(opts) {
60
24
  return pulumi.output(getCurrentUser(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAkBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAkBD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
package/getDbfsFile.d.ts CHANGED
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * <!--Start PulumiCodeChooser -->
9
10
  * ```typescript
10
11
  * import * as pulumi from "@pulumi/pulumi";
11
12
  * import * as databricks from "@pulumi/databricks";
@@ -15,6 +16,8 @@ import * as pulumi from "@pulumi/pulumi";
15
16
  * path: "dbfs:/reports/some.csv",
16
17
  * });
17
18
  * ```
19
+ * <!--End PulumiCodeChooser -->
20
+ *
18
21
  * ## Related Resources
19
22
  *
20
23
  * The following resources are used in the same context:
@@ -64,6 +67,7 @@ export interface GetDbfsFileResult {
64
67
  *
65
68
  * ## Example Usage
66
69
  *
70
+ * <!--Start PulumiCodeChooser -->
67
71
  * ```typescript
68
72
  * import * as pulumi from "@pulumi/pulumi";
69
73
  * import * as databricks from "@pulumi/databricks";
@@ -73,6 +77,8 @@ export interface GetDbfsFileResult {
73
77
  * path: "dbfs:/reports/some.csv",
74
78
  * });
75
79
  * ```
80
+ * <!--End PulumiCodeChooser -->
81
+ *
76
82
  * ## Related Resources
77
83
  *
78
84
  * The following resources are used in the same context:
package/getDbfsFile.js CHANGED
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * <!--Start PulumiCodeChooser -->
15
16
  * ```typescript
16
17
  * import * as pulumi from "@pulumi/pulumi";
17
18
  * import * as databricks from "@pulumi/databricks";
@@ -21,6 +22,8 @@ const utilities = require("./utilities");
21
22
  * path: "dbfs:/reports/some.csv",
22
23
  * });
23
24
  * ```
25
+ * <!--End PulumiCodeChooser -->
26
+ *
24
27
  * ## Related Resources
25
28
  *
26
29
  * The following resources are used in the same context:
@@ -45,6 +48,7 @@ exports.getDbfsFile = getDbfsFile;
45
48
  *
46
49
  * ## Example Usage
47
50
  *
51
+ * <!--Start PulumiCodeChooser -->
48
52
  * ```typescript
49
53
  * import * as pulumi from "@pulumi/pulumi";
50
54
  * import * as databricks from "@pulumi/databricks";
@@ -54,6 +58,8 @@ exports.getDbfsFile = getDbfsFile;
54
58
  * path: "dbfs:/reports/some.csv",
55
59
  * });
56
60
  * ```
61
+ * <!--End PulumiCodeChooser -->
62
+ *
57
63
  * ## Related Resources
58
64
  *
59
65
  * The following resources are used in the same context:
@@ -1 +1 @@
1
- {"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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"}
1
+ {"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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"}
@@ -7,6 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ## Example Usage
9
9
  *
10
+ * <!--Start PulumiCodeChooser -->
10
11
  * ```typescript
11
12
  * import * as pulumi from "@pulumi/pulumi";
12
13
  * import * as databricks from "@pulumi/databricks";
@@ -16,6 +17,8 @@ import * as outputs from "./types/output";
16
17
  * recursive: false,
17
18
  * });
18
19
  * ```
20
+ * <!--End PulumiCodeChooser -->
21
+ *
19
22
  * ## Related Resources
20
23
  *
21
24
  * The following resources are used in the same context:
@@ -63,6 +66,7 @@ export interface GetDbfsFilePathsResult {
63
66
  *
64
67
  * ## Example Usage
65
68
  *
69
+ * <!--Start PulumiCodeChooser -->
66
70
  * ```typescript
67
71
  * import * as pulumi from "@pulumi/pulumi";
68
72
  * import * as databricks from "@pulumi/databricks";
@@ -72,6 +76,8 @@ export interface GetDbfsFilePathsResult {
72
76
  * recursive: false,
73
77
  * });
74
78
  * ```
79
+ * <!--End PulumiCodeChooser -->
80
+ *
75
81
  * ## Related Resources
76
82
  *
77
83
  * The following resources are used in the same context:
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * <!--Start PulumiCodeChooser -->
15
16
  * ```typescript
16
17
  * import * as pulumi from "@pulumi/pulumi";
17
18
  * import * as databricks from "@pulumi/databricks";
@@ -21,6 +22,8 @@ const utilities = require("./utilities");
21
22
  * recursive: false,
22
23
  * });
23
24
  * ```
25
+ * <!--End PulumiCodeChooser -->
26
+ *
24
27
  * ## Related Resources
25
28
  *
26
29
  * The following resources are used in the same context:
@@ -47,6 +50,7 @@ exports.getDbfsFilePaths = getDbfsFilePaths;
47
50
  *
48
51
  * ## Example Usage
49
52
  *
53
+ * <!--Start PulumiCodeChooser -->
50
54
  * ```typescript
51
55
  * import * as pulumi from "@pulumi/pulumi";
52
56
  * import * as databricks from "@pulumi/databricks";
@@ -56,6 +60,8 @@ exports.getDbfsFilePaths = getDbfsFilePaths;
56
60
  * recursive: false,
57
61
  * });
58
62
  * ```
63
+ * <!--End PulumiCodeChooser -->
64
+ *
59
65
  * ## Related Resources
60
66
  *
61
67
  * The following resources are used in the same context:
@@ -1 +1 @@
1
- {"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4CAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4CAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
package/getDirectory.d.ts CHANGED
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * <!--Start PulumiCodeChooser -->
9
10
  * ```typescript
10
11
  * import * as pulumi from "@pulumi/pulumi";
11
12
  * import * as databricks from "@pulumi/databricks";
@@ -14,6 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
14
15
  * path: "/Production",
15
16
  * });
16
17
  * ```
18
+ * <!--End PulumiCodeChooser -->
17
19
  */
18
20
  export declare function getDirectory(args: GetDirectoryArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectoryResult>;
19
21
  /**
@@ -54,6 +56,7 @@ export interface GetDirectoryResult {
54
56
  *
55
57
  * ## Example Usage
56
58
  *
59
+ * <!--Start PulumiCodeChooser -->
57
60
  * ```typescript
58
61
  * import * as pulumi from "@pulumi/pulumi";
59
62
  * import * as databricks from "@pulumi/databricks";
@@ -62,6 +65,7 @@ export interface GetDirectoryResult {
62
65
  * path: "/Production",
63
66
  * });
64
67
  * ```
68
+ * <!--End PulumiCodeChooser -->
65
69
  */
66
70
  export declare function getDirectoryOutput(args: GetDirectoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDirectoryResult>;
67
71
  /**
package/getDirectory.js CHANGED
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * <!--Start PulumiCodeChooser -->
15
16
  * ```typescript
16
17
  * import * as pulumi from "@pulumi/pulumi";
17
18
  * import * as databricks from "@pulumi/databricks";
@@ -20,6 +21,7 @@ const utilities = require("./utilities");
20
21
  * path: "/Production",
21
22
  * });
22
23
  * ```
24
+ * <!--End PulumiCodeChooser -->
23
25
  */
24
26
  function getDirectory(args, opts) {
25
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -36,6 +38,7 @@ exports.getDirectory = getDirectory;
36
38
  *
37
39
  * ## Example Usage
38
40
  *
41
+ * <!--Start PulumiCodeChooser -->
39
42
  * ```typescript
40
43
  * import * as pulumi from "@pulumi/pulumi";
41
44
  * import * as databricks from "@pulumi/databricks";
@@ -44,6 +47,7 @@ exports.getDirectory = getDirectory;
44
47
  * path: "/Production",
45
48
  * });
46
49
  * ```
50
+ * <!--End PulumiCodeChooser -->
47
51
  */
48
52
  function getDirectoryOutput(args, opts) {
49
53
  return pulumi.output(args).apply((a) => getDirectory(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAkCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAkCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
package/getGroup.d.ts CHANGED
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  *
9
9
  * Adding user to administrative group
10
10
  *
11
+ * <!--Start PulumiCodeChooser -->
11
12
  * ```typescript
12
13
  * import * as pulumi from "@pulumi/pulumi";
13
14
  * import * as databricks from "@pulumi/databricks";
@@ -21,6 +22,8 @@ import * as pulumi from "@pulumi/pulumi";
21
22
  * memberId: me.id,
22
23
  * });
23
24
  * ```
25
+ * <!--End PulumiCodeChooser -->
26
+ *
24
27
  * ## Related Resources
25
28
  *
26
29
  * The following resources are used in the same context:
@@ -150,6 +153,7 @@ export interface GetGroupResult {
150
153
  *
151
154
  * Adding user to administrative group
152
155
  *
156
+ * <!--Start PulumiCodeChooser -->
153
157
  * ```typescript
154
158
  * import * as pulumi from "@pulumi/pulumi";
155
159
  * import * as databricks from "@pulumi/databricks";
@@ -163,6 +167,8 @@ export interface GetGroupResult {
163
167
  * memberId: me.id,
164
168
  * });
165
169
  * ```
170
+ * <!--End PulumiCodeChooser -->
171
+ *
166
172
  * ## Related Resources
167
173
  *
168
174
  * The following resources are used in the same context:
package/getGroup.js CHANGED
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * Adding user to administrative group
16
16
  *
17
+ * <!--Start PulumiCodeChooser -->
17
18
  * ```typescript
18
19
  * import * as pulumi from "@pulumi/pulumi";
19
20
  * import * as databricks from "@pulumi/databricks";
@@ -27,6 +28,8 @@ const utilities = require("./utilities");
27
28
  * memberId: me.id,
28
29
  * });
29
30
  * ```
31
+ * <!--End PulumiCodeChooser -->
32
+ *
30
33
  * ## Related Resources
31
34
  *
32
35
  * The following resources are used in the same context:
@@ -67,6 +70,7 @@ exports.getGroup = getGroup;
67
70
  *
68
71
  * Adding user to administrative group
69
72
  *
73
+ * <!--Start PulumiCodeChooser -->
70
74
  * ```typescript
71
75
  * import * as pulumi from "@pulumi/pulumi";
72
76
  * import * as databricks from "@pulumi/databricks";
@@ -80,6 +84,8 @@ exports.getGroup = getGroup;
80
84
  * memberId: me.id,
81
85
  * });
82
86
  * ```
87
+ * <!--End PulumiCodeChooser -->
88
+ *
83
89
  * ## Related Resources
84
90
  *
85
91
  * The following resources are used in the same context:
package/getGroup.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,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;AAnBD,4BAmBC;AA+GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,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;AAnBD,4BAmBC;AA+GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * Referring to an instance pool by name:
12
12
  *
13
+ * <!--Start PulumiCodeChooser -->
13
14
  * ```typescript
14
15
  * import * as pulumi from "@pulumi/pulumi";
15
16
  * import * as databricks from "@pulumi/databricks";
@@ -20,6 +21,7 @@ import * as outputs from "./types/output";
20
21
  * const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
21
22
  * // ...
22
23
  * ```
24
+ * <!--End PulumiCodeChooser -->
23
25
  */
24
26
  export declare function getInstancePool(args: GetInstancePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancePoolResult>;
25
27
  /**
@@ -58,6 +60,7 @@ export interface GetInstancePoolResult {
58
60
  *
59
61
  * Referring to an instance pool by name:
60
62
  *
63
+ * <!--Start PulumiCodeChooser -->
61
64
  * ```typescript
62
65
  * import * as pulumi from "@pulumi/pulumi";
63
66
  * import * as databricks from "@pulumi/databricks";
@@ -68,6 +71,7 @@ export interface GetInstancePoolResult {
68
71
  * const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
69
72
  * // ...
70
73
  * ```
74
+ * <!--End PulumiCodeChooser -->
71
75
  */
72
76
  export declare function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancePoolResult>;
73
77
  /**
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * Referring to an instance pool by name:
16
16
  *
17
+ * <!--Start PulumiCodeChooser -->
17
18
  * ```typescript
18
19
  * import * as pulumi from "@pulumi/pulumi";
19
20
  * import * as databricks from "@pulumi/databricks";
@@ -24,6 +25,7 @@ const utilities = require("./utilities");
24
25
  * const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
25
26
  * // ...
26
27
  * ```
28
+ * <!--End PulumiCodeChooser -->
27
29
  */
28
30
  function getInstancePool(args, opts) {
29
31
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -42,6 +44,7 @@ exports.getInstancePool = getInstancePool;
42
44
  *
43
45
  * Referring to an instance pool by name:
44
46
  *
47
+ * <!--Start PulumiCodeChooser -->
45
48
  * ```typescript
46
49
  * import * as pulumi from "@pulumi/pulumi";
47
50
  * import * as databricks from "@pulumi/databricks";
@@ -52,6 +55,7 @@ exports.getInstancePool = getInstancePool;
52
55
  * const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
53
56
  * // ...
54
57
  * ```
58
+ * <!--End PulumiCodeChooser -->
55
59
  */
56
60
  function getInstancePoolOutput(args, opts) {
57
61
  return pulumi.output(args).apply((a) => getInstancePool(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA8BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -8,6 +8,7 @@ import * as outputs from "./types/output";
8
8
  *
9
9
  * Get all instance profiles:
10
10
  *
11
+ * <!--Start PulumiCodeChooser -->
11
12
  * ```typescript
12
13
  * import * as pulumi from "@pulumi/pulumi";
13
14
  * import * as databricks from "@pulumi/databricks";
@@ -15,6 +16,7 @@ import * as outputs from "./types/output";
15
16
  * const all = databricks.getInstanceProfiles({});
16
17
  * export const allInstanceProfiles = all.then(all => all.instanceProfiles);
17
18
  * ```
19
+ * <!--End PulumiCodeChooser -->
18
20
  */
19
21
  export declare function getInstanceProfiles(args?: GetInstanceProfilesArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceProfilesResult>;
20
22
  /**
@@ -46,6 +48,7 @@ export interface GetInstanceProfilesResult {
46
48
  *
47
49
  * Get all instance profiles:
48
50
  *
51
+ * <!--Start PulumiCodeChooser -->
49
52
  * ```typescript
50
53
  * import * as pulumi from "@pulumi/pulumi";
51
54
  * import * as databricks from "@pulumi/databricks";
@@ -53,6 +56,7 @@ export interface GetInstanceProfilesResult {
53
56
  * const all = databricks.getInstanceProfiles({});
54
57
  * export const allInstanceProfiles = all.then(all => all.instanceProfiles);
55
58
  * ```
59
+ * <!--End PulumiCodeChooser -->
56
60
  */
57
61
  export declare function getInstanceProfilesOutput(args?: GetInstanceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceProfilesResult>;
58
62
  /**
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * Get all instance profiles:
14
14
  *
15
+ * <!--Start PulumiCodeChooser -->
15
16
  * ```typescript
16
17
  * import * as pulumi from "@pulumi/pulumi";
17
18
  * import * as databricks from "@pulumi/databricks";
@@ -19,6 +20,7 @@ const utilities = require("./utilities");
19
20
  * const all = databricks.getInstanceProfiles({});
20
21
  * export const allInstanceProfiles = all.then(all => all.instanceProfiles);
21
22
  * ```
23
+ * <!--End PulumiCodeChooser -->
22
24
  */
23
25
  function getInstanceProfiles(args, opts) {
24
26
  args = args || {};
@@ -35,6 +37,7 @@ exports.getInstanceProfiles = getInstanceProfiles;
35
37
  *
36
38
  * Get all instance profiles:
37
39
  *
40
+ * <!--Start PulumiCodeChooser -->
38
41
  * ```typescript
39
42
  * import * as pulumi from "@pulumi/pulumi";
40
43
  * import * as databricks from "@pulumi/databricks";
@@ -42,6 +45,7 @@ exports.getInstanceProfiles = getInstanceProfiles;
42
45
  * const all = databricks.getInstanceProfiles({});
43
46
  * export const allInstanceProfiles = all.then(all => all.instanceProfiles);
44
47
  * ```
48
+ * <!--End PulumiCodeChooser -->
45
49
  */
46
50
  function getInstanceProfilesOutput(args, opts) {
47
51
  return pulumi.output(args).apply((a) => getInstanceProfiles(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getInstanceProfiles.js","sourceRoot":"","sources":["../getInstanceProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getInstanceProfiles.js","sourceRoot":"","sources":["../getInstanceProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyBD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
package/getJob.d.ts CHANGED
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * Getting the existing cluster id of specific databricks.Job by name or by id:
12
12
  *
13
+ * <!--Start PulumiCodeChooser -->
13
14
  * ```typescript
14
15
  * import * as pulumi from "@pulumi/pulumi";
15
16
  * import * as databricks from "@pulumi/databricks";
@@ -19,6 +20,8 @@ import * as outputs from "./types/output";
19
20
  * });
20
21
  * export const jobNumWorkers = _this.then(_this => _this.jobSettings?.settings?.newCluster?.numWorkers);
21
22
  * ```
23
+ * <!--End PulumiCodeChooser -->
24
+ *
22
25
  * ## Related Resources
23
26
  *
24
27
  * The following resources are used in the same context:
@@ -74,6 +77,7 @@ export interface GetJobResult {
74
77
  *
75
78
  * Getting the existing cluster id of specific databricks.Job by name or by id:
76
79
  *
80
+ * <!--Start PulumiCodeChooser -->
77
81
  * ```typescript
78
82
  * import * as pulumi from "@pulumi/pulumi";
79
83
  * import * as databricks from "@pulumi/databricks";
@@ -83,6 +87,8 @@ export interface GetJobResult {
83
87
  * });
84
88
  * export const jobNumWorkers = _this.then(_this => _this.jobSettings?.settings?.newCluster?.numWorkers);
85
89
  * ```
90
+ * <!--End PulumiCodeChooser -->
91
+ *
86
92
  * ## Related Resources
87
93
  *
88
94
  * The following resources are used in the same context: