@pulumi/mongodbatlas 3.39.0-alpha.1766556689 → 4.0.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 (523) hide show
  1. package/accessListApiKey.d.ts +3 -0
  2. package/accessListApiKey.js +3 -0
  3. package/accessListApiKey.js.map +1 -1
  4. package/advancedCluster.d.ts +85 -40
  5. package/advancedCluster.js +4 -2
  6. package/advancedCluster.js.map +1 -1
  7. package/alertConfiguration.d.ts +15 -2
  8. package/alertConfiguration.js +5 -2
  9. package/alertConfiguration.js.map +1 -1
  10. package/apiKey.d.ts +3 -0
  11. package/apiKey.js +3 -0
  12. package/apiKey.js.map +1 -1
  13. package/apiKeyProjectAssignment.d.ts +3 -2
  14. package/apiKeyProjectAssignment.js +3 -2
  15. package/apiKeyProjectAssignment.js.map +1 -1
  16. package/auditing.d.ts +0 -2
  17. package/auditing.js +0 -2
  18. package/auditing.js.map +1 -1
  19. package/backupCompliancePolicy.d.ts +3 -0
  20. package/backupCompliancePolicy.js +3 -0
  21. package/backupCompliancePolicy.js.map +1 -1
  22. package/cloudBackupSchedule.d.ts +8 -8
  23. package/cloudBackupSnapshot.d.ts +16 -2
  24. package/cloudBackupSnapshot.js +6 -2
  25. package/cloudBackupSnapshot.js.map +1 -1
  26. package/cloudBackupSnapshotExportBucket.d.ts +4 -2
  27. package/cloudBackupSnapshotExportBucket.js +4 -2
  28. package/cloudBackupSnapshotExportBucket.js.map +1 -1
  29. package/cloudBackupSnapshotExportJob.d.ts +3 -2
  30. package/cloudBackupSnapshotExportJob.js +3 -2
  31. package/cloudBackupSnapshotExportJob.js.map +1 -1
  32. package/cloudBackupSnapshotRestoreJob.d.ts +3 -3
  33. package/cloudBackupSnapshotRestoreJob.js +3 -3
  34. package/cloudProviderAccessAuthorization.d.ts +36 -0
  35. package/cloudProviderAccessAuthorization.js.map +1 -1
  36. package/cloudProviderAccessSetup.d.ts +126 -0
  37. package/cloudProviderAccessSetup.js +59 -0
  38. package/cloudProviderAccessSetup.js.map +1 -1
  39. package/cloudUserOrgAssignment.d.ts +221 -0
  40. package/cloudUserOrgAssignment.js +137 -0
  41. package/cloudUserOrgAssignment.js.map +1 -0
  42. package/cloudUserProjectAssignment.d.ts +217 -0
  43. package/cloudUserProjectAssignment.js +141 -0
  44. package/cloudUserProjectAssignment.js.map +1 -0
  45. package/cloudUserTeamAssignment.d.ts +229 -0
  46. package/cloudUserTeamAssignment.js +139 -0
  47. package/cloudUserTeamAssignment.js.map +1 -0
  48. package/cluster.d.ts +4 -0
  49. package/cluster.js +4 -0
  50. package/cluster.js.map +1 -1
  51. package/clusterOutageSimulation.d.ts +15 -2
  52. package/clusterOutageSimulation.js +5 -2
  53. package/clusterOutageSimulation.js.map +1 -1
  54. package/config/vars.d.ts +12 -0
  55. package/config/vars.js +18 -0
  56. package/config/vars.js.map +1 -1
  57. package/customDbRole.d.ts +0 -2
  58. package/customDbRole.js +0 -2
  59. package/customDbRole.js.map +1 -1
  60. package/customDnsConfigurationClusterAws.d.ts +0 -2
  61. package/customDnsConfigurationClusterAws.js +0 -2
  62. package/customDnsConfigurationClusterAws.js.map +1 -1
  63. package/databaseUser.d.ts +3 -2
  64. package/databaseUser.js +3 -2
  65. package/databaseUser.js.map +1 -1
  66. package/encryptionAtRestPrivateEndpoint.d.ts +21 -2
  67. package/encryptionAtRestPrivateEndpoint.js +8 -2
  68. package/encryptionAtRestPrivateEndpoint.js.map +1 -1
  69. package/eventTrigger.d.ts +15 -130
  70. package/eventTrigger.js +0 -115
  71. package/eventTrigger.js.map +1 -1
  72. package/federatedDatabaseInstance.d.ts +16 -14
  73. package/federatedDatabaseInstance.js +4 -2
  74. package/federatedDatabaseInstance.js.map +1 -1
  75. package/federatedQueryLimit.d.ts +3 -2
  76. package/federatedQueryLimit.js +3 -2
  77. package/federatedQueryLimit.js.map +1 -1
  78. package/federatedSettingsIdentityProvider.d.ts +2 -2
  79. package/federatedSettingsIdentityProvider.js +2 -2
  80. package/federatedSettingsOrgConfig.d.ts +4 -2
  81. package/federatedSettingsOrgConfig.js +4 -2
  82. package/federatedSettingsOrgConfig.js.map +1 -1
  83. package/federatedSettingsOrgRoleMapping.d.ts +3 -2
  84. package/federatedSettingsOrgRoleMapping.js +3 -2
  85. package/federatedSettingsOrgRoleMapping.js.map +1 -1
  86. package/flexCluster.d.ts +18 -2
  87. package/flexCluster.js +7 -2
  88. package/flexCluster.js.map +1 -1
  89. package/getAdvancedCluster.d.ts +122 -52
  90. package/getAdvancedCluster.js +104 -30
  91. package/getAdvancedCluster.js.map +1 -1
  92. package/getAdvancedClusters.d.ts +153 -35
  93. package/getAdvancedClusters.js +150 -32
  94. package/getAdvancedClusters.js.map +1 -1
  95. package/getAlertConfiguration.d.ts +4 -4
  96. package/getAlertConfiguration.js +0 -4
  97. package/getAlertConfiguration.js.map +1 -1
  98. package/getAlertConfigurations.d.ts +0 -4
  99. package/getAlertConfigurations.js +0 -4
  100. package/getAlertConfigurations.js.map +1 -1
  101. package/getApiKeyProjectAssignment.d.ts +0 -4
  102. package/getApiKeyProjectAssignment.js +0 -4
  103. package/getApiKeyProjectAssignment.js.map +1 -1
  104. package/getApiKeyProjectAssignments.d.ts +0 -4
  105. package/getApiKeyProjectAssignments.js +0 -4
  106. package/getApiKeyProjectAssignments.js.map +1 -1
  107. package/getAtlasUser.d.ts +9 -7
  108. package/getAtlasUser.js +4 -4
  109. package/getAtlasUser.js.map +1 -1
  110. package/getAtlasUsers.d.ts +4 -4
  111. package/getAtlasUsers.js +4 -4
  112. package/getAuditing.d.ts +0 -4
  113. package/getAuditing.js +0 -4
  114. package/getAuditing.js.map +1 -1
  115. package/getBackupCompliancePolicy.d.ts +3 -3
  116. package/getCloudBackupSchedule.d.ts +0 -11
  117. package/getCloudBackupSchedule.js +0 -4
  118. package/getCloudBackupSchedule.js.map +1 -1
  119. package/getCloudBackupSnapshot.d.ts +0 -4
  120. package/getCloudBackupSnapshot.js +0 -4
  121. package/getCloudBackupSnapshot.js.map +1 -1
  122. package/getCloudBackupSnapshotExportBucket.d.ts +0 -4
  123. package/getCloudBackupSnapshotExportBucket.js +0 -4
  124. package/getCloudBackupSnapshotExportBucket.js.map +1 -1
  125. package/getCloudBackupSnapshotExportBuckets.d.ts +0 -4
  126. package/getCloudBackupSnapshotExportBuckets.js +0 -4
  127. package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
  128. package/getCloudBackupSnapshotExportJob.d.ts +0 -4
  129. package/getCloudBackupSnapshotExportJob.js +0 -4
  130. package/getCloudBackupSnapshotExportJob.js.map +1 -1
  131. package/getCloudBackupSnapshotExportJobs.d.ts +0 -4
  132. package/getCloudBackupSnapshotExportJobs.js +0 -4
  133. package/getCloudBackupSnapshotExportJobs.js.map +1 -1
  134. package/getCloudBackupSnapshotRestoreJob.d.ts +0 -4
  135. package/getCloudBackupSnapshotRestoreJob.js +0 -4
  136. package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
  137. package/getCloudBackupSnapshotRestoreJobs.d.ts +0 -4
  138. package/getCloudBackupSnapshotRestoreJobs.js +0 -4
  139. package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
  140. package/getCloudBackupSnapshots.d.ts +0 -4
  141. package/getCloudBackupSnapshots.js +0 -4
  142. package/getCloudBackupSnapshots.js.map +1 -1
  143. package/getCloudProviderAccessSetup.d.ts +0 -4
  144. package/getCloudProviderAccessSetup.js +0 -4
  145. package/getCloudProviderAccessSetup.js.map +1 -1
  146. package/getCloudUserOrgAssignment.d.ts +171 -0
  147. package/getCloudUserOrgAssignment.js +90 -0
  148. package/getCloudUserOrgAssignment.js.map +1 -0
  149. package/getCloudUserProjectAssignment.d.ts +117 -0
  150. package/getCloudUserProjectAssignment.js +92 -0
  151. package/getCloudUserProjectAssignment.js.map +1 -0
  152. package/getCloudUserTeamAssignment.d.ts +183 -0
  153. package/getCloudUserTeamAssignment.js +92 -0
  154. package/getCloudUserTeamAssignment.js.map +1 -0
  155. package/getClusters.d.ts +4 -4
  156. package/getClusters.js +4 -4
  157. package/getControlPlaneIpAddresses.d.ts +0 -4
  158. package/getControlPlaneIpAddresses.js +0 -4
  159. package/getControlPlaneIpAddresses.js.map +1 -1
  160. package/getCustomDbRole.d.ts +0 -4
  161. package/getCustomDbRole.js +0 -4
  162. package/getCustomDbRole.js.map +1 -1
  163. package/getCustomDbRoles.d.ts +0 -4
  164. package/getCustomDbRoles.js +0 -4
  165. package/getCustomDbRoles.js.map +1 -1
  166. package/getCustomDnsConfigurationClusterAws.d.ts +0 -4
  167. package/getCustomDnsConfigurationClusterAws.js +0 -4
  168. package/getCustomDnsConfigurationClusterAws.js.map +1 -1
  169. package/getDatabaseUser.d.ts +1 -5
  170. package/getDatabaseUser.js +0 -4
  171. package/getDatabaseUser.js.map +1 -1
  172. package/getDatabaseUsers.d.ts +0 -4
  173. package/getDatabaseUsers.js +0 -4
  174. package/getDatabaseUsers.js.map +1 -1
  175. package/getEncryptionAtRest.d.ts +0 -4
  176. package/getEncryptionAtRest.js +0 -4
  177. package/getEncryptionAtRest.js.map +1 -1
  178. package/getEncryptionAtRestPrivateEndpoint.d.ts +0 -4
  179. package/getEncryptionAtRestPrivateEndpoint.js +0 -4
  180. package/getEncryptionAtRestPrivateEndpoint.js.map +1 -1
  181. package/getEncryptionAtRestPrivateEndpoints.d.ts +0 -4
  182. package/getEncryptionAtRestPrivateEndpoints.js +0 -4
  183. package/getEncryptionAtRestPrivateEndpoints.js.map +1 -1
  184. package/getEventTrigger.d.ts +0 -4
  185. package/getEventTrigger.js +0 -4
  186. package/getEventTrigger.js.map +1 -1
  187. package/getEventTriggers.d.ts +0 -4
  188. package/getEventTriggers.js +0 -4
  189. package/getEventTriggers.js.map +1 -1
  190. package/getFederatedDatabaseInstance.d.ts +45 -15
  191. package/getFederatedDatabaseInstance.js +40 -10
  192. package/getFederatedDatabaseInstance.js.map +1 -1
  193. package/getFederatedDatabaseInstances.d.ts +0 -4
  194. package/getFederatedDatabaseInstances.js +0 -4
  195. package/getFederatedDatabaseInstances.js.map +1 -1
  196. package/getFederatedQueryLimit.d.ts +0 -4
  197. package/getFederatedQueryLimit.js +0 -4
  198. package/getFederatedQueryLimit.js.map +1 -1
  199. package/getFederatedQueryLimits.d.ts +0 -4
  200. package/getFederatedQueryLimits.js +0 -4
  201. package/getFederatedQueryLimits.js.map +1 -1
  202. package/getFederatedSettings.d.ts +0 -4
  203. package/getFederatedSettings.js +0 -4
  204. package/getFederatedSettings.js.map +1 -1
  205. package/getFederatedSettingsIdentityProvider.d.ts +0 -4
  206. package/getFederatedSettingsIdentityProvider.js +0 -4
  207. package/getFederatedSettingsIdentityProvider.js.map +1 -1
  208. package/getFederatedSettingsIdentityProviders.d.ts +0 -4
  209. package/getFederatedSettingsIdentityProviders.js +0 -4
  210. package/getFederatedSettingsIdentityProviders.js.map +1 -1
  211. package/getFederatedSettingsOrgConfig.d.ts +0 -4
  212. package/getFederatedSettingsOrgConfig.js +0 -4
  213. package/getFederatedSettingsOrgConfig.js.map +1 -1
  214. package/getFederatedSettingsOrgConfigs.d.ts +0 -4
  215. package/getFederatedSettingsOrgConfigs.js +0 -4
  216. package/getFederatedSettingsOrgConfigs.js.map +1 -1
  217. package/getFederatedSettingsOrgRoleMapping.d.ts +0 -4
  218. package/getFederatedSettingsOrgRoleMapping.js +0 -4
  219. package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
  220. package/getFederatedSettingsOrgRoleMappings.d.ts +0 -4
  221. package/getFederatedSettingsOrgRoleMappings.js +0 -4
  222. package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
  223. package/getFlexCluster.d.ts +0 -4
  224. package/getFlexCluster.js +0 -4
  225. package/getFlexCluster.js.map +1 -1
  226. package/getFlexClusters.d.ts +0 -4
  227. package/getFlexClusters.js +0 -4
  228. package/getFlexClusters.js.map +1 -1
  229. package/getFlexRestoreJob.d.ts +0 -4
  230. package/getFlexRestoreJob.js +0 -4
  231. package/getFlexRestoreJob.js.map +1 -1
  232. package/getFlexRestoreJobs.d.ts +0 -4
  233. package/getFlexRestoreJobs.js +0 -4
  234. package/getFlexRestoreJobs.js.map +1 -1
  235. package/getFlexSnapshot.d.ts +0 -4
  236. package/getFlexSnapshot.js +0 -4
  237. package/getFlexSnapshot.js.map +1 -1
  238. package/getFlexSnapshots.d.ts +0 -4
  239. package/getFlexSnapshots.js +0 -4
  240. package/getFlexSnapshots.js.map +1 -1
  241. package/getGlobalClusterConfig.d.ts +0 -12
  242. package/getGlobalClusterConfig.js +0 -4
  243. package/getGlobalClusterConfig.js.map +1 -1
  244. package/getLdapConfiguration.d.ts +0 -4
  245. package/getLdapConfiguration.js +0 -4
  246. package/getLdapConfiguration.js.map +1 -1
  247. package/getLdapVerify.d.ts +0 -4
  248. package/getLdapVerify.js +0 -4
  249. package/getLdapVerify.js.map +1 -1
  250. package/getMaintenanceWindow.d.ts +6 -6
  251. package/getMaintenanceWindow.js +4 -4
  252. package/getMongodbEmployeeAccessGrant.d.ts +0 -4
  253. package/getMongodbEmployeeAccessGrant.js +0 -4
  254. package/getMongodbEmployeeAccessGrant.js.map +1 -1
  255. package/getNetworkContainer.d.ts +0 -4
  256. package/getNetworkContainer.js +0 -4
  257. package/getNetworkContainer.js.map +1 -1
  258. package/getNetworkContainers.d.ts +0 -4
  259. package/getNetworkContainers.js +0 -4
  260. package/getNetworkContainers.js.map +1 -1
  261. package/getNetworkPeering.d.ts +0 -4
  262. package/getNetworkPeering.js +0 -4
  263. package/getNetworkPeering.js.map +1 -1
  264. package/getNetworkPeerings.d.ts +0 -4
  265. package/getNetworkPeerings.js +0 -4
  266. package/getNetworkPeerings.js.map +1 -1
  267. package/getOnlineArchive.d.ts +2 -6
  268. package/getOnlineArchive.js +2 -6
  269. package/getOnlineArchive.js.map +1 -1
  270. package/getOnlineArchives.d.ts +2 -6
  271. package/getOnlineArchives.js +2 -6
  272. package/getOnlineArchives.js.map +1 -1
  273. package/getOrgInvitation.d.ts +4 -4
  274. package/getOrgInvitation.js +4 -4
  275. package/getOrganization.d.ts +4 -4
  276. package/getOrganization.js +0 -4
  277. package/getOrganization.js.map +1 -1
  278. package/getOrganizations.d.ts +0 -4
  279. package/getOrganizations.js +0 -4
  280. package/getOrganizations.js.map +1 -1
  281. package/getPrivateEndpointRegionalMode.d.ts +0 -4
  282. package/getPrivateEndpointRegionalMode.js +0 -4
  283. package/getPrivateEndpointRegionalMode.js.map +1 -1
  284. package/getPrivateLinkEndpoint.d.ts +0 -4
  285. package/getPrivateLinkEndpoint.js +0 -4
  286. package/getPrivateLinkEndpoint.js.map +1 -1
  287. package/getPrivateLinkEndpointService.d.ts +0 -4
  288. package/getPrivateLinkEndpointService.js +0 -4
  289. package/getPrivateLinkEndpointService.js.map +1 -1
  290. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +2 -6
  291. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +0 -4
  292. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  293. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +0 -4
  294. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +0 -4
  295. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
  296. package/getProject.d.ts +11 -57
  297. package/getProject.js +0 -56
  298. package/getProject.js.map +1 -1
  299. package/getProjectInvitation.d.ts +4 -4
  300. package/getProjectInvitation.js +4 -4
  301. package/getProjectIpAccessList.d.ts +0 -4
  302. package/getProjectIpAccessList.js +0 -4
  303. package/getProjectIpAccessList.js.map +1 -1
  304. package/getProjectIpAddresses.d.ts +0 -4
  305. package/getProjectIpAddresses.js +0 -4
  306. package/getProjectIpAddresses.js.map +1 -1
  307. package/getProjects.d.ts +1 -31
  308. package/getProjects.js +0 -30
  309. package/getProjects.js.map +1 -1
  310. package/getPushBasedLogExport.d.ts +0 -4
  311. package/getPushBasedLogExport.js +0 -4
  312. package/getPushBasedLogExport.js.map +1 -1
  313. package/getResourcePolicies.d.ts +0 -4
  314. package/getResourcePolicies.js +0 -4
  315. package/getResourcePolicies.js.map +1 -1
  316. package/getResourcePolicy.d.ts +0 -4
  317. package/getResourcePolicy.js +0 -4
  318. package/getResourcePolicy.js.map +1 -1
  319. package/getRolesOrgId.d.ts +3 -7
  320. package/getRolesOrgId.js +2 -6
  321. package/getRolesOrgId.js.map +1 -1
  322. package/getSearchDeployment.d.ts +0 -4
  323. package/getSearchDeployment.js +0 -4
  324. package/getSearchDeployment.js.map +1 -1
  325. package/getSearchIndex.d.ts +9 -5
  326. package/getSearchIndex.js +0 -4
  327. package/getSearchIndex.js.map +1 -1
  328. package/getSearchIndexes.d.ts +0 -4
  329. package/getSearchIndexes.js +0 -4
  330. package/getSearchIndexes.js.map +1 -1
  331. package/getServerlessInstance.d.ts +2 -20
  332. package/getServerlessInstance.js +2 -20
  333. package/getServerlessInstance.js.map +1 -1
  334. package/getServerlessInstances.d.ts +2 -2
  335. package/getServerlessInstances.js +2 -2
  336. package/getStreamAccountDetails.d.ts +0 -4
  337. package/getStreamAccountDetails.js +0 -4
  338. package/getStreamAccountDetails.js.map +1 -1
  339. package/getStreamConnection.d.ts +55 -13
  340. package/getStreamConnection.js +30 -6
  341. package/getStreamConnection.js.map +1 -1
  342. package/getStreamConnections.d.ts +28 -12
  343. package/getStreamConnections.js +4 -6
  344. package/getStreamConnections.js.map +1 -1
  345. package/getStreamInstance.d.ts +42 -2
  346. package/getStreamInstance.js +42 -2
  347. package/getStreamInstance.js.map +1 -1
  348. package/getStreamInstances.d.ts +38 -2
  349. package/getStreamInstances.js +38 -2
  350. package/getStreamInstances.js.map +1 -1
  351. package/getStreamPrivatelinkEndpoint.d.ts +53 -4
  352. package/getStreamPrivatelinkEndpoint.js +52 -4
  353. package/getStreamPrivatelinkEndpoint.js.map +1 -1
  354. package/getStreamPrivatelinkEndpoints.d.ts +52 -4
  355. package/getStreamPrivatelinkEndpoints.js +52 -4
  356. package/getStreamPrivatelinkEndpoints.js.map +1 -1
  357. package/getStreamProcessor.d.ts +28 -29
  358. package/getStreamProcessor.js +18 -20
  359. package/getStreamProcessor.js.map +1 -1
  360. package/getStreamProcessors.d.ts +25 -26
  361. package/getStreamProcessors.js +18 -20
  362. package/getStreamProcessors.js.map +1 -1
  363. package/getStreamWorkspace.d.ts +92 -0
  364. package/getStreamWorkspace.js +66 -0
  365. package/getStreamWorkspace.js.map +1 -0
  366. package/getStreamWorkspaces.d.ts +101 -0
  367. package/getStreamWorkspaces.js +66 -0
  368. package/getStreamWorkspaces.js.map +1 -0
  369. package/getTeam.d.ts +8 -5
  370. package/getTeam.js +0 -4
  371. package/getTeam.js.map +1 -1
  372. package/getTeamProjectAssignment.d.ts +88 -0
  373. package/getTeamProjectAssignment.js +74 -0
  374. package/getTeamProjectAssignment.js.map +1 -0
  375. package/getThirdPartyIntegration.d.ts +0 -4
  376. package/getThirdPartyIntegration.js +0 -4
  377. package/getThirdPartyIntegration.js.map +1 -1
  378. package/getThirdPartyIntegrations.d.ts +0 -4
  379. package/getThirdPartyIntegrations.js +0 -4
  380. package/getThirdPartyIntegrations.js.map +1 -1
  381. package/getX509AuthenticationDatabaseUser.d.ts +0 -4
  382. package/getX509AuthenticationDatabaseUser.js +0 -4
  383. package/getX509AuthenticationDatabaseUser.js.map +1 -1
  384. package/globalClusterConfig.d.ts +0 -18
  385. package/globalClusterConfig.js +0 -4
  386. package/globalClusterConfig.js.map +1 -1
  387. package/index.d.ts +33 -36
  388. package/index.js +49 -50
  389. package/index.js.map +1 -1
  390. package/ldapConfiguration.d.ts +0 -2
  391. package/ldapConfiguration.js +0 -2
  392. package/ldapConfiguration.js.map +1 -1
  393. package/ldapVerify.d.ts +0 -2
  394. package/ldapVerify.js +0 -2
  395. package/ldapVerify.js.map +1 -1
  396. package/maintenanceWindow.d.ts +19 -11
  397. package/maintenanceWindow.js +9 -3
  398. package/maintenanceWindow.js.map +1 -1
  399. package/mongodbEmployeeAccessGrant.d.ts +3 -2
  400. package/mongodbEmployeeAccessGrant.js +3 -2
  401. package/mongodbEmployeeAccessGrant.js.map +1 -1
  402. package/networkContainer.d.ts +3 -2
  403. package/networkContainer.js +3 -2
  404. package/networkContainer.js.map +1 -1
  405. package/networkPeering.d.ts +18 -8
  406. package/networkPeering.js +2 -2
  407. package/networkPeering.js.map +1 -1
  408. package/onlineArchive.d.ts +17 -5
  409. package/onlineArchive.js +4 -2
  410. package/onlineArchive.js.map +1 -1
  411. package/orgInvitation.d.ts +3 -0
  412. package/orgInvitation.js +3 -0
  413. package/orgInvitation.js.map +1 -1
  414. package/organization.d.ts +5 -2
  415. package/organization.js +5 -2
  416. package/organization.js.map +1 -1
  417. package/package.json +2 -2
  418. package/privateEndpointRegionalMode.d.ts +0 -2
  419. package/privateEndpointRegionalMode.js +0 -2
  420. package/privateEndpointRegionalMode.js.map +1 -1
  421. package/privateLinkEndpoint.d.ts +16 -2
  422. package/privateLinkEndpoint.js +6 -2
  423. package/privateLinkEndpoint.js.map +1 -1
  424. package/privateLinkEndpointService.d.ts +12 -0
  425. package/privateLinkEndpointService.js +2 -0
  426. package/privateLinkEndpointService.js.map +1 -1
  427. package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +6 -5
  428. package/privatelinkEndpointServiceDataFederationOnlineArchive.js +3 -2
  429. package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  430. package/project.d.ts +12 -15
  431. package/project.js +3 -15
  432. package/project.js.map +1 -1
  433. package/projectApiKey.d.ts +3 -0
  434. package/projectApiKey.js +3 -0
  435. package/projectApiKey.js.map +1 -1
  436. package/projectInvitation.d.ts +3 -0
  437. package/projectInvitation.js +3 -0
  438. package/projectInvitation.js.map +1 -1
  439. package/projectIpAccessList.d.ts +5 -2
  440. package/projectIpAccessList.js +5 -2
  441. package/projectIpAccessList.js.map +1 -1
  442. package/provider.d.ts +24 -0
  443. package/provider.js +3 -0
  444. package/provider.js.map +1 -1
  445. package/pushBasedLogExport.d.ts +15 -0
  446. package/pushBasedLogExport.js +5 -0
  447. package/pushBasedLogExport.js.map +1 -1
  448. package/resourcePolicy.d.ts +0 -2
  449. package/resourcePolicy.js +0 -2
  450. package/resourcePolicy.js.map +1 -1
  451. package/searchDeployment.d.ts +7 -6
  452. package/searchDeployment.js +3 -2
  453. package/searchDeployment.js.map +1 -1
  454. package/searchIndex.d.ts +50 -5
  455. package/searchIndex.js +27 -2
  456. package/searchIndex.js.map +1 -1
  457. package/serverlessInstance.d.ts +1 -10
  458. package/serverlessInstance.js +1 -10
  459. package/serverlessInstance.js.map +1 -1
  460. package/streamConnection.d.ts +77 -17
  461. package/streamConnection.js +47 -12
  462. package/streamConnection.js.map +1 -1
  463. package/streamInstance.d.ts +4 -4
  464. package/streamInstance.js +4 -4
  465. package/streamPrivatelinkEndpoint.d.ts +55 -5
  466. package/streamPrivatelinkEndpoint.js +36 -2
  467. package/streamPrivatelinkEndpoint.js.map +1 -1
  468. package/streamProcessor.d.ts +52 -18
  469. package/streamProcessor.js +17 -13
  470. package/streamProcessor.js.map +1 -1
  471. package/streamWorkspace.d.ts +144 -0
  472. package/streamWorkspace.js +116 -0
  473. package/streamWorkspace.js.map +1 -0
  474. package/team.d.ts +14 -6
  475. package/team.js +4 -5
  476. package/team.js.map +1 -1
  477. package/teamProjectAssignment.d.ts +108 -0
  478. package/teamProjectAssignment.js +98 -0
  479. package/teamProjectAssignment.js.map +1 -0
  480. package/thirdPartyIntegration.d.ts +3 -2
  481. package/thirdPartyIntegration.js +3 -2
  482. package/thirdPartyIntegration.js.map +1 -1
  483. package/types/input.d.ts +252 -249
  484. package/types/output.d.ts +1078 -751
  485. package/x509authenticationDatabaseUser.d.ts +0 -2
  486. package/x509authenticationDatabaseUser.js +0 -2
  487. package/x509authenticationDatabaseUser.js.map +1 -1
  488. package/dataLakePipeline.d.ts +0 -239
  489. package/dataLakePipeline.js +0 -145
  490. package/dataLakePipeline.js.map +0 -1
  491. package/get509AuthenticationDatabaseUser.d.ts +0 -190
  492. package/get509AuthenticationDatabaseUser.js +0 -170
  493. package/get509AuthenticationDatabaseUser.js.map +0 -1
  494. package/getDataLakePipeline.d.ts +0 -230
  495. package/getDataLakePipeline.js +0 -162
  496. package/getDataLakePipeline.js.map +0 -1
  497. package/getDataLakePipelineRun.d.ts +0 -104
  498. package/getDataLakePipelineRun.js +0 -44
  499. package/getDataLakePipelineRun.js.map +0 -1
  500. package/getDataLakePipelineRuns.d.ts +0 -137
  501. package/getDataLakePipelineRuns.js +0 -116
  502. package/getDataLakePipelineRuns.js.map +0 -1
  503. package/getDataLakePipelines.d.ts +0 -58
  504. package/getDataLakePipelines.js +0 -40
  505. package/getDataLakePipelines.js.map +0 -1
  506. package/getPrivatelinkEndpointServiceServerless.d.ts +0 -220
  507. package/getPrivatelinkEndpointServiceServerless.js +0 -178
  508. package/getPrivatelinkEndpointServiceServerless.js.map +0 -1
  509. package/getPrivatelinkEndpointsServiceServerless.d.ts +0 -187
  510. package/getPrivatelinkEndpointsServiceServerless.js +0 -166
  511. package/getPrivatelinkEndpointsServiceServerless.js.map +0 -1
  512. package/getTeams.d.ts +0 -46
  513. package/getTeams.js +0 -40
  514. package/getTeams.js.map +0 -1
  515. package/privatelinkEndpointServerless.d.ts +0 -143
  516. package/privatelinkEndpointServerless.js +0 -109
  517. package/privatelinkEndpointServerless.js.map +0 -1
  518. package/privatelinkEndpointServiceServerless.d.ts +0 -236
  519. package/privatelinkEndpointServiceServerless.js +0 -177
  520. package/privatelinkEndpointServiceServerless.js.map +0 -1
  521. package/teams.d.ts +0 -52
  522. package/teams.js +0 -66
  523. package/teams.js.map +0 -1
@@ -0,0 +1,217 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment resource. It lets you manage the association between a cloud user and a project, enabling you to import, assign, remove, or update the user's membership.
4
+ *
5
+ * Depending on the user's current membership status in the project's organization, MongoDB Cloud handles invitations and access in different ways:
6
+ * - If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access.
7
+ * - If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access.
8
+ * - If the user is already active in the project's organization, MongoDB Cloud grants access to the project.
9
+ *
10
+ * > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
11
+ * endpoint cannot be managed with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
12
+ * To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ### S
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
21
+ *
22
+ * const example = new mongodbatlas.CloudUserProjectAssignment("example", {
23
+ * projectId: projectId,
24
+ * username: userEmail,
25
+ * roles: [
26
+ * "GROUP_OWNER",
27
+ * "GROUP_DATA_ACCESS_ADMIN",
28
+ * ],
29
+ * });
30
+ * const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
31
+ * projectId: projectId,
32
+ * username: username,
33
+ * }));
34
+ * const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
35
+ * projectId: projectId,
36
+ * userId: userId,
37
+ * }));
38
+ * ```
39
+ *
40
+ * ### Further Examples
41
+ * - Cloud User Project Assignment
42
+ *
43
+ * ## Import
44
+ *
45
+ * Cloud User Project Assignment resource can be imported using the Project ID & Username OR Project ID & User ID, in the format `PROJECT_ID/USERNAME` OR `PROJECT_ID/USER_ID`.
46
+ *
47
+ * ```sh
48
+ * $ pulumi import mongodbatlas:index/cloudUserProjectAssignment:CloudUserProjectAssignment test 9f3a7c2e54b8d1a0e6f4b3c2/test-user@example.com
49
+ * ```
50
+ *
51
+ * OR
52
+ *
53
+ * ```sh
54
+ * $ pulumi import mongodbatlas:index/cloudUserProjectAssignment:CloudUserProjectAssignment test 9f3a7c2e54b8d1a0e6f4b3c2/5f18367ccb7a503a2b481b7a
55
+ * ```
56
+ *
57
+ * For more information, see: [MongoDB Atlas API - Cloud Users](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-addprojectuser) Documentation.
58
+ */
59
+ export declare class CloudUserProjectAssignment extends pulumi.CustomResource {
60
+ /**
61
+ * Get an existing CloudUserProjectAssignment resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudUserProjectAssignmentState, opts?: pulumi.CustomResourceOptions): CloudUserProjectAssignment;
70
+ /**
71
+ * Returns true if the given object is an instance of CloudUserProjectAssignment. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj: any): obj is CloudUserProjectAssignment;
75
+ /**
76
+ * Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
77
+ */
78
+ readonly country: pulumi.Output<string>;
79
+ /**
80
+ * Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
81
+ */
82
+ readonly createdAt: pulumi.Output<string>;
83
+ /**
84
+ * First or given name that belongs to the MongoDB Cloud user.
85
+ */
86
+ readonly firstName: pulumi.Output<string>;
87
+ /**
88
+ * Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
89
+ */
90
+ readonly invitationCreatedAt: pulumi.Output<string>;
91
+ /**
92
+ * Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
93
+ */
94
+ readonly invitationExpiresAt: pulumi.Output<string>;
95
+ /**
96
+ * Username of the MongoDB Cloud user who sent the invitation to join the organization.
97
+ */
98
+ readonly inviterUsername: pulumi.Output<string>;
99
+ /**
100
+ * Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
101
+ */
102
+ readonly lastAuth: pulumi.Output<string>;
103
+ /**
104
+ * Last name, family name, or surname that belongs to the MongoDB Cloud user.
105
+ */
106
+ readonly lastName: pulumi.Output<string>;
107
+ /**
108
+ * Mobile phone number that belongs to the MongoDB Cloud user.
109
+ */
110
+ readonly mobileNumber: pulumi.Output<string>;
111
+ /**
112
+ * String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
113
+ */
114
+ readonly orgMembershipStatus: pulumi.Output<string>;
115
+ /**
116
+ * Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
117
+ */
118
+ readonly projectId: pulumi.Output<string>;
119
+ /**
120
+ * One or more project-level roles to assign the MongoDB Cloud user.
121
+ */
122
+ readonly roles: pulumi.Output<string[]>;
123
+ /**
124
+ * Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
125
+ */
126
+ readonly userId: pulumi.Output<string>;
127
+ /**
128
+ * Email address that represents the username of the MongoDB Cloud user.
129
+ */
130
+ readonly username: pulumi.Output<string>;
131
+ /**
132
+ * Create a CloudUserProjectAssignment resource with the given unique name, arguments, and options.
133
+ *
134
+ * @param name The _unique_ name of the resource.
135
+ * @param args The arguments to use to populate this resource's properties.
136
+ * @param opts A bag of options that control this resource's behavior.
137
+ */
138
+ constructor(name: string, args: CloudUserProjectAssignmentArgs, opts?: pulumi.CustomResourceOptions);
139
+ }
140
+ /**
141
+ * Input properties used for looking up and filtering CloudUserProjectAssignment resources.
142
+ */
143
+ export interface CloudUserProjectAssignmentState {
144
+ /**
145
+ * Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
146
+ */
147
+ country?: pulumi.Input<string>;
148
+ /**
149
+ * Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
150
+ */
151
+ createdAt?: pulumi.Input<string>;
152
+ /**
153
+ * First or given name that belongs to the MongoDB Cloud user.
154
+ */
155
+ firstName?: pulumi.Input<string>;
156
+ /**
157
+ * Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
158
+ */
159
+ invitationCreatedAt?: pulumi.Input<string>;
160
+ /**
161
+ * Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
162
+ */
163
+ invitationExpiresAt?: pulumi.Input<string>;
164
+ /**
165
+ * Username of the MongoDB Cloud user who sent the invitation to join the organization.
166
+ */
167
+ inviterUsername?: pulumi.Input<string>;
168
+ /**
169
+ * Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
170
+ */
171
+ lastAuth?: pulumi.Input<string>;
172
+ /**
173
+ * Last name, family name, or surname that belongs to the MongoDB Cloud user.
174
+ */
175
+ lastName?: pulumi.Input<string>;
176
+ /**
177
+ * Mobile phone number that belongs to the MongoDB Cloud user.
178
+ */
179
+ mobileNumber?: pulumi.Input<string>;
180
+ /**
181
+ * String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
182
+ */
183
+ orgMembershipStatus?: pulumi.Input<string>;
184
+ /**
185
+ * Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
186
+ */
187
+ projectId?: pulumi.Input<string>;
188
+ /**
189
+ * One or more project-level roles to assign the MongoDB Cloud user.
190
+ */
191
+ roles?: pulumi.Input<pulumi.Input<string>[]>;
192
+ /**
193
+ * Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
194
+ */
195
+ userId?: pulumi.Input<string>;
196
+ /**
197
+ * Email address that represents the username of the MongoDB Cloud user.
198
+ */
199
+ username?: pulumi.Input<string>;
200
+ }
201
+ /**
202
+ * The set of arguments for constructing a CloudUserProjectAssignment resource.
203
+ */
204
+ export interface CloudUserProjectAssignmentArgs {
205
+ /**
206
+ * Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
207
+ */
208
+ projectId: pulumi.Input<string>;
209
+ /**
210
+ * One or more project-level roles to assign the MongoDB Cloud user.
211
+ */
212
+ roles: pulumi.Input<pulumi.Input<string>[]>;
213
+ /**
214
+ * Email address that represents the username of the MongoDB Cloud user.
215
+ */
216
+ username: pulumi.Input<string>;
217
+ }
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CloudUserProjectAssignment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment resource. It lets you manage the association between a cloud user and a project, enabling you to import, assign, remove, or update the user's membership.
10
+ *
11
+ * Depending on the user's current membership status in the project's organization, MongoDB Cloud handles invitations and access in different ways:
12
+ * - If the user has a pending invitation to join the project's organization, MongoDB Cloud modifies it and grants project access.
13
+ * - If the user doesn't have an invitation to join the organization, MongoDB Cloud sends a new invitation that grants the user organization and project access.
14
+ * - If the user is already active in the project's organization, MongoDB Cloud grants access to the project.
15
+ *
16
+ * > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
17
+ * endpoint cannot be managed with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
18
+ * To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
19
+ *
20
+ * ## Example Usage
21
+ *
22
+ * ### S
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
27
+ *
28
+ * const example = new mongodbatlas.CloudUserProjectAssignment("example", {
29
+ * projectId: projectId,
30
+ * username: userEmail,
31
+ * roles: [
32
+ * "GROUP_OWNER",
33
+ * "GROUP_DATA_ACCESS_ADMIN",
34
+ * ],
35
+ * });
36
+ * const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
37
+ * projectId: projectId,
38
+ * username: username,
39
+ * }));
40
+ * const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
41
+ * projectId: projectId,
42
+ * userId: userId,
43
+ * }));
44
+ * ```
45
+ *
46
+ * ### Further Examples
47
+ * - Cloud User Project Assignment
48
+ *
49
+ * ## Import
50
+ *
51
+ * Cloud User Project Assignment resource can be imported using the Project ID & Username OR Project ID & User ID, in the format `PROJECT_ID/USERNAME` OR `PROJECT_ID/USER_ID`.
52
+ *
53
+ * ```sh
54
+ * $ pulumi import mongodbatlas:index/cloudUserProjectAssignment:CloudUserProjectAssignment test 9f3a7c2e54b8d1a0e6f4b3c2/test-user@example.com
55
+ * ```
56
+ *
57
+ * OR
58
+ *
59
+ * ```sh
60
+ * $ pulumi import mongodbatlas:index/cloudUserProjectAssignment:CloudUserProjectAssignment test 9f3a7c2e54b8d1a0e6f4b3c2/5f18367ccb7a503a2b481b7a
61
+ * ```
62
+ *
63
+ * For more information, see: [MongoDB Atlas API - Cloud Users](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-addprojectuser) Documentation.
64
+ */
65
+ class CloudUserProjectAssignment extends pulumi.CustomResource {
66
+ /**
67
+ * Get an existing CloudUserProjectAssignment resource's state with the given name, ID, and optional extra
68
+ * properties used to qualify the lookup.
69
+ *
70
+ * @param name The _unique_ name of the resulting resource.
71
+ * @param id The _unique_ provider ID of the resource to lookup.
72
+ * @param state Any extra arguments used during the lookup.
73
+ * @param opts Optional settings to control the behavior of the CustomResource.
74
+ */
75
+ static get(name, id, state, opts) {
76
+ return new CloudUserProjectAssignment(name, state, { ...opts, id: id });
77
+ }
78
+ /**
79
+ * Returns true if the given object is an instance of CloudUserProjectAssignment. This is designed to work even
80
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
81
+ */
82
+ static isInstance(obj) {
83
+ if (obj === undefined || obj === null) {
84
+ return false;
85
+ }
86
+ return obj['__pulumiType'] === CloudUserProjectAssignment.__pulumiType;
87
+ }
88
+ constructor(name, argsOrState, opts) {
89
+ let resourceInputs = {};
90
+ opts = opts || {};
91
+ if (opts.id) {
92
+ const state = argsOrState;
93
+ resourceInputs["country"] = state?.country;
94
+ resourceInputs["createdAt"] = state?.createdAt;
95
+ resourceInputs["firstName"] = state?.firstName;
96
+ resourceInputs["invitationCreatedAt"] = state?.invitationCreatedAt;
97
+ resourceInputs["invitationExpiresAt"] = state?.invitationExpiresAt;
98
+ resourceInputs["inviterUsername"] = state?.inviterUsername;
99
+ resourceInputs["lastAuth"] = state?.lastAuth;
100
+ resourceInputs["lastName"] = state?.lastName;
101
+ resourceInputs["mobileNumber"] = state?.mobileNumber;
102
+ resourceInputs["orgMembershipStatus"] = state?.orgMembershipStatus;
103
+ resourceInputs["projectId"] = state?.projectId;
104
+ resourceInputs["roles"] = state?.roles;
105
+ resourceInputs["userId"] = state?.userId;
106
+ resourceInputs["username"] = state?.username;
107
+ }
108
+ else {
109
+ const args = argsOrState;
110
+ if (args?.projectId === undefined && !opts.urn) {
111
+ throw new Error("Missing required property 'projectId'");
112
+ }
113
+ if (args?.roles === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'roles'");
115
+ }
116
+ if (args?.username === undefined && !opts.urn) {
117
+ throw new Error("Missing required property 'username'");
118
+ }
119
+ resourceInputs["projectId"] = args?.projectId;
120
+ resourceInputs["roles"] = args?.roles;
121
+ resourceInputs["username"] = args?.username;
122
+ resourceInputs["country"] = undefined /*out*/;
123
+ resourceInputs["createdAt"] = undefined /*out*/;
124
+ resourceInputs["firstName"] = undefined /*out*/;
125
+ resourceInputs["invitationCreatedAt"] = undefined /*out*/;
126
+ resourceInputs["invitationExpiresAt"] = undefined /*out*/;
127
+ resourceInputs["inviterUsername"] = undefined /*out*/;
128
+ resourceInputs["lastAuth"] = undefined /*out*/;
129
+ resourceInputs["lastName"] = undefined /*out*/;
130
+ resourceInputs["mobileNumber"] = undefined /*out*/;
131
+ resourceInputs["orgMembershipStatus"] = undefined /*out*/;
132
+ resourceInputs["userId"] = undefined /*out*/;
133
+ }
134
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
135
+ super(CloudUserProjectAssignment.__pulumiType, name, resourceInputs, opts);
136
+ }
137
+ }
138
+ exports.CloudUserProjectAssignment = CloudUserProjectAssignment;
139
+ /** @internal */
140
+ CloudUserProjectAssignment.__pulumiType = 'mongodbatlas:index/cloudUserProjectAssignment:CloudUserProjectAssignment';
141
+ //# sourceMappingURL=cloudUserProjectAssignment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudUserProjectAssignment.js","sourceRoot":"","sources":["../cloudUserProjectAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAmED,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAyD,CAAC;YACvE,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AA5IL,gEA6IC;AA/HG,gBAAgB;AACO,uCAAY,GAAG,0EAA0E,CAAC"}
@@ -0,0 +1,229 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * `mongodbatlas.CloudUserTeamAssignment` provides a Cloud User Team Assignment resource. It lets you manage the association between a cloud user and a team, enabling you to import, assign, remove, or update the user's membership.
6
+ *
7
+ * > **NOTE**Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-creategroupinvite)
8
+ * endpoint cannot be managed with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listteamusers) for details.
9
+ * To manage such users with this resource, refer to our Migration Guide: Team Usernames Attribute to Cloud User Team Assignment.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### S
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const example = new mongodbatlas.CloudUserTeamAssignment("example", {
20
+ * orgId: orgId,
21
+ * teamId: teamId,
22
+ * userId: userId,
23
+ * });
24
+ * const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserTeamAssignmentOutput({
25
+ * orgId: orgId,
26
+ * teamId: teamId,
27
+ * userId: userId,
28
+ * }));
29
+ * const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserTeamAssignmentOutput({
30
+ * orgId: orgId,
31
+ * teamId: teamId,
32
+ * username: username,
33
+ * }));
34
+ * ```
35
+ *
36
+ * ### Further Examples
37
+ * - Cloud User Team Assignment
38
+ *
39
+ * ## Import
40
+ *
41
+ * Cloud User Team Assignment resource can be imported using the Org ID & Team ID & User ID OR Org ID & Team ID & Username, in the format `ORG_ID/TEAM_ID/USER_ID` OR `ORG_ID/TEAM_ID/USERNAME`.
42
+ *
43
+ * ```sh
44
+ * $ pulumi import mongodbatlas:index/cloudUserTeamAssignment:CloudUserTeamAssignment test 63cfbf302333a3011d98592e/9f3c1e7a4d8b2f6051acde47/5f18367ccb7a503a2b481b7a
45
+ * ```
46
+ *
47
+ * OR
48
+ *
49
+ * ```sh
50
+ * $ pulumi import mongodbatlas:index/cloudUserTeamAssignment:CloudUserTeamAssignment test 63cfbf302333a3011d98592e/9f3c1e7a4d8b2f6051acde47/test-user@example.com
51
+ * ```
52
+ *
53
+ * For more information see: [MongoDB Atlas API - Cloud Users](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-addusertoteam) Documentation.
54
+ */
55
+ export declare class CloudUserTeamAssignment extends pulumi.CustomResource {
56
+ /**
57
+ * Get an existing CloudUserTeamAssignment resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudUserTeamAssignmentState, opts?: pulumi.CustomResourceOptions): CloudUserTeamAssignment;
66
+ /**
67
+ * Returns true if the given object is an instance of CloudUserTeamAssignment. This is designed to work even
68
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
+ */
70
+ static isInstance(obj: any): obj is CloudUserTeamAssignment;
71
+ /**
72
+ * Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
73
+ */
74
+ readonly country: pulumi.Output<string>;
75
+ /**
76
+ * Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
77
+ */
78
+ readonly createdAt: pulumi.Output<string>;
79
+ /**
80
+ * First or given name that belongs to the MongoDB Cloud user.
81
+ */
82
+ readonly firstName: pulumi.Output<string>;
83
+ /**
84
+ * Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
85
+ */
86
+ readonly invitationCreatedAt: pulumi.Output<string>;
87
+ /**
88
+ * Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
89
+ */
90
+ readonly invitationExpiresAt: pulumi.Output<string>;
91
+ /**
92
+ * Username of the MongoDB Cloud user who sent the invitation to join the organization.
93
+ */
94
+ readonly inviterUsername: pulumi.Output<string>;
95
+ /**
96
+ * Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
97
+ */
98
+ readonly lastAuth: pulumi.Output<string>;
99
+ /**
100
+ * Last name, family name, or surname that belongs to the MongoDB Cloud user.
101
+ */
102
+ readonly lastName: pulumi.Output<string>;
103
+ /**
104
+ * Mobile phone number that belongs to the MongoDB Cloud user.
105
+ */
106
+ readonly mobileNumber: pulumi.Output<string>;
107
+ /**
108
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
109
+ */
110
+ readonly orgId: pulumi.Output<string>;
111
+ /**
112
+ * String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
113
+ */
114
+ readonly orgMembershipStatus: pulumi.Output<string>;
115
+ /**
116
+ * Organization and project level roles to assign the MongoDB Cloud user within one organization.
117
+ */
118
+ readonly roles: pulumi.Output<outputs.CloudUserTeamAssignmentRoles>;
119
+ /**
120
+ * Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
121
+ */
122
+ readonly teamId: pulumi.Output<string>;
123
+ /**
124
+ * List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
125
+ */
126
+ readonly teamIds: pulumi.Output<string[]>;
127
+ /**
128
+ * Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
129
+ */
130
+ readonly userId: pulumi.Output<string>;
131
+ /**
132
+ * Email address that represents the username of the MongoDB Cloud user.
133
+ */
134
+ readonly username: pulumi.Output<string>;
135
+ /**
136
+ * Create a CloudUserTeamAssignment resource with the given unique name, arguments, and options.
137
+ *
138
+ * @param name The _unique_ name of the resource.
139
+ * @param args The arguments to use to populate this resource's properties.
140
+ * @param opts A bag of options that control this resource's behavior.
141
+ */
142
+ constructor(name: string, args: CloudUserTeamAssignmentArgs, opts?: pulumi.CustomResourceOptions);
143
+ }
144
+ /**
145
+ * Input properties used for looking up and filtering CloudUserTeamAssignment resources.
146
+ */
147
+ export interface CloudUserTeamAssignmentState {
148
+ /**
149
+ * Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
150
+ */
151
+ country?: pulumi.Input<string>;
152
+ /**
153
+ * Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
154
+ */
155
+ createdAt?: pulumi.Input<string>;
156
+ /**
157
+ * First or given name that belongs to the MongoDB Cloud user.
158
+ */
159
+ firstName?: pulumi.Input<string>;
160
+ /**
161
+ * Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
162
+ */
163
+ invitationCreatedAt?: pulumi.Input<string>;
164
+ /**
165
+ * Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
166
+ */
167
+ invitationExpiresAt?: pulumi.Input<string>;
168
+ /**
169
+ * Username of the MongoDB Cloud user who sent the invitation to join the organization.
170
+ */
171
+ inviterUsername?: pulumi.Input<string>;
172
+ /**
173
+ * Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
174
+ */
175
+ lastAuth?: pulumi.Input<string>;
176
+ /**
177
+ * Last name, family name, or surname that belongs to the MongoDB Cloud user.
178
+ */
179
+ lastName?: pulumi.Input<string>;
180
+ /**
181
+ * Mobile phone number that belongs to the MongoDB Cloud user.
182
+ */
183
+ mobileNumber?: pulumi.Input<string>;
184
+ /**
185
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
186
+ */
187
+ orgId?: pulumi.Input<string>;
188
+ /**
189
+ * String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
190
+ */
191
+ orgMembershipStatus?: pulumi.Input<string>;
192
+ /**
193
+ * Organization and project level roles to assign the MongoDB Cloud user within one organization.
194
+ */
195
+ roles?: pulumi.Input<inputs.CloudUserTeamAssignmentRoles>;
196
+ /**
197
+ * Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
198
+ */
199
+ teamId?: pulumi.Input<string>;
200
+ /**
201
+ * List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
202
+ */
203
+ teamIds?: pulumi.Input<pulumi.Input<string>[]>;
204
+ /**
205
+ * Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
206
+ */
207
+ userId?: pulumi.Input<string>;
208
+ /**
209
+ * Email address that represents the username of the MongoDB Cloud user.
210
+ */
211
+ username?: pulumi.Input<string>;
212
+ }
213
+ /**
214
+ * The set of arguments for constructing a CloudUserTeamAssignment resource.
215
+ */
216
+ export interface CloudUserTeamAssignmentArgs {
217
+ /**
218
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
219
+ */
220
+ orgId: pulumi.Input<string>;
221
+ /**
222
+ * Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
223
+ */
224
+ teamId: pulumi.Input<string>;
225
+ /**
226
+ * Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
227
+ */
228
+ userId: pulumi.Input<string>;
229
+ }