@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 3.15.0-alpha.1713899327

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 (305) hide show
  1. package/accessListApiKey.d.ts +4 -8
  2. package/accessListApiKey.js +4 -8
  3. package/accessListApiKey.js.map +1 -1
  4. package/advancedCluster.d.ts +28 -61
  5. package/advancedCluster.js +28 -61
  6. package/advancedCluster.js.map +1 -1
  7. package/alertConfiguration.d.ts +44 -50
  8. package/alertConfiguration.js +44 -50
  9. package/alertConfiguration.js.map +1 -1
  10. package/apiKey.d.ts +0 -2
  11. package/apiKey.js +0 -2
  12. package/apiKey.js.map +1 -1
  13. package/auditing.d.ts +2 -4
  14. package/auditing.js +2 -4
  15. package/auditing.js.map +1 -1
  16. package/backupCompliancePolicy.d.ts +83 -0
  17. package/backupCompliancePolicy.js +83 -0
  18. package/backupCompliancePolicy.js.map +1 -1
  19. package/cloudBackupSnapshot.d.ts +7 -9
  20. package/cloudBackupSnapshot.js +7 -9
  21. package/cloudBackupSnapshot.js.map +1 -1
  22. package/cloudBackupSnapshotExportBucket.d.ts +2 -4
  23. package/cloudBackupSnapshotExportBucket.js +2 -4
  24. package/cloudBackupSnapshotExportBucket.js.map +1 -1
  25. package/cloudBackupSnapshotExportJob.d.ts +3 -7
  26. package/cloudBackupSnapshotExportJob.js +3 -7
  27. package/cloudBackupSnapshotExportJob.js.map +1 -1
  28. package/cloudBackupSnapshotRestoreJob.d.ts +74 -13
  29. package/cloudBackupSnapshotRestoreJob.js +74 -13
  30. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  31. package/cluster.d.ts +48 -82
  32. package/cluster.js +48 -82
  33. package/cluster.js.map +1 -1
  34. package/clusterOutageSimulation.d.ts +2 -4
  35. package/clusterOutageSimulation.js +2 -4
  36. package/clusterOutageSimulation.js.map +1 -1
  37. package/customDbRole.d.ts +6 -10
  38. package/customDbRole.js +6 -10
  39. package/customDbRole.js.map +1 -1
  40. package/customDnsConfigurationClusterAws.d.ts +1 -3
  41. package/customDnsConfigurationClusterAws.js +1 -3
  42. package/customDnsConfigurationClusterAws.js.map +1 -1
  43. package/databaseUser.d.ts +19 -27
  44. package/databaseUser.js +19 -27
  45. package/databaseUser.js.map +1 -1
  46. package/eventTrigger.d.ts +24 -28
  47. package/eventTrigger.js +24 -28
  48. package/eventTrigger.js.map +1 -1
  49. package/federatedDatabaseInstance.d.ts +10 -12
  50. package/federatedDatabaseInstance.js +10 -12
  51. package/federatedDatabaseInstance.js.map +1 -1
  52. package/federatedQueryLimit.d.ts +2 -4
  53. package/federatedQueryLimit.js +2 -4
  54. package/federatedQueryLimit.js.map +1 -1
  55. package/federatedSettingsIdentityProvider.d.ts +6 -7
  56. package/federatedSettingsIdentityProvider.js +6 -7
  57. package/federatedSettingsIdentityProvider.js.map +1 -1
  58. package/federatedSettingsOrgRoleMapping.d.ts +2 -4
  59. package/federatedSettingsOrgRoleMapping.js +2 -4
  60. package/federatedSettingsOrgRoleMapping.js.map +1 -1
  61. package/get509AuthenticationDatabaseUser.d.ts +60 -0
  62. package/get509AuthenticationDatabaseUser.js +60 -0
  63. package/get509AuthenticationDatabaseUser.js.map +1 -1
  64. package/getAccessListApiKeys.d.ts +0 -16
  65. package/getAccessListApiKeys.js.map +1 -1
  66. package/getAdvancedCluster.d.ts +56 -0
  67. package/getAdvancedCluster.js +56 -0
  68. package/getAdvancedCluster.js.map +1 -1
  69. package/getAlertConfiguration.d.ts +190 -0
  70. package/getAlertConfiguration.js +190 -0
  71. package/getAlertConfiguration.js.map +1 -1
  72. package/getAtlasUser.d.ts +0 -8
  73. package/getAtlasUser.js +0 -8
  74. package/getAtlasUser.js.map +1 -1
  75. package/getAtlasUsers.d.ts +2 -14
  76. package/getAtlasUsers.js +2 -14
  77. package/getAtlasUsers.js.map +1 -1
  78. package/getAuditing.d.ts +34 -0
  79. package/getAuditing.js +34 -0
  80. package/getAuditing.js.map +1 -1
  81. package/getBackupCompliancePolicy.d.ts +166 -0
  82. package/getBackupCompliancePolicy.js +166 -0
  83. package/getBackupCompliancePolicy.js.map +1 -1
  84. package/getCloudBackupSchedule.d.ts +54 -0
  85. package/getCloudBackupSchedule.js +54 -0
  86. package/getCloudBackupSchedule.js.map +1 -1
  87. package/getCloudBackupSnapshot.d.ts +38 -0
  88. package/getCloudBackupSnapshot.js +38 -0
  89. package/getCloudBackupSnapshot.js.map +1 -1
  90. package/getCloudBackupSnapshotExportBucket.d.ts +36 -0
  91. package/getCloudBackupSnapshotExportBucket.js +36 -0
  92. package/getCloudBackupSnapshotExportBucket.js.map +1 -1
  93. package/getCloudBackupSnapshotExportBuckets.d.ts +8 -12
  94. package/getCloudBackupSnapshotExportBuckets.js +8 -12
  95. package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
  96. package/getCloudBackupSnapshotExportJob.d.ts +58 -0
  97. package/getCloudBackupSnapshotExportJob.js +58 -0
  98. package/getCloudBackupSnapshotExportJob.js.map +1 -1
  99. package/getCloudBackupSnapshotExportJobs.d.ts +6 -10
  100. package/getCloudBackupSnapshotExportJobs.js +6 -10
  101. package/getCloudBackupSnapshotExportJobs.js.map +1 -1
  102. package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -10
  103. package/getCloudBackupSnapshotRestoreJobs.js +6 -10
  104. package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
  105. package/getCloudProviderAccessSetup.d.ts +4 -12
  106. package/getCloudProviderAccessSetup.js +4 -12
  107. package/getCloudProviderAccessSetup.js.map +1 -1
  108. package/getCluster.d.ts +60 -0
  109. package/getCluster.js +60 -0
  110. package/getCluster.js.map +1 -1
  111. package/getClusterOutageSimulation.d.ts +2 -6
  112. package/getClusterOutageSimulation.js +2 -6
  113. package/getClusterOutageSimulation.js.map +1 -1
  114. package/getClusters.d.ts +6 -8
  115. package/getClusters.js +6 -8
  116. package/getClusters.js.map +1 -1
  117. package/getCustomDbRole.d.ts +2 -6
  118. package/getCustomDbRole.js +2 -6
  119. package/getCustomDbRole.js.map +1 -1
  120. package/getCustomDnsConfigurationClusterAws.d.ts +30 -0
  121. package/getCustomDnsConfigurationClusterAws.js +30 -0
  122. package/getCustomDnsConfigurationClusterAws.js.map +1 -1
  123. package/getDatabaseUser.d.ts +124 -0
  124. package/getDatabaseUser.js +124 -0
  125. package/getDatabaseUser.js.map +1 -1
  126. package/getDatabaseUsers.d.ts +14 -22
  127. package/getDatabaseUsers.js +14 -22
  128. package/getDatabaseUsers.js.map +1 -1
  129. package/getFederatedDatabaseInstance.d.ts +6 -14
  130. package/getFederatedDatabaseInstance.js +6 -14
  131. package/getFederatedDatabaseInstance.js.map +1 -1
  132. package/getFederatedQueryLimit.d.ts +2 -6
  133. package/getFederatedQueryLimit.js +2 -6
  134. package/getFederatedQueryLimit.js.map +1 -1
  135. package/getFederatedQueryLimits.d.ts +0 -4
  136. package/getFederatedQueryLimits.js +0 -4
  137. package/getFederatedQueryLimits.js.map +1 -1
  138. package/getFederatedSettings.d.ts +0 -4
  139. package/getFederatedSettings.js +0 -4
  140. package/getFederatedSettings.js.map +1 -1
  141. package/getFederatedSettingsIdentityProvider.d.ts +4 -6
  142. package/getFederatedSettingsIdentityProvider.js +4 -6
  143. package/getFederatedSettingsIdentityProvider.js.map +1 -1
  144. package/getFederatedSettingsIdentityProviders.d.ts +4 -6
  145. package/getFederatedSettingsIdentityProviders.js +4 -6
  146. package/getFederatedSettingsIdentityProviders.js.map +1 -1
  147. package/getFederatedSettingsOrgConfig.d.ts +6 -10
  148. package/getFederatedSettingsOrgConfig.js +6 -10
  149. package/getFederatedSettingsOrgConfig.js.map +1 -1
  150. package/getFederatedSettingsOrgConfigs.d.ts +6 -10
  151. package/getFederatedSettingsOrgConfigs.js +6 -10
  152. package/getFederatedSettingsOrgConfigs.js.map +1 -1
  153. package/getFederatedSettingsOrgRoleMapping.d.ts +4 -8
  154. package/getFederatedSettingsOrgRoleMapping.js +4 -8
  155. package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
  156. package/getGlobalClusterConfig.d.ts +110 -0
  157. package/getGlobalClusterConfig.js +110 -0
  158. package/getGlobalClusterConfig.js.map +1 -1
  159. package/getLdapConfiguration.d.ts +46 -0
  160. package/getLdapConfiguration.js +46 -0
  161. package/getLdapConfiguration.js.map +1 -1
  162. package/getLdapVerify.d.ts +66 -0
  163. package/getLdapVerify.js +66 -0
  164. package/getLdapVerify.js.map +1 -1
  165. package/getMaintenanceWindow.d.ts +60 -0
  166. package/getMaintenanceWindow.js +60 -0
  167. package/getMaintenanceWindow.js.map +1 -1
  168. package/getNetworkContainer.d.ts +36 -0
  169. package/getNetworkContainer.js +36 -0
  170. package/getNetworkContainer.js.map +1 -1
  171. package/getNetworkContainers.d.ts +4 -8
  172. package/getNetworkContainers.js +4 -8
  173. package/getNetworkContainers.js.map +1 -1
  174. package/getNetworkPeering.d.ts +42 -0
  175. package/getNetworkPeering.js +42 -0
  176. package/getNetworkPeering.js.map +1 -1
  177. package/getNetworkPeerings.d.ts +4 -8
  178. package/getNetworkPeerings.js +4 -8
  179. package/getNetworkPeerings.js.map +1 -1
  180. package/getOrganization.d.ts +0 -4
  181. package/getOrganization.js +0 -4
  182. package/getOrganization.js.map +1 -1
  183. package/getOrganizations.d.ts +2 -12
  184. package/getOrganizations.js +2 -6
  185. package/getOrganizations.js.map +1 -1
  186. package/getPrivateLinkEndpoint.d.ts +42 -0
  187. package/getPrivateLinkEndpoint.js +42 -0
  188. package/getPrivateLinkEndpoint.js.map +1 -1
  189. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -6
  190. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -6
  191. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  192. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -6
  193. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -6
  194. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
  195. package/getPrivatelinkEndpointServiceServerless.d.ts +20 -24
  196. package/getPrivatelinkEndpointServiceServerless.js +20 -24
  197. package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
  198. package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -24
  199. package/getPrivatelinkEndpointsServiceServerless.js +20 -24
  200. package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
  201. package/getProject.d.ts +126 -0
  202. package/getProject.js +126 -0
  203. package/getProject.js.map +1 -1
  204. package/getProjectApiKey.d.ts +36 -0
  205. package/getProjectApiKey.js +36 -0
  206. package/getProjectApiKey.js.map +1 -1
  207. package/getProjectApiKeys.d.ts +2 -6
  208. package/getProjectApiKeys.js +2 -6
  209. package/getProjectApiKeys.js.map +1 -1
  210. package/getProjectInvitation.d.ts +34 -0
  211. package/getProjectInvitation.js +34 -0
  212. package/getProjectInvitation.js.map +1 -1
  213. package/getProjectIpAccessList.d.ts +134 -0
  214. package/getProjectIpAccessList.js +134 -0
  215. package/getProjectIpAccessList.js.map +1 -1
  216. package/getProjects.d.ts +10 -12
  217. package/getProjects.js +10 -12
  218. package/getProjects.js.map +1 -1
  219. package/getRolesOrgId.d.ts +0 -4
  220. package/getRolesOrgId.js +0 -4
  221. package/getRolesOrgId.js.map +1 -1
  222. package/getSearchIndex.d.ts +2 -6
  223. package/getSearchIndex.js +2 -6
  224. package/getSearchIndex.js.map +1 -1
  225. package/getServerlessInstance.d.ts +0 -4
  226. package/getServerlessInstance.js +0 -4
  227. package/getServerlessInstance.js.map +1 -1
  228. package/getServerlessInstances.d.ts +0 -4
  229. package/getServerlessInstances.js +0 -4
  230. package/getServerlessInstances.js.map +1 -1
  231. package/getThirdPartyIntegration.d.ts +2 -6
  232. package/getThirdPartyIntegration.js +2 -6
  233. package/getThirdPartyIntegration.js.map +1 -1
  234. package/getThirdPartyIntegrations.d.ts +4 -8
  235. package/getThirdPartyIntegrations.js +4 -8
  236. package/getThirdPartyIntegrations.js.map +1 -1
  237. package/getX509AuthenticationDatabaseUser.d.ts +60 -0
  238. package/getX509AuthenticationDatabaseUser.js +60 -0
  239. package/getX509AuthenticationDatabaseUser.js.map +1 -1
  240. package/globalClusterConfig.d.ts +4 -6
  241. package/globalClusterConfig.js +4 -6
  242. package/globalClusterConfig.js.map +1 -1
  243. package/ldapConfiguration.d.ts +12 -10
  244. package/ldapConfiguration.js +12 -10
  245. package/ldapConfiguration.js.map +1 -1
  246. package/ldapVerify.d.ts +9 -8
  247. package/ldapVerify.js +9 -8
  248. package/ldapVerify.js.map +1 -1
  249. package/maintenanceWindow.d.ts +2 -6
  250. package/maintenanceWindow.js +2 -6
  251. package/maintenanceWindow.js.map +1 -1
  252. package/networkContainer.d.ts +3 -9
  253. package/networkContainer.js +3 -9
  254. package/networkContainer.js.map +1 -1
  255. package/networkPeering.d.ts +38 -151
  256. package/networkPeering.js +38 -151
  257. package/networkPeering.js.map +1 -1
  258. package/onlineArchive.d.ts +8 -12
  259. package/onlineArchive.js +8 -12
  260. package/onlineArchive.js.map +1 -1
  261. package/orgInvitation.d.ts +4 -10
  262. package/orgInvitation.js +4 -10
  263. package/orgInvitation.js.map +1 -1
  264. package/organization.d.ts +2 -3
  265. package/organization.js +2 -3
  266. package/organization.js.map +1 -1
  267. package/package.json +1 -1
  268. package/privateLinkEndpoint.d.ts +0 -2
  269. package/privateLinkEndpoint.js +0 -2
  270. package/privateLinkEndpoint.js.map +1 -1
  271. package/privateLinkEndpointService.d.ts +93 -26
  272. package/privateLinkEndpointService.js +93 -26
  273. package/privateLinkEndpointService.js.map +1 -1
  274. package/privatelinkEndpointServerless.d.ts +3 -4
  275. package/privatelinkEndpointServerless.js +3 -4
  276. package/privatelinkEndpointServerless.js.map +1 -1
  277. package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -3
  278. package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -3
  279. package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  280. package/privatelinkEndpointServiceServerless.d.ts +52 -8
  281. package/privatelinkEndpointServiceServerless.js +52 -8
  282. package/privatelinkEndpointServiceServerless.js.map +1 -1
  283. package/project.d.ts +4 -5
  284. package/project.js +4 -5
  285. package/project.js.map +1 -1
  286. package/projectApiKey.d.ts +0 -4
  287. package/projectApiKey.js +0 -4
  288. package/projectApiKey.js.map +1 -1
  289. package/projectInvitation.d.ts +2 -6
  290. package/projectInvitation.js +2 -6
  291. package/projectInvitation.js.map +1 -1
  292. package/projectIpAccessList.d.ts +8 -14
  293. package/projectIpAccessList.js +8 -14
  294. package/projectIpAccessList.js.map +1 -1
  295. package/searchIndex.d.ts +7 -11
  296. package/searchIndex.js +7 -11
  297. package/searchIndex.js.map +1 -1
  298. package/serverlessInstance.d.ts +1 -2
  299. package/serverlessInstance.js +1 -2
  300. package/serverlessInstance.js.map +1 -1
  301. package/thirdPartyIntegration.d.ts +3 -113
  302. package/thirdPartyIntegration.js +3 -5
  303. package/thirdPartyIntegration.js.map +1 -1
  304. package/types/input.d.ts +1 -332
  305. package/types/output.d.ts +13 -408
@@ -6,6 +6,68 @@ import * as outputs from "./types/output";
6
6
  * Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
7
7
  *
8
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
15
+ *
16
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
17
+ * username: "test-acc-username",
18
+ * password: "test-acc-password",
19
+ * projectId: "<PROJECT-ID>",
20
+ * authDatabaseName: "admin",
21
+ * roles: [
22
+ * {
23
+ * roleName: "readWrite",
24
+ * databaseName: "admin",
25
+ * },
26
+ * {
27
+ * roleName: "atlasAdmin",
28
+ * databaseName: "admin",
29
+ * },
30
+ * ],
31
+ * labels: [
32
+ * {
33
+ * key: "key 1",
34
+ * value: "value 1",
35
+ * },
36
+ * {
37
+ * key: "key 2",
38
+ * value: "value 2",
39
+ * },
40
+ * ],
41
+ * });
42
+ * const test = mongodbatlas.getDatabaseUserOutput({
43
+ * projectId: testDatabaseUser.projectId,
44
+ * username: testDatabaseUser.username,
45
+ * });
46
+ * ```
47
+ *
48
+ * **Example of usage with a OIDC federated authentication user**
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
53
+ *
54
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
55
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
56
+ * projectId: "6414908c207f4d22f4d8f232",
57
+ * authDatabaseName: "admin",
58
+ * oidcAuthType: "IDP_GROUP",
59
+ * roles: [{
60
+ * roleName: "readWriteAnyDatabase",
61
+ * databaseName: "admin",
62
+ * }],
63
+ * });
64
+ * const test = mongodbatlas.getDatabaseUserOutput({
65
+ * username: testDatabaseUser.username,
66
+ * projectId: "6414908c207f4d22f4d8f232",
67
+ * authDatabaseName: "admin",
68
+ * });
69
+ * ```
70
+ * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
9
71
  */
10
72
  export declare function getDatabaseUser(args: GetDatabaseUserArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseUserResult>;
11
73
  /**
@@ -72,6 +134,68 @@ export interface GetDatabaseUserResult {
72
134
  * Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
73
135
  *
74
136
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
137
+ *
138
+ * ## Example Usage
139
+ *
140
+ * ```typescript
141
+ * import * as pulumi from "@pulumi/pulumi";
142
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
143
+ *
144
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
145
+ * username: "test-acc-username",
146
+ * password: "test-acc-password",
147
+ * projectId: "<PROJECT-ID>",
148
+ * authDatabaseName: "admin",
149
+ * roles: [
150
+ * {
151
+ * roleName: "readWrite",
152
+ * databaseName: "admin",
153
+ * },
154
+ * {
155
+ * roleName: "atlasAdmin",
156
+ * databaseName: "admin",
157
+ * },
158
+ * ],
159
+ * labels: [
160
+ * {
161
+ * key: "key 1",
162
+ * value: "value 1",
163
+ * },
164
+ * {
165
+ * key: "key 2",
166
+ * value: "value 2",
167
+ * },
168
+ * ],
169
+ * });
170
+ * const test = mongodbatlas.getDatabaseUserOutput({
171
+ * projectId: testDatabaseUser.projectId,
172
+ * username: testDatabaseUser.username,
173
+ * });
174
+ * ```
175
+ *
176
+ * **Example of usage with a OIDC federated authentication user**
177
+ *
178
+ * ```typescript
179
+ * import * as pulumi from "@pulumi/pulumi";
180
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
181
+ *
182
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
183
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
184
+ * projectId: "6414908c207f4d22f4d8f232",
185
+ * authDatabaseName: "admin",
186
+ * oidcAuthType: "IDP_GROUP",
187
+ * roles: [{
188
+ * roleName: "readWriteAnyDatabase",
189
+ * databaseName: "admin",
190
+ * }],
191
+ * });
192
+ * const test = mongodbatlas.getDatabaseUserOutput({
193
+ * username: testDatabaseUser.username,
194
+ * projectId: "6414908c207f4d22f4d8f232",
195
+ * authDatabaseName: "admin",
196
+ * });
197
+ * ```
198
+ * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
75
199
  */
76
200
  export declare function getDatabaseUserOutput(args: GetDatabaseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseUserResult>;
77
201
  /**
@@ -11,6 +11,68 @@ const utilities = require("./utilities");
11
11
  * Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
12
12
  *
13
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
20
+ *
21
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
22
+ * username: "test-acc-username",
23
+ * password: "test-acc-password",
24
+ * projectId: "<PROJECT-ID>",
25
+ * authDatabaseName: "admin",
26
+ * roles: [
27
+ * {
28
+ * roleName: "readWrite",
29
+ * databaseName: "admin",
30
+ * },
31
+ * {
32
+ * roleName: "atlasAdmin",
33
+ * databaseName: "admin",
34
+ * },
35
+ * ],
36
+ * labels: [
37
+ * {
38
+ * key: "key 1",
39
+ * value: "value 1",
40
+ * },
41
+ * {
42
+ * key: "key 2",
43
+ * value: "value 2",
44
+ * },
45
+ * ],
46
+ * });
47
+ * const test = mongodbatlas.getDatabaseUserOutput({
48
+ * projectId: testDatabaseUser.projectId,
49
+ * username: testDatabaseUser.username,
50
+ * });
51
+ * ```
52
+ *
53
+ * **Example of usage with a OIDC federated authentication user**
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
58
+ *
59
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
60
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
61
+ * projectId: "6414908c207f4d22f4d8f232",
62
+ * authDatabaseName: "admin",
63
+ * oidcAuthType: "IDP_GROUP",
64
+ * roles: [{
65
+ * roleName: "readWriteAnyDatabase",
66
+ * databaseName: "admin",
67
+ * }],
68
+ * });
69
+ * const test = mongodbatlas.getDatabaseUserOutput({
70
+ * username: testDatabaseUser.username,
71
+ * projectId: "6414908c207f4d22f4d8f232",
72
+ * authDatabaseName: "admin",
73
+ * });
74
+ * ```
75
+ * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
14
76
  */
15
77
  function getDatabaseUser(args, opts) {
16
78
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -27,6 +89,68 @@ exports.getDatabaseUser = getDatabaseUser;
27
89
  * Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
28
90
  *
29
91
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
92
+ *
93
+ * ## Example Usage
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
98
+ *
99
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
100
+ * username: "test-acc-username",
101
+ * password: "test-acc-password",
102
+ * projectId: "<PROJECT-ID>",
103
+ * authDatabaseName: "admin",
104
+ * roles: [
105
+ * {
106
+ * roleName: "readWrite",
107
+ * databaseName: "admin",
108
+ * },
109
+ * {
110
+ * roleName: "atlasAdmin",
111
+ * databaseName: "admin",
112
+ * },
113
+ * ],
114
+ * labels: [
115
+ * {
116
+ * key: "key 1",
117
+ * value: "value 1",
118
+ * },
119
+ * {
120
+ * key: "key 2",
121
+ * value: "value 2",
122
+ * },
123
+ * ],
124
+ * });
125
+ * const test = mongodbatlas.getDatabaseUserOutput({
126
+ * projectId: testDatabaseUser.projectId,
127
+ * username: testDatabaseUser.username,
128
+ * });
129
+ * ```
130
+ *
131
+ * **Example of usage with a OIDC federated authentication user**
132
+ *
133
+ * ```typescript
134
+ * import * as pulumi from "@pulumi/pulumi";
135
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
136
+ *
137
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
138
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
139
+ * projectId: "6414908c207f4d22f4d8f232",
140
+ * authDatabaseName: "admin",
141
+ * oidcAuthType: "IDP_GROUP",
142
+ * roles: [{
143
+ * roleName: "readWriteAnyDatabase",
144
+ * databaseName: "admin",
145
+ * }],
146
+ * });
147
+ * const test = mongodbatlas.getDatabaseUserOutput({
148
+ * username: testDatabaseUser.username,
149
+ * projectId: "6414908c207f4d22f4d8f232",
150
+ * authDatabaseName: "admin",
151
+ * });
152
+ * ```
153
+ * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
30
154
  */
31
155
  function getDatabaseUserOutput(args, opts) {
32
156
  return pulumi.output(args).apply((a) => getDatabaseUser(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseUser.js","sourceRoot":"","sources":["../getDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6DD;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getDatabaseUser.js","sourceRoot":"","sources":["../getDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -9,12 +9,11 @@ import * as outputs from "./types/output";
9
9
  *
10
10
  * ## Example Usage
11
11
  *
12
- * <!--Start PulumiCodeChooser -->
13
12
  * ```typescript
14
13
  * import * as pulumi from "@pulumi/pulumi";
15
14
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
15
  *
17
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
16
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
18
17
  * username: "test-acc-username",
19
18
  * password: "test-acc-password",
20
19
  * projectId: "<PROJECT-ID>",
@@ -40,33 +39,30 @@ import * as outputs from "./types/output";
40
39
  * },
41
40
  * ],
42
41
  * });
43
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsersOutput({
42
+ * const test = mongodbatlas.getDatabaseUsersOutput({
44
43
  * projectId: testDatabaseUser.projectId,
45
44
  * });
46
45
  * ```
47
- * <!--End PulumiCodeChooser -->
48
46
  * **Example of usage with a OIDC federated authentication user**
49
47
  *
50
- * <!--Start PulumiCodeChooser -->
51
48
  * ```typescript
52
49
  * import * as pulumi from "@pulumi/pulumi";
53
50
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
54
51
  *
55
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
52
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
53
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
54
+ * projectId: "6414908c207f4d22f4d8f232",
56
55
  * authDatabaseName: "admin",
57
56
  * oidcAuthType: "IDP_GROUP",
58
- * projectId: "6414908c207f4d22f4d8f232",
59
57
  * roles: [{
60
- * databaseName: "admin",
61
58
  * roleName: "readWriteAnyDatabase",
59
+ * databaseName: "admin",
62
60
  * }],
63
- * username: "64d613677e1ad50839cce4db/testUserOrGroup",
64
61
  * });
65
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsers({
62
+ * const test = mongodbatlas.getDatabaseUsers({
66
63
  * projectId: "6414908c207f4d22f4d8f232",
67
64
  * });
68
65
  * ```
69
- * <!--End PulumiCodeChooser -->
70
66
  * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
71
67
  */
72
68
  export declare function getDatabaseUsers(args: GetDatabaseUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseUsersResult>;
@@ -105,12 +101,11 @@ export interface GetDatabaseUsersResult {
105
101
  *
106
102
  * ## Example Usage
107
103
  *
108
- * <!--Start PulumiCodeChooser -->
109
104
  * ```typescript
110
105
  * import * as pulumi from "@pulumi/pulumi";
111
106
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
112
107
  *
113
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
108
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
114
109
  * username: "test-acc-username",
115
110
  * password: "test-acc-password",
116
111
  * projectId: "<PROJECT-ID>",
@@ -136,33 +131,30 @@ export interface GetDatabaseUsersResult {
136
131
  * },
137
132
  * ],
138
133
  * });
139
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsersOutput({
134
+ * const test = mongodbatlas.getDatabaseUsersOutput({
140
135
  * projectId: testDatabaseUser.projectId,
141
136
  * });
142
137
  * ```
143
- * <!--End PulumiCodeChooser -->
144
138
  * **Example of usage with a OIDC federated authentication user**
145
139
  *
146
- * <!--Start PulumiCodeChooser -->
147
140
  * ```typescript
148
141
  * import * as pulumi from "@pulumi/pulumi";
149
142
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
150
143
  *
151
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
144
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
145
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
146
+ * projectId: "6414908c207f4d22f4d8f232",
152
147
  * authDatabaseName: "admin",
153
148
  * oidcAuthType: "IDP_GROUP",
154
- * projectId: "6414908c207f4d22f4d8f232",
155
149
  * roles: [{
156
- * databaseName: "admin",
157
150
  * roleName: "readWriteAnyDatabase",
151
+ * databaseName: "admin",
158
152
  * }],
159
- * username: "64d613677e1ad50839cce4db/testUserOrGroup",
160
153
  * });
161
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsers({
154
+ * const test = mongodbatlas.getDatabaseUsers({
162
155
  * projectId: "6414908c207f4d22f4d8f232",
163
156
  * });
164
157
  * ```
165
- * <!--End PulumiCodeChooser -->
166
158
  * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
167
159
  */
168
160
  export declare function getDatabaseUsersOutput(args: GetDatabaseUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseUsersResult>;
@@ -14,12 +14,11 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * ## Example Usage
16
16
  *
17
- * <!--Start PulumiCodeChooser -->
18
17
  * ```typescript
19
18
  * import * as pulumi from "@pulumi/pulumi";
20
19
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
21
20
  *
22
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
21
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
23
22
  * username: "test-acc-username",
24
23
  * password: "test-acc-password",
25
24
  * projectId: "<PROJECT-ID>",
@@ -45,33 +44,30 @@ const utilities = require("./utilities");
45
44
  * },
46
45
  * ],
47
46
  * });
48
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsersOutput({
47
+ * const test = mongodbatlas.getDatabaseUsersOutput({
49
48
  * projectId: testDatabaseUser.projectId,
50
49
  * });
51
50
  * ```
52
- * <!--End PulumiCodeChooser -->
53
51
  * **Example of usage with a OIDC federated authentication user**
54
52
  *
55
- * <!--Start PulumiCodeChooser -->
56
53
  * ```typescript
57
54
  * import * as pulumi from "@pulumi/pulumi";
58
55
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
59
56
  *
60
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
57
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
58
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
59
+ * projectId: "6414908c207f4d22f4d8f232",
61
60
  * authDatabaseName: "admin",
62
61
  * oidcAuthType: "IDP_GROUP",
63
- * projectId: "6414908c207f4d22f4d8f232",
64
62
  * roles: [{
65
- * databaseName: "admin",
66
63
  * roleName: "readWriteAnyDatabase",
64
+ * databaseName: "admin",
67
65
  * }],
68
- * username: "64d613677e1ad50839cce4db/testUserOrGroup",
69
66
  * });
70
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsers({
67
+ * const test = mongodbatlas.getDatabaseUsers({
71
68
  * projectId: "6414908c207f4d22f4d8f232",
72
69
  * });
73
70
  * ```
74
- * <!--End PulumiCodeChooser -->
75
71
  * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
76
72
  */
77
73
  function getDatabaseUsers(args, opts) {
@@ -90,12 +86,11 @@ exports.getDatabaseUsers = getDatabaseUsers;
90
86
  *
91
87
  * ## Example Usage
92
88
  *
93
- * <!--Start PulumiCodeChooser -->
94
89
  * ```typescript
95
90
  * import * as pulumi from "@pulumi/pulumi";
96
91
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
97
92
  *
98
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
93
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
99
94
  * username: "test-acc-username",
100
95
  * password: "test-acc-password",
101
96
  * projectId: "<PROJECT-ID>",
@@ -121,33 +116,30 @@ exports.getDatabaseUsers = getDatabaseUsers;
121
116
  * },
122
117
  * ],
123
118
  * });
124
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsersOutput({
119
+ * const test = mongodbatlas.getDatabaseUsersOutput({
125
120
  * projectId: testDatabaseUser.projectId,
126
121
  * });
127
122
  * ```
128
- * <!--End PulumiCodeChooser -->
129
123
  * **Example of usage with a OIDC federated authentication user**
130
124
  *
131
- * <!--Start PulumiCodeChooser -->
132
125
  * ```typescript
133
126
  * import * as pulumi from "@pulumi/pulumi";
134
127
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
135
128
  *
136
- * const testDatabaseUser = new mongodbatlas.DatabaseUser("testDatabaseUser", {
129
+ * const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
130
+ * username: "64d613677e1ad50839cce4db/testUserOrGroup",
131
+ * projectId: "6414908c207f4d22f4d8f232",
137
132
  * authDatabaseName: "admin",
138
133
  * oidcAuthType: "IDP_GROUP",
139
- * projectId: "6414908c207f4d22f4d8f232",
140
134
  * roles: [{
141
- * databaseName: "admin",
142
135
  * roleName: "readWriteAnyDatabase",
136
+ * databaseName: "admin",
143
137
  * }],
144
- * username: "64d613677e1ad50839cce4db/testUserOrGroup",
145
138
  * });
146
- * const testDatabaseUsers = mongodbatlas.getDatabaseUsers({
139
+ * const test = mongodbatlas.getDatabaseUsers({
147
140
  * projectId: "6414908c207f4d22f4d8f232",
148
141
  * });
149
142
  * ```
150
- * <!--End PulumiCodeChooser -->
151
143
  * Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
152
144
  */
153
145
  function getDatabaseUsersOutput(args, opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseUsers.js","sourceRoot":"","sources":["../getDatabaseUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getDatabaseUsers.js","sourceRoot":"","sources":["../getDatabaseUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -12,36 +12,32 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * ### S With MongoDB Atlas Cluster As Storage Database
14
14
  *
15
- * <!--Start PulumiCodeChooser -->
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
18
17
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
19
18
  *
20
19
  * const test = mongodbatlas.getFederatedDatabaseInstance({
21
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
22
20
  * projectId: "PROJECT ID",
21
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
23
22
  * });
24
23
  * ```
25
- * <!--End PulumiCodeChooser -->
26
24
  *
27
25
  * ### S With Amazon S3 Bucket As Storage Database
28
26
  *
29
- * <!--Start PulumiCodeChooser -->
30
27
  * ```typescript
31
28
  * import * as pulumi from "@pulumi/pulumi";
32
29
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
33
30
  *
34
31
  * const test = mongodbatlas.getFederatedDatabaseInstance({
32
+ * projectId: "PROJECT ID",
33
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
35
34
  * cloudProviderConfig: {
36
35
  * aws: {
37
36
  * testS3Bucket: "Amazon S3 Bucket Name",
38
37
  * },
39
38
  * },
40
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
41
- * projectId: "PROJECT ID",
42
39
  * });
43
40
  * ```
44
- * <!--End PulumiCodeChooser -->
45
41
  */
46
42
  export declare function getFederatedDatabaseInstance(args: GetFederatedDatabaseInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedDatabaseInstanceResult>;
47
43
  /**
@@ -138,36 +134,32 @@ export interface GetFederatedDatabaseInstanceResult {
138
134
  *
139
135
  * ### S With MongoDB Atlas Cluster As Storage Database
140
136
  *
141
- * <!--Start PulumiCodeChooser -->
142
137
  * ```typescript
143
138
  * import * as pulumi from "@pulumi/pulumi";
144
139
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
145
140
  *
146
141
  * const test = mongodbatlas.getFederatedDatabaseInstance({
147
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
148
142
  * projectId: "PROJECT ID",
143
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
149
144
  * });
150
145
  * ```
151
- * <!--End PulumiCodeChooser -->
152
146
  *
153
147
  * ### S With Amazon S3 Bucket As Storage Database
154
148
  *
155
- * <!--Start PulumiCodeChooser -->
156
149
  * ```typescript
157
150
  * import * as pulumi from "@pulumi/pulumi";
158
151
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
159
152
  *
160
153
  * const test = mongodbatlas.getFederatedDatabaseInstance({
154
+ * projectId: "PROJECT ID",
155
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
161
156
  * cloudProviderConfig: {
162
157
  * aws: {
163
158
  * testS3Bucket: "Amazon S3 Bucket Name",
164
159
  * },
165
160
  * },
166
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
167
- * projectId: "PROJECT ID",
168
161
  * });
169
162
  * ```
170
- * <!--End PulumiCodeChooser -->
171
163
  */
172
164
  export declare function getFederatedDatabaseInstanceOutput(args: GetFederatedDatabaseInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedDatabaseInstanceResult>;
173
165
  /**
@@ -16,36 +16,32 @@ const utilities = require("./utilities");
16
16
  *
17
17
  * ### S With MongoDB Atlas Cluster As Storage Database
18
18
  *
19
- * <!--Start PulumiCodeChooser -->
20
19
  * ```typescript
21
20
  * import * as pulumi from "@pulumi/pulumi";
22
21
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
23
22
  *
24
23
  * const test = mongodbatlas.getFederatedDatabaseInstance({
25
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
26
24
  * projectId: "PROJECT ID",
25
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
27
26
  * });
28
27
  * ```
29
- * <!--End PulumiCodeChooser -->
30
28
  *
31
29
  * ### S With Amazon S3 Bucket As Storage Database
32
30
  *
33
- * <!--Start PulumiCodeChooser -->
34
31
  * ```typescript
35
32
  * import * as pulumi from "@pulumi/pulumi";
36
33
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
37
34
  *
38
35
  * const test = mongodbatlas.getFederatedDatabaseInstance({
36
+ * projectId: "PROJECT ID",
37
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
39
38
  * cloudProviderConfig: {
40
39
  * aws: {
41
40
  * testS3Bucket: "Amazon S3 Bucket Name",
42
41
  * },
43
42
  * },
44
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
45
- * projectId: "PROJECT ID",
46
43
  * });
47
44
  * ```
48
- * <!--End PulumiCodeChooser -->
49
45
  */
50
46
  function getFederatedDatabaseInstance(args, opts) {
51
47
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -67,36 +63,32 @@ exports.getFederatedDatabaseInstance = getFederatedDatabaseInstance;
67
63
  *
68
64
  * ### S With MongoDB Atlas Cluster As Storage Database
69
65
  *
70
- * <!--Start PulumiCodeChooser -->
71
66
  * ```typescript
72
67
  * import * as pulumi from "@pulumi/pulumi";
73
68
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
74
69
  *
75
70
  * const test = mongodbatlas.getFederatedDatabaseInstance({
76
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
77
71
  * projectId: "PROJECT ID",
72
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
78
73
  * });
79
74
  * ```
80
- * <!--End PulumiCodeChooser -->
81
75
  *
82
76
  * ### S With Amazon S3 Bucket As Storage Database
83
77
  *
84
- * <!--Start PulumiCodeChooser -->
85
78
  * ```typescript
86
79
  * import * as pulumi from "@pulumi/pulumi";
87
80
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
88
81
  *
89
82
  * const test = mongodbatlas.getFederatedDatabaseInstance({
83
+ * projectId: "PROJECT ID",
84
+ * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
90
85
  * cloudProviderConfig: {
91
86
  * aws: {
92
87
  * testS3Bucket: "Amazon S3 Bucket Name",
93
88
  * },
94
89
  * },
95
- * name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
96
- * projectId: "PROJECT ID",
97
90
  * });
98
91
  * ```
99
- * <!--End PulumiCodeChooser -->
100
92
  */
101
93
  function getFederatedDatabaseInstanceOutput(args, opts) {
102
94
  return pulumi.output(args).apply((a) => getFederatedDatabaseInstance(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getFederatedDatabaseInstance.js","sourceRoot":"","sources":["../getFederatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
1
+ {"version":3,"file":"getFederatedDatabaseInstance.js","sourceRoot":"","sources":["../getFederatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}