@pulumi/mongodbatlas 3.1.0-alpha.1637768803 → 3.1.2

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 (248) hide show
  1. package/README.md +1 -1
  2. package/alertConfiguration.d.ts +21 -21
  3. package/alertConfiguration.js +27 -26
  4. package/alertConfiguration.js.map +1 -1
  5. package/auditing.d.ts +9 -9
  6. package/auditing.js +13 -12
  7. package/auditing.js.map +1 -1
  8. package/cloudBackupSchedule.d.ts +23 -23
  9. package/cloudBackupSchedule.js +29 -28
  10. package/cloudBackupSchedule.js.map +1 -1
  11. package/cloudProviderAccess.d.ts +12 -12
  12. package/cloudProviderAccess.js +21 -20
  13. package/cloudProviderAccess.js.map +1 -1
  14. package/cloudProviderAccessAuthorization.d.ts +8 -8
  15. package/cloudProviderAccessAuthorization.js +13 -12
  16. package/cloudProviderAccessAuthorization.js.map +1 -1
  17. package/cloudProviderAccessSetup.d.ts +8 -8
  18. package/cloudProviderAccessSetup.js +15 -14
  19. package/cloudProviderAccessSetup.js.map +1 -1
  20. package/cloudProviderSnapshot.d.ts +32 -17
  21. package/cloudProviderSnapshot.js +34 -28
  22. package/cloudProviderSnapshot.js.map +1 -1
  23. package/cloudProviderSnapshotBackupPolicy.d.ts +16 -16
  24. package/cloudProviderSnapshotBackupPolicy.js +21 -20
  25. package/cloudProviderSnapshotBackupPolicy.js.map +1 -1
  26. package/cloudProviderSnapshotRestoreJob.d.ts +20 -18
  27. package/cloudProviderSnapshotRestoreJob.js +31 -28
  28. package/cloudProviderSnapshotRestoreJob.js.map +1 -1
  29. package/cluster.d.ts +75 -75
  30. package/cluster.js +87 -86
  31. package/cluster.js.map +1 -1
  32. package/config/index.js +11 -4
  33. package/config/index.js.map +1 -1
  34. package/config/vars.d.ts +4 -4
  35. package/config/vars.js +25 -17
  36. package/config/vars.js.map +1 -1
  37. package/customDbRole.d.ts +9 -9
  38. package/customDbRole.js +12 -11
  39. package/customDbRole.js.map +1 -1
  40. package/customDnsConfigurationClusterAws.d.ts +4 -4
  41. package/customDnsConfigurationClusterAws.js +7 -6
  42. package/customDnsConfigurationClusterAws.js.map +1 -1
  43. package/dataLake.d.ts +12 -12
  44. package/dataLake.js +19 -18
  45. package/dataLake.js.map +1 -1
  46. package/databaseUser.d.ts +22 -22
  47. package/databaseUser.js +25 -24
  48. package/databaseUser.js.map +1 -1
  49. package/encryptionAtRest.d.ts +14 -14
  50. package/encryptionAtRest.js +17 -16
  51. package/encryptionAtRest.js.map +1 -1
  52. package/eventTrigger.d.ts +39 -39
  53. package/eventTrigger.js +45 -44
  54. package/eventTrigger.js.map +1 -1
  55. package/get509AuthenticationDatabaseUser.d.ts +20 -6
  56. package/get509AuthenticationDatabaseUser.js +9 -4
  57. package/get509AuthenticationDatabaseUser.js.map +1 -1
  58. package/getAlertConfiguration.d.ts +16 -2
  59. package/getAlertConfiguration.js +5 -0
  60. package/getAlertConfiguration.js.map +1 -1
  61. package/getAuditing.d.ts +11 -1
  62. package/getAuditing.js +5 -0
  63. package/getAuditing.js.map +1 -1
  64. package/getCloudBackupSchedule.d.ts +16 -2
  65. package/getCloudBackupSchedule.js +5 -0
  66. package/getCloudBackupSchedule.js.map +1 -1
  67. package/getCloudProviderAccess.d.ts +14 -4
  68. package/getCloudProviderAccess.js +8 -3
  69. package/getCloudProviderAccess.js.map +1 -1
  70. package/getCloudProviderAccessSetup.d.ts +26 -8
  71. package/getCloudProviderAccessSetup.js +10 -5
  72. package/getCloudProviderAccessSetup.js.map +1 -1
  73. package/getCloudProviderSnapshot.d.ts +20 -3
  74. package/getCloudProviderSnapshot.js +7 -0
  75. package/getCloudProviderSnapshot.js.map +1 -1
  76. package/getCloudProviderSnapshotBackupPolicy.d.ts +16 -2
  77. package/getCloudProviderSnapshotBackupPolicy.js +5 -0
  78. package/getCloudProviderSnapshotBackupPolicy.js.map +1 -1
  79. package/getCloudProviderSnapshotRestoreJob.d.ts +23 -3
  80. package/getCloudProviderSnapshotRestoreJob.js +7 -0
  81. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  82. package/getCloudProviderSnapshotRestoreJobs.d.ts +29 -5
  83. package/getCloudProviderSnapshotRestoreJobs.js +8 -1
  84. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  85. package/getCloudProviderSnapshots.d.ts +45 -4
  86. package/getCloudProviderSnapshots.js +27 -0
  87. package/getCloudProviderSnapshots.js.map +1 -1
  88. package/getCluster.d.ts +16 -2
  89. package/getCluster.js +5 -0
  90. package/getCluster.js.map +1 -1
  91. package/getClusters.d.ts +14 -4
  92. package/getClusters.js +8 -3
  93. package/getClusters.js.map +1 -1
  94. package/getCustomDbRole.d.ts +22 -7
  95. package/getCustomDbRole.js +9 -4
  96. package/getCustomDbRole.js.map +1 -1
  97. package/getCustomDbRoles.d.ts +11 -1
  98. package/getCustomDbRoles.js +5 -0
  99. package/getCustomDbRoles.js.map +1 -1
  100. package/getCustomDnsConfigurationClusterAws.d.ts +11 -1
  101. package/getCustomDnsConfigurationClusterAws.js +5 -0
  102. package/getCustomDnsConfigurationClusterAws.js.map +1 -1
  103. package/getDataLake.d.ts +16 -2
  104. package/getDataLake.js +5 -0
  105. package/getDataLake.js.map +1 -1
  106. package/getDataLakes.d.ts +12 -2
  107. package/getDataLakes.js +6 -1
  108. package/getDataLakes.js.map +1 -1
  109. package/getDatabaseUser.d.ts +28 -4
  110. package/getDatabaseUser.js +5 -0
  111. package/getDatabaseUser.js.map +1 -1
  112. package/getDatabaseUsers.d.ts +14 -4
  113. package/getDatabaseUsers.js +8 -3
  114. package/getDatabaseUsers.js.map +1 -1
  115. package/getEventTrigger.d.ts +21 -3
  116. package/getEventTrigger.js +5 -0
  117. package/getEventTrigger.js.map +1 -1
  118. package/getEventTriggers.d.ts +16 -2
  119. package/getEventTriggers.js +5 -0
  120. package/getEventTriggers.js.map +1 -1
  121. package/getGlobalClusterConfig.d.ts +19 -3
  122. package/getGlobalClusterConfig.js +5 -0
  123. package/getGlobalClusterConfig.js.map +1 -1
  124. package/getLdapConfiguration.d.ts +11 -1
  125. package/getLdapConfiguration.js +5 -0
  126. package/getLdapConfiguration.js.map +1 -1
  127. package/getLdapVerify.d.ts +16 -2
  128. package/getLdapVerify.js +5 -0
  129. package/getLdapVerify.js.map +1 -1
  130. package/getMaintenanceWindow.d.ts +11 -1
  131. package/getMaintenanceWindow.js +5 -0
  132. package/getMaintenanceWindow.js.map +1 -1
  133. package/getNetworkContainer.d.ts +16 -2
  134. package/getNetworkContainer.js +5 -0
  135. package/getNetworkContainer.js.map +1 -1
  136. package/getNetworkContainers.d.ts +17 -3
  137. package/getNetworkContainers.js +6 -1
  138. package/getNetworkContainers.js.map +1 -1
  139. package/getNetworkPeering.d.ts +16 -2
  140. package/getNetworkPeering.js +5 -0
  141. package/getNetworkPeering.js.map +1 -1
  142. package/getNetworkPeerings.d.ts +14 -4
  143. package/getNetworkPeerings.js +8 -3
  144. package/getNetworkPeerings.js.map +1 -1
  145. package/getOnlineArchive.d.ts +21 -3
  146. package/getOnlineArchive.js +5 -0
  147. package/getOnlineArchive.js.map +1 -1
  148. package/getOnlineArchives.d.ts +16 -2
  149. package/getOnlineArchives.js +5 -0
  150. package/getOnlineArchives.js.map +1 -1
  151. package/getPrivateLinkEndpoint.d.ts +35 -5
  152. package/getPrivateLinkEndpoint.js +5 -0
  153. package/getPrivateLinkEndpoint.js.map +1 -1
  154. package/getPrivateLinkEndpointService.d.ts +36 -4
  155. package/getPrivateLinkEndpointService.js +5 -0
  156. package/getPrivateLinkEndpointService.js.map +1 -1
  157. package/getProject.d.ts +17 -3
  158. package/getProject.js +6 -1
  159. package/getProject.js.map +1 -1
  160. package/getProjectIpAccessList.d.ts +26 -4
  161. package/getProjectIpAccessList.js +5 -0
  162. package/getProjectIpAccessList.js.map +1 -1
  163. package/getProjects.d.ts +17 -3
  164. package/getProjects.js +6 -1
  165. package/getProjects.js.map +1 -1
  166. package/getSearchIndex.d.ts +76 -17
  167. package/getSearchIndex.js +6 -1
  168. package/getSearchIndex.js.map +1 -1
  169. package/getSearchIndexes.d.ts +37 -7
  170. package/getSearchIndexes.js +6 -1
  171. package/getSearchIndexes.js.map +1 -1
  172. package/getTeam.d.ts +21 -3
  173. package/getTeam.js +5 -0
  174. package/getTeam.js.map +1 -1
  175. package/getTeams.d.ts +12 -3
  176. package/getTeams.js +5 -0
  177. package/getTeams.js.map +1 -1
  178. package/getThirdPartyIntegration.d.ts +41 -2
  179. package/getThirdPartyIntegration.js +23 -0
  180. package/getThirdPartyIntegration.js.map +1 -1
  181. package/getThirdPartyIntegrations.d.ts +34 -1
  182. package/getThirdPartyIntegrations.js +28 -0
  183. package/getThirdPartyIntegrations.js.map +1 -1
  184. package/globalClusterConfig.d.ts +9 -9
  185. package/globalClusterConfig.js +13 -12
  186. package/globalClusterConfig.js.map +1 -1
  187. package/index.js +88 -80
  188. package/index.js.map +1 -1
  189. package/ldapConfiguration.d.ts +20 -20
  190. package/ldapConfiguration.js +23 -22
  191. package/ldapConfiguration.js.map +1 -1
  192. package/ldapVerify.d.ts +18 -18
  193. package/ldapVerify.js +25 -24
  194. package/ldapVerify.js.map +1 -1
  195. package/maintenanceWindow.d.ts +15 -15
  196. package/maintenanceWindow.js +19 -18
  197. package/maintenanceWindow.js.map +1 -1
  198. package/networkContainer.d.ts +19 -19
  199. package/networkContainer.js +29 -28
  200. package/networkContainer.js.map +1 -1
  201. package/networkPeering.d.ts +40 -40
  202. package/networkPeering.js +51 -50
  203. package/networkPeering.js.map +1 -1
  204. package/onlineArchive.d.ts +18 -18
  205. package/onlineArchive.js +23 -22
  206. package/onlineArchive.js.map +1 -1
  207. package/package.json +4 -3
  208. package/package.json.bak +3 -2
  209. package/package.json.dev +4 -3
  210. package/privateIpMode.d.ts +4 -4
  211. package/privateIpMode.js +7 -6
  212. package/privateIpMode.js.map +1 -1
  213. package/privateLinkEndpoint.d.ts +50 -26
  214. package/privateLinkEndpoint.js +31 -24
  215. package/privateLinkEndpoint.js.map +1 -1
  216. package/privateLinkEndpointService.d.ts +162 -23
  217. package/privateLinkEndpointService.js +131 -26
  218. package/privateLinkEndpointService.js.map +1 -1
  219. package/project.d.ts +22 -10
  220. package/project.js +17 -14
  221. package/project.js.map +1 -1
  222. package/projectIpAccessList.d.ts +10 -10
  223. package/projectIpAccessList.js +13 -12
  224. package/projectIpAccessList.js.map +1 -1
  225. package/provider.d.ts +20 -4
  226. package/provider.js +7 -6
  227. package/provider.js.map +1 -1
  228. package/searchIndex.d.ts +129 -38
  229. package/searchIndex.js +98 -26
  230. package/searchIndex.js.map +1 -1
  231. package/team.d.ts +7 -7
  232. package/team.js +11 -10
  233. package/team.js.map +1 -1
  234. package/teams.d.ts +7 -7
  235. package/teams.js +11 -10
  236. package/teams.js.map +1 -1
  237. package/thirdPartyIntegration.d.ts +34 -34
  238. package/thirdPartyIntegration.js +37 -36
  239. package/thirdPartyIntegration.js.map +1 -1
  240. package/types/index.js +1 -0
  241. package/types/index.js.map +1 -1
  242. package/types/input.d.ts +67 -0
  243. package/types/output.d.ts +85 -0
  244. package/utilities.js +1 -0
  245. package/utilities.js.map +1 -1
  246. package/x509authenticationDatabaseUser.d.ts +10 -10
  247. package/x509authenticationDatabaseUser.js +15 -14
  248. package/x509authenticationDatabaseUser.js.map +1 -1
@@ -2,9 +2,12 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudProviderSnapshotOutput = exports.getCloudProviderSnapshot = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshot`
10
+ *
8
11
  * `mongodbatlas.CloudProviderSnapshot` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
9
12
  *
10
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -23,4 +26,8 @@ function getCloudProviderSnapshot(args, opts) {
23
26
  }, opts);
24
27
  }
25
28
  exports.getCloudProviderSnapshot = getCloudProviderSnapshot;
29
+ function getCloudProviderSnapshotOutput(args, opts) {
30
+ return pulumi.output(args).apply(a => getCloudProviderSnapshot(a, opts));
31
+ }
32
+ exports.getCloudProviderSnapshotOutput = getCloudProviderSnapshotOutput;
26
33
  //# sourceMappingURL=getCloudProviderSnapshot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshot.js","sourceRoot":"","sources":["../getCloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC"}
1
+ {"version":3,"file":"getCloudProviderSnapshot.js","sourceRoot":"","sources":["../getCloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC;AAkED,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
@@ -15,11 +15,11 @@ export interface GetCloudProviderSnapshotBackupPolicyArgs {
15
15
  /**
16
16
  * The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
17
17
  */
18
- readonly clusterName: string;
18
+ clusterName: string;
19
19
  /**
20
20
  * The unique identifier of the project for the Atlas cluster.
21
21
  */
22
- readonly projectId: string;
22
+ projectId: string;
23
23
  }
24
24
  /**
25
25
  * A collection of values returned by getCloudProviderSnapshotBackupPolicy.
@@ -58,3 +58,17 @@ export interface GetCloudProviderSnapshotBackupPolicyResult {
58
58
  readonly restoreWindowDays: number;
59
59
  readonly updateSnapshots: boolean;
60
60
  }
61
+ export declare function getCloudProviderSnapshotBackupPolicyOutput(args: GetCloudProviderSnapshotBackupPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotBackupPolicyResult>;
62
+ /**
63
+ * A collection of arguments for invoking getCloudProviderSnapshotBackupPolicy.
64
+ */
65
+ export interface GetCloudProviderSnapshotBackupPolicyOutputArgs {
66
+ /**
67
+ * The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
68
+ */
69
+ clusterName: pulumi.Input<string>;
70
+ /**
71
+ * The unique identifier of the project for the Atlas cluster.
72
+ */
73
+ projectId: pulumi.Input<string>;
74
+ }
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudProviderSnapshotBackupPolicyOutput = exports.getCloudProviderSnapshotBackupPolicy = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -24,4 +25,8 @@ function getCloudProviderSnapshotBackupPolicy(args, opts) {
24
25
  }, opts);
25
26
  }
26
27
  exports.getCloudProviderSnapshotBackupPolicy = getCloudProviderSnapshotBackupPolicy;
28
+ function getCloudProviderSnapshotBackupPolicyOutput(args, opts) {
29
+ return pulumi.output(args).apply(a => getCloudProviderSnapshotBackupPolicy(a, opts));
30
+ }
31
+ exports.getCloudProviderSnapshotBackupPolicyOutput = getCloudProviderSnapshotBackupPolicyOutput;
27
32
  //# sourceMappingURL=getCloudProviderSnapshotBackupPolicy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshotBackupPolicy.js","sourceRoot":"","sources":["../getCloudProviderSnapshotBackupPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oFAYC"}
1
+ {"version":3,"file":"getCloudProviderSnapshotBackupPolicy.js","sourceRoot":"","sources":["../getCloudProviderSnapshotBackupPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oFAYC;AAsDD,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAA2B;IACxI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oCAAoC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxF,CAAC;AAFD,gGAEC"}
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
4
+ *
3
5
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a Cloud Backup Snapshot Restore Job datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
4
6
  *
5
7
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -12,15 +14,15 @@ export interface GetCloudProviderSnapshotRestoreJobArgs {
12
14
  /**
13
15
  * The name of the Atlas cluster for which you want to retrieve the restore job.
14
16
  */
15
- readonly clusterName: string;
17
+ clusterName: string;
16
18
  /**
17
19
  * The unique identifier of the restore job to retrieve.
18
20
  */
19
- readonly jobId: string;
21
+ jobId: string;
20
22
  /**
21
23
  * The unique identifier of the project for the Atlas cluster.
22
24
  */
23
- readonly projectId: string;
25
+ projectId: string;
24
26
  }
25
27
  /**
26
28
  * A collection of values returned by getCloudProviderSnapshotRestoreJob.
@@ -78,3 +80,21 @@ export interface GetCloudProviderSnapshotRestoreJobResult {
78
80
  */
79
81
  readonly timestamp: string;
80
82
  }
83
+ export declare function getCloudProviderSnapshotRestoreJobOutput(args: GetCloudProviderSnapshotRestoreJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotRestoreJobResult>;
84
+ /**
85
+ * A collection of arguments for invoking getCloudProviderSnapshotRestoreJob.
86
+ */
87
+ export interface GetCloudProviderSnapshotRestoreJobOutputArgs {
88
+ /**
89
+ * The name of the Atlas cluster for which you want to retrieve the restore job.
90
+ */
91
+ clusterName: pulumi.Input<string>;
92
+ /**
93
+ * The unique identifier of the restore job to retrieve.
94
+ */
95
+ jobId: pulumi.Input<string>;
96
+ /**
97
+ * The unique identifier of the project for the Atlas cluster.
98
+ */
99
+ projectId: pulumi.Input<string>;
100
+ }
@@ -2,9 +2,12 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudProviderSnapshotRestoreJobOutput = exports.getCloudProviderSnapshotRestoreJob = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
10
+ *
8
11
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a Cloud Backup Snapshot Restore Job datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
9
12
  *
10
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -23,4 +26,8 @@ function getCloudProviderSnapshotRestoreJob(args, opts) {
23
26
  }, opts);
24
27
  }
25
28
  exports.getCloudProviderSnapshotRestoreJob = getCloudProviderSnapshotRestoreJob;
29
+ function getCloudProviderSnapshotRestoreJobOutput(args, opts) {
30
+ return pulumi.output(args).apply(a => getCloudProviderSnapshotRestoreJob(a, opts));
31
+ }
32
+ exports.getCloudProviderSnapshotRestoreJobOutput = getCloudProviderSnapshotRestoreJobOutput;
26
33
  //# sourceMappingURL=getCloudProviderSnapshotRestoreJob.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gFAaC"}
1
+ {"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gFAaC;AA6ED,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kCAAkC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,4FAEC"}
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
3
  /**
4
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotsRestoreJobs`
5
+ *
4
6
  * `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
5
7
  *
6
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -29,7 +31,7 @@ import { output as outputs } from "./types";
29
31
  * targetProjectId: "5cf5a45a9ccf6400e60981b6",
30
32
  * }],
31
33
  * });
32
- * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobs({
34
+ * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
33
35
  * projectId: projectId,
34
36
  * clusterName: clusterName,
35
37
  * pageNum: 1,
@@ -45,19 +47,19 @@ export interface GetCloudProviderSnapshotRestoreJobsArgs {
45
47
  /**
46
48
  * The name of the Atlas cluster for which you want to retrieve restore jobs.
47
49
  */
48
- readonly clusterName: string;
50
+ clusterName: string;
49
51
  /**
50
52
  * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
51
53
  */
52
- readonly itemsPerPage?: number;
54
+ itemsPerPage?: number;
53
55
  /**
54
56
  * The page to return. Defaults to `1`.
55
57
  */
56
- readonly pageNum?: number;
58
+ pageNum?: number;
57
59
  /**
58
60
  * The unique identifier of the project for the Atlas cluster.
59
61
  */
60
- readonly projectId: string;
62
+ projectId: string;
61
63
  }
62
64
  /**
63
65
  * A collection of values returned by getCloudProviderSnapshotRestoreJobs.
@@ -77,3 +79,25 @@ export interface GetCloudProviderSnapshotRestoreJobsResult {
77
79
  readonly results: outputs.GetCloudProviderSnapshotRestoreJobsResult[];
78
80
  readonly totalCount: number;
79
81
  }
82
+ export declare function getCloudProviderSnapshotRestoreJobsOutput(args: GetCloudProviderSnapshotRestoreJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotRestoreJobsResult>;
83
+ /**
84
+ * A collection of arguments for invoking getCloudProviderSnapshotRestoreJobs.
85
+ */
86
+ export interface GetCloudProviderSnapshotRestoreJobsOutputArgs {
87
+ /**
88
+ * The name of the Atlas cluster for which you want to retrieve restore jobs.
89
+ */
90
+ clusterName: pulumi.Input<string>;
91
+ /**
92
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
93
+ */
94
+ itemsPerPage?: pulumi.Input<number>;
95
+ /**
96
+ * The page to return. Defaults to `1`.
97
+ */
98
+ pageNum?: pulumi.Input<number>;
99
+ /**
100
+ * The unique identifier of the project for the Atlas cluster.
101
+ */
102
+ projectId: pulumi.Input<string>;
103
+ }
@@ -2,9 +2,12 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudProviderSnapshotRestoreJobsOutput = exports.getCloudProviderSnapshotRestoreJobs = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotsRestoreJobs`
10
+ *
8
11
  * `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
9
12
  *
10
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -33,7 +36,7 @@ const utilities = require("./utilities");
33
36
  * targetProjectId: "5cf5a45a9ccf6400e60981b6",
34
37
  * }],
35
38
  * });
36
- * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobs({
39
+ * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
37
40
  * projectId: projectId,
38
41
  * clusterName: clusterName,
39
42
  * pageNum: 1,
@@ -56,4 +59,8 @@ function getCloudProviderSnapshotRestoreJobs(args, opts) {
56
59
  }, opts);
57
60
  }
58
61
  exports.getCloudProviderSnapshotRestoreJobs = getCloudProviderSnapshotRestoreJobs;
62
+ function getCloudProviderSnapshotRestoreJobsOutput(args, opts) {
63
+ return pulumi.output(args).apply(a => getCloudProviderSnapshotRestoreJobs(a, opts));
64
+ }
65
+ exports.getCloudProviderSnapshotRestoreJobsOutput = getCloudProviderSnapshotRestoreJobsOutput;
59
66
  //# sourceMappingURL=getCloudProviderSnapshotRestoreJobs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kFAcC"}
1
+ {"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kFAcC;AA2CD,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,8FAEC"}
@@ -1,9 +1,31 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
3
  /**
4
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshots`
5
+ *
4
6
  * `mongodbatlas.getCloudProviderSnapshots` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
5
7
  *
6
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
15
+ *
16
+ * const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
17
+ * groupId: "5d0f1f73cf09a29120e173cf",
18
+ * clusterName: "MyClusterTest",
19
+ * description: "SomeDescription",
20
+ * retentionInDays: 1,
21
+ * });
22
+ * const testCloudProviderSnapshots = mongodbatlas.getCloudProviderSnapshots({
23
+ * groupId: mongodbatlas_cloud_provider_snapshots.test.group_id,
24
+ * clusterName: mongodbatlas_cloud_provider_snapshots.test.cluster_name,
25
+ * pageNum: 1,
26
+ * itemsPerPage: 5,
27
+ * });
28
+ * ```
7
29
  */
8
30
  export declare function getCloudProviderSnapshots(args: GetCloudProviderSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudProviderSnapshotsResult>;
9
31
  /**
@@ -13,16 +35,16 @@ export interface GetCloudProviderSnapshotsArgs {
13
35
  /**
14
36
  * The name of the Atlas cluster that contains the snapshot you want to retrieve.
15
37
  */
16
- readonly clusterName: string;
38
+ clusterName: string;
17
39
  /**
18
40
  * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
19
41
  */
20
- readonly itemsPerPage?: number;
42
+ itemsPerPage?: number;
21
43
  /**
22
44
  * The page to return. Defaults to `1`.
23
45
  */
24
- readonly pageNum?: number;
25
- readonly projectId: string;
46
+ pageNum?: number;
47
+ projectId: string;
26
48
  }
27
49
  /**
28
50
  * A collection of values returned by getCloudProviderSnapshots.
@@ -42,3 +64,22 @@ export interface GetCloudProviderSnapshotsResult {
42
64
  readonly results: outputs.GetCloudProviderSnapshotsResult[];
43
65
  readonly totalCount: number;
44
66
  }
67
+ export declare function getCloudProviderSnapshotsOutput(args: GetCloudProviderSnapshotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotsResult>;
68
+ /**
69
+ * A collection of arguments for invoking getCloudProviderSnapshots.
70
+ */
71
+ export interface GetCloudProviderSnapshotsOutputArgs {
72
+ /**
73
+ * The name of the Atlas cluster that contains the snapshot you want to retrieve.
74
+ */
75
+ clusterName: pulumi.Input<string>;
76
+ /**
77
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
78
+ */
79
+ itemsPerPage?: pulumi.Input<number>;
80
+ /**
81
+ * The page to return. Defaults to `1`.
82
+ */
83
+ pageNum?: pulumi.Input<number>;
84
+ projectId: pulumi.Input<string>;
85
+ }
@@ -2,12 +2,35 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudProviderSnapshotsOutput = exports.getCloudProviderSnapshots = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshots`
10
+ *
8
11
  * `mongodbatlas.getCloudProviderSnapshots` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
9
12
  *
10
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
20
+ *
21
+ * const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
22
+ * groupId: "5d0f1f73cf09a29120e173cf",
23
+ * clusterName: "MyClusterTest",
24
+ * description: "SomeDescription",
25
+ * retentionInDays: 1,
26
+ * });
27
+ * const testCloudProviderSnapshots = mongodbatlas.getCloudProviderSnapshots({
28
+ * groupId: mongodbatlas_cloud_provider_snapshots.test.group_id,
29
+ * clusterName: mongodbatlas_cloud_provider_snapshots.test.cluster_name,
30
+ * pageNum: 1,
31
+ * itemsPerPage: 5,
32
+ * });
33
+ * ```
11
34
  */
12
35
  function getCloudProviderSnapshots(args, opts) {
13
36
  if (!opts) {
@@ -24,4 +47,8 @@ function getCloudProviderSnapshots(args, opts) {
24
47
  }, opts);
25
48
  }
26
49
  exports.getCloudProviderSnapshots = getCloudProviderSnapshots;
50
+ function getCloudProviderSnapshotsOutput(args, opts) {
51
+ return pulumi.output(args).apply(a => getCloudProviderSnapshots(a, opts));
52
+ }
53
+ exports.getCloudProviderSnapshotsOutput = getCloudProviderSnapshotsOutput;
27
54
  //# sourceMappingURL=getCloudProviderSnapshots.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshots.js","sourceRoot":"","sources":["../getCloudProviderSnapshots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8DAcC"}
1
+ {"version":3,"file":"getCloudProviderSnapshots.js","sourceRoot":"","sources":["../getCloudProviderSnapshots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8DAcC;AAwCD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
package/getCluster.d.ts CHANGED
@@ -17,11 +17,11 @@ export interface GetClusterArgs {
17
17
  /**
18
18
  * Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
19
19
  */
20
- readonly name: string;
20
+ name: string;
21
21
  /**
22
22
  * The unique ID for the project to create the database user.
23
23
  */
24
- readonly projectId: string;
24
+ projectId: string;
25
25
  }
26
26
  /**
27
27
  * A collection of values returned by getCluster.
@@ -202,3 +202,17 @@ export interface GetClusterResult {
202
202
  */
203
203
  readonly stateName: string;
204
204
  }
205
+ export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterResult>;
206
+ /**
207
+ * A collection of arguments for invoking getCluster.
208
+ */
209
+ export interface GetClusterOutputArgs {
210
+ /**
211
+ * Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
212
+ */
213
+ name: pulumi.Input<string>;
214
+ /**
215
+ * The unique ID for the project to create the database user.
216
+ */
217
+ projectId: pulumi.Input<string>;
218
+ }
package/getCluster.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getClusterOutput = exports.getCluster = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -26,4 +27,8 @@ function getCluster(args, opts) {
26
27
  }, opts);
27
28
  }
28
29
  exports.getCluster = getCluster;
30
+ function getClusterOutput(args, opts) {
31
+ return pulumi.output(args).apply(a => getCluster(a, opts));
32
+ }
33
+ exports.getClusterOutput = getClusterOutput;
29
34
  //# sourceMappingURL=getCluster.js.map
package/getCluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC"}
1
+ {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,gCAYC;AAkMD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
package/getClusters.d.ts CHANGED
@@ -33,9 +33,9 @@ import { output as outputs } from "./types";
33
33
  * providerName: "AWS",
34
34
  * providerInstanceSizeName: "M40",
35
35
  * });
36
- * const testClusters = testCluster.projectId.apply(projectId => mongodbatlas.getClusters({
37
- * projectId: projectId,
38
- * }));
36
+ * const testClusters = mongodbatlas.getClustersOutput({
37
+ * projectId: testCluster.projectId,
38
+ * });
39
39
  * ```
40
40
  */
41
41
  export declare function getClusters(args: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>;
@@ -46,7 +46,7 @@ export interface GetClustersArgs {
46
46
  /**
47
47
  * The unique ID for the project to get the clusters.
48
48
  */
49
- readonly projectId: string;
49
+ projectId: string;
50
50
  }
51
51
  /**
52
52
  * A collection of values returned by getClusters.
@@ -62,3 +62,13 @@ export interface GetClustersResult {
62
62
  */
63
63
  readonly results: outputs.GetClustersResult[];
64
64
  }
65
+ export declare function getClustersOutput(args: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClustersResult>;
66
+ /**
67
+ * A collection of arguments for invoking getClusters.
68
+ */
69
+ export interface GetClustersOutputArgs {
70
+ /**
71
+ * The unique ID for the project to get the clusters.
72
+ */
73
+ projectId: pulumi.Input<string>;
74
+ }
package/getClusters.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getClustersOutput = exports.getClusters = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -37,9 +38,9 @@ const utilities = require("./utilities");
37
38
  * providerName: "AWS",
38
39
  * providerInstanceSizeName: "M40",
39
40
  * });
40
- * const testClusters = testCluster.projectId.apply(projectId => mongodbatlas.getClusters({
41
- * projectId: projectId,
42
- * }));
41
+ * const testClusters = mongodbatlas.getClustersOutput({
42
+ * projectId: testCluster.projectId,
43
+ * });
43
44
  * ```
44
45
  */
45
46
  function getClusters(args, opts) {
@@ -54,4 +55,8 @@ function getClusters(args, opts) {
54
55
  }, opts);
55
56
  }
56
57
  exports.getClusters = getClusters;
58
+ function getClustersOutput(args, opts) {
59
+ return pulumi.output(args).apply(a => getClusters(a, opts));
60
+ }
61
+ exports.getClustersOutput = getClustersOutput;
57
62
  //# sourceMappingURL=getClusters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC"}
1
+ {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AA2BD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -31,10 +31,10 @@ import { input as inputs, output as outputs } from "./types";
31
31
  * },
32
32
  * ],
33
33
  * });
34
- * const test = pulumi.all([testRole.projectId, testRole.roleName]).apply(([projectId, roleName]) => mongodbatlas.getCustomDbRole({
35
- * projectId: projectId,
36
- * roleName: roleName,
37
- * }));
34
+ * const test = mongodbatlas.getCustomDbRoleOutput({
35
+ * projectId: testRole.projectId,
36
+ * roleName: testRole.roleName,
37
+ * });
38
38
  * ```
39
39
  */
40
40
  export declare function getCustomDbRole(args: GetCustomDbRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDbRoleResult>;
@@ -42,15 +42,15 @@ export declare function getCustomDbRole(args: GetCustomDbRoleArgs, opts?: pulumi
42
42
  * A collection of arguments for invoking getCustomDbRole.
43
43
  */
44
44
  export interface GetCustomDbRoleArgs {
45
- readonly inheritedRoles?: inputs.GetCustomDbRoleInheritedRole[];
45
+ inheritedRoles?: inputs.GetCustomDbRoleInheritedRole[];
46
46
  /**
47
47
  * The unique ID for the project to create the database user.
48
48
  */
49
- readonly projectId: string;
49
+ projectId: string;
50
50
  /**
51
51
  * Name of the custom role.
52
52
  */
53
- readonly roleName: string;
53
+ roleName: string;
54
54
  }
55
55
  /**
56
56
  * A collection of values returned by getCustomDbRole.
@@ -65,3 +65,18 @@ export interface GetCustomDbRoleResult {
65
65
  readonly projectId: string;
66
66
  readonly roleName: string;
67
67
  }
68
+ export declare function getCustomDbRoleOutput(args: GetCustomDbRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDbRoleResult>;
69
+ /**
70
+ * A collection of arguments for invoking getCustomDbRole.
71
+ */
72
+ export interface GetCustomDbRoleOutputArgs {
73
+ inheritedRoles?: pulumi.Input<pulumi.Input<inputs.GetCustomDbRoleInheritedRoleArgs>[]>;
74
+ /**
75
+ * The unique ID for the project to create the database user.
76
+ */
77
+ projectId: pulumi.Input<string>;
78
+ /**
79
+ * Name of the custom role.
80
+ */
81
+ roleName: pulumi.Input<string>;
82
+ }
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCustomDbRoleOutput = exports.getCustomDbRole = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -35,10 +36,10 @@ const utilities = require("./utilities");
35
36
  * },
36
37
  * ],
37
38
  * });
38
- * const test = pulumi.all([testRole.projectId, testRole.roleName]).apply(([projectId, roleName]) => mongodbatlas.getCustomDbRole({
39
- * projectId: projectId,
40
- * roleName: roleName,
41
- * }));
39
+ * const test = mongodbatlas.getCustomDbRoleOutput({
40
+ * projectId: testRole.projectId,
41
+ * roleName: testRole.roleName,
42
+ * });
42
43
  * ```
43
44
  */
44
45
  function getCustomDbRole(args, opts) {
@@ -55,4 +56,8 @@ function getCustomDbRole(args, opts) {
55
56
  }, opts);
56
57
  }
57
58
  exports.getCustomDbRole = getCustomDbRole;
59
+ function getCustomDbRoleOutput(args, opts) {
60
+ return pulumi.output(args).apply(a => getCustomDbRole(a, opts));
61
+ }
62
+ exports.getCustomDbRoleOutput = getCustomDbRoleOutput;
58
63
  //# sourceMappingURL=getCustomDbRole.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC"}
1
+ {"version":3,"file":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0CAaC;AA+BD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
@@ -40,7 +40,7 @@ export interface GetCustomDbRolesArgs {
40
40
  /**
41
41
  * The unique ID for the project to get all custom db roles.
42
42
  */
43
- readonly projectId: string;
43
+ projectId: string;
44
44
  }
45
45
  /**
46
46
  * A collection of values returned by getCustomDbRoles.
@@ -56,3 +56,13 @@ export interface GetCustomDbRolesResult {
56
56
  */
57
57
  readonly results: outputs.GetCustomDbRolesResult[];
58
58
  }
59
+ export declare function getCustomDbRolesOutput(args: GetCustomDbRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDbRolesResult>;
60
+ /**
61
+ * A collection of arguments for invoking getCustomDbRoles.
62
+ */
63
+ export interface GetCustomDbRolesOutputArgs {
64
+ /**
65
+ * The unique ID for the project to get all custom db roles.
66
+ */
67
+ projectId: pulumi.Input<string>;
68
+ }