@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
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamDirectGroupMemberV2.js","sourceRoot":"","sources":["../getAccountIamDirectGroupMemberV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE;QAC/G,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4EAMC;AA6CD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE;QACrH,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wFAMC"}
1
+ {"version":3,"file":"getAccountIamDirectGroupMemberV2.js","sourceRoot":"","sources":["../getAccountIamDirectGroupMemberV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE;QAC/G,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC;AAwDD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE;QACrH,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wFAKC"}
@@ -18,7 +18,7 @@ import * as outputs from "./types/output";
18
18
  * import * as databricks from "@pulumi/databricks";
19
19
  *
20
20
  * const _this = databricks.getAccountIamDirectGroupMembersV2({
21
- * groupId: 123456789,
21
+ * parent: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
22
22
  * });
23
23
  * ```
24
24
  */
@@ -27,26 +27,30 @@ export declare function getAccountIamDirectGroupMembersV2(args: GetAccountIamDir
27
27
  * A collection of arguments for invoking getAccountIamDirectGroupMembersV2.
28
28
  */
29
29
  export interface GetAccountIamDirectGroupMembersV2Args {
30
- /**
31
- * Required. Internal ID of the group in Databricks whose direct members are being listed
32
- */
33
- groupId: number;
34
30
  /**
35
31
  * The maximum number of members to return. The service may return fewer than this value.
36
32
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
37
33
  */
38
34
  pageSize?: number;
35
+ /**
36
+ * The parent resource name of the group whose direct members to list.
37
+ * Format: accounts/{account_id}/groups/{group_id}
38
+ */
39
+ parent: string;
39
40
  }
40
41
  /**
41
42
  * A collection of values returned by getAccountIamDirectGroupMembersV2.
42
43
  */
43
44
  export interface GetAccountIamDirectGroupMembersV2Result {
44
45
  readonly directGroupMembers: outputs.GetAccountIamDirectGroupMembersV2DirectGroupMember[];
46
+ readonly pageSize?: number;
45
47
  /**
46
- * (integer) - The internal ID of the group this member belongs to
48
+ * (string) - The resource name of the group that contains the membership. The format depends on the API
49
+ * that returned it:
50
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}
51
+ * - Workspace-scoped: groups/{group_id}
47
52
  */
48
- readonly groupId: number;
49
- readonly pageSize?: number;
53
+ readonly parent: string;
50
54
  }
51
55
  /**
52
56
  * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
@@ -66,7 +70,7 @@ export interface GetAccountIamDirectGroupMembersV2Result {
66
70
  * import * as databricks from "@pulumi/databricks";
67
71
  *
68
72
  * const _this = databricks.getAccountIamDirectGroupMembersV2({
69
- * groupId: 123456789,
73
+ * parent: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
70
74
  * });
71
75
  * ```
72
76
  */
@@ -75,14 +79,15 @@ export declare function getAccountIamDirectGroupMembersV2Output(args: GetAccount
75
79
  * A collection of arguments for invoking getAccountIamDirectGroupMembersV2.
76
80
  */
77
81
  export interface GetAccountIamDirectGroupMembersV2OutputArgs {
78
- /**
79
- * Required. Internal ID of the group in Databricks whose direct members are being listed
80
- */
81
- groupId: pulumi.Input<number>;
82
82
  /**
83
83
  * The maximum number of members to return. The service may return fewer than this value.
84
84
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
85
85
  */
86
86
  pageSize?: pulumi.Input<number | undefined>;
87
+ /**
88
+ * The parent resource name of the group whose direct members to list.
89
+ * Format: accounts/{account_id}/groups/{group_id}
90
+ */
91
+ parent: pulumi.Input<string>;
87
92
  }
88
93
  //# sourceMappingURL=getAccountIamDirectGroupMembersV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamDirectGroupMembersV2.d.ts","sourceRoot":"","sources":["../getAccountIamDirectGroupMembersV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uCAAuC,CAAC,CAM5K;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC,kDAAkD,EAAE,CAAC;IAC1F;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAMpM;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;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ities = __importStar(require("./utilities"));
46
46
  * import * as databricks from "@pulumi/databricks";
47
47
  *
48
48
  * const _this = databricks.getAccountIamDirectGroupMembersV2({
49
- * groupId: 123456789,
49
+ * parent: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
50
50
  * });
51
51
  * ```
52
52
  */
53
53
  function getAccountIamDirectGroupMembersV2(args, opts) {
54
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
55
  return pulumi.runtime.invoke("databricks:index/getAccountIamDirectGroupMembersV2:getAccountIamDirectGroupMembersV2", {
56
- "groupId": args.groupId,
57
56
  "pageSize": args.pageSize,
57
+ "parent": args.parent,
58
58
  }, opts);
59
59
  }
60
60
  exports.getAccountIamDirectGroupMembersV2 = getAccountIamDirectGroupMembersV2;
@@ -76,15 +76,15 @@ exports.getAccountIamDirectGroupMembersV2 = getAccountIamDirectGroupMembersV2;
76
76
  * import * as databricks from "@pulumi/databricks";
77
77
  *
78
78
  * const _this = databricks.getAccountIamDirectGroupMembersV2({
79
- * groupId: 123456789,
79
+ * parent: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
80
80
  * });
81
81
  * ```
82
82
  */
83
83
  function getAccountIamDirectGroupMembersV2Output(args, opts) {
84
84
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
85
85
  return pulumi.runtime.invokeOutput("databricks:index/getAccountIamDirectGroupMembersV2:getAccountIamDirectGroupMembersV2", {
86
- "groupId": args.groupId,
87
86
  "pageSize": args.pageSize,
87
+ "parent": args.parent,
88
88
  }, opts);
89
89
  }
90
90
  exports.getAccountIamDirectGroupMembersV2Output = getAccountIamDirectGroupMembersV2Output;
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamDirectGroupMembersV2.js","sourceRoot":"","sources":["../getAccountIamDirectGroupMembersV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDA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CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8EAMC;AAgCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sFAAsF,EAAE;QACvH,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0FAMC"}
@@ -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 account group by its internal ID.
7
+ * Reads a single account group by its resource name, `accounts/{account_id}/groups/{group_id}`.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as databricks from "@pulumi/databricks";
18
18
  *
19
19
  * const _this = databricks.getAccountIamGroupV2({
20
- * groupId: "123456789",
20
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
21
21
  * });
22
22
  * ```
23
23
  */
@@ -27,9 +27,11 @@ export declare function getAccountIamGroupV2(args: GetAccountIamGroupV2Args, opt
27
27
  */
28
28
  export interface GetAccountIamGroupV2Args {
29
29
  /**
30
- * Internal group ID of the group in Databricks
30
+ * The resource name of the group. The format depends on the API that returned it:
31
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}
32
+ * - Workspace-scoped: groups/{group_id}
31
33
  */
32
- groupId: string;
34
+ name: string;
33
35
  }
34
36
  /**
35
37
  * A collection of values returned by getAccountIamGroupV2.
@@ -51,13 +53,24 @@ export interface GetAccountIamGroupV2Result {
51
53
  * (string) - Display name of the group
52
54
  */
53
55
  readonly groupName: string;
56
+ /**
57
+ * (string) - The resource name of the group. The format depends on the API that returned it:
58
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}
59
+ * - Workspace-scoped: groups/{group_id}
60
+ */
61
+ readonly name: string;
62
+ /**
63
+ * (string) - The resource name of the account that contains the group, `accounts/{account_id}`. Both the
64
+ * account-scoped and workspace-scoped APIs return it
65
+ */
66
+ readonly parent: string;
54
67
  }
55
68
  /**
56
69
  * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
57
70
  *
58
71
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
59
72
  *
60
- * Reads a single account group by its internal ID.
73
+ * Reads a single account group by its resource name, `accounts/{account_id}/groups/{group_id}`.
61
74
  *
62
75
  * ## Example Usage
63
76
  *
@@ -70,7 +83,7 @@ export interface GetAccountIamGroupV2Result {
70
83
  * import * as databricks from "@pulumi/databricks";
71
84
  *
72
85
  * const _this = databricks.getAccountIamGroupV2({
73
- * groupId: "123456789",
86
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
74
87
  * });
75
88
  * ```
76
89
  */
@@ -80,8 +93,10 @@ export declare function getAccountIamGroupV2Output(args: GetAccountIamGroupV2Out
80
93
  */
81
94
  export interface GetAccountIamGroupV2OutputArgs {
82
95
  /**
83
- * Internal group ID of the group in Databricks
96
+ * The resource name of the group. The format depends on the API that returned it:
97
+ * - Account-scoped: accounts/{account_id}/groups/{group_id}
98
+ * - Workspace-scoped: groups/{group_id}
84
99
  */
85
- groupId: pulumi.Input<string>;
100
+ name: pulumi.Input<string>;
86
101
  }
87
102
  //# sourceMappingURL=getAccountIamGroupV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamGroupV2.d.ts","sourceRoot":"","sources":["../getAccountIamGroupV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAA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CAChB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAK7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;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 account group by its internal ID.
36
+ * Reads a single account group by its resource name, `accounts/{account_id}/groups/{group_id}`.
37
37
  *
38
38
  * ## Example Usage
39
39
  *
@@ -46,14 +46,14 @@ const utilities = __importStar(require("./utilities"));
46
46
  * import * as databricks from "@pulumi/databricks";
47
47
  *
48
48
  * const _this = databricks.getAccountIamGroupV2({
49
- * groupId: "123456789",
49
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
50
50
  * });
51
51
  * ```
52
52
  */
53
53
  function getAccountIamGroupV2(args, opts) {
54
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
55
  return pulumi.runtime.invoke("databricks:index/getAccountIamGroupV2:getAccountIamGroupV2", {
56
- "groupId": args.groupId,
56
+ "name": args.name,
57
57
  }, opts);
58
58
  }
59
59
  exports.getAccountIamGroupV2 = getAccountIamGroupV2;
@@ -62,7 +62,7 @@ exports.getAccountIamGroupV2 = getAccountIamGroupV2;
62
62
  *
63
63
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
64
64
  *
65
- * Reads a single account group by its internal ID.
65
+ * Reads a single account group by its resource name, `accounts/{account_id}/groups/{group_id}`.
66
66
  *
67
67
  * ## Example Usage
68
68
  *
@@ -75,14 +75,14 @@ exports.getAccountIamGroupV2 = getAccountIamGroupV2;
75
75
  * import * as databricks from "@pulumi/databricks";
76
76
  *
77
77
  * const _this = databricks.getAccountIamGroupV2({
78
- * groupId: "123456789",
78
+ * name: "accounts/00000000-0000-0000-0000-000000000000/groups/123456789",
79
79
  * });
80
80
  * ```
81
81
  */
82
82
  function getAccountIamGroupV2Output(args, opts) {
83
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
84
84
  return pulumi.runtime.invokeOutput("databricks:index/getAccountIamGroupV2:getAccountIamGroupV2", {
85
- "groupId": args.groupId,
85
+ "name": args.name,
86
86
  }, opts);
87
87
  }
88
88
  exports.getAccountIamGroupV2Output = getAccountIamGroupV2Output;
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamGroupV2.js","sourceRoot":"","sources":["../getAccountIamGroupV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,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IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -17,10 +17,12 @@ import * as outputs from "./types/output";
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as databricks from "@pulumi/databricks";
19
19
  *
20
- * const _this = databricks.getAccountIamGroupsV2({});
20
+ * const _this = databricks.getAccountIamGroupsV2({
21
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
22
+ * });
21
23
  * ```
22
24
  */
23
- export declare function getAccountIamGroupsV2(args?: GetAccountIamGroupsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamGroupsV2Result>;
25
+ export declare function getAccountIamGroupsV2(args: GetAccountIamGroupsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamGroupsV2Result>;
24
26
  /**
25
27
  * A collection of arguments for invoking getAccountIamGroupsV2.
26
28
  */
@@ -34,6 +36,11 @@ export interface GetAccountIamGroupsV2Args {
34
36
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
35
37
  */
36
38
  pageSize?: number;
39
+ /**
40
+ * The parent resource name of the account whose groups to list.
41
+ * Format: accounts/{account_id}
42
+ */
43
+ parent: string;
37
44
  }
38
45
  /**
39
46
  * A collection of values returned by getAccountIamGroupsV2.
@@ -42,6 +49,11 @@ export interface GetAccountIamGroupsV2Result {
42
49
  readonly filter?: string;
43
50
  readonly groups: outputs.GetAccountIamGroupsV2Group[];
44
51
  readonly pageSize?: number;
52
+ /**
53
+ * (string) - The resource name of the account that contains the group, `accounts/{account_id}`. Both the
54
+ * account-scoped and workspace-scoped APIs return it
55
+ */
56
+ readonly parent: string;
45
57
  }
46
58
  /**
47
59
  * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
@@ -60,10 +72,12 @@ export interface GetAccountIamGroupsV2Result {
60
72
  * import * as pulumi from "@pulumi/pulumi";
61
73
  * import * as databricks from "@pulumi/databricks";
62
74
  *
63
- * const _this = databricks.getAccountIamGroupsV2({});
75
+ * const _this = databricks.getAccountIamGroupsV2({
76
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
77
+ * });
64
78
  * ```
65
79
  */
66
- export declare function getAccountIamGroupsV2Output(args?: GetAccountIamGroupsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamGroupsV2Result>;
80
+ export declare function getAccountIamGroupsV2Output(args: GetAccountIamGroupsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamGroupsV2Result>;
67
81
  /**
68
82
  * A collection of arguments for invoking getAccountIamGroupsV2.
69
83
  */
@@ -77,5 +91,10 @@ export interface GetAccountIamGroupsV2OutputArgs {
77
91
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
78
92
  */
79
93
  pageSize?: pulumi.Input<number | undefined>;
94
+ /**
95
+ * The parent resource name of the account whose groups to list.
96
+ * Format: accounts/{account_id}
97
+ */
98
+ parent: pulumi.Input<string>;
80
99
  }
81
100
  //# sourceMappingURL=getAccountIamGroupsV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamGroupsV2.d.ts","sourceRoot":"","sources":["../getAccountIamGroupsV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAOzI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,W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,CAAC,MAAM,EAAE,OAAO,CAAC,0BAA0B,EAAE,CAAC;IACtD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAOhK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -45,15 +45,17 @@ const utilities = __importStar(require("./utilities"));
45
45
  * import * as pulumi from "@pulumi/pulumi";
46
46
  * import * as databricks from "@pulumi/databricks";
47
47
  *
48
- * const _this = databricks.getAccountIamGroupsV2({});
48
+ * const _this = databricks.getAccountIamGroupsV2({
49
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
50
+ * });
49
51
  * ```
50
52
  */
51
53
  function getAccountIamGroupsV2(args, opts) {
52
- args = args || {};
53
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
55
  return pulumi.runtime.invoke("databricks:index/getAccountIamGroupsV2:getAccountIamGroupsV2", {
55
56
  "filter": args.filter,
56
57
  "pageSize": args.pageSize,
58
+ "parent": args.parent,
57
59
  }, opts);
58
60
  }
59
61
  exports.getAccountIamGroupsV2 = getAccountIamGroupsV2;
@@ -74,15 +76,17 @@ exports.getAccountIamGroupsV2 = getAccountIamGroupsV2;
74
76
  * import * as pulumi from "@pulumi/pulumi";
75
77
  * import * as databricks from "@pulumi/databricks";
76
78
  *
77
- * const _this = databricks.getAccountIamGroupsV2({});
79
+ * const _this = databricks.getAccountIamGroupsV2({
80
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
81
+ * });
78
82
  * ```
79
83
  */
80
84
  function getAccountIamGroupsV2Output(args, opts) {
81
- args = args || {};
82
85
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
83
86
  return pulumi.runtime.invokeOutput("databricks:index/getAccountIamGroupsV2:getAccountIamGroupsV2", {
84
87
  "filter": args.filter,
85
88
  "pageSize": args.pageSize,
89
+ "parent": args.parent,
86
90
  }, opts);
87
91
  }
88
92
  exports.getAccountIamGroupsV2Output = getAccountIamGroupsV2Output;
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamGroupsV2.js","sourceRoot":"","sources":["../getAccountIamGroupsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,8DAA8D,EAAE;QACzF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAyBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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AAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
@@ -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 account service principal by its internal ID.
7
+ * Reads a single account service principal by its resource name, `accounts/{account_id}/service-principals/{service_principal_id}`.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as databricks from "@pulumi/databricks";
18
18
  *
19
19
  * const _this = databricks.getAccountIamServicePrincipalV2({
20
- * servicePrincipalId: "123456789",
20
+ * name: "accounts/00000000-0000-0000-0000-000000000000/service-principals/123456789",
21
21
  * });
22
22
  * ```
23
23
  */
@@ -27,9 +27,11 @@ export declare function getAccountIamServicePrincipalV2(args: GetAccountIamServi
27
27
  */
28
28
  export interface GetAccountIamServicePrincipalV2Args {
29
29
  /**
30
- * Internal service principal ID of the service principal in Databricks
30
+ * The resource name of the service principal. The format depends on the API that returned it:
31
+ * - Account-scoped: accounts/{account_id}/service-principals/{service_principal_id}
32
+ * - Workspace-scoped: service-principals/{service_principal_id}
31
33
  */
32
- servicePrincipalId: string;
34
+ name: string;
33
35
  }
34
36
  /**
35
37
  * A collection of values returned by getAccountIamServicePrincipalV2.
@@ -56,6 +58,17 @@ export interface GetAccountIamServicePrincipalV2Result {
56
58
  * (string) - ExternalId of the service principal in the customer's IdP
57
59
  */
58
60
  readonly externalId: string;
61
+ /**
62
+ * (string) - The resource name of the service principal. The format depends on the API that returned it:
63
+ * - Account-scoped: accounts/{account_id}/service-principals/{service_principal_id}
64
+ * - Workspace-scoped: service-principals/{service_principal_id}
65
+ */
66
+ readonly name: string;
67
+ /**
68
+ * (string) - The resource name of the account that contains the service principal,
69
+ * `accounts/{account_id}`. Both the account-scoped and workspace-scoped APIs return it
70
+ */
71
+ readonly parent: string;
59
72
  /**
60
73
  * (string) - Internal service principal ID of the service principal in Databricks
61
74
  */
@@ -66,7 +79,7 @@ export interface GetAccountIamServicePrincipalV2Result {
66
79
  *
67
80
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
68
81
  *
69
- * Reads a single account service principal by its internal ID.
82
+ * Reads a single account service principal by its resource name, `accounts/{account_id}/service-principals/{service_principal_id}`.
70
83
  *
71
84
  * ## Example Usage
72
85
  *
@@ -79,7 +92,7 @@ export interface GetAccountIamServicePrincipalV2Result {
79
92
  * import * as databricks from "@pulumi/databricks";
80
93
  *
81
94
  * const _this = databricks.getAccountIamServicePrincipalV2({
82
- * servicePrincipalId: "123456789",
95
+ * name: "accounts/00000000-0000-0000-0000-000000000000/service-principals/123456789",
83
96
  * });
84
97
  * ```
85
98
  */
@@ -89,8 +102,10 @@ export declare function getAccountIamServicePrincipalV2Output(args: GetAccountIa
89
102
  */
90
103
  export interface GetAccountIamServicePrincipalV2OutputArgs {
91
104
  /**
92
- * Internal service principal ID of the service principal in Databricks
105
+ * The resource name of the service principal. The format depends on the API that returned it:
106
+ * - Account-scoped: accounts/{account_id}/service-principals/{service_principal_id}
107
+ * - Workspace-scoped: service-principals/{service_principal_id}
93
108
  */
94
- servicePrincipalId: pulumi.Input<string>;
109
+ name: pulumi.Input<string>;
95
110
  }
96
111
  //# sourceMappingURL=getAccountIamServicePrincipalV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamServicePrincipalV2.d.ts","sourceRoot":"","sources":["../getAccountIamServicePrincipalV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAKtK;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;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G;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;CACvC;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qCAAqC,CAAC,CAK9L;AAED;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;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 account service principal by its internal ID.
36
+ * Reads a single account service principal by its resource name, `accounts/{account_id}/service-principals/{service_principal_id}`.
37
37
  *
38
38
  * ## Example Usage
39
39
  *
@@ -46,14 +46,14 @@ const utilities = __importStar(require("./utilities"));
46
46
  * import * as databricks from "@pulumi/databricks";
47
47
  *
48
48
  * const _this = databricks.getAccountIamServicePrincipalV2({
49
- * servicePrincipalId: "123456789",
49
+ * name: "accounts/00000000-0000-0000-0000-000000000000/service-principals/123456789",
50
50
  * });
51
51
  * ```
52
52
  */
53
53
  function getAccountIamServicePrincipalV2(args, opts) {
54
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
55
55
  return pulumi.runtime.invoke("databricks:index/getAccountIamServicePrincipalV2:getAccountIamServicePrincipalV2", {
56
- "servicePrincipalId": args.servicePrincipalId,
56
+ "name": args.name,
57
57
  }, opts);
58
58
  }
59
59
  exports.getAccountIamServicePrincipalV2 = getAccountIamServicePrincipalV2;
@@ -62,7 +62,7 @@ exports.getAccountIamServicePrincipalV2 = getAccountIamServicePrincipalV2;
62
62
  *
63
63
  * [API Documentation](https://docs.databricks.com/api/account/iamv2)
64
64
  *
65
- * Reads a single account service principal by its internal ID.
65
+ * Reads a single account service principal by its resource name, `accounts/{account_id}/service-principals/{service_principal_id}`.
66
66
  *
67
67
  * ## Example Usage
68
68
  *
@@ -75,14 +75,14 @@ exports.getAccountIamServicePrincipalV2 = getAccountIamServicePrincipalV2;
75
75
  * import * as databricks from "@pulumi/databricks";
76
76
  *
77
77
  * const _this = databricks.getAccountIamServicePrincipalV2({
78
- * servicePrincipalId: "123456789",
78
+ * name: "accounts/00000000-0000-0000-0000-000000000000/service-principals/123456789",
79
79
  * });
80
80
  * ```
81
81
  */
82
82
  function getAccountIamServicePrincipalV2Output(args, opts) {
83
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
84
84
  return pulumi.runtime.invokeOutput("databricks:index/getAccountIamServicePrincipalV2:getAccountIamServicePrincipalV2", {
85
- "servicePrincipalId": args.servicePrincipalId,
85
+ "name": args.name,
86
86
  }, opts);
87
87
  }
88
88
  exports.getAccountIamServicePrincipalV2Output = getAccountIamServicePrincipalV2Output;
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamServicePrincipalV2.js","sourceRoot":"","sources":["../getAccountIamServicePrincipalV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM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Y,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sFAKC"}
@@ -17,10 +17,12 @@ import * as outputs from "./types/output";
17
17
  * import * as pulumi from "@pulumi/pulumi";
18
18
  * import * as databricks from "@pulumi/databricks";
19
19
  *
20
- * const _this = databricks.getAccountIamServicePrincipalsV2({});
20
+ * const _this = databricks.getAccountIamServicePrincipalsV2({
21
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
22
+ * });
21
23
  * ```
22
24
  */
23
- export declare function getAccountIamServicePrincipalsV2(args?: GetAccountIamServicePrincipalsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamServicePrincipalsV2Result>;
25
+ export declare function getAccountIamServicePrincipalsV2(args: GetAccountIamServicePrincipalsV2Args, opts?: pulumi.InvokeOptions): Promise<GetAccountIamServicePrincipalsV2Result>;
24
26
  /**
25
27
  * A collection of arguments for invoking getAccountIamServicePrincipalsV2.
26
28
  */
@@ -34,6 +36,11 @@ export interface GetAccountIamServicePrincipalsV2Args {
34
36
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
35
37
  */
36
38
  pageSize?: number;
39
+ /**
40
+ * The parent resource name of the account whose service principals to list.
41
+ * Format: accounts/{account_id}
42
+ */
43
+ parent: string;
37
44
  }
38
45
  /**
39
46
  * A collection of values returned by getAccountIamServicePrincipalsV2.
@@ -41,6 +48,11 @@ export interface GetAccountIamServicePrincipalsV2Args {
41
48
  export interface GetAccountIamServicePrincipalsV2Result {
42
49
  readonly filter?: string;
43
50
  readonly pageSize?: number;
51
+ /**
52
+ * (string) - The resource name of the account that contains the service principal,
53
+ * `accounts/{account_id}`. Both the account-scoped and workspace-scoped APIs return it
54
+ */
55
+ readonly parent: string;
44
56
  readonly servicePrincipals: outputs.GetAccountIamServicePrincipalsV2ServicePrincipal[];
45
57
  }
46
58
  /**
@@ -60,10 +72,12 @@ export interface GetAccountIamServicePrincipalsV2Result {
60
72
  * import * as pulumi from "@pulumi/pulumi";
61
73
  * import * as databricks from "@pulumi/databricks";
62
74
  *
63
- * const _this = databricks.getAccountIamServicePrincipalsV2({});
75
+ * const _this = databricks.getAccountIamServicePrincipalsV2({
76
+ * parent: "accounts/00000000-0000-0000-0000-000000000000",
77
+ * });
64
78
  * ```
65
79
  */
66
- export declare function getAccountIamServicePrincipalsV2Output(args?: GetAccountIamServicePrincipalsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamServicePrincipalsV2Result>;
80
+ export declare function getAccountIamServicePrincipalsV2Output(args: GetAccountIamServicePrincipalsV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountIamServicePrincipalsV2Result>;
67
81
  /**
68
82
  * A collection of arguments for invoking getAccountIamServicePrincipalsV2.
69
83
  */
@@ -77,5 +91,10 @@ export interface GetAccountIamServicePrincipalsV2OutputArgs {
77
91
  * If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
78
92
  */
79
93
  pageSize?: pulumi.Input<number | undefined>;
94
+ /**
95
+ * The parent resource name of the account whose service principals to list.
96
+ * Format: accounts/{account_id}
97
+ */
98
+ parent: pulumi.Input<string>;
80
99
  }
81
100
  //# sourceMappingURL=getAccountIamServicePrincipalsV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccountIamServicePrincipalsV2.d.ts","sourceRoot":"","sources":["../getAccountIamServicePrincipalsV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,CAAC,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