@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
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
14
  *
15
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
15
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
16
16
  * projectId: "<YOUR-PROJECT-ID>",
17
17
  * name: "cluster-test",
18
18
  * clusterType: "REPLICASET",
@@ -28,19 +28,58 @@ const utilities = require("./utilities");
28
28
  * }],
29
29
  * }],
30
30
  * });
31
- * const example = mongodbatlas.getAdvancedClusterOutput({
32
- * projectId: exampleAdvancedCluster.projectId,
33
- * name: exampleAdvancedCluster.name,
31
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
32
+ * projectId: thisAdvancedCluster.projectId,
33
+ * name: thisAdvancedCluster.name,
34
34
  * });
35
35
  * ```
36
36
  *
37
+ * ## Example using effective fields with auto-scaling
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
42
+ *
43
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
44
+ * projectId: "<YOUR-PROJECT-ID>",
45
+ * name: "auto-scale-cluster",
46
+ * clusterType: "REPLICASET",
47
+ * useEffectiveFields: true,
48
+ * replicationSpecs: [{
49
+ * regionConfigs: [{
50
+ * electableSpecs: {
51
+ * instanceSize: "M10",
52
+ * nodeCount: 3,
53
+ * },
54
+ * autoScaling: {
55
+ * computeEnabled: true,
56
+ * computeScaleDownEnabled: true,
57
+ * computeMinInstanceSize: "M10",
58
+ * computeMaxInstanceSize: "M30",
59
+ * },
60
+ * providerName: "AWS",
61
+ * priority: 7,
62
+ * regionName: "US_EAST_1",
63
+ * }],
64
+ * }],
65
+ * });
66
+ * // Read effective values after Atlas auto-scales the cluster
67
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
68
+ * projectId: thisAdvancedCluster.projectId,
69
+ * name: thisAdvancedCluster.name,
70
+ * useEffectiveFields: true,
71
+ * });
72
+ * export const configuredInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize);
73
+ * export const actualInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize);
74
+ * ```
75
+ *
37
76
  * ## Example using latest sharding configurations with independent shard scaling in the cluster
38
77
  *
39
78
  * ```typescript
40
79
  * import * as pulumi from "@pulumi/pulumi";
41
80
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
42
81
  *
43
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
82
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
44
83
  * projectId: "<YOUR-PROJECT-ID>",
45
84
  * name: "cluster-test",
46
85
  * backupEnabled: false,
@@ -72,10 +111,9 @@ const utilities = require("./utilities");
72
111
  * },
73
112
  * ],
74
113
  * });
75
- * const example = mongodbatlas.getAdvancedClusterOutput({
76
- * projectId: exampleAdvancedCluster.projectId,
77
- * name: exampleAdvancedCluster.name,
78
- * useReplicationSpecPerShard: true,
114
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
115
+ * projectId: thisAdvancedCluster.projectId,
116
+ * name: thisAdvancedCluster.name,
79
117
  * });
80
118
  * ```
81
119
  *
@@ -85,7 +123,7 @@ const utilities = require("./utilities");
85
123
  * import * as pulumi from "@pulumi/pulumi";
86
124
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
87
125
  *
88
- * const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
126
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
89
127
  * projectId: "<YOUR-PROJECT-ID>",
90
128
  * name: "flex-cluster",
91
129
  * clusterType: "REPLICASET",
@@ -98,9 +136,9 @@ const utilities = require("./utilities");
98
136
  * }],
99
137
  * }],
100
138
  * });
101
- * const example = mongodbatlas.getAdvancedClusterOutput({
102
- * projectId: example_flex.projectId,
103
- * name: example_flex.name,
139
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
140
+ * projectId: thisAdvancedCluster.projectId,
141
+ * name: thisAdvancedCluster.name,
104
142
  * });
105
143
  * ```
106
144
  */
@@ -108,9 +146,8 @@ function getAdvancedCluster(args, opts) {
108
146
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
109
147
  return pulumi.runtime.invoke("mongodbatlas:index/getAdvancedCluster:getAdvancedCluster", {
110
148
  "name": args.name,
111
- "pitEnabled": args.pitEnabled,
112
149
  "projectId": args.projectId,
113
- "useReplicationSpecPerShard": args.useReplicationSpecPerShard,
150
+ "useEffectiveFields": args.useEffectiveFields,
114
151
  }, opts);
115
152
  }
116
153
  exports.getAdvancedCluster = getAdvancedCluster;
@@ -121,7 +158,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
121
158
  * import * as pulumi from "@pulumi/pulumi";
122
159
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
123
160
  *
124
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
161
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
125
162
  * projectId: "<YOUR-PROJECT-ID>",
126
163
  * name: "cluster-test",
127
164
  * clusterType: "REPLICASET",
@@ -137,10 +174,49 @@ exports.getAdvancedCluster = getAdvancedCluster;
137
174
  * }],
138
175
  * }],
139
176
  * });
140
- * const example = mongodbatlas.getAdvancedClusterOutput({
141
- * projectId: exampleAdvancedCluster.projectId,
142
- * name: exampleAdvancedCluster.name,
177
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
178
+ * projectId: thisAdvancedCluster.projectId,
179
+ * name: thisAdvancedCluster.name,
180
+ * });
181
+ * ```
182
+ *
183
+ * ## Example using effective fields with auto-scaling
184
+ *
185
+ * ```typescript
186
+ * import * as pulumi from "@pulumi/pulumi";
187
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
188
+ *
189
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
190
+ * projectId: "<YOUR-PROJECT-ID>",
191
+ * name: "auto-scale-cluster",
192
+ * clusterType: "REPLICASET",
193
+ * useEffectiveFields: true,
194
+ * replicationSpecs: [{
195
+ * regionConfigs: [{
196
+ * electableSpecs: {
197
+ * instanceSize: "M10",
198
+ * nodeCount: 3,
199
+ * },
200
+ * autoScaling: {
201
+ * computeEnabled: true,
202
+ * computeScaleDownEnabled: true,
203
+ * computeMinInstanceSize: "M10",
204
+ * computeMaxInstanceSize: "M30",
205
+ * },
206
+ * providerName: "AWS",
207
+ * priority: 7,
208
+ * regionName: "US_EAST_1",
209
+ * }],
210
+ * }],
211
+ * });
212
+ * // Read effective values after Atlas auto-scales the cluster
213
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
214
+ * projectId: thisAdvancedCluster.projectId,
215
+ * name: thisAdvancedCluster.name,
216
+ * useEffectiveFields: true,
143
217
  * });
218
+ * export const configuredInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize);
219
+ * export const actualInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize);
144
220
  * ```
145
221
  *
146
222
  * ## Example using latest sharding configurations with independent shard scaling in the cluster
@@ -149,7 +225,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
149
225
  * import * as pulumi from "@pulumi/pulumi";
150
226
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
151
227
  *
152
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
228
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
153
229
  * projectId: "<YOUR-PROJECT-ID>",
154
230
  * name: "cluster-test",
155
231
  * backupEnabled: false,
@@ -181,10 +257,9 @@ exports.getAdvancedCluster = getAdvancedCluster;
181
257
  * },
182
258
  * ],
183
259
  * });
184
- * const example = mongodbatlas.getAdvancedClusterOutput({
185
- * projectId: exampleAdvancedCluster.projectId,
186
- * name: exampleAdvancedCluster.name,
187
- * useReplicationSpecPerShard: true,
260
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
261
+ * projectId: thisAdvancedCluster.projectId,
262
+ * name: thisAdvancedCluster.name,
188
263
  * });
189
264
  * ```
190
265
  *
@@ -194,7 +269,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
194
269
  * import * as pulumi from "@pulumi/pulumi";
195
270
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
196
271
  *
197
- * const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
272
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
198
273
  * projectId: "<YOUR-PROJECT-ID>",
199
274
  * name: "flex-cluster",
200
275
  * clusterType: "REPLICASET",
@@ -207,9 +282,9 @@ exports.getAdvancedCluster = getAdvancedCluster;
207
282
  * }],
208
283
  * }],
209
284
  * });
210
- * const example = mongodbatlas.getAdvancedClusterOutput({
211
- * projectId: example_flex.projectId,
212
- * name: example_flex.name,
285
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
286
+ * projectId: thisAdvancedCluster.projectId,
287
+ * name: thisAdvancedCluster.name,
213
288
  * });
214
289
  * ```
215
290
  */
@@ -217,9 +292,8 @@ function getAdvancedClusterOutput(args, opts) {
217
292
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
218
293
  return pulumi.runtime.invokeOutput("mongodbatlas:index/getAdvancedCluster:getAdvancedCluster", {
219
294
  "name": args.name,
220
- "pitEnabled": args.pitEnabled,
221
295
  "projectId": args.projectId,
222
- "useReplicationSpecPerShard": args.useReplicationSpecPerShard,
296
+ "useEffectiveFields": args.useEffectiveFields,
223
297
  }, opts);
224
298
  }
225
299
  exports.getAdvancedClusterOutput = getAdvancedClusterOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;KAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAiID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;KAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC"}
1
+ {"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AA2HD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
@@ -1,12 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * ## # Data Source: mongodbatlas.getAdvancedClusters
5
- *
6
4
  * `mongodbatlas.getAdvancedClusters` returns all Advanced Clusters for a project_id.
7
5
  *
8
- * This page describes the current version of `mongodbatlas.getAdvancedClusters`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
9
- *
10
6
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
11
7
  *
12
8
  * > **IMPORTANT:**
@@ -21,7 +17,7 @@ import * as outputs from "./types/output";
21
17
  * import * as pulumi from "@pulumi/pulumi";
22
18
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
23
19
  *
24
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
20
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
25
21
  * projectId: "<YOUR-PROJECT-ID>",
26
22
  * name: "cluster-test",
27
23
  * clusterType: "REPLICASET",
@@ -37,9 +33,73 @@ import * as outputs from "./types/output";
37
33
  * }],
38
34
  * }],
39
35
  * });
40
- * const example = mongodbatlas.getAdvancedClustersOutput({
41
- * projectId: exampleAdvancedCluster.projectId,
36
+ * const _this = mongodbatlas.getAdvancedClustersOutput({
37
+ * projectId: thisAdvancedCluster.projectId,
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Example using effective fields with auto-scaling
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
46
+ *
47
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
48
+ * projectId: "<YOUR-PROJECT-ID>",
49
+ * name: "auto-scale-cluster-1",
50
+ * clusterType: "REPLICASET",
51
+ * useEffectiveFields: true,
52
+ * replicationSpecs: [{
53
+ * regionConfigs: [{
54
+ * electableSpecs: {
55
+ * instanceSize: "M10",
56
+ * nodeCount: 3,
57
+ * },
58
+ * autoScaling: {
59
+ * computeEnabled: true,
60
+ * computeScaleDownEnabled: true,
61
+ * computeMinInstanceSize: "M10",
62
+ * computeMaxInstanceSize: "M30",
63
+ * },
64
+ * providerName: "AWS",
65
+ * priority: 7,
66
+ * regionName: "US_EAST_1",
67
+ * }],
68
+ * }],
69
+ * });
70
+ * const this2 = new mongodbatlas.AdvancedCluster("this_2", {
71
+ * projectId: "<YOUR-PROJECT-ID>",
72
+ * name: "auto-scale-cluster-2",
73
+ * clusterType: "REPLICASET",
74
+ * useEffectiveFields: true,
75
+ * replicationSpecs: [{
76
+ * regionConfigs: [{
77
+ * electableSpecs: {
78
+ * instanceSize: "M20",
79
+ * nodeCount: 3,
80
+ * },
81
+ * autoScaling: {
82
+ * computeEnabled: true,
83
+ * computeScaleDownEnabled: true,
84
+ * computeMinInstanceSize: "M20",
85
+ * computeMaxInstanceSize: "M40",
86
+ * },
87
+ * providerName: "AWS",
88
+ * priority: 7,
89
+ * regionName: "US_WEST_2",
90
+ * }],
91
+ * }],
92
+ * });
93
+ * // Read effective values for all clusters in the project
94
+ * const _this = mongodbatlas.getAdvancedClusters({
95
+ * projectId: "<YOUR-PROJECT-ID>",
96
+ * useEffectiveFields: true,
42
97
  * });
98
+ * export const allClusterNamesAndSizes = _this.then(_this => .map(cluster => ({
99
+ * name: cluster.name,
100
+ * configuredSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize,
101
+ * actualSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize,
102
+ * })));
43
103
  * ```
44
104
  *
45
105
  * ## Example using latest sharding configurations with independent shard scaling in the cluster
@@ -48,7 +108,7 @@ import * as outputs from "./types/output";
48
108
  * import * as pulumi from "@pulumi/pulumi";
49
109
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
50
110
  *
51
- * const example = new mongodbatlas.AdvancedCluster("example", {
111
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
52
112
  * projectId: "<YOUR-PROJECT-ID>",
53
113
  * name: "cluster-test",
54
114
  * backupEnabled: false,
@@ -80,10 +140,9 @@ import * as outputs from "./types/output";
80
140
  * },
81
141
  * ],
82
142
  * });
83
- * const example_asym = mongodbatlas.getAdvancedClusterOutput({
84
- * projectId: example.projectId,
85
- * name: example.name,
86
- * useReplicationSpecPerShard: true,
143
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
144
+ * projectId: thisAdvancedCluster.projectId,
145
+ * name: thisAdvancedCluster.name,
87
146
  * });
88
147
  * ```
89
148
  *
@@ -93,7 +152,7 @@ import * as outputs from "./types/output";
93
152
  * import * as pulumi from "@pulumi/pulumi";
94
153
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
95
154
  *
96
- * const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
155
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
97
156
  * projectId: "<YOUR-PROJECT-ID>",
98
157
  * name: "flex-cluster",
99
158
  * clusterType: "REPLICASET",
@@ -106,8 +165,8 @@ import * as outputs from "./types/output";
106
165
  * }],
107
166
  * }],
108
167
  * });
109
- * const example = mongodbatlas.getAdvancedClustersOutput({
110
- * projectId: example_flex.projectId,
168
+ * const _this = mongodbatlas.getAdvancedClustersOutput({
169
+ * projectId: thisAdvancedCluster.projectId,
111
170
  * });
112
171
  * ```
113
172
  */
@@ -121,9 +180,9 @@ export interface GetAdvancedClustersArgs {
121
180
  */
122
181
  projectId: string;
123
182
  /**
124
- * Set this field to true to allow the data source to use the latest schema representing each shard with an individual `replicationSpecs` object. This enables representing clusters with independent shard scaling. **Note:** If not set to true, this data source return all clusters except clusters with asymmetric shards.
183
+ * Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This attribute applies to dedicated clusters, not to tenant or flex clusters. **Note:** Effective specs (`effectiveElectableSpecs`, `effectiveReadOnlySpecs`, `effectiveAnalyticsSpecs`) are always returned for dedicated clusters regardless of the flag value and always report the **current** hardware specifications. See the resource documentation for Auto-Scaling with Effective Fields for more details.
125
184
  */
126
- useReplicationSpecPerShard?: boolean;
185
+ useEffectiveFields?: boolean;
127
186
  }
128
187
  /**
129
188
  * A collection of values returned by getAdvancedClusters.
@@ -138,15 +197,11 @@ export interface GetAdvancedClustersResult {
138
197
  * A list where each represents a Cluster. See below for more details.
139
198
  */
140
199
  readonly results: outputs.GetAdvancedClustersResult[];
141
- readonly useReplicationSpecPerShard?: boolean;
200
+ readonly useEffectiveFields?: boolean;
142
201
  }
143
202
  /**
144
- * ## # Data Source: mongodbatlas.getAdvancedClusters
145
- *
146
203
  * `mongodbatlas.getAdvancedClusters` returns all Advanced Clusters for a project_id.
147
204
  *
148
- * This page describes the current version of `mongodbatlas.getAdvancedClusters`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
149
- *
150
205
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
151
206
  *
152
207
  * > **IMPORTANT:**
@@ -161,7 +216,7 @@ export interface GetAdvancedClustersResult {
161
216
  * import * as pulumi from "@pulumi/pulumi";
162
217
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
163
218
  *
164
- * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
219
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
165
220
  * projectId: "<YOUR-PROJECT-ID>",
166
221
  * name: "cluster-test",
167
222
  * clusterType: "REPLICASET",
@@ -177,9 +232,73 @@ export interface GetAdvancedClustersResult {
177
232
  * }],
178
233
  * }],
179
234
  * });
180
- * const example = mongodbatlas.getAdvancedClustersOutput({
181
- * projectId: exampleAdvancedCluster.projectId,
235
+ * const _this = mongodbatlas.getAdvancedClustersOutput({
236
+ * projectId: thisAdvancedCluster.projectId,
237
+ * });
238
+ * ```
239
+ *
240
+ * ## Example using effective fields with auto-scaling
241
+ *
242
+ * ```typescript
243
+ * import * as pulumi from "@pulumi/pulumi";
244
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
245
+ *
246
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
247
+ * projectId: "<YOUR-PROJECT-ID>",
248
+ * name: "auto-scale-cluster-1",
249
+ * clusterType: "REPLICASET",
250
+ * useEffectiveFields: true,
251
+ * replicationSpecs: [{
252
+ * regionConfigs: [{
253
+ * electableSpecs: {
254
+ * instanceSize: "M10",
255
+ * nodeCount: 3,
256
+ * },
257
+ * autoScaling: {
258
+ * computeEnabled: true,
259
+ * computeScaleDownEnabled: true,
260
+ * computeMinInstanceSize: "M10",
261
+ * computeMaxInstanceSize: "M30",
262
+ * },
263
+ * providerName: "AWS",
264
+ * priority: 7,
265
+ * regionName: "US_EAST_1",
266
+ * }],
267
+ * }],
268
+ * });
269
+ * const this2 = new mongodbatlas.AdvancedCluster("this_2", {
270
+ * projectId: "<YOUR-PROJECT-ID>",
271
+ * name: "auto-scale-cluster-2",
272
+ * clusterType: "REPLICASET",
273
+ * useEffectiveFields: true,
274
+ * replicationSpecs: [{
275
+ * regionConfigs: [{
276
+ * electableSpecs: {
277
+ * instanceSize: "M20",
278
+ * nodeCount: 3,
279
+ * },
280
+ * autoScaling: {
281
+ * computeEnabled: true,
282
+ * computeScaleDownEnabled: true,
283
+ * computeMinInstanceSize: "M20",
284
+ * computeMaxInstanceSize: "M40",
285
+ * },
286
+ * providerName: "AWS",
287
+ * priority: 7,
288
+ * regionName: "US_WEST_2",
289
+ * }],
290
+ * }],
291
+ * });
292
+ * // Read effective values for all clusters in the project
293
+ * const _this = mongodbatlas.getAdvancedClusters({
294
+ * projectId: "<YOUR-PROJECT-ID>",
295
+ * useEffectiveFields: true,
182
296
  * });
297
+ * export const allClusterNamesAndSizes = _this.then(_this => .map(cluster => ({
298
+ * name: cluster.name,
299
+ * configuredSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize,
300
+ * actualSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize,
301
+ * })));
183
302
  * ```
184
303
  *
185
304
  * ## Example using latest sharding configurations with independent shard scaling in the cluster
@@ -188,7 +307,7 @@ export interface GetAdvancedClustersResult {
188
307
  * import * as pulumi from "@pulumi/pulumi";
189
308
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
190
309
  *
191
- * const example = new mongodbatlas.AdvancedCluster("example", {
310
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
192
311
  * projectId: "<YOUR-PROJECT-ID>",
193
312
  * name: "cluster-test",
194
313
  * backupEnabled: false,
@@ -220,10 +339,9 @@ export interface GetAdvancedClustersResult {
220
339
  * },
221
340
  * ],
222
341
  * });
223
- * const example_asym = mongodbatlas.getAdvancedClusterOutput({
224
- * projectId: example.projectId,
225
- * name: example.name,
226
- * useReplicationSpecPerShard: true,
342
+ * const _this = mongodbatlas.getAdvancedClusterOutput({
343
+ * projectId: thisAdvancedCluster.projectId,
344
+ * name: thisAdvancedCluster.name,
227
345
  * });
228
346
  * ```
229
347
  *
@@ -233,7 +351,7 @@ export interface GetAdvancedClustersResult {
233
351
  * import * as pulumi from "@pulumi/pulumi";
234
352
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
235
353
  *
236
- * const example_flex = new mongodbatlas.AdvancedCluster("example-flex", {
354
+ * const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
237
355
  * projectId: "<YOUR-PROJECT-ID>",
238
356
  * name: "flex-cluster",
239
357
  * clusterType: "REPLICASET",
@@ -246,8 +364,8 @@ export interface GetAdvancedClustersResult {
246
364
  * }],
247
365
  * }],
248
366
  * });
249
- * const example = mongodbatlas.getAdvancedClustersOutput({
250
- * projectId: example_flex.projectId,
367
+ * const _this = mongodbatlas.getAdvancedClustersOutput({
368
+ * projectId: thisAdvancedCluster.projectId,
251
369
  * });
252
370
  * ```
253
371
  */
@@ -261,7 +379,7 @@ export interface GetAdvancedClustersOutputArgs {
261
379
  */
262
380
  projectId: pulumi.Input<string>;
263
381
  /**
264
- * Set this field to true to allow the data source to use the latest schema representing each shard with an individual `replicationSpecs` object. This enables representing clusters with independent shard scaling. **Note:** If not set to true, this data source return all clusters except clusters with asymmetric shards.
382
+ * Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This attribute applies to dedicated clusters, not to tenant or flex clusters. **Note:** Effective specs (`effectiveElectableSpecs`, `effectiveReadOnlySpecs`, `effectiveAnalyticsSpecs`) are always returned for dedicated clusters regardless of the flag value and always report the **current** hardware specifications. See the resource documentation for Auto-Scaling with Effective Fields for more details.
265
383
  */
266
- useReplicationSpecPerShard?: pulumi.Input<boolean>;
384
+ useEffectiveFields?: pulumi.Input<boolean>;
267
385
  }