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

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 (232) hide show
  1. package/accessListApiKey.d.ts +4 -4
  2. package/accessListApiKey.js +4 -4
  3. package/advancedCluster.d.ts +28 -45
  4. package/advancedCluster.js +28 -45
  5. package/advancedCluster.js.map +1 -1
  6. package/alertConfiguration.d.ts +44 -44
  7. package/alertConfiguration.js +44 -44
  8. package/auditing.d.ts +2 -2
  9. package/auditing.js +2 -2
  10. package/backupCompliancePolicy.d.ts +85 -0
  11. package/backupCompliancePolicy.js +85 -0
  12. package/backupCompliancePolicy.js.map +1 -1
  13. package/cloudBackupSnapshot.d.ts +7 -7
  14. package/cloudBackupSnapshot.js +7 -7
  15. package/cloudBackupSnapshotExportBucket.d.ts +2 -2
  16. package/cloudBackupSnapshotExportBucket.js +2 -2
  17. package/cloudBackupSnapshotExportJob.d.ts +3 -3
  18. package/cloudBackupSnapshotExportJob.js +3 -3
  19. package/cloudBackupSnapshotRestoreJob.d.ts +78 -11
  20. package/cloudBackupSnapshotRestoreJob.js +78 -11
  21. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  22. package/cluster.d.ts +48 -64
  23. package/cluster.js +48 -64
  24. package/cluster.js.map +1 -1
  25. package/clusterOutageSimulation.d.ts +2 -2
  26. package/clusterOutageSimulation.js +2 -2
  27. package/customDbRole.d.ts +6 -6
  28. package/customDbRole.js +6 -6
  29. package/customDnsConfigurationClusterAws.d.ts +1 -1
  30. package/customDnsConfigurationClusterAws.js +1 -1
  31. package/databaseUser.d.ts +19 -19
  32. package/databaseUser.js +19 -19
  33. package/eventTrigger.d.ts +24 -20
  34. package/eventTrigger.js +24 -20
  35. package/eventTrigger.js.map +1 -1
  36. package/federatedDatabaseInstance.d.ts +10 -8
  37. package/federatedDatabaseInstance.js +10 -8
  38. package/federatedDatabaseInstance.js.map +1 -1
  39. package/federatedQueryLimit.d.ts +2 -2
  40. package/federatedQueryLimit.js +2 -2
  41. package/federatedSettingsIdentityProvider.d.ts +6 -5
  42. package/federatedSettingsIdentityProvider.js +6 -5
  43. package/federatedSettingsIdentityProvider.js.map +1 -1
  44. package/federatedSettingsOrgRoleMapping.d.ts +2 -2
  45. package/federatedSettingsOrgRoleMapping.js +2 -2
  46. package/get509AuthenticationDatabaseUser.d.ts +64 -0
  47. package/get509AuthenticationDatabaseUser.js +64 -0
  48. package/get509AuthenticationDatabaseUser.js.map +1 -1
  49. package/getAdvancedCluster.d.ts +60 -0
  50. package/getAdvancedCluster.js +60 -0
  51. package/getAdvancedCluster.js.map +1 -1
  52. package/getAlertConfiguration.d.ts +202 -0
  53. package/getAlertConfiguration.js +202 -0
  54. package/getAlertConfiguration.js.map +1 -1
  55. package/getAtlasUsers.d.ts +2 -2
  56. package/getAtlasUsers.js +2 -2
  57. package/getAuditing.d.ts +38 -0
  58. package/getAuditing.js +38 -0
  59. package/getAuditing.js.map +1 -1
  60. package/getBackupCompliancePolicy.d.ts +170 -0
  61. package/getBackupCompliancePolicy.js +170 -0
  62. package/getBackupCompliancePolicy.js.map +1 -1
  63. package/getCloudBackupSchedule.d.ts +58 -0
  64. package/getCloudBackupSchedule.js +58 -0
  65. package/getCloudBackupSchedule.js.map +1 -1
  66. package/getCloudBackupSnapshot.d.ts +42 -0
  67. package/getCloudBackupSnapshot.js +42 -0
  68. package/getCloudBackupSnapshot.js.map +1 -1
  69. package/getCloudBackupSnapshotExportBucket.d.ts +40 -0
  70. package/getCloudBackupSnapshotExportBucket.js +40 -0
  71. package/getCloudBackupSnapshotExportBucket.js.map +1 -1
  72. package/getCloudBackupSnapshotExportBuckets.d.ts +8 -8
  73. package/getCloudBackupSnapshotExportBuckets.js +8 -8
  74. package/getCloudBackupSnapshotExportJob.d.ts +62 -0
  75. package/getCloudBackupSnapshotExportJob.js +62 -0
  76. package/getCloudBackupSnapshotExportJob.js.map +1 -1
  77. package/getCloudBackupSnapshotExportJobs.d.ts +6 -6
  78. package/getCloudBackupSnapshotExportJobs.js +6 -6
  79. package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -6
  80. package/getCloudBackupSnapshotRestoreJobs.js +6 -6
  81. package/getCloudProviderAccessSetup.d.ts +4 -4
  82. package/getCloudProviderAccessSetup.js +4 -4
  83. package/getCluster.d.ts +64 -0
  84. package/getCluster.js +64 -0
  85. package/getCluster.js.map +1 -1
  86. package/getClusterOutageSimulation.d.ts +2 -2
  87. package/getClusterOutageSimulation.js +2 -2
  88. package/getClusters.d.ts +6 -4
  89. package/getClusters.js +6 -4
  90. package/getClusters.js.map +1 -1
  91. package/getCustomDbRole.d.ts +2 -2
  92. package/getCustomDbRole.js +2 -2
  93. package/getCustomDnsConfigurationClusterAws.d.ts +34 -0
  94. package/getCustomDnsConfigurationClusterAws.js +34 -0
  95. package/getCustomDnsConfigurationClusterAws.js.map +1 -1
  96. package/getDatabaseUser.d.ts +132 -0
  97. package/getDatabaseUser.js +132 -0
  98. package/getDatabaseUser.js.map +1 -1
  99. package/getDatabaseUsers.d.ts +14 -14
  100. package/getDatabaseUsers.js +14 -14
  101. package/getFederatedDatabaseInstance.d.ts +6 -6
  102. package/getFederatedDatabaseInstance.js +6 -6
  103. package/getFederatedQueryLimit.d.ts +2 -2
  104. package/getFederatedQueryLimit.js +2 -2
  105. package/getFederatedSettingsIdentityProvider.d.ts +4 -2
  106. package/getFederatedSettingsIdentityProvider.js +4 -2
  107. package/getFederatedSettingsIdentityProvider.js.map +1 -1
  108. package/getFederatedSettingsIdentityProviders.d.ts +4 -2
  109. package/getFederatedSettingsIdentityProviders.js +4 -2
  110. package/getFederatedSettingsIdentityProviders.js.map +1 -1
  111. package/getFederatedSettingsOrgConfig.d.ts +6 -6
  112. package/getFederatedSettingsOrgConfig.js +6 -6
  113. package/getFederatedSettingsOrgConfigs.d.ts +6 -6
  114. package/getFederatedSettingsOrgConfigs.js +6 -6
  115. package/getFederatedSettingsOrgRoleMapping.d.ts +4 -4
  116. package/getFederatedSettingsOrgRoleMapping.js +4 -4
  117. package/getGlobalClusterConfig.d.ts +114 -0
  118. package/getGlobalClusterConfig.js +114 -0
  119. package/getGlobalClusterConfig.js.map +1 -1
  120. package/getLdapConfiguration.d.ts +50 -0
  121. package/getLdapConfiguration.js +50 -0
  122. package/getLdapConfiguration.js.map +1 -1
  123. package/getLdapVerify.d.ts +70 -0
  124. package/getLdapVerify.js +70 -0
  125. package/getLdapVerify.js.map +1 -1
  126. package/getMaintenanceWindow.d.ts +68 -0
  127. package/getMaintenanceWindow.js +68 -0
  128. package/getMaintenanceWindow.js.map +1 -1
  129. package/getNetworkContainer.d.ts +40 -0
  130. package/getNetworkContainer.js +40 -0
  131. package/getNetworkContainer.js.map +1 -1
  132. package/getNetworkContainers.d.ts +4 -4
  133. package/getNetworkContainers.js +4 -4
  134. package/getNetworkPeering.d.ts +46 -0
  135. package/getNetworkPeering.js +46 -0
  136. package/getNetworkPeering.js.map +1 -1
  137. package/getNetworkPeerings.d.ts +4 -4
  138. package/getNetworkPeerings.js +4 -4
  139. package/getOrganizations.d.ts +2 -2
  140. package/getOrganizations.js +2 -2
  141. package/getPrivateLinkEndpoint.d.ts +46 -0
  142. package/getPrivateLinkEndpoint.js +46 -0
  143. package/getPrivateLinkEndpoint.js.map +1 -1
  144. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -2
  145. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -2
  146. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  147. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -2
  148. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -2
  149. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
  150. package/getPrivatelinkEndpointServiceServerless.d.ts +20 -16
  151. package/getPrivatelinkEndpointServiceServerless.js +20 -16
  152. package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
  153. package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -16
  154. package/getPrivatelinkEndpointsServiceServerless.js +20 -16
  155. package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
  156. package/getProject.d.ts +134 -0
  157. package/getProject.js +134 -0
  158. package/getProject.js.map +1 -1
  159. package/getProjectApiKey.d.ts +40 -0
  160. package/getProjectApiKey.js +40 -0
  161. package/getProjectApiKey.js.map +1 -1
  162. package/getProjectApiKeys.d.ts +2 -2
  163. package/getProjectApiKeys.js +2 -2
  164. package/getProjectInvitation.d.ts +38 -0
  165. package/getProjectInvitation.js +38 -0
  166. package/getProjectInvitation.js.map +1 -1
  167. package/getProjectIpAccessList.d.ts +146 -0
  168. package/getProjectIpAccessList.js +146 -0
  169. package/getProjectIpAccessList.js.map +1 -1
  170. package/getProjects.d.ts +10 -8
  171. package/getProjects.js +10 -8
  172. package/getProjects.js.map +1 -1
  173. package/getSearchIndex.d.ts +2 -2
  174. package/getSearchIndex.js +2 -2
  175. package/getThirdPartyIntegration.d.ts +2 -2
  176. package/getThirdPartyIntegration.js +2 -2
  177. package/getThirdPartyIntegrations.d.ts +4 -4
  178. package/getThirdPartyIntegrations.js +4 -4
  179. package/getX509AuthenticationDatabaseUser.d.ts +64 -0
  180. package/getX509AuthenticationDatabaseUser.js +64 -0
  181. package/getX509AuthenticationDatabaseUser.js.map +1 -1
  182. package/globalClusterConfig.d.ts +4 -2
  183. package/globalClusterConfig.js +4 -2
  184. package/globalClusterConfig.js.map +1 -1
  185. package/ldapConfiguration.d.ts +12 -6
  186. package/ldapConfiguration.js +12 -6
  187. package/ldapConfiguration.js.map +1 -1
  188. package/ldapVerify.d.ts +9 -6
  189. package/ldapVerify.js +9 -6
  190. package/ldapVerify.js.map +1 -1
  191. package/maintenanceWindow.d.ts +2 -2
  192. package/maintenanceWindow.js +2 -2
  193. package/networkContainer.d.ts +3 -3
  194. package/networkContainer.js +3 -3
  195. package/networkPeering.d.ts +38 -143
  196. package/networkPeering.js +38 -143
  197. package/networkPeering.js.map +1 -1
  198. package/onlineArchive.d.ts +8 -8
  199. package/onlineArchive.js +8 -8
  200. package/orgInvitation.d.ts +4 -4
  201. package/orgInvitation.js +4 -4
  202. package/organization.d.ts +2 -1
  203. package/organization.js +2 -1
  204. package/organization.js.map +1 -1
  205. package/package.json +1 -1
  206. package/privateLinkEndpointService.d.ts +95 -22
  207. package/privateLinkEndpointService.js +95 -22
  208. package/privateLinkEndpointService.js.map +1 -1
  209. package/privatelinkEndpointServerless.d.ts +3 -2
  210. package/privatelinkEndpointServerless.js +3 -2
  211. package/privatelinkEndpointServerless.js.map +1 -1
  212. package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -1
  213. package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -1
  214. package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  215. package/privatelinkEndpointServiceServerless.d.ts +54 -6
  216. package/privatelinkEndpointServiceServerless.js +54 -6
  217. package/privatelinkEndpointServiceServerless.js.map +1 -1
  218. package/project.d.ts +4 -3
  219. package/project.js +4 -3
  220. package/project.js.map +1 -1
  221. package/projectInvitation.d.ts +2 -2
  222. package/projectInvitation.js +2 -2
  223. package/projectIpAccessList.d.ts +8 -8
  224. package/projectIpAccessList.js +8 -8
  225. package/searchIndex.d.ts +4 -2
  226. package/searchIndex.js +4 -2
  227. package/searchIndex.js.map +1 -1
  228. package/serverlessInstance.d.ts +1 -0
  229. package/serverlessInstance.js +1 -0
  230. package/serverlessInstance.js.map +1 -1
  231. package/thirdPartyIntegration.d.ts +3 -3
  232. package/thirdPartyIntegration.js +3 -3
package/getLdapVerify.js CHANGED
@@ -9,6 +9,41 @@ const utilities = require("./utilities");
9
9
  * `mongodbatlas.LdapVerify` describes a LDAP Verify.
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
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
19
+ *
20
+ * const testProject = new mongodbatlas.Project("test", {
21
+ * name: "NAME OF THE PROJECT",
22
+ * orgId: "ORG ID",
23
+ * });
24
+ * const testCluster = new mongodbatlas.Cluster("test", {
25
+ * projectId: testProject.id,
26
+ * name: "NAME OF THE CLUSTER",
27
+ * providerName: "AWS",
28
+ * providerRegionName: "US_EAST_2",
29
+ * providerInstanceSizeName: "M10",
30
+ * cloudBackup: true,
31
+ * });
32
+ * const testLdapVerify = new mongodbatlas.LdapVerify("test", {
33
+ * projectId: testProject.id,
34
+ * hostname: "HOSTNAME",
35
+ * port: 636,
36
+ * bindUsername: "USERNAME",
37
+ * bindPassword: "PASSWORD",
38
+ * }, {
39
+ * dependsOn: [testCluster],
40
+ * });
41
+ * const test = mongodbatlas.getLdapVerifyOutput({
42
+ * projectId: testLdapVerify.projectId,
43
+ * requestId: testLdapVerify.requestId,
44
+ * });
45
+ * ```
46
+ * <!--End PulumiCodeChooser -->
12
47
  */
13
48
  function getLdapVerify(args, opts) {
14
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -22,6 +57,41 @@ exports.getLdapVerify = getLdapVerify;
22
57
  * `mongodbatlas.LdapVerify` describes a LDAP Verify.
23
58
  *
24
59
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
60
+ *
61
+ * ## Example Usage
62
+ *
63
+ * <!--Start PulumiCodeChooser -->
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
67
+ *
68
+ * const testProject = new mongodbatlas.Project("test", {
69
+ * name: "NAME OF THE PROJECT",
70
+ * orgId: "ORG ID",
71
+ * });
72
+ * const testCluster = new mongodbatlas.Cluster("test", {
73
+ * projectId: testProject.id,
74
+ * name: "NAME OF THE CLUSTER",
75
+ * providerName: "AWS",
76
+ * providerRegionName: "US_EAST_2",
77
+ * providerInstanceSizeName: "M10",
78
+ * cloudBackup: true,
79
+ * });
80
+ * const testLdapVerify = new mongodbatlas.LdapVerify("test", {
81
+ * projectId: testProject.id,
82
+ * hostname: "HOSTNAME",
83
+ * port: 636,
84
+ * bindUsername: "USERNAME",
85
+ * bindPassword: "PASSWORD",
86
+ * }, {
87
+ * dependsOn: [testCluster],
88
+ * });
89
+ * const test = mongodbatlas.getLdapVerifyOutput({
90
+ * projectId: testLdapVerify.projectId,
91
+ * requestId: testLdapVerify.requestId,
92
+ * });
93
+ * ```
94
+ * <!--End PulumiCodeChooser -->
25
95
  */
26
96
  function getLdapVerifyOutput(args, opts) {
27
97
  return pulumi.output(args).apply((a) => getLdapVerify(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getLdapVerify.js","sourceRoot":"","sources":["../getLdapVerify.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAsDD;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getLdapVerify.js","sourceRoot":"","sources":["../getLdapVerify.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAsDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -3,6 +3,40 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
4
4
  *
5
5
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
6
+ *
7
+ * ## Examples Usage
8
+ *
9
+ * <!--Start PulumiCodeChooser -->
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
13
+ *
14
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
15
+ * projectId: "<your-project-id>",
16
+ * dayOfWeek: 3,
17
+ * hourOfDay: 4,
18
+ * autoDeferOnceEnabled: true,
19
+ * });
20
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
21
+ * projectId: testMaintenanceWindow.id,
22
+ * });
23
+ * ```
24
+ * <!--End PulumiCodeChooser -->
25
+ *
26
+ * <!--Start PulumiCodeChooser -->
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
30
+ *
31
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
32
+ * projectId: "<your-project-id>",
33
+ * startAsap: true,
34
+ * });
35
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
36
+ * projectId: testMaintenanceWindow.id,
37
+ * });
38
+ * ```
39
+ * <!--End PulumiCodeChooser -->
6
40
  */
7
41
  export declare function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowResult>;
8
42
  /**
@@ -49,6 +83,40 @@ export interface GetMaintenanceWindowResult {
49
83
  * `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
50
84
  *
51
85
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
86
+ *
87
+ * ## Examples Usage
88
+ *
89
+ * <!--Start PulumiCodeChooser -->
90
+ * ```typescript
91
+ * import * as pulumi from "@pulumi/pulumi";
92
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
93
+ *
94
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
95
+ * projectId: "<your-project-id>",
96
+ * dayOfWeek: 3,
97
+ * hourOfDay: 4,
98
+ * autoDeferOnceEnabled: true,
99
+ * });
100
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
101
+ * projectId: testMaintenanceWindow.id,
102
+ * });
103
+ * ```
104
+ * <!--End PulumiCodeChooser -->
105
+ *
106
+ * <!--Start PulumiCodeChooser -->
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
110
+ *
111
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
112
+ * projectId: "<your-project-id>",
113
+ * startAsap: true,
114
+ * });
115
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
116
+ * projectId: testMaintenanceWindow.id,
117
+ * });
118
+ * ```
119
+ * <!--End PulumiCodeChooser -->
52
120
  */
53
121
  export declare function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaintenanceWindowResult>;
54
122
  /**
@@ -9,6 +9,40 @@ const utilities = require("./utilities");
9
9
  * `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
10
10
  *
11
11
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
12
+ *
13
+ * ## Examples Usage
14
+ *
15
+ * <!--Start PulumiCodeChooser -->
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
19
+ *
20
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
21
+ * projectId: "<your-project-id>",
22
+ * dayOfWeek: 3,
23
+ * hourOfDay: 4,
24
+ * autoDeferOnceEnabled: true,
25
+ * });
26
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
27
+ * projectId: testMaintenanceWindow.id,
28
+ * });
29
+ * ```
30
+ * <!--End PulumiCodeChooser -->
31
+ *
32
+ * <!--Start PulumiCodeChooser -->
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
36
+ *
37
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
38
+ * projectId: "<your-project-id>",
39
+ * startAsap: true,
40
+ * });
41
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
42
+ * projectId: testMaintenanceWindow.id,
43
+ * });
44
+ * ```
45
+ * <!--End PulumiCodeChooser -->
12
46
  */
13
47
  function getMaintenanceWindow(args, opts) {
14
48
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -21,6 +55,40 @@ exports.getMaintenanceWindow = getMaintenanceWindow;
21
55
  * `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
22
56
  *
23
57
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
58
+ *
59
+ * ## Examples Usage
60
+ *
61
+ * <!--Start PulumiCodeChooser -->
62
+ * ```typescript
63
+ * import * as pulumi from "@pulumi/pulumi";
64
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
65
+ *
66
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
67
+ * projectId: "<your-project-id>",
68
+ * dayOfWeek: 3,
69
+ * hourOfDay: 4,
70
+ * autoDeferOnceEnabled: true,
71
+ * });
72
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
73
+ * projectId: testMaintenanceWindow.id,
74
+ * });
75
+ * ```
76
+ * <!--End PulumiCodeChooser -->
77
+ *
78
+ * <!--Start PulumiCodeChooser -->
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
82
+ *
83
+ * const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
84
+ * projectId: "<your-project-id>",
85
+ * startAsap: true,
86
+ * });
87
+ * const test = mongodbatlas.getMaintenanceWindowOutput({
88
+ * projectId: testMaintenanceWindow.id,
89
+ * });
90
+ * ```
91
+ * <!--End PulumiCodeChooser -->
24
92
  */
25
93
  function getMaintenanceWindowOutput(args, opts) {
26
94
  return pulumi.output(args).apply((a) => getMaintenanceWindow(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getMaintenanceWindow.js","sourceRoot":"","sources":["../getMaintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA2CD;;;;GAIG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"getMaintenanceWindow.js","sourceRoot":"","sources":["../getMaintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -7,6 +7,26 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
8
8
  *
9
9
  * ## Example Usage
10
+ *
11
+ * ### Basic Example.
12
+ *
13
+ * <!--Start PulumiCodeChooser -->
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
17
+ *
18
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
19
+ * projectId: "<YOUR-PROJECT-ID>",
20
+ * atlasCidrBlock: "10.8.0.0/21",
21
+ * providerName: "AWS",
22
+ * regionName: "US_EAST_1",
23
+ * });
24
+ * const test = mongodbatlas.getNetworkContainerOutput({
25
+ * projectId: testNetworkContainer.projectId,
26
+ * containerId: testNetworkContainer.id,
27
+ * });
28
+ * ```
29
+ * <!--End PulumiCodeChooser -->
10
30
  */
11
31
  export declare function getNetworkContainer(args: GetNetworkContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkContainerResult>;
12
32
  /**
@@ -85,6 +105,26 @@ export interface GetNetworkContainerResult {
85
105
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
86
106
  *
87
107
  * ## Example Usage
108
+ *
109
+ * ### Basic Example.
110
+ *
111
+ * <!--Start PulumiCodeChooser -->
112
+ * ```typescript
113
+ * import * as pulumi from "@pulumi/pulumi";
114
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
115
+ *
116
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
117
+ * projectId: "<YOUR-PROJECT-ID>",
118
+ * atlasCidrBlock: "10.8.0.0/21",
119
+ * providerName: "AWS",
120
+ * regionName: "US_EAST_1",
121
+ * });
122
+ * const test = mongodbatlas.getNetworkContainerOutput({
123
+ * projectId: testNetworkContainer.projectId,
124
+ * containerId: testNetworkContainer.id,
125
+ * });
126
+ * ```
127
+ * <!--End PulumiCodeChooser -->
88
128
  */
89
129
  export declare function getNetworkContainerOutput(args: GetNetworkContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkContainerResult>;
90
130
  /**
@@ -13,6 +13,26 @@ const utilities = require("./utilities");
13
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
14
14
  *
15
15
  * ## Example Usage
16
+ *
17
+ * ### Basic Example.
18
+ *
19
+ * <!--Start PulumiCodeChooser -->
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
23
+ *
24
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
25
+ * projectId: "<YOUR-PROJECT-ID>",
26
+ * atlasCidrBlock: "10.8.0.0/21",
27
+ * providerName: "AWS",
28
+ * regionName: "US_EAST_1",
29
+ * });
30
+ * const test = mongodbatlas.getNetworkContainerOutput({
31
+ * projectId: testNetworkContainer.projectId,
32
+ * containerId: testNetworkContainer.id,
33
+ * });
34
+ * ```
35
+ * <!--End PulumiCodeChooser -->
16
36
  */
17
37
  function getNetworkContainer(args, opts) {
18
38
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -30,6 +50,26 @@ exports.getNetworkContainer = getNetworkContainer;
30
50
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
31
51
  *
32
52
  * ## Example Usage
53
+ *
54
+ * ### Basic Example.
55
+ *
56
+ * <!--Start PulumiCodeChooser -->
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
60
+ *
61
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
62
+ * projectId: "<YOUR-PROJECT-ID>",
63
+ * atlasCidrBlock: "10.8.0.0/21",
64
+ * providerName: "AWS",
65
+ * regionName: "US_EAST_1",
66
+ * });
67
+ * const test = mongodbatlas.getNetworkContainerOutput({
68
+ * projectId: testNetworkContainer.projectId,
69
+ * containerId: testNetworkContainer.id,
70
+ * });
71
+ * ```
72
+ * <!--End PulumiCodeChooser -->
33
73
  */
34
74
  function getNetworkContainerOutput(args, opts) {
35
75
  return pulumi.output(args).apply((a) => getNetworkContainer(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkContainer.js","sourceRoot":"","sources":["../getNetworkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAuED;;;;;;;;GAQG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getNetworkContainer.js","sourceRoot":"","sources":["../getNetworkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAuED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -14,13 +14,13 @@ import * as outputs from "./types/output";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
16
  *
17
- * const testNetworkContainer = new mongodbatlas.NetworkContainer("testNetworkContainer", {
17
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
18
18
  * projectId: "<YOUR-PROJECT-ID>",
19
19
  * atlasCidrBlock: "10.8.0.0/21",
20
20
  * providerName: "AWS",
21
21
  * regionName: "US_EAST_1",
22
22
  * });
23
- * const testNetworkContainers = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
23
+ * const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
24
24
  * projectId: projectId,
25
25
  * providerName: providerName,
26
26
  * }));
@@ -73,13 +73,13 @@ export interface GetNetworkContainersResult {
73
73
  * import * as pulumi from "@pulumi/pulumi";
74
74
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
75
75
  *
76
- * const testNetworkContainer = new mongodbatlas.NetworkContainer("testNetworkContainer", {
76
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
77
77
  * projectId: "<YOUR-PROJECT-ID>",
78
78
  * atlasCidrBlock: "10.8.0.0/21",
79
79
  * providerName: "AWS",
80
80
  * regionName: "US_EAST_1",
81
81
  * });
82
- * const testNetworkContainers = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
82
+ * const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
83
83
  * projectId: projectId,
84
84
  * providerName: providerName,
85
85
  * }));
@@ -19,13 +19,13 @@ const utilities = require("./utilities");
19
19
  * import * as pulumi from "@pulumi/pulumi";
20
20
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
21
21
  *
22
- * const testNetworkContainer = new mongodbatlas.NetworkContainer("testNetworkContainer", {
22
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
23
23
  * projectId: "<YOUR-PROJECT-ID>",
24
24
  * atlasCidrBlock: "10.8.0.0/21",
25
25
  * providerName: "AWS",
26
26
  * regionName: "US_EAST_1",
27
27
  * });
28
- * const testNetworkContainers = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
28
+ * const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
29
29
  * projectId: projectId,
30
30
  * providerName: providerName,
31
31
  * }));
@@ -54,13 +54,13 @@ exports.getNetworkContainers = getNetworkContainers;
54
54
  * import * as pulumi from "@pulumi/pulumi";
55
55
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
56
56
  *
57
- * const testNetworkContainer = new mongodbatlas.NetworkContainer("testNetworkContainer", {
57
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
58
58
  * projectId: "<YOUR-PROJECT-ID>",
59
59
  * atlasCidrBlock: "10.8.0.0/21",
60
60
  * providerName: "AWS",
61
61
  * regionName: "US_EAST_1",
62
62
  * });
63
- * const testNetworkContainers = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
63
+ * const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
64
64
  * projectId: projectId,
65
65
  * providerName: providerName,
66
66
  * }));
@@ -7,6 +7,29 @@ import * as pulumi from "@pulumi/pulumi";
7
7
  * > **NOTE:** If you need to get an existing container ID see the How-To Guide.
8
8
  *
9
9
  * ## Example Usage
10
+ *
11
+ * ### Basic Example (AWS).
12
+ *
13
+ * <!--Start PulumiCodeChooser -->
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
17
+ *
18
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
19
+ * accepterRegionName: "us-east-1",
20
+ * projectId: "<YOUR-PROJEC-ID>",
21
+ * containerId: "507f1f77bcf86cd799439011",
22
+ * providerName: "AWS",
23
+ * routeTableCidrBlock: "192.168.0.0/24",
24
+ * vpcId: "vpc-abc123abc123",
25
+ * awsAccountId: "abc123abc123",
26
+ * });
27
+ * const test = mongodbatlas.getNetworkPeeringOutput({
28
+ * projectId: testNetworkPeering.projectId,
29
+ * peeringId: testNetworkPeering.id,
30
+ * });
31
+ * ```
32
+ * <!--End PulumiCodeChooser -->
10
33
  */
11
34
  export declare function getNetworkPeering(args: GetNetworkPeeringArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkPeeringResult>;
12
35
  /**
@@ -112,6 +135,29 @@ export interface GetNetworkPeeringResult {
112
135
  * > **NOTE:** If you need to get an existing container ID see the How-To Guide.
113
136
  *
114
137
  * ## Example Usage
138
+ *
139
+ * ### Basic Example (AWS).
140
+ *
141
+ * <!--Start PulumiCodeChooser -->
142
+ * ```typescript
143
+ * import * as pulumi from "@pulumi/pulumi";
144
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
145
+ *
146
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
147
+ * accepterRegionName: "us-east-1",
148
+ * projectId: "<YOUR-PROJEC-ID>",
149
+ * containerId: "507f1f77bcf86cd799439011",
150
+ * providerName: "AWS",
151
+ * routeTableCidrBlock: "192.168.0.0/24",
152
+ * vpcId: "vpc-abc123abc123",
153
+ * awsAccountId: "abc123abc123",
154
+ * });
155
+ * const test = mongodbatlas.getNetworkPeeringOutput({
156
+ * projectId: testNetworkPeering.projectId,
157
+ * peeringId: testNetworkPeering.id,
158
+ * });
159
+ * ```
160
+ * <!--End PulumiCodeChooser -->
115
161
  */
116
162
  export declare function getNetworkPeeringOutput(args: GetNetworkPeeringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkPeeringResult>;
117
163
  /**
@@ -13,6 +13,29 @@ const utilities = require("./utilities");
13
13
  * > **NOTE:** If you need to get an existing container ID see the How-To Guide.
14
14
  *
15
15
  * ## Example Usage
16
+ *
17
+ * ### Basic Example (AWS).
18
+ *
19
+ * <!--Start PulumiCodeChooser -->
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
23
+ *
24
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
25
+ * accepterRegionName: "us-east-1",
26
+ * projectId: "<YOUR-PROJEC-ID>",
27
+ * containerId: "507f1f77bcf86cd799439011",
28
+ * providerName: "AWS",
29
+ * routeTableCidrBlock: "192.168.0.0/24",
30
+ * vpcId: "vpc-abc123abc123",
31
+ * awsAccountId: "abc123abc123",
32
+ * });
33
+ * const test = mongodbatlas.getNetworkPeeringOutput({
34
+ * projectId: testNetworkPeering.projectId,
35
+ * peeringId: testNetworkPeering.id,
36
+ * });
37
+ * ```
38
+ * <!--End PulumiCodeChooser -->
16
39
  */
17
40
  function getNetworkPeering(args, opts) {
18
41
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -30,6 +53,29 @@ exports.getNetworkPeering = getNetworkPeering;
30
53
  * > **NOTE:** If you need to get an existing container ID see the How-To Guide.
31
54
  *
32
55
  * ## Example Usage
56
+ *
57
+ * ### Basic Example (AWS).
58
+ *
59
+ * <!--Start PulumiCodeChooser -->
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
63
+ *
64
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
65
+ * accepterRegionName: "us-east-1",
66
+ * projectId: "<YOUR-PROJEC-ID>",
67
+ * containerId: "507f1f77bcf86cd799439011",
68
+ * providerName: "AWS",
69
+ * routeTableCidrBlock: "192.168.0.0/24",
70
+ * vpcId: "vpc-abc123abc123",
71
+ * awsAccountId: "abc123abc123",
72
+ * });
73
+ * const test = mongodbatlas.getNetworkPeeringOutput({
74
+ * projectId: testNetworkPeering.projectId,
75
+ * peeringId: testNetworkPeering.id,
76
+ * });
77
+ * ```
78
+ * <!--End PulumiCodeChooser -->
33
79
  */
34
80
  function getNetworkPeeringOutput(args, opts) {
35
81
  return pulumi.output(args).apply((a) => getNetworkPeering(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkPeering.js","sourceRoot":"","sources":["../getNetworkPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAkGD;;;;;;;;GAQG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getNetworkPeering.js","sourceRoot":"","sources":["../getNetworkPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAkGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -14,7 +14,7 @@ import * as outputs from "./types/output";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
16
  *
17
- * const testNetworkPeering = new mongodbatlas.NetworkPeering("testNetworkPeering", {
17
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
18
18
  * accepterRegionName: "us-east-1",
19
19
  * projectId: "<YOUR-PROJEC-ID>",
20
20
  * containerId: "507f1f77bcf86cd799439011",
@@ -23,7 +23,7 @@ import * as outputs from "./types/output";
23
23
  * vpcId: "vpc-abc123abc123",
24
24
  * awsAccountId: "abc123abc123",
25
25
  * });
26
- * const testNetworkPeerings = mongodbatlas.getNetworkPeeringsOutput({
26
+ * const test = mongodbatlas.getNetworkPeeringsOutput({
27
27
  * projectId: testNetworkPeering.projectId,
28
28
  * });
29
29
  * ```
@@ -67,7 +67,7 @@ export interface GetNetworkPeeringsResult {
67
67
  * import * as pulumi from "@pulumi/pulumi";
68
68
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
69
69
  *
70
- * const testNetworkPeering = new mongodbatlas.NetworkPeering("testNetworkPeering", {
70
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
71
71
  * accepterRegionName: "us-east-1",
72
72
  * projectId: "<YOUR-PROJEC-ID>",
73
73
  * containerId: "507f1f77bcf86cd799439011",
@@ -76,7 +76,7 @@ export interface GetNetworkPeeringsResult {
76
76
  * vpcId: "vpc-abc123abc123",
77
77
  * awsAccountId: "abc123abc123",
78
78
  * });
79
- * const testNetworkPeerings = mongodbatlas.getNetworkPeeringsOutput({
79
+ * const test = mongodbatlas.getNetworkPeeringsOutput({
80
80
  * projectId: testNetworkPeering.projectId,
81
81
  * });
82
82
  * ```
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
19
19
  * import * as pulumi from "@pulumi/pulumi";
20
20
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
21
21
  *
22
- * const testNetworkPeering = new mongodbatlas.NetworkPeering("testNetworkPeering", {
22
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
23
23
  * accepterRegionName: "us-east-1",
24
24
  * projectId: "<YOUR-PROJEC-ID>",
25
25
  * containerId: "507f1f77bcf86cd799439011",
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
28
28
  * vpcId: "vpc-abc123abc123",
29
29
  * awsAccountId: "abc123abc123",
30
30
  * });
31
- * const testNetworkPeerings = mongodbatlas.getNetworkPeeringsOutput({
31
+ * const test = mongodbatlas.getNetworkPeeringsOutput({
32
32
  * projectId: testNetworkPeering.projectId,
33
33
  * });
34
34
  * ```
@@ -55,7 +55,7 @@ exports.getNetworkPeerings = getNetworkPeerings;
55
55
  * import * as pulumi from "@pulumi/pulumi";
56
56
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
57
57
  *
58
- * const testNetworkPeering = new mongodbatlas.NetworkPeering("testNetworkPeering", {
58
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
59
59
  * accepterRegionName: "us-east-1",
60
60
  * projectId: "<YOUR-PROJEC-ID>",
61
61
  * containerId: "507f1f77bcf86cd799439011",
@@ -64,7 +64,7 @@ exports.getNetworkPeerings = getNetworkPeerings;
64
64
  * vpcId: "vpc-abc123abc123",
65
65
  * awsAccountId: "abc123abc123",
66
66
  * });
67
- * const testNetworkPeerings = mongodbatlas.getNetworkPeeringsOutput({
67
+ * const test = mongodbatlas.getNetworkPeeringsOutput({
68
68
  * projectId: testNetworkPeering.projectId,
69
69
  * });
70
70
  * ```
@@ -11,8 +11,8 @@ import * as outputs from "./types/output";
11
11
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
12
  *
13
13
  * const test = mongodbatlas.getOrganizations({
14
- * itemsPerPage: 5,
15
14
  * pageNum: 1,
15
+ * itemsPerPage: 5,
16
16
  * });
17
17
  * ```
18
18
  * <!--End PulumiCodeChooser -->
@@ -68,8 +68,8 @@ export interface GetOrganizationsResult {
68
68
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
69
69
  *
70
70
  * const test = mongodbatlas.getOrganizations({
71
- * itemsPerPage: 5,
72
71
  * pageNum: 1,
72
+ * itemsPerPage: 5,
73
73
  * });
74
74
  * ```
75
75
  * <!--End PulumiCodeChooser -->