@pulumi/databricks 1.75.0-alpha.1757050925 → 1.75.0-alpha.1757354185

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 (228) hide show
  1. package/accountFederationPolicy.d.ts +148 -0
  2. package/accountFederationPolicy.js +92 -0
  3. package/accountFederationPolicy.js.map +1 -0
  4. package/accountNetworkPolicy.d.ts +2 -2
  5. package/accountNetworkPolicy.js +2 -2
  6. package/accountSettingV2.d.ts +149 -0
  7. package/accountSettingV2.js +106 -0
  8. package/accountSettingV2.js.map +1 -0
  9. package/alertV2.d.ts +56 -5
  10. package/alertV2.js +8 -2
  11. package/alertV2.js.map +1 -1
  12. package/app.d.ts +0 -2
  13. package/app.js +0 -2
  14. package/app.js.map +1 -1
  15. package/appsSettingsCustomTemplate.d.ts +179 -0
  16. package/appsSettingsCustomTemplate.js +121 -0
  17. package/appsSettingsCustomTemplate.js.map +1 -0
  18. package/budgetPolicy.d.ts +6 -2
  19. package/budgetPolicy.js +3 -3
  20. package/budgetPolicy.js.map +1 -1
  21. package/catalog.d.ts +28 -0
  22. package/catalog.js +22 -0
  23. package/catalog.js.map +1 -1
  24. package/cleanRoomAsset.d.ts +14 -2
  25. package/cleanRoomAsset.js +4 -2
  26. package/cleanRoomAsset.js.map +1 -1
  27. package/cleanRoomAutoApprovalRule.d.ts +14 -2
  28. package/cleanRoomAutoApprovalRule.js +4 -2
  29. package/cleanRoomAutoApprovalRule.js.map +1 -1
  30. package/cleanRoomsCleanRoom.d.ts +17 -5
  31. package/cleanRoomsCleanRoom.js +4 -2
  32. package/cleanRoomsCleanRoom.js.map +1 -1
  33. package/config/vars.d.ts +1 -0
  34. package/config/vars.js +6 -0
  35. package/config/vars.js.map +1 -1
  36. package/connection.d.ts +0 -3
  37. package/connection.js +0 -2
  38. package/connection.js.map +1 -1
  39. package/databaseDatabaseCatalog.d.ts +14 -2
  40. package/databaseDatabaseCatalog.js +4 -2
  41. package/databaseDatabaseCatalog.js.map +1 -1
  42. package/databaseInstance.d.ts +38 -2
  43. package/databaseInstance.js +8 -2
  44. package/databaseInstance.js.map +1 -1
  45. package/databaseSyncedDatabaseTable.d.ts +14 -2
  46. package/databaseSyncedDatabaseTable.js +4 -2
  47. package/databaseSyncedDatabaseTable.js.map +1 -1
  48. package/entityTagAssignment.d.ts +117 -0
  49. package/entityTagAssignment.js +87 -0
  50. package/entityTagAssignment.js.map +1 -0
  51. package/externalMetadata.d.ts +14 -2
  52. package/externalMetadata.js +4 -2
  53. package/externalMetadata.js.map +1 -1
  54. package/getAccountFederationPolicies.d.ts +46 -0
  55. package/getAccountFederationPolicies.js +50 -0
  56. package/getAccountFederationPolicies.js.map +1 -0
  57. package/getAccountFederationPolicy.d.ts +103 -0
  58. package/getAccountFederationPolicy.js +40 -0
  59. package/getAccountFederationPolicy.js.map +1 -0
  60. package/getAccountSettingV2.d.ts +228 -0
  61. package/getAccountSettingV2.js +54 -0
  62. package/getAccountSettingV2.js.map +1 -0
  63. package/getAlertV2.d.ts +48 -6
  64. package/getAlertV2.js +4 -0
  65. package/getAlertV2.js.map +1 -1
  66. package/getAlertsV2.d.ts +21 -2
  67. package/getAlertsV2.js +10 -4
  68. package/getAlertsV2.js.map +1 -1
  69. package/getApp.d.ts +0 -4
  70. package/getApp.js +0 -4
  71. package/getApp.js.map +1 -1
  72. package/getApps.d.ts +0 -4
  73. package/getApps.js +0 -4
  74. package/getApps.js.map +1 -1
  75. package/getAppsSettingsCustomTemplate.d.ts +143 -0
  76. package/getAppsSettingsCustomTemplate.js +66 -0
  77. package/getAppsSettingsCustomTemplate.js.map +1 -0
  78. package/getAppsSettingsCustomTemplates.d.ts +65 -0
  79. package/getAppsSettingsCustomTemplates.js +56 -0
  80. package/getAppsSettingsCustomTemplates.js.map +1 -0
  81. package/getBudgetPolicy.d.ts +34 -0
  82. package/getBudgetPolicy.js +28 -0
  83. package/getBudgetPolicy.js.map +1 -1
  84. package/getCleanRoomAsset.d.ts +9 -0
  85. package/getCleanRoomAsset.js +2 -0
  86. package/getCleanRoomAsset.js.map +1 -1
  87. package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +9 -0
  88. package/getCleanRoomAssetRevisionsCleanRoomAsset.js +2 -0
  89. package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -1
  90. package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +33 -2
  91. package/getCleanRoomAssetRevisionsCleanRoomAssets.js +10 -4
  92. package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -1
  93. package/getCleanRoomAssets.d.ts +34 -2
  94. package/getCleanRoomAssets.js +10 -4
  95. package/getCleanRoomAssets.js.map +1 -1
  96. package/getCleanRoomAutoApprovalRule.d.ts +9 -0
  97. package/getCleanRoomAutoApprovalRule.js +2 -0
  98. package/getCleanRoomAutoApprovalRule.js.map +1 -1
  99. package/getCleanRoomAutoApprovalRules.d.ts +21 -2
  100. package/getCleanRoomAutoApprovalRules.js +10 -4
  101. package/getCleanRoomAutoApprovalRules.js.map +1 -1
  102. package/getCleanRoomsCleanRoom.d.ts +12 -3
  103. package/getCleanRoomsCleanRoom.js +2 -0
  104. package/getCleanRoomsCleanRoom.js.map +1 -1
  105. package/getCleanRoomsCleanRooms.d.ts +21 -2
  106. package/getCleanRoomsCleanRooms.js +10 -4
  107. package/getCleanRoomsCleanRooms.js.map +1 -1
  108. package/getDatabaseDatabaseCatalog.d.ts +9 -0
  109. package/getDatabaseDatabaseCatalog.js +2 -0
  110. package/getDatabaseDatabaseCatalog.js.map +1 -1
  111. package/getDatabaseDatabaseCatalogs.d.ts +21 -2
  112. package/getDatabaseDatabaseCatalogs.js +10 -4
  113. package/getDatabaseDatabaseCatalogs.js.map +1 -1
  114. package/getDatabaseInstance.d.ts +27 -0
  115. package/getDatabaseInstance.js +4 -0
  116. package/getDatabaseInstance.js.map +1 -1
  117. package/getDatabaseInstances.d.ts +21 -2
  118. package/getDatabaseInstances.js +10 -4
  119. package/getDatabaseInstances.js.map +1 -1
  120. package/getDatabaseSyncedDatabaseTable.d.ts +9 -0
  121. package/getDatabaseSyncedDatabaseTable.js +2 -0
  122. package/getDatabaseSyncedDatabaseTable.js.map +1 -1
  123. package/getDatabaseSyncedDatabaseTables.d.ts +21 -2
  124. package/getDatabaseSyncedDatabaseTables.js +10 -4
  125. package/getDatabaseSyncedDatabaseTables.js.map +1 -1
  126. package/getEntityTagAssignment.d.ts +79 -0
  127. package/getEntityTagAssignment.js +30 -0
  128. package/getEntityTagAssignment.js.map +1 -0
  129. package/getEntityTagAssignments.d.ts +57 -0
  130. package/getEntityTagAssignments.js +26 -0
  131. package/getEntityTagAssignments.js.map +1 -0
  132. package/getExternalMetadata.d.ts +9 -0
  133. package/getExternalMetadata.js +2 -0
  134. package/getExternalMetadata.js.map +1 -1
  135. package/getExternalMetadatas.d.ts +43 -2
  136. package/getExternalMetadatas.js +32 -4
  137. package/getExternalMetadatas.js.map +1 -1
  138. package/getMaterializedFeaturesFeatureTag.d.ts +9 -0
  139. package/getMaterializedFeaturesFeatureTag.js +2 -0
  140. package/getMaterializedFeaturesFeatureTag.js.map +1 -1
  141. package/getMaterializedFeaturesFeatureTags.d.ts +21 -2
  142. package/getMaterializedFeaturesFeatureTags.js +10 -4
  143. package/getMaterializedFeaturesFeatureTags.js.map +1 -1
  144. package/getOnlineStore.d.ts +9 -0
  145. package/getOnlineStore.js +2 -0
  146. package/getOnlineStore.js.map +1 -1
  147. package/getOnlineStores.d.ts +21 -2
  148. package/getOnlineStores.js +10 -4
  149. package/getOnlineStores.js.map +1 -1
  150. package/getPolicyInfo.d.ts +24 -15
  151. package/getPolicyInfo.js +2 -0
  152. package/getPolicyInfo.js.map +1 -1
  153. package/getPolicyInfos.d.ts +48 -2
  154. package/getPolicyInfos.js +12 -4
  155. package/getPolicyInfos.js.map +1 -1
  156. package/getQualityMonitorV2.d.ts +9 -0
  157. package/getQualityMonitorV2.js +2 -0
  158. package/getQualityMonitorV2.js.map +1 -1
  159. package/getQualityMonitorsV2.d.ts +21 -2
  160. package/getQualityMonitorsV2.js +10 -4
  161. package/getQualityMonitorsV2.js.map +1 -1
  162. package/getRecipientFederationPolicies.d.ts +21 -2
  163. package/getRecipientFederationPolicies.js +10 -4
  164. package/getRecipientFederationPolicies.js.map +1 -1
  165. package/getRecipientFederationPolicy.d.ts +9 -0
  166. package/getRecipientFederationPolicy.js +2 -0
  167. package/getRecipientFederationPolicy.js.map +1 -1
  168. package/getServicePrincipalFederationPolicies.d.ts +72 -0
  169. package/getServicePrincipalFederationPolicies.js +58 -0
  170. package/getServicePrincipalFederationPolicies.js.map +1 -0
  171. package/getServicePrincipalFederationPolicy.d.ts +103 -0
  172. package/getServicePrincipalFederationPolicy.js +40 -0
  173. package/getServicePrincipalFederationPolicy.js.map +1 -0
  174. package/getTagPolicies.d.ts +43 -0
  175. package/getTagPolicies.js +34 -0
  176. package/getTagPolicies.js.map +1 -0
  177. package/getTagPolicy.d.ts +73 -0
  178. package/getTagPolicy.js +38 -0
  179. package/getTagPolicy.js.map +1 -0
  180. package/getWorkspaceSettingV2.d.ts +237 -0
  181. package/getWorkspaceSettingV2.js +56 -0
  182. package/getWorkspaceSettingV2.js.map +1 -0
  183. package/grant.d.ts +1 -1
  184. package/grant.js +1 -1
  185. package/index.d.ts +71 -14
  186. package/index.js +78 -7
  187. package/index.js.map +1 -1
  188. package/materializedFeaturesFeatureTag.d.ts +14 -2
  189. package/materializedFeaturesFeatureTag.js +4 -2
  190. package/materializedFeaturesFeatureTag.js.map +1 -1
  191. package/mwsNccPrivateEndpointRule.d.ts +3 -3
  192. package/mwsPermissionAssignment.d.ts +7 -7
  193. package/mwsPermissionAssignment.js +1 -1
  194. package/mwsWorkspaces.d.ts +3 -3
  195. package/onlineStore.d.ts +14 -2
  196. package/onlineStore.js +4 -2
  197. package/onlineStore.js.map +1 -1
  198. package/package.json +2 -2
  199. package/permissionAssignment.d.ts +7 -7
  200. package/permissionAssignment.js +1 -1
  201. package/policyInfo.d.ts +29 -17
  202. package/policyInfo.js +4 -2
  203. package/policyInfo.js.map +1 -1
  204. package/provider.d.ts +1 -0
  205. package/provider.js +1 -0
  206. package/provider.js.map +1 -1
  207. package/qualityMonitorV2.d.ts +14 -2
  208. package/qualityMonitorV2.js +4 -2
  209. package/qualityMonitorV2.js.map +1 -1
  210. package/recipientFederationPolicy.d.ts +14 -2
  211. package/recipientFederationPolicy.js +4 -2
  212. package/recipientFederationPolicy.js.map +1 -1
  213. package/servicePrincipalFederationPolicy.d.ts +146 -0
  214. package/servicePrincipalFederationPolicy.js +90 -0
  215. package/servicePrincipalFederationPolicy.js.map +1 -0
  216. package/storageCredential.d.ts +23 -3
  217. package/storageCredential.js +23 -3
  218. package/storageCredential.js.map +1 -1
  219. package/tagPolicy.d.ts +84 -0
  220. package/tagPolicy.js +83 -0
  221. package/tagPolicy.js.map +1 -0
  222. package/types/input.d.ts +7590 -5903
  223. package/types/output.d.ts +1525 -37
  224. package/workspaceNetworkOption.d.ts +2 -2
  225. package/workspaceNetworkOption.js +2 -2
  226. package/workspaceSettingV2.d.ts +161 -0
  227. package/workspaceSettingV2.js +108 -0
  228. package/workspaceSettingV2.js.map +1 -0
package/getAlertV2.js CHANGED
@@ -26,9 +26,11 @@ function getAlertV2(args, opts) {
26
26
  "evaluation": args.evaluation,
27
27
  "parentPath": args.parentPath,
28
28
  "queryText": args.queryText,
29
+ "runAs": args.runAs,
29
30
  "runAsUserName": args.runAsUserName,
30
31
  "schedule": args.schedule,
31
32
  "warehouseId": args.warehouseId,
33
+ "workspaceId": args.workspaceId,
32
34
  }, opts);
33
35
  }
34
36
  exports.getAlertV2 = getAlertV2;
@@ -53,9 +55,11 @@ function getAlertV2Output(args, opts) {
53
55
  "evaluation": args.evaluation,
54
56
  "parentPath": args.parentPath,
55
57
  "queryText": args.queryText,
58
+ "runAs": args.runAs,
56
59
  "runAsUserName": args.runAsUserName,
57
60
  "schedule": args.schedule,
58
61
  "warehouseId": args.warehouseId,
62
+ "workspaceId": args.workspaceId,
59
63
  }, opts);
60
64
  }
61
65
  exports.getAlertV2Output = getAlertV2Output;
package/getAlertV2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getAlertV2.js","sourceRoot":"","sources":["../getAlertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,gCAcC;AA2GD;;;;;;;;;;GAUG;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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,4CAcC"}
1
+ {"version":3,"file":"getAlertV2.js","sourceRoot":"","sources":["../getAlertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,gCAgBC;AAwID;;;;;;;;;;GAUG;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,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,4CAgBC"}
package/getAlertsV2.d.ts CHANGED
@@ -19,7 +19,16 @@ import * as outputs from "./types/output";
19
19
  * const all = databricks.getAlertV2({});
20
20
  * ```
21
21
  */
22
- export declare function getAlertsV2(opts?: pulumi.InvokeOptions): Promise<GetAlertsV2Result>;
22
+ export declare function getAlertsV2(args?: GetAlertsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAlertsV2Result>;
23
+ /**
24
+ * A collection of arguments for invoking getAlertsV2.
25
+ */
26
+ export interface GetAlertsV2Args {
27
+ /**
28
+ * Workspace ID of the resource
29
+ */
30
+ workspaceId?: string;
31
+ }
23
32
  /**
24
33
  * A collection of values returned by getAlertsV2.
25
34
  */
@@ -29,6 +38,7 @@ export interface GetAlertsV2Result {
29
38
  */
30
39
  readonly id: string;
31
40
  readonly results: outputs.GetAlertsV2Result[];
41
+ readonly workspaceId?: string;
32
42
  }
33
43
  /**
34
44
  * The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
@@ -49,4 +59,13 @@ export interface GetAlertsV2Result {
49
59
  * const all = databricks.getAlertV2({});
50
60
  * ```
51
61
  */
52
- export declare function getAlertsV2Output(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertsV2Result>;
62
+ export declare function getAlertsV2Output(args?: GetAlertsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertsV2Result>;
63
+ /**
64
+ * A collection of arguments for invoking getAlertsV2.
65
+ */
66
+ export interface GetAlertsV2OutputArgs {
67
+ /**
68
+ * Workspace ID of the resource
69
+ */
70
+ workspaceId?: pulumi.Input<string>;
71
+ }
package/getAlertsV2.js CHANGED
@@ -24,9 +24,12 @@ const utilities = require("./utilities");
24
24
  * const all = databricks.getAlertV2({});
25
25
  * ```
26
26
  */
27
- function getAlertsV2(opts) {
27
+ function getAlertsV2(args, opts) {
28
+ args = args || {};
28
29
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
- return pulumi.runtime.invoke("databricks:index/getAlertsV2:getAlertsV2", {}, opts);
30
+ return pulumi.runtime.invoke("databricks:index/getAlertsV2:getAlertsV2", {
31
+ "workspaceId": args.workspaceId,
32
+ }, opts);
30
33
  }
31
34
  exports.getAlertsV2 = getAlertsV2;
32
35
  /**
@@ -48,9 +51,12 @@ exports.getAlertsV2 = getAlertsV2;
48
51
  * const all = databricks.getAlertV2({});
49
52
  * ```
50
53
  */
51
- function getAlertsV2Output(opts) {
54
+ function getAlertsV2Output(args, opts) {
55
+ args = args || {};
52
56
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
53
- return pulumi.runtime.invokeOutput("databricks:index/getAlertsV2:getAlertsV2", {}, opts);
57
+ return pulumi.runtime.invokeOutput("databricks:index/getAlertsV2:getAlertsV2", {
58
+ "workspaceId": args.workspaceId,
59
+ }, opts);
54
60
  }
55
61
  exports.getAlertsV2Output = getAlertsV2Output;
56
62
  //# sourceMappingURL=getAlertsV2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAlertsV2.js","sourceRoot":"","sources":["../getAlertsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,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,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAYD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,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,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
1
+ {"version":3,"file":"getAlertsV2.js","sourceRoot":"","sources":["../getAlertsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;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,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAuBD;;;;;;;;;;;;;;;;;;GAkBG;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,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
package/getApp.d.ts CHANGED
@@ -3,8 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * > This data source can only be used with a workspace-level provider!
5
5
  *
6
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
7
- *
8
6
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
9
7
  *
10
8
  * This data source allows you to fetch information about a Databricks App.
@@ -60,8 +58,6 @@ export interface GetAppResult {
60
58
  /**
61
59
  * > This data source can only be used with a workspace-level provider!
62
60
  *
63
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
64
- *
65
61
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
66
62
  *
67
63
  * This data source allows you to fetch information about a Databricks App.
package/getApp.js CHANGED
@@ -8,8 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * > This data source can only be used with a workspace-level provider!
10
10
  *
11
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
12
- *
13
11
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
14
12
  *
15
13
  * This data source allows you to fetch information about a Databricks App.
@@ -45,8 +43,6 @@ exports.getApp = getApp;
45
43
  /**
46
44
  * > This data source can only be used with a workspace-level provider!
47
45
  *
48
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
49
- *
50
46
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
51
47
  *
52
48
  * This data source allows you to fetch information about a Databricks App.
package/getApp.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getApp.js","sourceRoot":"","sources":["../getApp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
1
+ {"version":3,"file":"getApp.js","sourceRoot":"","sources":["../getApp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
package/getApps.d.ts CHANGED
@@ -3,8 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * > This data source can only be used with a workspace-level provider!
5
5
  *
6
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
7
- *
8
6
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
9
7
  *
10
8
  * This data source allows you to fetch information about all Databricks Apps within a workspace.
@@ -42,8 +40,6 @@ export interface GetAppsResult {
42
40
  /**
43
41
  * > This data source can only be used with a workspace-level provider!
44
42
  *
45
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
46
- *
47
43
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
48
44
  *
49
45
  * This data source allows you to fetch information about all Databricks Apps within a workspace.
package/getApps.js CHANGED
@@ -8,8 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * > This data source can only be used with a workspace-level provider!
10
10
  *
11
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
12
- *
13
11
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
14
12
  *
15
13
  * This data source allows you to fetch information about all Databricks Apps within a workspace.
@@ -41,8 +39,6 @@ exports.getApps = getApps;
41
39
  /**
42
40
  * > This data source can only be used with a workspace-level provider!
43
41
  *
44
- * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
45
- *
46
42
  * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
47
43
  *
48
44
  * This data source allows you to fetch information about all Databricks Apps within a workspace.
package/getApps.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getApps.js","sourceRoot":"","sources":["../getApps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
1
+ {"version":3,"file":"getApps.js","sourceRoot":"","sources":["../getApps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -0,0 +1,143 @@
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 Custom Template.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Referring to a Custom Template by name:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const myTemplate = databricks.getAppsSettingsCustomTemplate({
16
+ * name: "my-custom-template",
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getAppsSettingsCustomTemplate(args: GetAppsSettingsCustomTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetAppsSettingsCustomTemplateResult>;
21
+ /**
22
+ * A collection of arguments for invoking getAppsSettingsCustomTemplate.
23
+ */
24
+ export interface GetAppsSettingsCustomTemplateArgs {
25
+ /**
26
+ * (string) - Description of the App Resource
27
+ */
28
+ description?: string;
29
+ /**
30
+ * (string) - The Git provider of the template
31
+ */
32
+ gitProvider: string;
33
+ /**
34
+ * (string) - The Git repository URL that the template resides in
35
+ */
36
+ gitRepo: string;
37
+ /**
38
+ * (AppManifest) - The manifest of the template. It defines fields and default values when installing the template
39
+ */
40
+ manifest: inputs.GetAppsSettingsCustomTemplateManifest;
41
+ /**
42
+ * The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
43
+ * It must be unique within the workspace
44
+ */
45
+ name: string;
46
+ /**
47
+ * (string) - The path to the template within the Git repository
48
+ */
49
+ path: string;
50
+ /**
51
+ * Workspace ID of the resource
52
+ */
53
+ workspaceId?: string;
54
+ }
55
+ /**
56
+ * A collection of values returned by getAppsSettingsCustomTemplate.
57
+ */
58
+ export interface GetAppsSettingsCustomTemplateResult {
59
+ /**
60
+ * (string)
61
+ */
62
+ readonly creator: string;
63
+ /**
64
+ * (string) - Description of the App Resource
65
+ */
66
+ readonly description?: string;
67
+ /**
68
+ * (string) - The Git provider of the template
69
+ */
70
+ readonly gitProvider: string;
71
+ /**
72
+ * (string) - The Git repository URL that the template resides in
73
+ */
74
+ readonly gitRepo: string;
75
+ /**
76
+ * The provider-assigned unique ID for this managed resource.
77
+ */
78
+ readonly id: string;
79
+ /**
80
+ * (AppManifest) - The manifest of the template. It defines fields and default values when installing the template
81
+ */
82
+ readonly manifest: outputs.GetAppsSettingsCustomTemplateManifest;
83
+ /**
84
+ * (string) - Name of the App Resource
85
+ */
86
+ readonly name: string;
87
+ /**
88
+ * (string) - The path to the template within the Git repository
89
+ */
90
+ readonly path: string;
91
+ readonly workspaceId?: string;
92
+ }
93
+ /**
94
+ * This data source can be used to get a single Custom Template.
95
+ *
96
+ * ## Example Usage
97
+ *
98
+ * Referring to a Custom Template by name:
99
+ *
100
+ * ```typescript
101
+ * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as databricks from "@pulumi/databricks";
103
+ *
104
+ * const myTemplate = databricks.getAppsSettingsCustomTemplate({
105
+ * name: "my-custom-template",
106
+ * });
107
+ * ```
108
+ */
109
+ export declare function getAppsSettingsCustomTemplateOutput(args: GetAppsSettingsCustomTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsSettingsCustomTemplateResult>;
110
+ /**
111
+ * A collection of arguments for invoking getAppsSettingsCustomTemplate.
112
+ */
113
+ export interface GetAppsSettingsCustomTemplateOutputArgs {
114
+ /**
115
+ * (string) - Description of the App Resource
116
+ */
117
+ description?: pulumi.Input<string>;
118
+ /**
119
+ * (string) - The Git provider of the template
120
+ */
121
+ gitProvider: pulumi.Input<string>;
122
+ /**
123
+ * (string) - The Git repository URL that the template resides in
124
+ */
125
+ gitRepo: pulumi.Input<string>;
126
+ /**
127
+ * (AppManifest) - The manifest of the template. It defines fields and default values when installing the template
128
+ */
129
+ manifest: pulumi.Input<inputs.GetAppsSettingsCustomTemplateManifestArgs>;
130
+ /**
131
+ * The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
132
+ * It must be unique within the workspace
133
+ */
134
+ name: pulumi.Input<string>;
135
+ /**
136
+ * (string) - The path to the template within the Git repository
137
+ */
138
+ path: pulumi.Input<string>;
139
+ /**
140
+ * Workspace ID of the resource
141
+ */
142
+ workspaceId?: pulumi.Input<string>;
143
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getAppsSettingsCustomTemplateOutput = exports.getAppsSettingsCustomTemplate = 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 Custom Template.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Referring to a Custom Template by name:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const myTemplate = databricks.getAppsSettingsCustomTemplate({
20
+ * name: "my-custom-template",
21
+ * });
22
+ * ```
23
+ */
24
+ function getAppsSettingsCustomTemplate(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate", {
27
+ "description": args.description,
28
+ "gitProvider": args.gitProvider,
29
+ "gitRepo": args.gitRepo,
30
+ "manifest": args.manifest,
31
+ "name": args.name,
32
+ "path": args.path,
33
+ "workspaceId": args.workspaceId,
34
+ }, opts);
35
+ }
36
+ exports.getAppsSettingsCustomTemplate = getAppsSettingsCustomTemplate;
37
+ /**
38
+ * This data source can be used to get a single Custom Template.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * Referring to a Custom Template by name:
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as databricks from "@pulumi/databricks";
47
+ *
48
+ * const myTemplate = databricks.getAppsSettingsCustomTemplate({
49
+ * name: "my-custom-template",
50
+ * });
51
+ * ```
52
+ */
53
+ function getAppsSettingsCustomTemplateOutput(args, opts) {
54
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
+ return pulumi.runtime.invokeOutput("databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate", {
56
+ "description": args.description,
57
+ "gitProvider": args.gitProvider,
58
+ "gitRepo": args.gitRepo,
59
+ "manifest": args.manifest,
60
+ "name": args.name,
61
+ "path": args.path,
62
+ "workspaceId": args.workspaceId,
63
+ }, opts);
64
+ }
65
+ exports.getAppsSettingsCustomTemplateOutput = getAppsSettingsCustomTemplateOutput;
66
+ //# sourceMappingURL=getAppsSettingsCustomTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAppsSettingsCustomTemplate.js","sourceRoot":"","sources":["../getAppsSettingsCustomTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sEAWC;AA2ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8EAA8E,EAAE;QAC/G,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kFAWC"}
@@ -0,0 +1,65 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * This data source can be used to fetch the list of Custom Templates within the workspace.
5
+ * The list can then be accessed via the data object's `templates` field.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Getting a list of all Custom Templates:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const all = databricks.getAppsSettingsCustomTemplates({});
16
+ * export const allCustomTemplates = all.then(all => all.templates);
17
+ * ```
18
+ */
19
+ export declare function getAppsSettingsCustomTemplates(args?: GetAppsSettingsCustomTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<GetAppsSettingsCustomTemplatesResult>;
20
+ /**
21
+ * A collection of arguments for invoking getAppsSettingsCustomTemplates.
22
+ */
23
+ export interface GetAppsSettingsCustomTemplatesArgs {
24
+ /**
25
+ * Workspace ID of the resource
26
+ */
27
+ workspaceId?: string;
28
+ }
29
+ /**
30
+ * A collection of values returned by getAppsSettingsCustomTemplates.
31
+ */
32
+ export interface GetAppsSettingsCustomTemplatesResult {
33
+ /**
34
+ * The provider-assigned unique ID for this managed resource.
35
+ */
36
+ readonly id: string;
37
+ readonly templates: outputs.GetAppsSettingsCustomTemplatesTemplate[];
38
+ readonly workspaceId?: string;
39
+ }
40
+ /**
41
+ * This data source can be used to fetch the list of Custom Templates within the workspace.
42
+ * The list can then be accessed via the data object's `templates` field.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * Getting a list of all Custom Templates:
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as databricks from "@pulumi/databricks";
51
+ *
52
+ * const all = databricks.getAppsSettingsCustomTemplates({});
53
+ * export const allCustomTemplates = all.then(all => all.templates);
54
+ * ```
55
+ */
56
+ export declare function getAppsSettingsCustomTemplatesOutput(args?: GetAppsSettingsCustomTemplatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsSettingsCustomTemplatesResult>;
57
+ /**
58
+ * A collection of arguments for invoking getAppsSettingsCustomTemplates.
59
+ */
60
+ export interface GetAppsSettingsCustomTemplatesOutputArgs {
61
+ /**
62
+ * Workspace ID of the resource
63
+ */
64
+ workspaceId?: pulumi.Input<string>;
65
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getAppsSettingsCustomTemplatesOutput = exports.getAppsSettingsCustomTemplates = 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 Custom Templates within the workspace.
10
+ * The list can then be accessed via the data object's `templates` field.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * Getting a list of all Custom Templates:
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as databricks from "@pulumi/databricks";
19
+ *
20
+ * const all = databricks.getAppsSettingsCustomTemplates({});
21
+ * export const allCustomTemplates = all.then(all => all.templates);
22
+ * ```
23
+ */
24
+ function getAppsSettingsCustomTemplates(args, opts) {
25
+ args = args || {};
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates", {
28
+ "workspaceId": args.workspaceId,
29
+ }, opts);
30
+ }
31
+ exports.getAppsSettingsCustomTemplates = getAppsSettingsCustomTemplates;
32
+ /**
33
+ * This data source can be used to fetch the list of Custom Templates within the workspace.
34
+ * The list can then be accessed via the data object's `templates` field.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * Getting a list of all Custom Templates:
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as databricks from "@pulumi/databricks";
43
+ *
44
+ * const all = databricks.getAppsSettingsCustomTemplates({});
45
+ * export const allCustomTemplates = all.then(all => all.templates);
46
+ * ```
47
+ */
48
+ function getAppsSettingsCustomTemplatesOutput(args, opts) {
49
+ args = args || {};
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invokeOutput("databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates", {
52
+ "workspaceId": args.workspaceId,
53
+ }, opts);
54
+ }
55
+ exports.getAppsSettingsCustomTemplatesOutput = getAppsSettingsCustomTemplatesOutput;
56
+ //# sourceMappingURL=getAppsSettingsCustomTemplates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAppsSettingsCustomTemplates.js","sourceRoot":"","sources":["../getAppsSettingsCustomTemplates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,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,gFAAgF,EAAE;QAC3G,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC;AAuBD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oCAAoC,CAAC,IAA+C,EAAE,IAAiC;IACnI,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,gFAAgF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oFAMC"}
@@ -5,6 +5,19 @@ import * as outputs from "./types/output";
5
5
  * This data source can be used to get a single budget policy.
6
6
  *
7
7
  * > **Note** This data source can only be used with an account-level provider!
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Referring to a budget policy by id:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const _this = databricks.getBudgetPolicy({
18
+ * policyId: "test",
19
+ * });
20
+ * ```
8
21
  */
9
22
  export declare function getBudgetPolicy(args?: GetBudgetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetPolicyResult>;
10
23
  /**
@@ -20,6 +33,10 @@ export interface GetBudgetPolicyArgs {
20
33
  * (list of CustomPolicyTag) - A list of tags defined by the customer. At most 20 entries are allowed per policy
21
34
  */
22
35
  customTags?: inputs.GetBudgetPolicyCustomTag[];
36
+ /**
37
+ * The Id of the policy. This field is generated by Databricks and globally unique
38
+ */
39
+ policyId?: string;
23
40
  /**
24
41
  * (string) - The name of the policy.
25
42
  * - Must be unique among active policies.
@@ -61,6 +78,19 @@ export interface GetBudgetPolicyResult {
61
78
  * This data source can be used to get a single budget policy.
62
79
  *
63
80
  * > **Note** This data source can only be used with an account-level provider!
81
+ *
82
+ * ## Example Usage
83
+ *
84
+ * Referring to a budget policy by id:
85
+ *
86
+ * ```typescript
87
+ * import * as pulumi from "@pulumi/pulumi";
88
+ * import * as databricks from "@pulumi/databricks";
89
+ *
90
+ * const _this = databricks.getBudgetPolicy({
91
+ * policyId: "test",
92
+ * });
93
+ * ```
64
94
  */
65
95
  export declare function getBudgetPolicyOutput(args?: GetBudgetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetPolicyResult>;
66
96
  /**
@@ -76,6 +106,10 @@ export interface GetBudgetPolicyOutputArgs {
76
106
  * (list of CustomPolicyTag) - A list of tags defined by the customer. At most 20 entries are allowed per policy
77
107
  */
78
108
  customTags?: pulumi.Input<pulumi.Input<inputs.GetBudgetPolicyCustomTagArgs>[]>;
109
+ /**
110
+ * The Id of the policy. This field is generated by Databricks and globally unique
111
+ */
112
+ policyId?: pulumi.Input<string>;
79
113
  /**
80
114
  * (string) - The name of the policy.
81
115
  * - Must be unique among active policies.
@@ -9,6 +9,19 @@ const utilities = require("./utilities");
9
9
  * This data source can be used to get a single budget policy.
10
10
  *
11
11
  * > **Note** This data source can only be used with an account-level provider!
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Referring to a budget policy by id:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = databricks.getBudgetPolicy({
22
+ * policyId: "test",
23
+ * });
24
+ * ```
12
25
  */
13
26
  function getBudgetPolicy(args, opts) {
14
27
  args = args || {};
@@ -16,6 +29,7 @@ function getBudgetPolicy(args, opts) {
16
29
  return pulumi.runtime.invoke("databricks:index/getBudgetPolicy:getBudgetPolicy", {
17
30
  "bindingWorkspaceIds": args.bindingWorkspaceIds,
18
31
  "customTags": args.customTags,
32
+ "policyId": args.policyId,
19
33
  "policyName": args.policyName,
20
34
  }, opts);
21
35
  }
@@ -24,6 +38,19 @@ exports.getBudgetPolicy = getBudgetPolicy;
24
38
  * This data source can be used to get a single budget policy.
25
39
  *
26
40
  * > **Note** This data source can only be used with an account-level provider!
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * Referring to a budget policy by id:
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as databricks from "@pulumi/databricks";
49
+ *
50
+ * const _this = databricks.getBudgetPolicy({
51
+ * policyId: "test",
52
+ * });
53
+ * ```
27
54
  */
28
55
  function getBudgetPolicyOutput(args, opts) {
29
56
  args = args || {};
@@ -31,6 +58,7 @@ function getBudgetPolicyOutput(args, opts) {
31
58
  return pulumi.runtime.invokeOutput("databricks:index/getBudgetPolicy:getBudgetPolicy", {
32
59
  "bindingWorkspaceIds": args.bindingWorkspaceIds,
33
60
  "customTags": args.customTags,
61
+ "policyId": args.policyId,
34
62
  "policyName": args.policyName,
35
63
  }, opts);
36
64
  }