@pulumi/databricks 1.119.0-alpha.1793425924 → 1.119.0

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 (259) hide show
  1. package/accountIamDirectGroupMemberV2.d.ts +36 -3
  2. package/accountIamDirectGroupMemberV2.d.ts.map +1 -1
  3. package/accountIamDirectGroupMemberV2.js +8 -1
  4. package/accountIamDirectGroupMemberV2.js.map +1 -1
  5. package/accountIamGroupV2.d.ts +32 -2
  6. package/accountIamGroupV2.d.ts.map +1 -1
  7. package/accountIamGroupV2.js +11 -1
  8. package/accountIamGroupV2.js.map +1 -1
  9. package/accountIamServicePrincipalV2.d.ts +28 -0
  10. package/accountIamServicePrincipalV2.d.ts.map +1 -1
  11. package/accountIamServicePrincipalV2.js +8 -0
  12. package/accountIamServicePrincipalV2.js.map +1 -1
  13. package/accountIamUserV2.d.ts +28 -0
  14. package/accountIamUserV2.d.ts.map +1 -1
  15. package/accountIamUserV2.js +8 -0
  16. package/accountIamUserV2.js.map +1 -1
  17. package/accountIamWorkspaceAssignmentV2.d.ts +40 -4
  18. package/accountIamWorkspaceAssignmentV2.d.ts.map +1 -1
  19. package/accountIamWorkspaceAssignmentV2.js +8 -1
  20. package/accountIamWorkspaceAssignmentV2.js.map +1 -1
  21. package/agentKitManagedMemoryEntry.d.ts +4 -2
  22. package/agentKitManagedMemoryEntry.d.ts.map +1 -1
  23. package/agentKitManagedMemoryEntry.js.map +1 -1
  24. package/alertV2.d.ts +6 -6
  25. package/appSpace.d.ts +51 -1
  26. package/appSpace.d.ts.map +1 -1
  27. package/appSpace.js +51 -1
  28. package/appSpace.js.map +1 -1
  29. package/budget.d.ts +3 -0
  30. package/budget.d.ts.map +1 -1
  31. package/budget.js +2 -0
  32. package/budget.js.map +1 -1
  33. package/dataQualityMonitor.d.ts +23 -1
  34. package/dataQualityMonitor.d.ts.map +1 -1
  35. package/dataQualityMonitor.js +23 -1
  36. package/dataQualityMonitor.js.map +1 -1
  37. package/dataQualityRefresh.d.ts +1 -1
  38. package/dataQualityRefresh.js +1 -1
  39. package/databaseDatabaseCatalog.d.ts +2 -0
  40. package/databaseDatabaseCatalog.d.ts.map +1 -1
  41. package/databaseDatabaseCatalog.js +2 -0
  42. package/databaseDatabaseCatalog.js.map +1 -1
  43. package/databaseInstance.d.ts +2 -0
  44. package/databaseInstance.d.ts.map +1 -1
  45. package/databaseInstance.js +2 -0
  46. package/databaseInstance.js.map +1 -1
  47. package/databaseSyncedDatabaseTable.d.ts +2 -0
  48. package/databaseSyncedDatabaseTable.d.ts.map +1 -1
  49. package/databaseSyncedDatabaseTable.js +2 -0
  50. package/databaseSyncedDatabaseTable.js.map +1 -1
  51. package/genieAgent.d.ts +284 -0
  52. package/genieAgent.d.ts.map +1 -0
  53. package/genieAgent.js +171 -0
  54. package/genieAgent.js.map +1 -0
  55. package/getAccountIamDirectGroupMemberV2.d.ts +26 -19
  56. package/getAccountIamDirectGroupMemberV2.d.ts.map +1 -1
  57. package/getAccountIamDirectGroupMemberV2.js +6 -10
  58. package/getAccountIamDirectGroupMemberV2.js.map +1 -1
  59. package/getAccountIamDirectGroupMembersV2.d.ts +18 -13
  60. package/getAccountIamDirectGroupMembersV2.d.ts.map +1 -1
  61. package/getAccountIamDirectGroupMembersV2.js +4 -4
  62. package/getAccountIamDirectGroupMembersV2.js.map +1 -1
  63. package/getAccountIamGroupV2.d.ts +23 -8
  64. package/getAccountIamGroupV2.d.ts.map +1 -1
  65. package/getAccountIamGroupV2.js +6 -6
  66. package/getAccountIamGroupV2.js.map +1 -1
  67. package/getAccountIamGroupsV2.d.ts +23 -4
  68. package/getAccountIamGroupsV2.d.ts.map +1 -1
  69. package/getAccountIamGroupsV2.js +8 -4
  70. package/getAccountIamGroupsV2.js.map +1 -1
  71. package/getAccountIamServicePrincipalV2.d.ts +23 -8
  72. package/getAccountIamServicePrincipalV2.d.ts.map +1 -1
  73. package/getAccountIamServicePrincipalV2.js +6 -6
  74. package/getAccountIamServicePrincipalV2.js.map +1 -1
  75. package/getAccountIamServicePrincipalsV2.d.ts +23 -4
  76. package/getAccountIamServicePrincipalsV2.d.ts.map +1 -1
  77. package/getAccountIamServicePrincipalsV2.js +8 -4
  78. package/getAccountIamServicePrincipalsV2.js.map +1 -1
  79. package/getAccountIamUserV2.d.ts +23 -8
  80. package/getAccountIamUserV2.d.ts.map +1 -1
  81. package/getAccountIamUserV2.js +6 -6
  82. package/getAccountIamUserV2.js.map +1 -1
  83. package/getAccountIamUsersV2.d.ts +23 -4
  84. package/getAccountIamUsersV2.d.ts.map +1 -1
  85. package/getAccountIamUsersV2.js +8 -4
  86. package/getAccountIamUsersV2.js.map +1 -1
  87. package/getAccountIamWorkspaceAssignmentV2.d.ts +27 -19
  88. package/getAccountIamWorkspaceAssignmentV2.d.ts.map +1 -1
  89. package/getAccountIamWorkspaceAssignmentV2.js +6 -10
  90. package/getAccountIamWorkspaceAssignmentV2.js.map +1 -1
  91. package/getAccountIamWorkspaceAssignmentsV2.d.ts +11 -7
  92. package/getAccountIamWorkspaceAssignmentsV2.d.ts.map +1 -1
  93. package/getAccountIamWorkspaceAssignmentsV2.js +2 -2
  94. package/getAccountIamWorkspaceAssignmentsV2.js.map +1 -1
  95. package/getAgentKitManagedMemoryEntry.d.ts +6 -3
  96. package/getAgentKitManagedMemoryEntry.d.ts.map +1 -1
  97. package/getAgentKitManagedMemoryEntry.js.map +1 -1
  98. package/getAiGatewayMcpServices.d.ts +4 -2
  99. package/getAiGatewayMcpServices.d.ts.map +1 -1
  100. package/getAiGatewayMcpServices.js.map +1 -1
  101. package/getAiGatewayModelProviderServices.d.ts +4 -2
  102. package/getAiGatewayModelProviderServices.d.ts.map +1 -1
  103. package/getAiGatewayModelProviderServices.js.map +1 -1
  104. package/getAiGatewayModelServices.d.ts +4 -2
  105. package/getAiGatewayModelServices.d.ts.map +1 -1
  106. package/getAiGatewayModelServices.js.map +1 -1
  107. package/getAlertV2.d.ts +2 -2
  108. package/getAppSpace.d.ts +32 -2
  109. package/getAppSpace.d.ts.map +1 -1
  110. package/getAppSpace.js +32 -2
  111. package/getAppSpace.js.map +1 -1
  112. package/getAppSpaces.d.ts +32 -2
  113. package/getAppSpaces.d.ts.map +1 -1
  114. package/getAppSpaces.js +32 -2
  115. package/getAppSpaces.js.map +1 -1
  116. package/getDataQualityMonitor.d.ts +2 -2
  117. package/getDataQualityMonitor.js +2 -2
  118. package/getDataQualityMonitors.d.ts +2 -2
  119. package/getDataQualityMonitors.js +2 -2
  120. package/getDataQualityRefresh.d.ts +2 -2
  121. package/getDataQualityRefresh.js +2 -2
  122. package/getDataQualityRefreshes.d.ts +2 -2
  123. package/getDataQualityRefreshes.js +2 -2
  124. package/getDatabaseDatabaseCatalog.d.ts +4 -0
  125. package/getDatabaseDatabaseCatalog.d.ts.map +1 -1
  126. package/getDatabaseDatabaseCatalog.js +4 -0
  127. package/getDatabaseDatabaseCatalog.js.map +1 -1
  128. package/getDatabaseInstance.d.ts +4 -0
  129. package/getDatabaseInstance.d.ts.map +1 -1
  130. package/getDatabaseInstance.js +4 -0
  131. package/getDatabaseInstance.js.map +1 -1
  132. package/getDatabaseInstances.d.ts +4 -0
  133. package/getDatabaseInstances.d.ts.map +1 -1
  134. package/getDatabaseInstances.js +4 -0
  135. package/getDatabaseInstances.js.map +1 -1
  136. package/getDatabaseSyncedDatabaseTable.d.ts +4 -0
  137. package/getDatabaseSyncedDatabaseTable.d.ts.map +1 -1
  138. package/getDatabaseSyncedDatabaseTable.js +4 -0
  139. package/getDatabaseSyncedDatabaseTable.js.map +1 -1
  140. package/getGenieAgent.d.ts +121 -0
  141. package/getGenieAgent.d.ts.map +1 -0
  142. package/getGenieAgent.js +83 -0
  143. package/getGenieAgent.js.map +1 -0
  144. package/getGenieAgents.d.ts +87 -0
  145. package/getGenieAgents.d.ts.map +1 -0
  146. package/getGenieAgents.js +83 -0
  147. package/getGenieAgents.js.map +1 -0
  148. package/getMwsNetworkConnectivityConfig.d.ts +3 -0
  149. package/getMwsNetworkConnectivityConfig.d.ts.map +1 -1
  150. package/getMwsNetworkConnectivityConfig.js +2 -0
  151. package/getMwsNetworkConnectivityConfig.js.map +1 -1
  152. package/getPolicyInfo.d.ts +4 -4
  153. package/getPolicyInfos.d.ts +1 -1
  154. package/getPostgresSyncedTable.d.ts +1 -2
  155. package/getPostgresSyncedTable.d.ts.map +1 -1
  156. package/getPostgresSyncedTable.js.map +1 -1
  157. package/getSandbox.d.ts +4 -0
  158. package/getSandbox.d.ts.map +1 -1
  159. package/getSandbox.js.map +1 -1
  160. package/getSqlWarehouse.d.ts +30 -3
  161. package/getSqlWarehouse.d.ts.map +1 -1
  162. package/getSqlWarehouse.js.map +1 -1
  163. package/getWorkspaceIamDirectGroupMemberV2.d.ts +26 -19
  164. package/getWorkspaceIamDirectGroupMemberV2.d.ts.map +1 -1
  165. package/getWorkspaceIamDirectGroupMemberV2.js +6 -10
  166. package/getWorkspaceIamDirectGroupMemberV2.js.map +1 -1
  167. package/getWorkspaceIamDirectGroupMembersV2.d.ts +18 -13
  168. package/getWorkspaceIamDirectGroupMembersV2.d.ts.map +1 -1
  169. package/getWorkspaceIamDirectGroupMembersV2.js +4 -4
  170. package/getWorkspaceIamDirectGroupMembersV2.js.map +1 -1
  171. package/getWorkspaceIamGroupV2.d.ts +23 -8
  172. package/getWorkspaceIamGroupV2.d.ts.map +1 -1
  173. package/getWorkspaceIamGroupV2.js +6 -6
  174. package/getWorkspaceIamGroupV2.js.map +1 -1
  175. package/getWorkspaceIamGroupsV2.d.ts +15 -0
  176. package/getWorkspaceIamGroupsV2.d.ts.map +1 -1
  177. package/getWorkspaceIamGroupsV2.js +2 -0
  178. package/getWorkspaceIamGroupsV2.js.map +1 -1
  179. package/getWorkspaceIamServicePrincipalV2.d.ts +27 -12
  180. package/getWorkspaceIamServicePrincipalV2.d.ts.map +1 -1
  181. package/getWorkspaceIamServicePrincipalV2.js +6 -6
  182. package/getWorkspaceIamServicePrincipalV2.js.map +1 -1
  183. package/getWorkspaceIamServicePrincipalsV2.d.ts +15 -0
  184. package/getWorkspaceIamServicePrincipalsV2.d.ts.map +1 -1
  185. package/getWorkspaceIamServicePrincipalsV2.js +2 -0
  186. package/getWorkspaceIamServicePrincipalsV2.js.map +1 -1
  187. package/getWorkspaceIamUserV2.d.ts +27 -12
  188. package/getWorkspaceIamUserV2.d.ts.map +1 -1
  189. package/getWorkspaceIamUserV2.js +6 -6
  190. package/getWorkspaceIamUserV2.js.map +1 -1
  191. package/getWorkspaceIamUsersV2.d.ts +15 -0
  192. package/getWorkspaceIamUsersV2.d.ts.map +1 -1
  193. package/getWorkspaceIamUsersV2.js +2 -0
  194. package/getWorkspaceIamUsersV2.js.map +1 -1
  195. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts +27 -9
  196. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts.map +1 -1
  197. package/getWorkspaceIamWorkspaceAssignmentV2.js +6 -6
  198. package/getWorkspaceIamWorkspaceAssignmentV2.js.map +1 -1
  199. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts +18 -0
  200. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts.map +1 -1
  201. package/getWorkspaceIamWorkspaceAssignmentsV2.js +2 -0
  202. package/getWorkspaceIamWorkspaceAssignmentsV2.js.map +1 -1
  203. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts +39 -6
  204. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -1
  205. package/getWorkspaceIamWorkspaceIdentityDetailV2.js +30 -4
  206. package/getWorkspaceIamWorkspaceIdentityDetailV2.js.map +1 -1
  207. package/index.d.ts +9 -0
  208. package/index.d.ts.map +1 -1
  209. package/index.js +22 -11
  210. package/index.js.map +1 -1
  211. package/mwsNetworkConnectivityConfig.d.ts +3 -0
  212. package/mwsNetworkConnectivityConfig.d.ts.map +1 -1
  213. package/mwsNetworkConnectivityConfig.js +2 -0
  214. package/mwsNetworkConnectivityConfig.js.map +1 -1
  215. package/mwsWorkspaces.d.ts +3 -3
  216. package/package.json +2 -2
  217. package/policyInfo.d.ts +6 -6
  218. package/postgresRole.d.ts +30 -15
  219. package/postgresRole.d.ts.map +1 -1
  220. package/postgresRole.js.map +1 -1
  221. package/postgresSyncedTable.d.ts +3 -6
  222. package/postgresSyncedTable.d.ts.map +1 -1
  223. package/postgresSyncedTable.js.map +1 -1
  224. package/sandbox.d.ts +12 -0
  225. package/sandbox.d.ts.map +1 -1
  226. package/sandbox.js +2 -0
  227. package/sandbox.js.map +1 -1
  228. package/sqlEndpoint.d.ts +61 -38
  229. package/sqlEndpoint.d.ts.map +1 -1
  230. package/sqlEndpoint.js +1 -3
  231. package/sqlEndpoint.js.map +1 -1
  232. package/types/input.d.ts +667 -25
  233. package/types/input.d.ts.map +1 -1
  234. package/types/output.d.ts +1923 -80
  235. package/types/output.d.ts.map +1 -1
  236. package/workspaceIamDirectGroupMemberV2.d.ts +36 -3
  237. package/workspaceIamDirectGroupMemberV2.d.ts.map +1 -1
  238. package/workspaceIamDirectGroupMemberV2.js +8 -1
  239. package/workspaceIamDirectGroupMemberV2.js.map +1 -1
  240. package/workspaceIamGroupV2.d.ts +22 -0
  241. package/workspaceIamGroupV2.d.ts.map +1 -1
  242. package/workspaceIamGroupV2.js +4 -0
  243. package/workspaceIamGroupV2.js.map +1 -1
  244. package/workspaceIamServicePrincipalV2.d.ts +22 -0
  245. package/workspaceIamServicePrincipalV2.d.ts.map +1 -1
  246. package/workspaceIamServicePrincipalV2.js +4 -0
  247. package/workspaceIamServicePrincipalV2.js.map +1 -1
  248. package/workspaceIamUserV2.d.ts +22 -0
  249. package/workspaceIamUserV2.d.ts.map +1 -1
  250. package/workspaceIamUserV2.js +4 -0
  251. package/workspaceIamUserV2.js.map +1 -1
  252. package/workspaceIamWorkspaceAssignmentV2.d.ts +33 -3
  253. package/workspaceIamWorkspaceAssignmentV2.d.ts.map +1 -1
  254. package/workspaceIamWorkspaceAssignmentV2.js +4 -0
  255. package/workspaceIamWorkspaceAssignmentV2.js.map +1 -1
  256. package/workspaceIamWorkspaceIdentityDetailV2.d.ts +25 -3
  257. package/workspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -1
  258. package/workspaceIamWorkspaceIdentityDetailV2.js +9 -2
  259. package/workspaceIamWorkspaceIdentityDetailV2.js.map +1 -1
@@ -36,6 +36,8 @@ const utilities = __importStar(require("./utilities"));
36
36
  * Lakebase Synced Database Tables are Postgres tables automatically synced from a source table inside Unity Catalog.
37
37
  * They can be used to serve realtime queries without the operational overhead of managing ETL pipelines.
38
38
  *
39
+ * For new workloads, Databricks recommends the `databricks.PostgresSyncedTable` resource.
40
+ *
39
41
  * Synced Database Tables can be configured inside either Database Catalogs or Standard Catalogs. Multiple
40
42
  * Synced Database Tables can be bin packed inside a single pipeline to optimize costs.
41
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"databaseSyncedDatabaseTable.js","sourceRoot":"","sources":["../databaseSyncedDatabaseTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmJG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0EAA0E,CAAC;IAEjH;;;OAGG;I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AC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpE,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AArHL,kEAsHC"}
@@ -0,0 +1,284 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
+ *
7
+ * A Genie Agent is a no-code, AI/BI-powered analytics experience that lets business users ask questions of their data in natural language. Analysts configure a Genie Agent with a SQL warehouse and a `definition` attribute (the tables, instructions, and sample questions that ground the agent); business users then query it conversationally.
8
+ *
9
+ * This resource manages the full lifecycle of a Genie Agent — create, update, and delete. The service returns `definition` exactly as it was applied, so the value never drifts; a definition the service would store differently is rejected with `INVALID_PARAMETER_VALUE`. In particular: write multi-line text (such as SQL or an instruction) as a single string, omit empty strings rather than setting them, list sample questions in `id` order, benchmark questions in descending `id` order, and MCP connections sorted by `mcpConnection`, and give every entry that has an `id` a unique 32-character lowercase hexadecimal value. Each column config must name a column that exists in its table, and a column config may set `displayName` only where column display names are enabled for the workspace; otherwise the apply is rejected with `INVALID_PARAMETER_VALUE`.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * The following example creates a Genie Agent in a workspace folder, backed by a Pro or Serverless SQL warehouse. The `definition` attribute defines the tables, instructions, and sample questions that ground the agent.
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const _this = new databricks.GenieAgent("this", {
20
+ * displayName: "Sales Analytics Agent",
21
+ * description: "Answers natural-language questions about sales data.",
22
+ * warehouseId: "abcd1234567890ef",
23
+ * parentPath: "/Users/analyst@example.com/genie",
24
+ * definition: {
25
+ * config: {
26
+ * sampleQuestions: [{
27
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d7e",
28
+ * question: "What were total sales last month?",
29
+ * }],
30
+ * },
31
+ * dataSources: {
32
+ * tables: [
33
+ * {
34
+ * identifier: "main.sales.orders",
35
+ * description: "One row per order, with order date, amount, and customer.",
36
+ * columnConfigs: [{
37
+ * column: "region",
38
+ * enableFormatAssistance: true,
39
+ * enableEntityMatching: true,
40
+ * }],
41
+ * },
42
+ * {
43
+ * identifier: "main.sales.customers",
44
+ * },
45
+ * ],
46
+ * },
47
+ * instructions: {
48
+ * textInstructions: [{
49
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d7f",
50
+ * content: `Report revenue as the sum of order_amount, rounded to 2 decimal places.
51
+ * Use fiscal quarters for quarterly questions.
52
+ * `,
53
+ * }],
54
+ * joinSpecs: [{
55
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d80",
56
+ * left: {
57
+ * identifier: "main.sales.orders",
58
+ * alias: "orders",
59
+ * },
60
+ * right: {
61
+ * identifier: "main.sales.customers",
62
+ * alias: "customers",
63
+ * },
64
+ * sql: "orders.customer_id = customers.customer_id",
65
+ * relationshipType: "GENIE_AGENT_JOIN_RELATIONSHIP_TYPE_MANY_TO_ONE",
66
+ * }],
67
+ * },
68
+ * },
69
+ * });
70
+ * ```
71
+ */
72
+ export declare class GenieAgent extends pulumi.CustomResource {
73
+ /**
74
+ * Get an existing GenieAgent resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param state Any extra arguments used during the lookup.
80
+ * @param opts Optional settings to control the behavior of the CustomResource.
81
+ */
82
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GenieAgentState, opts?: pulumi.CustomResourceOptions): GenieAgent;
83
+ /**
84
+ * Returns true if the given object is an instance of GenieAgent. This is designed to work even
85
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
+ */
87
+ static isInstance(obj: any): obj is GenieAgent;
88
+ /**
89
+ * (string) - Time when the Genie Agent was created
90
+ */
91
+ readonly createTime: pulumi.Output<string>;
92
+ /**
93
+ * The definition of the Genie Agent: its sample questions, data sources, instructions, and
94
+ * benchmarks. Must set at least one field. Returned on get and on list with
95
+ * `GENIE_AGENT_VIEW_FULL`. Create and update return a submitted definition unchanged; one the
96
+ * service would store differently, or with a column config the workspace can't keep (unknown
97
+ * column, or a display name while those are disabled), is rejected with INVALID_PARAMETER_VALUE
98
+ */
99
+ readonly definition: pulumi.Output<outputs.GenieAgentDefinition>;
100
+ /**
101
+ * Description of the Genie Agent.
102
+ *
103
+ * The maximum length is 4,096 characters. Requests with a longer value are rejected with
104
+ * INVALID_PARAMETER_VALUE
105
+ */
106
+ readonly description: pulumi.Output<string | undefined>;
107
+ /**
108
+ * Display name of the Genie Agent. Must be unique within its folder (effective_parent_path): a
109
+ * create, rename, or move that would collide with an existing Genie Agent's name in the target
110
+ * folder is rejected with ALREADY_EXISTS.
111
+ *
112
+ * The maximum length is 63 characters. Requests with a longer value are rejected with
113
+ * INVALID_PARAMETER_VALUE
114
+ */
115
+ readonly displayName: pulumi.Output<string>;
116
+ /**
117
+ * (string) - The workspace folder that contains the Genie Agent
118
+ */
119
+ readonly effectiveParentPath: pulumi.Output<string>;
120
+ /**
121
+ * (string) - Weak etag of `definition` only; metadata changes do not affect it. Send it on update or
122
+ * delete to detect concurrent definition changes
123
+ */
124
+ readonly etag: pulumi.Output<string>;
125
+ /**
126
+ * The ID for the new Genie Agent: 32 lowercase hexadecimal characters (a UUID without dashes), not
127
+ * all zeros. Assigned by the server if omitted. Fails with ALREADY_EXISTS if the ID is in use in
128
+ * the workspace, including by a Genie Agent in the trash, or PERMISSION_DENIED if the caller
129
+ * cannot view the Genie Agent using it
130
+ */
131
+ readonly genieAgentId: pulumi.Output<string>;
132
+ /**
133
+ * (string) - The resource name of the Genie Agent, in the form `agents/{genie_agent_id}`. Ignored on create
134
+ */
135
+ readonly name: pulumi.Output<string>;
136
+ /**
137
+ * The workspace folder to create the Genie Agent in. If omitted, the caller's home folder is
138
+ * used. Returned exactly as submitted; see `effectiveParentPath` for the current folder. On
139
+ * update, setting it moves the Genie Agent and clearing it does not. At most 4,096 characters
140
+ */
141
+ readonly parentPath: pulumi.Output<string | undefined>;
142
+ /**
143
+ * Configure the provider for management through account provider.
144
+ */
145
+ readonly providerConfig: pulumi.Output<outputs.GenieAgentProviderConfig>;
146
+ /**
147
+ * (string) - Time when the Genie Agent was last modified
148
+ */
149
+ readonly updateTime: pulumi.Output<string>;
150
+ /**
151
+ * Warehouse associated with the Genie Agent
152
+ */
153
+ readonly warehouseId: pulumi.Output<string>;
154
+ /**
155
+ * Create a GenieAgent resource with the given unique name, arguments, and options.
156
+ *
157
+ * @param name The _unique_ name of the resource.
158
+ * @param args The arguments to use to populate this resource's properties.
159
+ * @param opts A bag of options that control this resource's behavior.
160
+ */
161
+ constructor(name: string, args: GenieAgentArgs, opts?: pulumi.CustomResourceOptions);
162
+ }
163
+ /**
164
+ * Input properties used for looking up and filtering GenieAgent resources.
165
+ */
166
+ export interface GenieAgentState {
167
+ /**
168
+ * (string) - Time when the Genie Agent was created
169
+ */
170
+ createTime?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * The definition of the Genie Agent: its sample questions, data sources, instructions, and
173
+ * benchmarks. Must set at least one field. Returned on get and on list with
174
+ * `GENIE_AGENT_VIEW_FULL`. Create and update return a submitted definition unchanged; one the
175
+ * service would store differently, or with a column config the workspace can't keep (unknown
176
+ * column, or a display name while those are disabled), is rejected with INVALID_PARAMETER_VALUE
177
+ */
178
+ definition?: pulumi.Input<inputs.GenieAgentDefinition | undefined>;
179
+ /**
180
+ * Description of the Genie Agent.
181
+ *
182
+ * The maximum length is 4,096 characters. Requests with a longer value are rejected with
183
+ * INVALID_PARAMETER_VALUE
184
+ */
185
+ description?: pulumi.Input<string | undefined>;
186
+ /**
187
+ * Display name of the Genie Agent. Must be unique within its folder (effective_parent_path): a
188
+ * create, rename, or move that would collide with an existing Genie Agent's name in the target
189
+ * folder is rejected with ALREADY_EXISTS.
190
+ *
191
+ * The maximum length is 63 characters. Requests with a longer value are rejected with
192
+ * INVALID_PARAMETER_VALUE
193
+ */
194
+ displayName?: pulumi.Input<string | undefined>;
195
+ /**
196
+ * (string) - The workspace folder that contains the Genie Agent
197
+ */
198
+ effectiveParentPath?: pulumi.Input<string | undefined>;
199
+ /**
200
+ * (string) - Weak etag of `definition` only; metadata changes do not affect it. Send it on update or
201
+ * delete to detect concurrent definition changes
202
+ */
203
+ etag?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * The ID for the new Genie Agent: 32 lowercase hexadecimal characters (a UUID without dashes), not
206
+ * all zeros. Assigned by the server if omitted. Fails with ALREADY_EXISTS if the ID is in use in
207
+ * the workspace, including by a Genie Agent in the trash, or PERMISSION_DENIED if the caller
208
+ * cannot view the Genie Agent using it
209
+ */
210
+ genieAgentId?: pulumi.Input<string | undefined>;
211
+ /**
212
+ * (string) - The resource name of the Genie Agent, in the form `agents/{genie_agent_id}`. Ignored on create
213
+ */
214
+ name?: pulumi.Input<string | undefined>;
215
+ /**
216
+ * The workspace folder to create the Genie Agent in. If omitted, the caller's home folder is
217
+ * used. Returned exactly as submitted; see `effectiveParentPath` for the current folder. On
218
+ * update, setting it moves the Genie Agent and clearing it does not. At most 4,096 characters
219
+ */
220
+ parentPath?: pulumi.Input<string | undefined>;
221
+ /**
222
+ * Configure the provider for management through account provider.
223
+ */
224
+ providerConfig?: pulumi.Input<inputs.GenieAgentProviderConfig | undefined>;
225
+ /**
226
+ * (string) - Time when the Genie Agent was last modified
227
+ */
228
+ updateTime?: pulumi.Input<string | undefined>;
229
+ /**
230
+ * Warehouse associated with the Genie Agent
231
+ */
232
+ warehouseId?: pulumi.Input<string | undefined>;
233
+ }
234
+ /**
235
+ * The set of arguments for constructing a GenieAgent resource.
236
+ */
237
+ export interface GenieAgentArgs {
238
+ /**
239
+ * The definition of the Genie Agent: its sample questions, data sources, instructions, and
240
+ * benchmarks. Must set at least one field. Returned on get and on list with
241
+ * `GENIE_AGENT_VIEW_FULL`. Create and update return a submitted definition unchanged; one the
242
+ * service would store differently, or with a column config the workspace can't keep (unknown
243
+ * column, or a display name while those are disabled), is rejected with INVALID_PARAMETER_VALUE
244
+ */
245
+ definition: pulumi.Input<inputs.GenieAgentDefinition>;
246
+ /**
247
+ * Description of the Genie Agent.
248
+ *
249
+ * The maximum length is 4,096 characters. Requests with a longer value are rejected with
250
+ * INVALID_PARAMETER_VALUE
251
+ */
252
+ description?: pulumi.Input<string | undefined>;
253
+ /**
254
+ * Display name of the Genie Agent. Must be unique within its folder (effective_parent_path): a
255
+ * create, rename, or move that would collide with an existing Genie Agent's name in the target
256
+ * folder is rejected with ALREADY_EXISTS.
257
+ *
258
+ * The maximum length is 63 characters. Requests with a longer value are rejected with
259
+ * INVALID_PARAMETER_VALUE
260
+ */
261
+ displayName: pulumi.Input<string>;
262
+ /**
263
+ * The ID for the new Genie Agent: 32 lowercase hexadecimal characters (a UUID without dashes), not
264
+ * all zeros. Assigned by the server if omitted. Fails with ALREADY_EXISTS if the ID is in use in
265
+ * the workspace, including by a Genie Agent in the trash, or PERMISSION_DENIED if the caller
266
+ * cannot view the Genie Agent using it
267
+ */
268
+ genieAgentId?: pulumi.Input<string | undefined>;
269
+ /**
270
+ * The workspace folder to create the Genie Agent in. If omitted, the caller's home folder is
271
+ * used. Returned exactly as submitted; see `effectiveParentPath` for the current folder. On
272
+ * update, setting it moves the Genie Agent and clearing it does not. At most 4,096 characters
273
+ */
274
+ parentPath?: pulumi.Input<string | undefined>;
275
+ /**
276
+ * Configure the provider for management through account provider.
277
+ */
278
+ providerConfig?: pulumi.Input<inputs.GenieAgentProviderConfig | undefined>;
279
+ /**
280
+ * Warehouse associated with the Genie Agent
281
+ */
282
+ warehouseId: pulumi.Input<string>;
283
+ }
284
+ //# sourceMappingURL=genieAgent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genieAgent.d.ts","sourceRoot":"","sources":["../genieAgent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;;;;;OAMG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAA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AAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
package/genieAgent.js ADDED
@@ -0,0 +1,171 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.GenieAgent = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * A Genie Agent is a no-code, AI/BI-powered analytics experience that lets business users ask questions of their data in natural language. Analysts configure a Genie Agent with a SQL warehouse and a `definition` attribute (the tables, instructions, and sample questions that ground the agent); business users then query it conversationally.
35
+ *
36
+ * This resource manages the full lifecycle of a Genie Agent — create, update, and delete. The service returns `definition` exactly as it was applied, so the value never drifts; a definition the service would store differently is rejected with `INVALID_PARAMETER_VALUE`. In particular: write multi-line text (such as SQL or an instruction) as a single string, omit empty strings rather than setting them, list sample questions in `id` order, benchmark questions in descending `id` order, and MCP connections sorted by `mcpConnection`, and give every entry that has an `id` a unique 32-character lowercase hexadecimal value. Each column config must name a column that exists in its table, and a column config may set `displayName` only where column display names are enabled for the workspace; otherwise the apply is rejected with `INVALID_PARAMETER_VALUE`.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * The following example creates a Genie Agent in a workspace folder, backed by a Pro or Serverless SQL warehouse. The `definition` attribute defines the tables, instructions, and sample questions that ground the agent.
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as databricks from "@pulumi/databricks";
45
+ *
46
+ * const _this = new databricks.GenieAgent("this", {
47
+ * displayName: "Sales Analytics Agent",
48
+ * description: "Answers natural-language questions about sales data.",
49
+ * warehouseId: "abcd1234567890ef",
50
+ * parentPath: "/Users/analyst@example.com/genie",
51
+ * definition: {
52
+ * config: {
53
+ * sampleQuestions: [{
54
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d7e",
55
+ * question: "What were total sales last month?",
56
+ * }],
57
+ * },
58
+ * dataSources: {
59
+ * tables: [
60
+ * {
61
+ * identifier: "main.sales.orders",
62
+ * description: "One row per order, with order date, amount, and customer.",
63
+ * columnConfigs: [{
64
+ * column: "region",
65
+ * enableFormatAssistance: true,
66
+ * enableEntityMatching: true,
67
+ * }],
68
+ * },
69
+ * {
70
+ * identifier: "main.sales.customers",
71
+ * },
72
+ * ],
73
+ * },
74
+ * instructions: {
75
+ * textInstructions: [{
76
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d7f",
77
+ * content: `Report revenue as the sum of order_amount, rounded to 2 decimal places.
78
+ * Use fiscal quarters for quarterly questions.
79
+ * `,
80
+ * }],
81
+ * joinSpecs: [{
82
+ * id: "01f0a1b2c3d4e5f60718293a4b5c6d80",
83
+ * left: {
84
+ * identifier: "main.sales.orders",
85
+ * alias: "orders",
86
+ * },
87
+ * right: {
88
+ * identifier: "main.sales.customers",
89
+ * alias: "customers",
90
+ * },
91
+ * sql: "orders.customer_id = customers.customer_id",
92
+ * relationshipType: "GENIE_AGENT_JOIN_RELATIONSHIP_TYPE_MANY_TO_ONE",
93
+ * }],
94
+ * },
95
+ * },
96
+ * });
97
+ * ```
98
+ */
99
+ class GenieAgent extends pulumi.CustomResource {
100
+ /**
101
+ * Get an existing GenieAgent resource's state with the given name, ID, and optional extra
102
+ * properties used to qualify the lookup.
103
+ *
104
+ * @param name The _unique_ name of the resulting resource.
105
+ * @param id The _unique_ provider ID of the resource to lookup.
106
+ * @param state Any extra arguments used during the lookup.
107
+ * @param opts Optional settings to control the behavior of the CustomResource.
108
+ */
109
+ static get(name, id, state, opts) {
110
+ return new GenieAgent(name, state, { ...opts, id: id });
111
+ }
112
+ /** @internal */
113
+ static __pulumiType = 'databricks:index/genieAgent:GenieAgent';
114
+ /**
115
+ * Returns true if the given object is an instance of GenieAgent. This is designed to work even
116
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
117
+ */
118
+ static isInstance(obj) {
119
+ if (obj === undefined || obj === null) {
120
+ return false;
121
+ }
122
+ return obj['__pulumiType'] === GenieAgent.__pulumiType;
123
+ }
124
+ constructor(name, argsOrState, opts) {
125
+ let resourceInputs = {};
126
+ opts = opts || {};
127
+ if (opts.id) {
128
+ const state = argsOrState;
129
+ resourceInputs["createTime"] = state?.createTime;
130
+ resourceInputs["definition"] = state?.definition;
131
+ resourceInputs["description"] = state?.description;
132
+ resourceInputs["displayName"] = state?.displayName;
133
+ resourceInputs["effectiveParentPath"] = state?.effectiveParentPath;
134
+ resourceInputs["etag"] = state?.etag;
135
+ resourceInputs["genieAgentId"] = state?.genieAgentId;
136
+ resourceInputs["name"] = state?.name;
137
+ resourceInputs["parentPath"] = state?.parentPath;
138
+ resourceInputs["providerConfig"] = state?.providerConfig;
139
+ resourceInputs["updateTime"] = state?.updateTime;
140
+ resourceInputs["warehouseId"] = state?.warehouseId;
141
+ }
142
+ else {
143
+ const args = argsOrState;
144
+ if (args?.definition === undefined && !opts.urn) {
145
+ throw new Error("Missing required property 'definition'");
146
+ }
147
+ if (args?.displayName === undefined && !opts.urn) {
148
+ throw new Error("Missing required property 'displayName'");
149
+ }
150
+ if (args?.warehouseId === undefined && !opts.urn) {
151
+ throw new Error("Missing required property 'warehouseId'");
152
+ }
153
+ resourceInputs["definition"] = args?.definition;
154
+ resourceInputs["description"] = args?.description;
155
+ resourceInputs["displayName"] = args?.displayName;
156
+ resourceInputs["genieAgentId"] = args?.genieAgentId;
157
+ resourceInputs["parentPath"] = args?.parentPath;
158
+ resourceInputs["providerConfig"] = args?.providerConfig;
159
+ resourceInputs["warehouseId"] = args?.warehouseId;
160
+ resourceInputs["createTime"] = undefined /*out*/;
161
+ resourceInputs["effectiveParentPath"] = undefined /*out*/;
162
+ resourceInputs["etag"] = undefined /*out*/;
163
+ resourceInputs["name"] = undefined /*out*/;
164
+ resourceInputs["updateTime"] = undefined /*out*/;
165
+ }
166
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
167
+ super(GenieAgent.__pulumiType, name, resourceInputs, opts);
168
+ }
169
+ }
170
+ exports.GenieAgent = GenieAgent;
171
+ //# sourceMappingURL=genieAgent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"genieAg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,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlJL,gCAmJC"}
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
6
6
  *
7
- * Reads a single direct group membership in an account, identified by group and principal ID.
7
+ * Reads a single direct group membership in an account by its resource name, `accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}`.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -17,8 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as databricks from "@pulumi/databricks";
18
18
  *
19
19
  * const _this = databricks.getAccountIamDirectGroupMemberV2({
20
- * groupId: 123456789,
21
- * principalId: "987654321",
20
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789/direct-members/987654321",
22
21
  * });
23
22
  * ```
24
23
  */
@@ -28,13 +27,11 @@ export declare function getAccountIamDirectGroupMemberV2(args: GetAccountIamDire
28
27
  */
29
28
  export interface GetAccountIamDirectGroupMemberV2Args {
30
29
  /**
31
- * The internal ID of the group this member belongs to
30
+ * The resource name of the group membership. The format depends on the API that returned it:
31
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}
32
+ * - Workspace-scoped: groups/{group_id}/direct-members/{principal_id}
32
33
  */
33
- groupId: number;
34
- /**
35
- * Internal ID of the principal in Databricks
36
- */
37
- principalId: string;
34
+ name: string;
38
35
  }
39
36
  /**
40
37
  * A collection of values returned by getAccountIamDirectGroupMemberV2.
@@ -45,7 +42,7 @@ export interface GetAccountIamDirectGroupMemberV2Result {
45
42
  */
46
43
  readonly displayName: string;
47
44
  /**
48
- * (string) - The external ID of the principal in Databricks
45
+ * (string) - The external ID of the principal in the customer's IdP
49
46
  */
50
47
  readonly externalId: string;
51
48
  /**
@@ -56,6 +53,19 @@ export interface GetAccountIamDirectGroupMemberV2Result {
56
53
  * (string) - The source of group membership (internal or from identity provider). Possible values are: `IDENTITY_PROVIDER`, `INTERNAL`
57
54
  */
58
55
  readonly membershipSource: string;
56
+ /**
57
+ * (string) - The resource name of the group membership. The format depends on the API that returned it:
58
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}
59
+ * - Workspace-scoped: groups/{group_id}/direct-members/{principal_id}
60
+ */
61
+ readonly name: string;
62
+ /**
63
+ * (string) - The resource name of the group that contains the membership. The format depends on the API
64
+ * that returned it:
65
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}
66
+ * - Workspace-scoped: groups/{group_id}
67
+ */
68
+ readonly parent: string;
59
69
  /**
60
70
  * (integer) - Internal ID of the principal in Databricks
61
71
  */
@@ -70,7 +80,7 @@ export interface GetAccountIamDirectGroupMemberV2Result {
70
80
  *
71
81
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
72
82
  *
73
- * Reads a single direct group membership in an account, identified by group and principal ID.
83
+ * Reads a single direct group membership in an account by its resource name, `accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}`.
74
84
  *
75
85
  * ## Example Usage
76
86
  *
@@ -83,8 +93,7 @@ export interface GetAccountIamDirectGroupMemberV2Result {
83
93
  * import * as databricks from "@pulumi/databricks";
84
94
  *
85
95
  * const _this = databricks.getAccountIamDirectGroupMemberV2({
86
- * groupId: 123456789,
87
- * principalId: "987654321",
96
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789/direct-members/987654321",
88
97
  * });
89
98
  * ```
90
99
  */
@@ -94,12 +103,10 @@ export declare function getAccountIamDirectGroupMemberV2Output(args: GetAccountI
94
103
  */
95
104
  export interface GetAccountIamDirectGroupMemberV2OutputArgs {
96
105
  /**
97
- * The internal ID of the group this member belongs to
98
- */
99
- groupId: pulumi.Input<number>;
100
- /**
101
- * Internal ID of the principal in Databricks
106
+ * The resource name of the group membership. The format depends on the API that returned it:
107
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}
108
+ * - Workspace-scoped: groups/{group_id}/direct-members/{principal_id}
102
109
  */
103
- principalId: pulumi.Input<string>;
110
+ name: pulumi.Input<string>;
104
111
  }
105
112
  //# sourceMappingURL=getAccountIamDirectGroupMemberV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamDirectGroupMemberV2.d.ts","sourceRoot":"","sources":["../getAccountIamDirectGroupMemberV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAMzK;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;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QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,sCAAsC,CAAC,CAKjM;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -33,7 +33,7 @@ const utilities = __importStar(require("./utilities"));
33
33
  *
34
34
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
35
35
  *
36
- * Reads a single direct group membership in an account, identified by group and principal ID.
36
+ * Reads a single direct group membership in an account by its resource name, `accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}`.
37
37
  *
38
38
  * ## Example Usage
39
39
  *
@@ -46,16 +46,14 @@ const utilities = __importStar(require("./utilities"));
46
46
  * import * as databricks from "@pulumi/databricks";
47
47
  *
48
48
  * const _this = databricks.getAccountIamDirectGroupMemberV2({
49
- * groupId: 123456789,
50
- * principalId: "987654321",
49
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789/direct-members/987654321",
51
50
  * });
52
51
  * ```
53
52
  */
54
53
  function getAccountIamDirectGroupMemberV2(args, opts) {
55
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
55
  return pulumi.runtime.invoke("databricks:index/getAccountIamDirectGroupMemberV2:getAccountIamDirectGroupMemberV2", {
57
- "groupId": args.groupId,
58
- "principalId": args.principalId,
56
+ "name": args.name,
59
57
  }, opts);
60
58
  }
61
59
  exports.getAccountIamDirectGroupMemberV2 = getAccountIamDirectGroupMemberV2;
@@ -64,7 +62,7 @@ exports.getAccountIamDirectGroupMemberV2 = getAccountIamDirectGroupMemberV2;
64
62
  *
65
63
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
66
64
  *
67
- * Reads a single direct group membership in an account, identified by group and principal ID.
65
+ * Reads a single direct group membership in an account by its resource name, `accounts/{account_id}/groups/{group_id}/direct-members/{principal_id}`.
68
66
  *
69
67
  * ## Example Usage
70
68
  *
@@ -77,16 +75,14 @@ exports.getAccountIamDirectGroupMemberV2 = getAccountIamDirectGroupMemberV2;
77
75
  * import * as databricks from "@pulumi/databricks";
78
76
  *
79
77
  * const _this = databricks.getAccountIamDirectGroupMemberV2({
80
- * groupId: 123456789,
81
- * principalId: "987654321",
78
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789/direct-members/987654321",
82
79
  * });
83
80
  * ```
84
81
  */
85
82
  function getAccountIamDirectGroupMemberV2Output(args, opts) {
86
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
87
84
  return pulumi.runtime.invokeOutput("databricks:index/getAccountIamDirectGroupMemberV2:getAccountIamDirectGroupMemberV2", {
88
- "groupId": args.groupId,
89
- "principalId": args.principalId,
85
+ "name": args.name,
90
86
  }, opts);
91
87
  }
92
88
  exports.getAccountIamDirectGroupMemberV2Output = getAccountIamDirectGroupMemberV2Output;