@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
package/getCluster.d.ts CHANGED
@@ -9,6 +9,36 @@ import * as outputs from "./types/output";
9
9
  * <br> &#8226; Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
10
10
  * <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
11
11
  * <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const testCluster = new mongodbatlas.Cluster("test", {
20
+ * projectId: "<YOUR-PROJECT-ID>",
21
+ * name: "cluster-test",
22
+ * clusterType: "REPLICASET",
23
+ * replicationSpecs: [{
24
+ * numShards: 1,
25
+ * regionsConfigs: [{
26
+ * regionName: "US_EAST_1",
27
+ * electableNodes: 3,
28
+ * priority: 7,
29
+ * readOnlyNodes: 0,
30
+ * }],
31
+ * }],
32
+ * cloudBackup: true,
33
+ * autoScalingDiskGbEnabled: true,
34
+ * providerName: "AWS",
35
+ * providerInstanceSizeName: "M40",
36
+ * });
37
+ * const test = mongodbatlas.getClusterOutput({
38
+ * projectId: testCluster.projectId,
39
+ * name: testCluster.name,
40
+ * });
41
+ * ```
12
42
  */
13
43
  export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
14
44
  /**
@@ -210,6 +240,36 @@ export interface GetClusterResult {
210
240
  * <br> &#8226; Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
211
241
  * <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
212
242
  * <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
243
+ *
244
+ * ## Example Usage
245
+ *
246
+ * ```typescript
247
+ * import * as pulumi from "@pulumi/pulumi";
248
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
249
+ *
250
+ * const testCluster = new mongodbatlas.Cluster("test", {
251
+ * projectId: "<YOUR-PROJECT-ID>",
252
+ * name: "cluster-test",
253
+ * clusterType: "REPLICASET",
254
+ * replicationSpecs: [{
255
+ * numShards: 1,
256
+ * regionsConfigs: [{
257
+ * regionName: "US_EAST_1",
258
+ * electableNodes: 3,
259
+ * priority: 7,
260
+ * readOnlyNodes: 0,
261
+ * }],
262
+ * }],
263
+ * cloudBackup: true,
264
+ * autoScalingDiskGbEnabled: true,
265
+ * providerName: "AWS",
266
+ * providerInstanceSizeName: "M40",
267
+ * });
268
+ * const test = mongodbatlas.getClusterOutput({
269
+ * projectId: testCluster.projectId,
270
+ * name: testCluster.name,
271
+ * });
272
+ * ```
213
273
  */
214
274
  export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterResult>;
215
275
  /**
package/getCluster.js CHANGED
@@ -14,6 +14,36 @@ const utilities = require("./utilities");
14
14
  * <br> &#8226; Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
15
15
  * <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
16
16
  * <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
17
+ *
18
+ * ## Example Usage
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
23
+ *
24
+ * const testCluster = new mongodbatlas.Cluster("test", {
25
+ * projectId: "<YOUR-PROJECT-ID>",
26
+ * name: "cluster-test",
27
+ * clusterType: "REPLICASET",
28
+ * replicationSpecs: [{
29
+ * numShards: 1,
30
+ * regionsConfigs: [{
31
+ * regionName: "US_EAST_1",
32
+ * electableNodes: 3,
33
+ * priority: 7,
34
+ * readOnlyNodes: 0,
35
+ * }],
36
+ * }],
37
+ * cloudBackup: true,
38
+ * autoScalingDiskGbEnabled: true,
39
+ * providerName: "AWS",
40
+ * providerInstanceSizeName: "M40",
41
+ * });
42
+ * const test = mongodbatlas.getClusterOutput({
43
+ * projectId: testCluster.projectId,
44
+ * name: testCluster.name,
45
+ * });
46
+ * ```
17
47
  */
18
48
  function getCluster(args, opts) {
19
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -32,6 +62,36 @@ exports.getCluster = getCluster;
32
62
  * <br> &#8226; Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
33
63
  * <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
34
64
  * <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
71
+ *
72
+ * const testCluster = new mongodbatlas.Cluster("test", {
73
+ * projectId: "<YOUR-PROJECT-ID>",
74
+ * name: "cluster-test",
75
+ * clusterType: "REPLICASET",
76
+ * replicationSpecs: [{
77
+ * numShards: 1,
78
+ * regionsConfigs: [{
79
+ * regionName: "US_EAST_1",
80
+ * electableNodes: 3,
81
+ * priority: 7,
82
+ * readOnlyNodes: 0,
83
+ * }],
84
+ * }],
85
+ * cloudBackup: true,
86
+ * autoScalingDiskGbEnabled: true,
87
+ * providerName: "AWS",
88
+ * providerInstanceSizeName: "M40",
89
+ * });
90
+ * const test = mongodbatlas.getClusterOutput({
91
+ * projectId: testCluster.projectId,
92
+ * name: testCluster.name,
93
+ * });
94
+ * ```
35
95
  */
36
96
  function getClusterOutput(args, opts) {
37
97
  return pulumi.output(args).apply((a) => getCluster(a, opts));
package/getCluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAiMD;;;;;;;;;GASG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAiMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -5,17 +5,15 @@ import * as outputs from "./types/output";
5
5
  *
6
6
  * ### S
7
7
  *
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
11
  *
13
12
  * const outageSimulation = mongodbatlas.getClusterOutageSimulation({
14
- * clusterName: "Cluster0",
15
13
  * projectId: "64707f06c519c20c3a2b1b03",
14
+ * clusterName: "Cluster0",
16
15
  * });
17
16
  * ```
18
- * <!--End PulumiCodeChooser -->
19
17
  */
20
18
  export declare function getClusterOutageSimulation(args: GetClusterOutageSimulationArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterOutageSimulationResult>;
21
19
  /**
@@ -63,17 +61,15 @@ export interface GetClusterOutageSimulationResult {
63
61
  *
64
62
  * ### S
65
63
  *
66
- * <!--Start PulumiCodeChooser -->
67
64
  * ```typescript
68
65
  * import * as pulumi from "@pulumi/pulumi";
69
66
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
70
67
  *
71
68
  * const outageSimulation = mongodbatlas.getClusterOutageSimulation({
72
- * clusterName: "Cluster0",
73
69
  * projectId: "64707f06c519c20c3a2b1b03",
70
+ * clusterName: "Cluster0",
74
71
  * });
75
72
  * ```
76
- * <!--End PulumiCodeChooser -->
77
73
  */
78
74
  export declare function getClusterOutageSimulationOutput(args: GetClusterOutageSimulationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterOutageSimulationResult>;
79
75
  /**
@@ -10,17 +10,15 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ### S
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
17
16
  *
18
17
  * const outageSimulation = mongodbatlas.getClusterOutageSimulation({
19
- * clusterName: "Cluster0",
20
18
  * projectId: "64707f06c519c20c3a2b1b03",
19
+ * clusterName: "Cluster0",
21
20
  * });
22
21
  * ```
23
- * <!--End PulumiCodeChooser -->
24
22
  */
25
23
  function getClusterOutageSimulation(args, opts) {
26
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -35,17 +33,15 @@ exports.getClusterOutageSimulation = getClusterOutageSimulation;
35
33
  *
36
34
  * ### S
37
35
  *
38
- * <!--Start PulumiCodeChooser -->
39
36
  * ```typescript
40
37
  * import * as pulumi from "@pulumi/pulumi";
41
38
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
42
39
  *
43
40
  * const outageSimulation = mongodbatlas.getClusterOutageSimulation({
44
- * clusterName: "Cluster0",
45
41
  * projectId: "64707f06c519c20c3a2b1b03",
42
+ * clusterName: "Cluster0",
46
43
  * });
47
44
  * ```
48
- * <!--End PulumiCodeChooser -->
49
45
  */
50
46
  function getClusterOutageSimulationOutput(args, opts) {
51
47
  return pulumi.output(args).apply((a) => getClusterOutageSimulation(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getClusterOutageSimulation.js","sourceRoot":"","sources":["../getClusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA2CD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
1
+ {"version":3,"file":"getClusterOutageSimulation.js","sourceRoot":"","sources":["../getClusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA2CD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
package/getClusters.d.ts CHANGED
@@ -12,13 +12,13 @@ import * as outputs from "./types/output";
12
12
  *
13
13
  * ## Example Usage
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
- * const testCluster = new mongodbatlas.Cluster("testCluster", {
19
+ * const testCluster = new mongodbatlas.Cluster("test", {
21
20
  * projectId: "<YOUR-PROJECT-ID>",
21
+ * name: "cluster-test",
22
22
  * clusterType: "REPLICASET",
23
23
  * replicationSpecs: [{
24
24
  * numShards: 1,
@@ -34,11 +34,10 @@ import * as outputs from "./types/output";
34
34
  * providerName: "AWS",
35
35
  * providerInstanceSizeName: "M40",
36
36
  * });
37
- * const testClusters = mongodbatlas.getClustersOutput({
37
+ * const test = mongodbatlas.getClustersOutput({
38
38
  * projectId: testCluster.projectId,
39
39
  * });
40
40
  * ```
41
- * <!--End PulumiCodeChooser -->
42
41
  */
43
42
  export declare function getClusters(args: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>;
44
43
  /**
@@ -76,13 +75,13 @@ export interface GetClustersResult {
76
75
  *
77
76
  * ## Example Usage
78
77
  *
79
- * <!--Start PulumiCodeChooser -->
80
78
  * ```typescript
81
79
  * import * as pulumi from "@pulumi/pulumi";
82
80
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
83
81
  *
84
- * const testCluster = new mongodbatlas.Cluster("testCluster", {
82
+ * const testCluster = new mongodbatlas.Cluster("test", {
85
83
  * projectId: "<YOUR-PROJECT-ID>",
84
+ * name: "cluster-test",
86
85
  * clusterType: "REPLICASET",
87
86
  * replicationSpecs: [{
88
87
  * numShards: 1,
@@ -98,11 +97,10 @@ export interface GetClustersResult {
98
97
  * providerName: "AWS",
99
98
  * providerInstanceSizeName: "M40",
100
99
  * });
101
- * const testClusters = mongodbatlas.getClustersOutput({
100
+ * const test = mongodbatlas.getClustersOutput({
102
101
  * projectId: testCluster.projectId,
103
102
  * });
104
103
  * ```
105
- * <!--End PulumiCodeChooser -->
106
104
  */
107
105
  export declare function getClustersOutput(args: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClustersResult>;
108
106
  /**
package/getClusters.js CHANGED
@@ -17,13 +17,13 @@ const utilities = require("./utilities");
17
17
  *
18
18
  * ## Example Usage
19
19
  *
20
- * <!--Start PulumiCodeChooser -->
21
20
  * ```typescript
22
21
  * import * as pulumi from "@pulumi/pulumi";
23
22
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
24
23
  *
25
- * const testCluster = new mongodbatlas.Cluster("testCluster", {
24
+ * const testCluster = new mongodbatlas.Cluster("test", {
26
25
  * projectId: "<YOUR-PROJECT-ID>",
26
+ * name: "cluster-test",
27
27
  * clusterType: "REPLICASET",
28
28
  * replicationSpecs: [{
29
29
  * numShards: 1,
@@ -39,11 +39,10 @@ const utilities = require("./utilities");
39
39
  * providerName: "AWS",
40
40
  * providerInstanceSizeName: "M40",
41
41
  * });
42
- * const testClusters = mongodbatlas.getClustersOutput({
42
+ * const test = mongodbatlas.getClustersOutput({
43
43
  * projectId: testCluster.projectId,
44
44
  * });
45
45
  * ```
46
- * <!--End PulumiCodeChooser -->
47
46
  */
48
47
  function getClusters(args, opts) {
49
48
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -64,13 +63,13 @@ exports.getClusters = getClusters;
64
63
  *
65
64
  * ## Example Usage
66
65
  *
67
- * <!--Start PulumiCodeChooser -->
68
66
  * ```typescript
69
67
  * import * as pulumi from "@pulumi/pulumi";
70
68
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
71
69
  *
72
- * const testCluster = new mongodbatlas.Cluster("testCluster", {
70
+ * const testCluster = new mongodbatlas.Cluster("test", {
73
71
  * projectId: "<YOUR-PROJECT-ID>",
72
+ * name: "cluster-test",
74
73
  * clusterType: "REPLICASET",
75
74
  * replicationSpecs: [{
76
75
  * numShards: 1,
@@ -86,11 +85,10 @@ exports.getClusters = getClusters;
86
85
  * providerName: "AWS",
87
86
  * providerInstanceSizeName: "M40",
88
87
  * });
89
- * const testClusters = mongodbatlas.getClustersOutput({
88
+ * const test = mongodbatlas.getClustersOutput({
90
89
  * projectId: testCluster.projectId,
91
90
  * });
92
91
  * ```
93
- * <!--End PulumiCodeChooser -->
94
92
  */
95
93
  function getClustersOutput(args, opts) {
96
94
  return pulumi.output(args).apply((a) => getClusters(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -8,12 +8,11 @@ import * as outputs from "./types/output";
8
8
  *
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
15
14
  *
16
- * const testRole = new mongodbatlas.CustomDbRole("testRole", {
15
+ * const testRole = new mongodbatlas.CustomDbRole("test_role", {
17
16
  * projectId: "<PROJECT-ID>",
18
17
  * roleName: "myCustomRole",
19
18
  * actions: [
@@ -38,7 +37,6 @@ import * as outputs from "./types/output";
38
37
  * roleName: testRole.roleName,
39
38
  * });
40
39
  * ```
41
- * <!--End PulumiCodeChooser -->
42
40
  */
43
41
  export declare function getCustomDbRole(args: GetCustomDbRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDbRoleResult>;
44
42
  /**
@@ -78,12 +76,11 @@ export interface GetCustomDbRoleResult {
78
76
  *
79
77
  * ## Example Usage
80
78
  *
81
- * <!--Start PulumiCodeChooser -->
82
79
  * ```typescript
83
80
  * import * as pulumi from "@pulumi/pulumi";
84
81
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
85
82
  *
86
- * const testRole = new mongodbatlas.CustomDbRole("testRole", {
83
+ * const testRole = new mongodbatlas.CustomDbRole("test_role", {
87
84
  * projectId: "<PROJECT-ID>",
88
85
  * roleName: "myCustomRole",
89
86
  * actions: [
@@ -108,7 +105,6 @@ export interface GetCustomDbRoleResult {
108
105
  * roleName: testRole.roleName,
109
106
  * });
110
107
  * ```
111
- * <!--End PulumiCodeChooser -->
112
108
  */
113
109
  export declare function getCustomDbRoleOutput(args: GetCustomDbRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDbRoleResult>;
114
110
  /**
@@ -12,12 +12,11 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
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
- * const testRole = new mongodbatlas.CustomDbRole("testRole", {
19
+ * const testRole = new mongodbatlas.CustomDbRole("test_role", {
21
20
  * projectId: "<PROJECT-ID>",
22
21
  * roleName: "myCustomRole",
23
22
  * actions: [
@@ -42,7 +41,6 @@ const utilities = require("./utilities");
42
41
  * roleName: testRole.roleName,
43
42
  * });
44
43
  * ```
45
- * <!--End PulumiCodeChooser -->
46
44
  */
47
45
  function getCustomDbRole(args, opts) {
48
46
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -60,12 +58,11 @@ exports.getCustomDbRole = getCustomDbRole;
60
58
  *
61
59
  * ## Example Usage
62
60
  *
63
- * <!--Start PulumiCodeChooser -->
64
61
  * ```typescript
65
62
  * import * as pulumi from "@pulumi/pulumi";
66
63
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
67
64
  *
68
- * const testRole = new mongodbatlas.CustomDbRole("testRole", {
65
+ * const testRole = new mongodbatlas.CustomDbRole("test_role", {
69
66
  * projectId: "<PROJECT-ID>",
70
67
  * roleName: "myCustomRole",
71
68
  * actions: [
@@ -90,7 +87,6 @@ exports.getCustomDbRole = getCustomDbRole;
90
87
  * roleName: testRole.roleName,
91
88
  * });
92
89
  * ```
93
- * <!--End PulumiCodeChooser -->
94
90
  */
95
91
  function getCustomDbRoleOutput(args, opts) {
96
92
  return pulumi.output(args).apply((a) => getCustomDbRole(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;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"}
@@ -3,6 +3,21 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
4
4
  *
5
5
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
+ *
13
+ * const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
14
+ * projectId: "<project-id>",
15
+ * enabled: true,
16
+ * });
17
+ * const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
18
+ * projectId: testCustomDnsConfigurationClusterAws.id,
19
+ * });
20
+ * ```
6
21
  */
7
22
  export declare function getCustomDnsConfigurationClusterAws(args: GetCustomDnsConfigurationClusterAwsArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDnsConfigurationClusterAwsResult>;
8
23
  /**
@@ -32,6 +47,21 @@ export interface GetCustomDnsConfigurationClusterAwsResult {
32
47
  * `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
33
48
  *
34
49
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
50
+ *
51
+ * ## Example Usage
52
+ *
53
+ * ```typescript
54
+ * import * as pulumi from "@pulumi/pulumi";
55
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
56
+ *
57
+ * const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
58
+ * projectId: "<project-id>",
59
+ * enabled: true,
60
+ * });
61
+ * const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
62
+ * projectId: testCustomDnsConfigurationClusterAws.id,
63
+ * });
64
+ * ```
35
65
  */
36
66
  export declare function getCustomDnsConfigurationClusterAwsOutput(args: GetCustomDnsConfigurationClusterAwsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDnsConfigurationClusterAwsResult>;
37
67
  /**
@@ -9,6 +9,21 @@ const utilities = require("./utilities");
9
9
  * `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
10
10
  *
11
11
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
20
+ * projectId: "<project-id>",
21
+ * enabled: true,
22
+ * });
23
+ * const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
24
+ * projectId: testCustomDnsConfigurationClusterAws.id,
25
+ * });
26
+ * ```
12
27
  */
13
28
  function getCustomDnsConfigurationClusterAws(args, opts) {
14
29
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -21,6 +36,21 @@ exports.getCustomDnsConfigurationClusterAws = getCustomDnsConfigurationClusterAw
21
36
  * `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
22
37
  *
23
38
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
45
+ *
46
+ * const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
47
+ * projectId: "<project-id>",
48
+ * enabled: true,
49
+ * });
50
+ * const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
51
+ * projectId: testCustomDnsConfigurationClusterAws.id,
52
+ * });
53
+ * ```
24
54
  */
25
55
  function getCustomDnsConfigurationClusterAwsOutput(args, opts) {
26
56
  return pulumi.output(args).apply((a) => getCustomDnsConfigurationClusterAws(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAE1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC;AA0BD;;;;GAIG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9F,CAAC;AAFD,8FAEC"}
1
+ {"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAE1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC;AA0BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9F,CAAC;AAFD,8FAEC"}