@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
@@ -8,6 +8,73 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  * When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
9
9
  *
10
10
  * ## Example Usage
11
+ *
12
+ * ### Using CIDR Block
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
18
+ * projectId: "<PROJECT-ID>",
19
+ * cidrBlock: "1.2.3.4/32",
20
+ * comment: "cidr block for tf acc testing",
21
+ * });
22
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
23
+ * projectId: testProjectIpAccessList.projectId,
24
+ * cidrBlock: testProjectIpAccessList.cidrBlock,
25
+ * });
26
+ * ```
27
+ *
28
+ * ### Using IP Address
29
+ * ```typescript
30
+ * import * as pulumi from "@pulumi/pulumi";
31
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
32
+ *
33
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
34
+ * projectId: "<PROJECT-ID>",
35
+ * ipAddress: "2.3.4.5",
36
+ * comment: "ip address for tf acc testing",
37
+ * });
38
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
39
+ * projectId: testProjectIpAccessList.projectId,
40
+ * ipAddress: testProjectIpAccessList.ipAddress,
41
+ * });
42
+ * ```
43
+ *
44
+ * ### Using an AWS Security Group
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
48
+ *
49
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
50
+ * projectId: "<PROJECT-ID>",
51
+ * atlasCidrBlock: "192.168.208.0/21",
52
+ * providerName: "AWS",
53
+ * regionName: "US_EAST_1",
54
+ * });
55
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
56
+ * projectId: "<PROJECT-ID>",
57
+ * containerId: testNetworkContainer.containerId,
58
+ * accepterRegionName: "us-east-1",
59
+ * providerName: "AWS",
60
+ * routeTableCidrBlock: "172.31.0.0/16",
61
+ * vpcId: "vpc-0d93d6f69f1578bd8",
62
+ * awsAccountId: "232589400519",
63
+ * });
64
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
65
+ * projectId: "<PROJECT-ID>",
66
+ * awsSecurityGroup: "sg-0026348ec11780bd1",
67
+ * comment: "TestAcc for awsSecurityGroup",
68
+ * }, {
69
+ * dependsOn: [testNetworkPeering],
70
+ * });
71
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
72
+ * projectId: testProjectIpAccessList.projectId,
73
+ * awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
74
+ * });
75
+ * ```
76
+ *
77
+ * > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
11
78
  */
12
79
  export declare function getProjectIpAccessList(args: GetProjectIpAccessListArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIpAccessListResult>;
13
80
  /**
@@ -56,6 +123,73 @@ export interface GetProjectIpAccessListResult {
56
123
  * When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
57
124
  *
58
125
  * ## Example Usage
126
+ *
127
+ * ### Using CIDR Block
128
+ * ```typescript
129
+ * import * as pulumi from "@pulumi/pulumi";
130
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
131
+ *
132
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
133
+ * projectId: "<PROJECT-ID>",
134
+ * cidrBlock: "1.2.3.4/32",
135
+ * comment: "cidr block for tf acc testing",
136
+ * });
137
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
138
+ * projectId: testProjectIpAccessList.projectId,
139
+ * cidrBlock: testProjectIpAccessList.cidrBlock,
140
+ * });
141
+ * ```
142
+ *
143
+ * ### Using IP Address
144
+ * ```typescript
145
+ * import * as pulumi from "@pulumi/pulumi";
146
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
147
+ *
148
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
149
+ * projectId: "<PROJECT-ID>",
150
+ * ipAddress: "2.3.4.5",
151
+ * comment: "ip address for tf acc testing",
152
+ * });
153
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
154
+ * projectId: testProjectIpAccessList.projectId,
155
+ * ipAddress: testProjectIpAccessList.ipAddress,
156
+ * });
157
+ * ```
158
+ *
159
+ * ### Using an AWS Security Group
160
+ * ```typescript
161
+ * import * as pulumi from "@pulumi/pulumi";
162
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
163
+ *
164
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
165
+ * projectId: "<PROJECT-ID>",
166
+ * atlasCidrBlock: "192.168.208.0/21",
167
+ * providerName: "AWS",
168
+ * regionName: "US_EAST_1",
169
+ * });
170
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
171
+ * projectId: "<PROJECT-ID>",
172
+ * containerId: testNetworkContainer.containerId,
173
+ * accepterRegionName: "us-east-1",
174
+ * providerName: "AWS",
175
+ * routeTableCidrBlock: "172.31.0.0/16",
176
+ * vpcId: "vpc-0d93d6f69f1578bd8",
177
+ * awsAccountId: "232589400519",
178
+ * });
179
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
180
+ * projectId: "<PROJECT-ID>",
181
+ * awsSecurityGroup: "sg-0026348ec11780bd1",
182
+ * comment: "TestAcc for awsSecurityGroup",
183
+ * }, {
184
+ * dependsOn: [testNetworkPeering],
185
+ * });
186
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
187
+ * projectId: testProjectIpAccessList.projectId,
188
+ * awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
189
+ * });
190
+ * ```
191
+ *
192
+ * > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
59
193
  */
60
194
  export declare function getProjectIpAccessListOutput(args: GetProjectIpAccessListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIpAccessListResult>;
61
195
  /**
@@ -14,6 +14,73 @@ const utilities = require("./utilities");
14
14
  * When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
15
15
  *
16
16
  * ## Example Usage
17
+ *
18
+ * ### Using CIDR Block
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
22
+ *
23
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
24
+ * projectId: "<PROJECT-ID>",
25
+ * cidrBlock: "1.2.3.4/32",
26
+ * comment: "cidr block for tf acc testing",
27
+ * });
28
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
29
+ * projectId: testProjectIpAccessList.projectId,
30
+ * cidrBlock: testProjectIpAccessList.cidrBlock,
31
+ * });
32
+ * ```
33
+ *
34
+ * ### Using IP Address
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
38
+ *
39
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
40
+ * projectId: "<PROJECT-ID>",
41
+ * ipAddress: "2.3.4.5",
42
+ * comment: "ip address for tf acc testing",
43
+ * });
44
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
45
+ * projectId: testProjectIpAccessList.projectId,
46
+ * ipAddress: testProjectIpAccessList.ipAddress,
47
+ * });
48
+ * ```
49
+ *
50
+ * ### Using an AWS Security Group
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
54
+ *
55
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
56
+ * projectId: "<PROJECT-ID>",
57
+ * atlasCidrBlock: "192.168.208.0/21",
58
+ * providerName: "AWS",
59
+ * regionName: "US_EAST_1",
60
+ * });
61
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
62
+ * projectId: "<PROJECT-ID>",
63
+ * containerId: testNetworkContainer.containerId,
64
+ * accepterRegionName: "us-east-1",
65
+ * providerName: "AWS",
66
+ * routeTableCidrBlock: "172.31.0.0/16",
67
+ * vpcId: "vpc-0d93d6f69f1578bd8",
68
+ * awsAccountId: "232589400519",
69
+ * });
70
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
71
+ * projectId: "<PROJECT-ID>",
72
+ * awsSecurityGroup: "sg-0026348ec11780bd1",
73
+ * comment: "TestAcc for awsSecurityGroup",
74
+ * }, {
75
+ * dependsOn: [testNetworkPeering],
76
+ * });
77
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
78
+ * projectId: testProjectIpAccessList.projectId,
79
+ * awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
80
+ * });
81
+ * ```
82
+ *
83
+ * > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
17
84
  */
18
85
  function getProjectIpAccessList(args, opts) {
19
86
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -34,6 +101,73 @@ exports.getProjectIpAccessList = getProjectIpAccessList;
34
101
  * When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
35
102
  *
36
103
  * ## Example Usage
104
+ *
105
+ * ### Using CIDR Block
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
109
+ *
110
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
111
+ * projectId: "<PROJECT-ID>",
112
+ * cidrBlock: "1.2.3.4/32",
113
+ * comment: "cidr block for tf acc testing",
114
+ * });
115
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
116
+ * projectId: testProjectIpAccessList.projectId,
117
+ * cidrBlock: testProjectIpAccessList.cidrBlock,
118
+ * });
119
+ * ```
120
+ *
121
+ * ### Using IP Address
122
+ * ```typescript
123
+ * import * as pulumi from "@pulumi/pulumi";
124
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
125
+ *
126
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
127
+ * projectId: "<PROJECT-ID>",
128
+ * ipAddress: "2.3.4.5",
129
+ * comment: "ip address for tf acc testing",
130
+ * });
131
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
132
+ * projectId: testProjectIpAccessList.projectId,
133
+ * ipAddress: testProjectIpAccessList.ipAddress,
134
+ * });
135
+ * ```
136
+ *
137
+ * ### Using an AWS Security Group
138
+ * ```typescript
139
+ * import * as pulumi from "@pulumi/pulumi";
140
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
141
+ *
142
+ * const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
143
+ * projectId: "<PROJECT-ID>",
144
+ * atlasCidrBlock: "192.168.208.0/21",
145
+ * providerName: "AWS",
146
+ * regionName: "US_EAST_1",
147
+ * });
148
+ * const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
149
+ * projectId: "<PROJECT-ID>",
150
+ * containerId: testNetworkContainer.containerId,
151
+ * accepterRegionName: "us-east-1",
152
+ * providerName: "AWS",
153
+ * routeTableCidrBlock: "172.31.0.0/16",
154
+ * vpcId: "vpc-0d93d6f69f1578bd8",
155
+ * awsAccountId: "232589400519",
156
+ * });
157
+ * const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
158
+ * projectId: "<PROJECT-ID>",
159
+ * awsSecurityGroup: "sg-0026348ec11780bd1",
160
+ * comment: "TestAcc for awsSecurityGroup",
161
+ * }, {
162
+ * dependsOn: [testNetworkPeering],
163
+ * });
164
+ * const test = mongodbatlas.getProjectIpAccessListOutput({
165
+ * projectId: testProjectIpAccessList.projectId,
166
+ * awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
167
+ * });
168
+ * ```
169
+ *
170
+ * > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
37
171
  */
38
172
  function getProjectIpAccessListOutput(args, opts) {
39
173
  return pulumi.output(args).apply((a) => getProjectIpAccessList(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getProjectIpAccessList.js","sourceRoot":"","sources":["../getProjectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC;AAwCD;;;;;;;;;GASG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
1
+ {"version":3,"file":"getProjectIpAccessList.js","sourceRoot":"","sources":["../getProjectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
package/getProjects.d.ts CHANGED
@@ -7,14 +7,14 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ## Example Usage
9
9
  *
10
- * <!--Start PulumiCodeChooser -->
11
10
  * ```typescript
12
11
  * import * as pulumi from "@pulumi/pulumi";
13
12
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
13
  *
15
- * const testRolesOrgId = mongodbatlas.getRolesOrgId({});
16
- * const testProject = new mongodbatlas.Project("testProject", {
17
- * orgId: testRolesOrgId.then(testRolesOrgId => testRolesOrgId.orgId),
14
+ * const test = mongodbatlas.getRolesOrgId({});
15
+ * const testProject = new mongodbatlas.Project("test", {
16
+ * name: "project-name",
17
+ * orgId: test.then(test => test.orgId),
18
18
  * teams: [
19
19
  * {
20
20
  * teamId: "5e0fa8c99ccf641c722fe645",
@@ -33,12 +33,11 @@ import * as outputs from "./types/output";
33
33
  * value: 26,
34
34
  * }],
35
35
  * });
36
- * const testProjects = mongodbatlas.getProjects({
36
+ * const testGetProjects = mongodbatlas.getProjects({
37
37
  * pageNum: 1,
38
38
  * itemsPerPage: 5,
39
39
  * });
40
40
  * ```
41
- * <!--End PulumiCodeChooser -->
42
41
  */
43
42
  export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
44
43
  /**
@@ -74,14 +73,14 @@ export interface GetProjectsResult {
74
73
  *
75
74
  * ## Example Usage
76
75
  *
77
- * <!--Start PulumiCodeChooser -->
78
76
  * ```typescript
79
77
  * import * as pulumi from "@pulumi/pulumi";
80
78
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
81
79
  *
82
- * const testRolesOrgId = mongodbatlas.getRolesOrgId({});
83
- * const testProject = new mongodbatlas.Project("testProject", {
84
- * orgId: testRolesOrgId.then(testRolesOrgId => testRolesOrgId.orgId),
80
+ * const test = mongodbatlas.getRolesOrgId({});
81
+ * const testProject = new mongodbatlas.Project("test", {
82
+ * name: "project-name",
83
+ * orgId: test.then(test => test.orgId),
85
84
  * teams: [
86
85
  * {
87
86
  * teamId: "5e0fa8c99ccf641c722fe645",
@@ -100,12 +99,11 @@ export interface GetProjectsResult {
100
99
  * value: 26,
101
100
  * }],
102
101
  * });
103
- * const testProjects = mongodbatlas.getProjects({
102
+ * const testGetProjects = mongodbatlas.getProjects({
104
103
  * pageNum: 1,
105
104
  * itemsPerPage: 5,
106
105
  * });
107
106
  * ```
108
- * <!--End PulumiCodeChooser -->
109
107
  */
110
108
  export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
111
109
  /**
package/getProjects.js CHANGED
@@ -12,14 +12,14 @@ 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 testRolesOrgId = mongodbatlas.getRolesOrgId({});
21
- * const testProject = new mongodbatlas.Project("testProject", {
22
- * orgId: testRolesOrgId.then(testRolesOrgId => testRolesOrgId.orgId),
19
+ * const test = mongodbatlas.getRolesOrgId({});
20
+ * const testProject = new mongodbatlas.Project("test", {
21
+ * name: "project-name",
22
+ * orgId: test.then(test => test.orgId),
23
23
  * teams: [
24
24
  * {
25
25
  * teamId: "5e0fa8c99ccf641c722fe645",
@@ -38,12 +38,11 @@ const utilities = require("./utilities");
38
38
  * value: 26,
39
39
  * }],
40
40
  * });
41
- * const testProjects = mongodbatlas.getProjects({
41
+ * const testGetProjects = mongodbatlas.getProjects({
42
42
  * pageNum: 1,
43
43
  * itemsPerPage: 5,
44
44
  * });
45
45
  * ```
46
- * <!--End PulumiCodeChooser -->
47
46
  */
48
47
  function getProjects(args, opts) {
49
48
  args = args || {};
@@ -61,14 +60,14 @@ exports.getProjects = getProjects;
61
60
  *
62
61
  * ## Example Usage
63
62
  *
64
- * <!--Start PulumiCodeChooser -->
65
63
  * ```typescript
66
64
  * import * as pulumi from "@pulumi/pulumi";
67
65
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
68
66
  *
69
- * const testRolesOrgId = mongodbatlas.getRolesOrgId({});
70
- * const testProject = new mongodbatlas.Project("testProject", {
71
- * orgId: testRolesOrgId.then(testRolesOrgId => testRolesOrgId.orgId),
67
+ * const test = mongodbatlas.getRolesOrgId({});
68
+ * const testProject = new mongodbatlas.Project("test", {
69
+ * name: "project-name",
70
+ * orgId: test.then(test => test.orgId),
72
71
  * teams: [
73
72
  * {
74
73
  * teamId: "5e0fa8c99ccf641c722fe645",
@@ -87,12 +86,11 @@ exports.getProjects = getProjects;
87
86
  * value: 26,
88
87
  * }],
89
88
  * });
90
- * const testProjects = mongodbatlas.getProjects({
89
+ * const testGetProjects = mongodbatlas.getProjects({
91
90
  * pageNum: 1,
92
91
  * itemsPerPage: 5,
93
92
  * });
94
93
  * ```
95
- * <!--End PulumiCodeChooser -->
96
94
  */
97
95
  function getProjectsOutput(args, opts) {
98
96
  return pulumi.output(args).apply((a) => getProjects(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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"}
@@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
5
5
  * ## Example Usage
6
6
  *
7
7
  * ### Using data source to query
8
- * <!--Start PulumiCodeChooser -->
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -13,7 +12,6 @@ import * as pulumi from "@pulumi/pulumi";
13
12
  * const test = mongodbatlas.getRolesOrgId({});
14
13
  * export const orgId = test.then(test => test.orgId);
15
14
  * ```
16
- * <!--End PulumiCodeChooser -->
17
15
  */
18
16
  export declare function getRolesOrgId(opts?: pulumi.InvokeOptions): Promise<GetRolesOrgIdResult>;
19
17
  /**
@@ -35,7 +33,6 @@ export interface GetRolesOrgIdResult {
35
33
  * ## Example Usage
36
34
  *
37
35
  * ### Using data source to query
38
- * <!--Start PulumiCodeChooser -->
39
36
  * ```typescript
40
37
  * import * as pulumi from "@pulumi/pulumi";
41
38
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -43,6 +40,5 @@ export interface GetRolesOrgIdResult {
43
40
  * const test = mongodbatlas.getRolesOrgId({});
44
41
  * export const orgId = test.then(test => test.orgId);
45
42
  * ```
46
- * <!--End PulumiCodeChooser -->
47
43
  */
48
44
  export declare function getRolesOrgIdOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetRolesOrgIdResult>;
package/getRolesOrgId.js CHANGED
@@ -11,7 +11,6 @@ const utilities = require("./utilities");
11
11
  * ## Example Usage
12
12
  *
13
13
  * ### Using data source to query
14
- * <!--Start PulumiCodeChooser -->
15
14
  * ```typescript
16
15
  * import * as pulumi from "@pulumi/pulumi";
17
16
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -19,7 +18,6 @@ const utilities = require("./utilities");
19
18
  * const test = mongodbatlas.getRolesOrgId({});
20
19
  * export const orgId = test.then(test => test.orgId);
21
20
  * ```
22
- * <!--End PulumiCodeChooser -->
23
21
  */
24
22
  function getRolesOrgId(opts) {
25
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -32,7 +30,6 @@ exports.getRolesOrgId = getRolesOrgId;
32
30
  * ## Example Usage
33
31
  *
34
32
  * ### Using data source to query
35
- * <!--Start PulumiCodeChooser -->
36
33
  * ```typescript
37
34
  * import * as pulumi from "@pulumi/pulumi";
38
35
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -40,7 +37,6 @@ exports.getRolesOrgId = getRolesOrgId;
40
37
  * const test = mongodbatlas.getRolesOrgId({});
41
38
  * export const orgId = test.then(test => test.orgId);
42
39
  * ```
43
- * <!--End PulumiCodeChooser -->
44
40
  */
45
41
  function getRolesOrgIdOutput(opts) {
46
42
  return pulumi.output(getRolesOrgId(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,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,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,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,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
@@ -7,18 +7,16 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ## Example Usage
9
9
  *
10
- * <!--Start PulumiCodeChooser -->
11
10
  * ```typescript
12
11
  * import * as pulumi from "@pulumi/pulumi";
13
12
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
13
  *
15
14
  * const test = mongodbatlas.getSearchIndex({
16
- * clusterName: "<CLUSTER_NAME>",
17
15
  * indexId: "<INDEX_ID",
18
16
  * projectId: "<PROJECT_ID>",
17
+ * clusterName: "<CLUSTER_NAME>",
19
18
  * });
20
19
  * ```
21
- * <!--End PulumiCodeChooser -->
22
20
  */
23
21
  export declare function getSearchIndex(args: GetSearchIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetSearchIndexResult>;
24
22
  /**
@@ -136,18 +134,16 @@ export interface GetSearchIndexResult {
136
134
  *
137
135
  * ## Example Usage
138
136
  *
139
- * <!--Start PulumiCodeChooser -->
140
137
  * ```typescript
141
138
  * import * as pulumi from "@pulumi/pulumi";
142
139
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
143
140
  *
144
141
  * const test = mongodbatlas.getSearchIndex({
145
- * clusterName: "<CLUSTER_NAME>",
146
142
  * indexId: "<INDEX_ID",
147
143
  * projectId: "<PROJECT_ID>",
144
+ * clusterName: "<CLUSTER_NAME>",
148
145
  * });
149
146
  * ```
150
- * <!--End PulumiCodeChooser -->
151
147
  */
152
148
  export declare function getSearchIndexOutput(args: GetSearchIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSearchIndexResult>;
153
149
  /**
package/getSearchIndex.js CHANGED
@@ -12,18 +12,16 @@ 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
19
  * const test = mongodbatlas.getSearchIndex({
21
- * clusterName: "<CLUSTER_NAME>",
22
20
  * indexId: "<INDEX_ID",
23
21
  * projectId: "<PROJECT_ID>",
22
+ * clusterName: "<CLUSTER_NAME>",
24
23
  * });
25
24
  * ```
26
- * <!--End PulumiCodeChooser -->
27
25
  */
28
26
  function getSearchIndex(args, opts) {
29
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -51,18 +49,16 @@ exports.getSearchIndex = getSearchIndex;
51
49
  *
52
50
  * ## Example Usage
53
51
  *
54
- * <!--Start PulumiCodeChooser -->
55
52
  * ```typescript
56
53
  * import * as pulumi from "@pulumi/pulumi";
57
54
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
58
55
  *
59
56
  * const test = mongodbatlas.getSearchIndex({
60
- * clusterName: "<CLUSTER_NAME>",
61
57
  * indexId: "<INDEX_ID",
62
58
  * projectId: "<PROJECT_ID>",
59
+ * clusterName: "<CLUSTER_NAME>",
63
60
  * });
64
61
  * ```
65
- * <!--End PulumiCodeChooser -->
66
62
  */
67
63
  function getSearchIndexOutput(args, opts) {
68
64
  return pulumi.output(args).apply((a) => getSearchIndex(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,wCAkBC;AA+GD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,wCAkBC;AA+GD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -11,7 +11,6 @@ import * as outputs from "./types/output";
11
11
  * ## Example Usage
12
12
  *
13
13
  * ### Basic
14
- * <!--Start PulumiCodeChooser -->
15
14
  * ```typescript
16
15
  * import * as pulumi from "@pulumi/pulumi";
17
16
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -21,7 +20,6 @@ import * as outputs from "./types/output";
21
20
  * projectId: "<PROJECT_ID >",
22
21
  * });
23
22
  * ```
24
- * <!--End PulumiCodeChooser -->
25
23
  *
26
24
  * **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
27
25
  * That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
@@ -118,7 +116,6 @@ export interface GetServerlessInstanceResult {
118
116
  * ## Example Usage
119
117
  *
120
118
  * ### Basic
121
- * <!--Start PulumiCodeChooser -->
122
119
  * ```typescript
123
120
  * import * as pulumi from "@pulumi/pulumi";
124
121
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -128,7 +125,6 @@ export interface GetServerlessInstanceResult {
128
125
  * projectId: "<PROJECT_ID >",
129
126
  * });
130
127
  * ```
131
- * <!--End PulumiCodeChooser -->
132
128
  *
133
129
  * **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
134
130
  * That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
@@ -15,7 +15,6 @@ const utilities = require("./utilities");
15
15
  * ## Example Usage
16
16
  *
17
17
  * ### Basic
18
- * <!--Start PulumiCodeChooser -->
19
18
  * ```typescript
20
19
  * import * as pulumi from "@pulumi/pulumi";
21
20
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -25,7 +24,6 @@ const utilities = require("./utilities");
25
24
  * projectId: "<PROJECT_ID >",
26
25
  * });
27
26
  * ```
28
- * <!--End PulumiCodeChooser -->
29
27
  *
30
28
  * **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
31
29
  * That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
@@ -57,7 +55,6 @@ exports.getServerlessInstance = getServerlessInstance;
57
55
  * ## Example Usage
58
56
  *
59
57
  * ### Basic
60
- * <!--Start PulumiCodeChooser -->
61
58
  * ```typescript
62
59
  * import * as pulumi from "@pulumi/pulumi";
63
60
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -67,7 +64,6 @@ exports.getServerlessInstance = getServerlessInstance;
67
64
  * projectId: "<PROJECT_ID >",
68
65
  * });
69
66
  * ```
70
- * <!--End PulumiCodeChooser -->
71
67
  *
72
68
  * **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
73
69
  * That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
@@ -1 +1 @@
1
- {"version":3,"file":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AA8ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
1
+ {"version":3,"file":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AA8ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}