@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
@@ -1 +1 @@
1
- {"version":3,"file":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA2DD;;;;GAIG;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":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA2DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;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"}
package/getAtlasUser.d.ts CHANGED
@@ -8,7 +8,6 @@ import * as outputs from "./types/output";
8
8
  * ## Example Usage
9
9
  *
10
10
  * ### Using userId attribute to query
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -17,10 +16,8 @@ import * as outputs from "./types/output";
17
16
  * userId: "<USER_ID>",
18
17
  * });
19
18
  * ```
20
- * <!--End PulumiCodeChooser -->
21
19
  *
22
20
  * ### Using username attribute to query
23
- * <!--Start PulumiCodeChooser -->
24
21
  * ```typescript
25
22
  * import * as pulumi from "@pulumi/pulumi";
26
23
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -29,7 +26,6 @@ import * as outputs from "./types/output";
29
26
  * username: "<USERNAME>",
30
27
  * });
31
28
  * ```
32
- * <!--End PulumiCodeChooser -->
33
29
  */
34
30
  export declare function getAtlasUser(args?: GetAtlasUserArgs, opts?: pulumi.InvokeOptions): Promise<GetAtlasUserResult>;
35
31
  /**
@@ -105,7 +101,6 @@ export interface GetAtlasUserResult {
105
101
  * ## Example Usage
106
102
  *
107
103
  * ### Using userId attribute to query
108
- * <!--Start PulumiCodeChooser -->
109
104
  * ```typescript
110
105
  * import * as pulumi from "@pulumi/pulumi";
111
106
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -114,10 +109,8 @@ export interface GetAtlasUserResult {
114
109
  * userId: "<USER_ID>",
115
110
  * });
116
111
  * ```
117
- * <!--End PulumiCodeChooser -->
118
112
  *
119
113
  * ### Using username attribute to query
120
- * <!--Start PulumiCodeChooser -->
121
114
  * ```typescript
122
115
  * import * as pulumi from "@pulumi/pulumi";
123
116
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -126,7 +119,6 @@ export interface GetAtlasUserResult {
126
119
  * username: "<USERNAME>",
127
120
  * });
128
121
  * ```
129
- * <!--End PulumiCodeChooser -->
130
122
  */
131
123
  export declare function getAtlasUserOutput(args?: GetAtlasUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAtlasUserResult>;
132
124
  /**
package/getAtlasUser.js CHANGED
@@ -13,7 +13,6 @@ const utilities = require("./utilities");
13
13
  * ## Example Usage
14
14
  *
15
15
  * ### Using userId attribute to query
16
- * <!--Start PulumiCodeChooser -->
17
16
  * ```typescript
18
17
  * import * as pulumi from "@pulumi/pulumi";
19
18
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -22,10 +21,8 @@ const utilities = require("./utilities");
22
21
  * userId: "<USER_ID>",
23
22
  * });
24
23
  * ```
25
- * <!--End PulumiCodeChooser -->
26
24
  *
27
25
  * ### Using username attribute to query
28
- * <!--Start PulumiCodeChooser -->
29
26
  * ```typescript
30
27
  * import * as pulumi from "@pulumi/pulumi";
31
28
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -34,7 +31,6 @@ const utilities = require("./utilities");
34
31
  * username: "<USERNAME>",
35
32
  * });
36
33
  * ```
37
- * <!--End PulumiCodeChooser -->
38
34
  */
39
35
  function getAtlasUser(args, opts) {
40
36
  args = args || {};
@@ -53,7 +49,6 @@ exports.getAtlasUser = getAtlasUser;
53
49
  * ## Example Usage
54
50
  *
55
51
  * ### Using userId attribute to query
56
- * <!--Start PulumiCodeChooser -->
57
52
  * ```typescript
58
53
  * import * as pulumi from "@pulumi/pulumi";
59
54
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -62,10 +57,8 @@ exports.getAtlasUser = getAtlasUser;
62
57
  * userId: "<USER_ID>",
63
58
  * });
64
59
  * ```
65
- * <!--End PulumiCodeChooser -->
66
60
  *
67
61
  * ### Using username attribute to query
68
- * <!--Start PulumiCodeChooser -->
69
62
  * ```typescript
70
63
  * import * as pulumi from "@pulumi/pulumi";
71
64
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -74,7 +67,6 @@ exports.getAtlasUser = getAtlasUser;
74
67
  * username: "<USERNAME>",
75
68
  * });
76
69
  * ```
77
- * <!--End PulumiCodeChooser -->
78
70
  */
79
71
  function getAtlasUserOutput(args, opts) {
80
72
  return pulumi.output(args).apply((a) => getAtlasUser(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getAtlasUser.js","sourceRoot":"","sources":["../getAtlasUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,8CAA8C,EAAE;QACzE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAoED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getAtlasUser.js","sourceRoot":"","sources":["../getAtlasUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,8CAA8C,EAAE;QACzE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAoED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -9,7 +9,6 @@ import * as outputs from "./types/output";
9
9
  *
10
10
  * ### Using orgId attribute to query Organization Atlas Users
11
11
  *
12
- * <!--Start PulumiCodeChooser -->
13
12
  * ```typescript
14
13
  * import * as pulumi from "@pulumi/pulumi";
15
14
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -18,11 +17,9 @@ import * as outputs from "./types/output";
18
17
  * orgId: "<ORG_ID>",
19
18
  * });
20
19
  * ```
21
- * <!--End PulumiCodeChooser -->
22
20
  *
23
21
  * ### Using projectId attribute to query Project Atlas Users
24
22
  *
25
- * <!--Start PulumiCodeChooser -->
26
23
  * ```typescript
27
24
  * import * as pulumi from "@pulumi/pulumi";
28
25
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -31,21 +28,18 @@ import * as outputs from "./types/output";
31
28
  * projectId: "<PROJECT_ID>",
32
29
  * });
33
30
  * ```
34
- * <!--End PulumiCodeChooser -->
35
31
  *
36
32
  * ### Using teamId and orgId attribute to query Team Atlas Users
37
33
  *
38
- * <!--Start PulumiCodeChooser -->
39
34
  * ```typescript
40
35
  * import * as pulumi from "@pulumi/pulumi";
41
36
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
42
37
  *
43
38
  * const test = mongodbatlas.getAtlasUsers({
44
- * orgId: "<ORG_ID>",
45
39
  * teamId: "<TEAM_ID>",
40
+ * orgId: "<ORG_ID>",
46
41
  * });
47
42
  * ```
48
- * <!--End PulumiCodeChooser -->
49
43
  */
50
44
  export declare function getAtlasUsers(args?: GetAtlasUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetAtlasUsersResult>;
51
45
  /**
@@ -106,7 +100,6 @@ export interface GetAtlasUsersResult {
106
100
  *
107
101
  * ### Using orgId attribute to query Organization Atlas Users
108
102
  *
109
- * <!--Start PulumiCodeChooser -->
110
103
  * ```typescript
111
104
  * import * as pulumi from "@pulumi/pulumi";
112
105
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -115,11 +108,9 @@ export interface GetAtlasUsersResult {
115
108
  * orgId: "<ORG_ID>",
116
109
  * });
117
110
  * ```
118
- * <!--End PulumiCodeChooser -->
119
111
  *
120
112
  * ### Using projectId attribute to query Project Atlas Users
121
113
  *
122
- * <!--Start PulumiCodeChooser -->
123
114
  * ```typescript
124
115
  * import * as pulumi from "@pulumi/pulumi";
125
116
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -128,21 +119,18 @@ export interface GetAtlasUsersResult {
128
119
  * projectId: "<PROJECT_ID>",
129
120
  * });
130
121
  * ```
131
- * <!--End PulumiCodeChooser -->
132
122
  *
133
123
  * ### Using teamId and orgId attribute to query Team Atlas Users
134
124
  *
135
- * <!--Start PulumiCodeChooser -->
136
125
  * ```typescript
137
126
  * import * as pulumi from "@pulumi/pulumi";
138
127
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
139
128
  *
140
129
  * const test = mongodbatlas.getAtlasUsers({
141
- * orgId: "<ORG_ID>",
142
130
  * teamId: "<TEAM_ID>",
131
+ * orgId: "<ORG_ID>",
143
132
  * });
144
133
  * ```
145
- * <!--End PulumiCodeChooser -->
146
134
  */
147
135
  export declare function getAtlasUsersOutput(args?: GetAtlasUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAtlasUsersResult>;
148
136
  /**
package/getAtlasUsers.js CHANGED
@@ -14,7 +14,6 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * ### Using orgId attribute to query Organization Atlas Users
16
16
  *
17
- * <!--Start PulumiCodeChooser -->
18
17
  * ```typescript
19
18
  * import * as pulumi from "@pulumi/pulumi";
20
19
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -23,11 +22,9 @@ const utilities = require("./utilities");
23
22
  * orgId: "<ORG_ID>",
24
23
  * });
25
24
  * ```
26
- * <!--End PulumiCodeChooser -->
27
25
  *
28
26
  * ### Using projectId attribute to query Project Atlas Users
29
27
  *
30
- * <!--Start PulumiCodeChooser -->
31
28
  * ```typescript
32
29
  * import * as pulumi from "@pulumi/pulumi";
33
30
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -36,21 +33,18 @@ const utilities = require("./utilities");
36
33
  * projectId: "<PROJECT_ID>",
37
34
  * });
38
35
  * ```
39
- * <!--End PulumiCodeChooser -->
40
36
  *
41
37
  * ### Using teamId and orgId attribute to query Team Atlas Users
42
38
  *
43
- * <!--Start PulumiCodeChooser -->
44
39
  * ```typescript
45
40
  * import * as pulumi from "@pulumi/pulumi";
46
41
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
47
42
  *
48
43
  * const test = mongodbatlas.getAtlasUsers({
49
- * orgId: "<ORG_ID>",
50
44
  * teamId: "<TEAM_ID>",
45
+ * orgId: "<ORG_ID>",
51
46
  * });
52
47
  * ```
53
- * <!--End PulumiCodeChooser -->
54
48
  */
55
49
  function getAtlasUsers(args, opts) {
56
50
  args = args || {};
@@ -73,7 +67,6 @@ exports.getAtlasUsers = getAtlasUsers;
73
67
  *
74
68
  * ### Using orgId attribute to query Organization Atlas Users
75
69
  *
76
- * <!--Start PulumiCodeChooser -->
77
70
  * ```typescript
78
71
  * import * as pulumi from "@pulumi/pulumi";
79
72
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -82,11 +75,9 @@ exports.getAtlasUsers = getAtlasUsers;
82
75
  * orgId: "<ORG_ID>",
83
76
  * });
84
77
  * ```
85
- * <!--End PulumiCodeChooser -->
86
78
  *
87
79
  * ### Using projectId attribute to query Project Atlas Users
88
80
  *
89
- * <!--Start PulumiCodeChooser -->
90
81
  * ```typescript
91
82
  * import * as pulumi from "@pulumi/pulumi";
92
83
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -95,21 +86,18 @@ exports.getAtlasUsers = getAtlasUsers;
95
86
  * projectId: "<PROJECT_ID>",
96
87
  * });
97
88
  * ```
98
- * <!--End PulumiCodeChooser -->
99
89
  *
100
90
  * ### Using teamId and orgId attribute to query Team Atlas Users
101
91
  *
102
- * <!--Start PulumiCodeChooser -->
103
92
  * ```typescript
104
93
  * import * as pulumi from "@pulumi/pulumi";
105
94
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
106
95
  *
107
96
  * const test = mongodbatlas.getAtlasUsers({
108
- * orgId: "<ORG_ID>",
109
97
  * teamId: "<TEAM_ID>",
98
+ * orgId: "<ORG_ID>",
110
99
  * });
111
100
  * ```
112
- * <!--End PulumiCodeChooser -->
113
101
  */
114
102
  function getAtlasUsersOutput(args, opts) {
115
103
  return pulumi.output(args).apply((a) => getAtlasUsers(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getAtlasUsers.js","sourceRoot":"","sources":["../getAtlasUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,gDAAgD,EAAE;QAC3E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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":"getAtlasUsers.js","sourceRoot":"","sources":["../getAtlasUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,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,gDAAgD,EAAE;QAC3E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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"}
package/getAuditing.d.ts CHANGED
@@ -3,6 +3,23 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * `mongodbatlas.Auditing` describes a Auditing.
4
4
  *
5
5
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
+ *
13
+ * const testAuditing = new mongodbatlas.Auditing("test", {
14
+ * projectId: "<project-id>",
15
+ * auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
16
+ * auditAuthorizationSuccess: false,
17
+ * enabled: true,
18
+ * });
19
+ * const test = mongodbatlas.getAuditingOutput({
20
+ * projectId: testAuditing.id,
21
+ * });
22
+ * ```
6
23
  */
7
24
  export declare function getAuditing(args: GetAuditingArgs, opts?: pulumi.InvokeOptions): Promise<GetAuditingResult>;
8
25
  /**
@@ -44,6 +61,23 @@ export interface GetAuditingResult {
44
61
  * `mongodbatlas.Auditing` describes a Auditing.
45
62
  *
46
63
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * ```typescript
68
+ * import * as pulumi from "@pulumi/pulumi";
69
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
70
+ *
71
+ * const testAuditing = new mongodbatlas.Auditing("test", {
72
+ * projectId: "<project-id>",
73
+ * auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
74
+ * auditAuthorizationSuccess: false,
75
+ * enabled: true,
76
+ * });
77
+ * const test = mongodbatlas.getAuditingOutput({
78
+ * projectId: testAuditing.id,
79
+ * });
80
+ * ```
47
81
  */
48
82
  export declare function getAuditingOutput(args: GetAuditingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuditingResult>;
49
83
  /**
package/getAuditing.js CHANGED
@@ -9,6 +9,23 @@ const utilities = require("./utilities");
9
9
  * `mongodbatlas.Auditing` describes a Auditing.
10
10
  *
11
11
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const testAuditing = new mongodbatlas.Auditing("test", {
20
+ * projectId: "<project-id>",
21
+ * auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
22
+ * auditAuthorizationSuccess: false,
23
+ * enabled: true,
24
+ * });
25
+ * const test = mongodbatlas.getAuditingOutput({
26
+ * projectId: testAuditing.id,
27
+ * });
28
+ * ```
12
29
  */
13
30
  function getAuditing(args, opts) {
14
31
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -21,6 +38,23 @@ exports.getAuditing = getAuditing;
21
38
  * `mongodbatlas.Auditing` describes a Auditing.
22
39
  *
23
40
  * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
41
+ *
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
47
+ *
48
+ * const testAuditing = new mongodbatlas.Auditing("test", {
49
+ * projectId: "<project-id>",
50
+ * auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
51
+ * auditAuthorizationSuccess: false,
52
+ * enabled: true,
53
+ * });
54
+ * const test = mongodbatlas.getAuditingOutput({
55
+ * projectId: testAuditing.id,
56
+ * });
57
+ * ```
24
58
  */
25
59
  function getAuditingOutput(args, opts) {
26
60
  return pulumi.output(args).apply((a) => getAuditing(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getAuditing.js","sourceRoot":"","sources":["../getAuditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAsCD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getAuditing.js","sourceRoot":"","sources":["../getAuditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAsCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -2,6 +2,89 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
9
+ *
10
+ * const myCluster = new mongodbatlas.Cluster("my_cluster", {
11
+ * projectId: "<PROJECT-ID>",
12
+ * name: "clusterTest",
13
+ * providerName: "AWS",
14
+ * providerRegionName: "EU_CENTRAL_1",
15
+ * providerInstanceSizeName: "M10",
16
+ * cloudBackup: true,
17
+ * });
18
+ * const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
19
+ * projectId: myCluster.projectId,
20
+ * clusterName: myCluster.name,
21
+ * referenceHourOfDay: 3,
22
+ * referenceMinuteOfHour: 45,
23
+ * restoreWindowDays: 4,
24
+ * policyItemHourly: {
25
+ * frequencyInterval: 1,
26
+ * retentionUnit: "days",
27
+ * retentionValue: 1,
28
+ * },
29
+ * policyItemDaily: {
30
+ * frequencyInterval: 1,
31
+ * retentionUnit: "days",
32
+ * retentionValue: 2,
33
+ * },
34
+ * policyItemWeeklies: [{
35
+ * frequencyInterval: 4,
36
+ * retentionUnit: "weeks",
37
+ * retentionValue: 3,
38
+ * }],
39
+ * policyItemMonthlies: [{
40
+ * frequencyInterval: 5,
41
+ * retentionUnit: "months",
42
+ * retentionValue: 4,
43
+ * }],
44
+ * });
45
+ * const test = mongodbatlas.getCloudBackupScheduleOutput({
46
+ * projectId: testCloudBackupSchedule.projectId,
47
+ * clusterName: testCloudBackupSchedule.clusterName,
48
+ * });
49
+ * const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
50
+ * projectId: testCloudBackupSchedule.id,
51
+ * });
52
+ * const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
53
+ * projectId: "<PROJECT-ID>",
54
+ * authorizedEmail: "user@email.com",
55
+ * authorizedUserFirstName: "First",
56
+ * authorizedUserLastName: "Last",
57
+ * copyProtectionEnabled: false,
58
+ * pitEnabled: false,
59
+ * encryptionAtRestEnabled: false,
60
+ * restoreWindowDays: 7,
61
+ * onDemandPolicyItem: {
62
+ * frequencyInterval: 0,
63
+ * retentionUnit: "days",
64
+ * retentionValue: 3,
65
+ * },
66
+ * policyItemHourly: {
67
+ * frequencyInterval: 6,
68
+ * retentionUnit: "days",
69
+ * retentionValue: 7,
70
+ * },
71
+ * policyItemDaily: {
72
+ * frequencyInterval: 0,
73
+ * retentionUnit: "days",
74
+ * retentionValue: 7,
75
+ * },
76
+ * policyItemWeeklies: [{
77
+ * frequencyInterval: 0,
78
+ * retentionUnit: "weeks",
79
+ * retentionValue: 4,
80
+ * }],
81
+ * policyItemMonthlies: [{
82
+ * frequencyInterval: 0,
83
+ * retentionUnit: "months",
84
+ * retentionValue: 12,
85
+ * }],
86
+ * });
87
+ * ```
5
88
  */
6
89
  export declare function getBackupCompliancePolicy(args: GetBackupCompliancePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupCompliancePolicyResult>;
7
90
  /**
@@ -70,6 +153,89 @@ export interface GetBackupCompliancePolicyResult {
70
153
  }
71
154
  /**
72
155
  * ## Example Usage
156
+ *
157
+ * ```typescript
158
+ * import * as pulumi from "@pulumi/pulumi";
159
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
160
+ *
161
+ * const myCluster = new mongodbatlas.Cluster("my_cluster", {
162
+ * projectId: "<PROJECT-ID>",
163
+ * name: "clusterTest",
164
+ * providerName: "AWS",
165
+ * providerRegionName: "EU_CENTRAL_1",
166
+ * providerInstanceSizeName: "M10",
167
+ * cloudBackup: true,
168
+ * });
169
+ * const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
170
+ * projectId: myCluster.projectId,
171
+ * clusterName: myCluster.name,
172
+ * referenceHourOfDay: 3,
173
+ * referenceMinuteOfHour: 45,
174
+ * restoreWindowDays: 4,
175
+ * policyItemHourly: {
176
+ * frequencyInterval: 1,
177
+ * retentionUnit: "days",
178
+ * retentionValue: 1,
179
+ * },
180
+ * policyItemDaily: {
181
+ * frequencyInterval: 1,
182
+ * retentionUnit: "days",
183
+ * retentionValue: 2,
184
+ * },
185
+ * policyItemWeeklies: [{
186
+ * frequencyInterval: 4,
187
+ * retentionUnit: "weeks",
188
+ * retentionValue: 3,
189
+ * }],
190
+ * policyItemMonthlies: [{
191
+ * frequencyInterval: 5,
192
+ * retentionUnit: "months",
193
+ * retentionValue: 4,
194
+ * }],
195
+ * });
196
+ * const test = mongodbatlas.getCloudBackupScheduleOutput({
197
+ * projectId: testCloudBackupSchedule.projectId,
198
+ * clusterName: testCloudBackupSchedule.clusterName,
199
+ * });
200
+ * const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
201
+ * projectId: testCloudBackupSchedule.id,
202
+ * });
203
+ * const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
204
+ * projectId: "<PROJECT-ID>",
205
+ * authorizedEmail: "user@email.com",
206
+ * authorizedUserFirstName: "First",
207
+ * authorizedUserLastName: "Last",
208
+ * copyProtectionEnabled: false,
209
+ * pitEnabled: false,
210
+ * encryptionAtRestEnabled: false,
211
+ * restoreWindowDays: 7,
212
+ * onDemandPolicyItem: {
213
+ * frequencyInterval: 0,
214
+ * retentionUnit: "days",
215
+ * retentionValue: 3,
216
+ * },
217
+ * policyItemHourly: {
218
+ * frequencyInterval: 6,
219
+ * retentionUnit: "days",
220
+ * retentionValue: 7,
221
+ * },
222
+ * policyItemDaily: {
223
+ * frequencyInterval: 0,
224
+ * retentionUnit: "days",
225
+ * retentionValue: 7,
226
+ * },
227
+ * policyItemWeeklies: [{
228
+ * frequencyInterval: 0,
229
+ * retentionUnit: "weeks",
230
+ * retentionValue: 4,
231
+ * }],
232
+ * policyItemMonthlies: [{
233
+ * frequencyInterval: 0,
234
+ * retentionUnit: "months",
235
+ * retentionValue: 12,
236
+ * }],
237
+ * });
238
+ * ```
73
239
  */
74
240
  export declare function getBackupCompliancePolicyOutput(args: GetBackupCompliancePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackupCompliancePolicyResult>;
75
241
  /**