@pulumi/mongodbatlas 3.0.0 → 3.1.0-alpha.1638801724

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 +18 -18
  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 +17 -17
  21. package/cloudProviderSnapshot.js +29 -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 +18 -18
  27. package/cloudProviderSnapshotRestoreJob.js +29 -28
  28. package/cloudProviderSnapshotRestoreJob.js.map +1 -1
  29. package/cluster.d.ts +72 -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 +8 -8
  38. package/customDbRole.js +11 -10
  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 +18 -3
  74. package/getCloudProviderSnapshot.js +5 -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 +21 -3
  80. package/getCloudProviderSnapshotRestoreJob.js +5 -0
  81. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  82. package/getCloudProviderSnapshotRestoreJobs.d.ts +27 -5
  83. package/getCloudProviderSnapshotRestoreJobs.js +6 -1
  84. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  85. package/getCloudProviderSnapshots.d.ts +23 -4
  86. package/getCloudProviderSnapshots.js +5 -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 +16 -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 +21 -3
  152. package/getPrivateLinkEndpoint.js +5 -0
  153. package/getPrivateLinkEndpoint.js.map +1 -1
  154. package/getPrivateLinkEndpointService.d.ts +26 -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 +64 -13
  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 +11 -1
  182. package/getThirdPartyIntegrations.js +5 -0
  183. package/getThirdPartyIntegrations.js.map +1 -1
  184. package/globalClusterConfig.d.ts +11 -9
  185. package/globalClusterConfig.js +15 -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 +31 -19
  196. package/maintenanceWindow.js +19 -16
  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 +14 -14
  214. package/privateLinkEndpoint.js +25 -24
  215. package/privateLinkEndpoint.js.map +1 -1
  216. package/privateLinkEndpointService.d.ts +49 -17
  217. package/privateLinkEndpointService.js +59 -26
  218. package/privateLinkEndpointService.js.map +1 -1
  219. package/project.d.ts +20 -8
  220. package/project.js +15 -12
  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 +23 -23
  229. package/searchIndex.js +27 -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 +53 -0
  243. package/types/output.d.ts +24 -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
@@ -29,7 +29,7 @@ import { output as outputs } from "./types";
29
29
  * targetProjectId: "5cf5a45a9ccf6400e60981b6",
30
30
  * }],
31
31
  * });
32
- * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobs({
32
+ * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
33
33
  * projectId: projectId,
34
34
  * clusterName: clusterName,
35
35
  * pageNum: 1,
@@ -45,19 +45,19 @@ export interface GetCloudProviderSnapshotRestoreJobsArgs {
45
45
  /**
46
46
  * The name of the Atlas cluster for which you want to retrieve restore jobs.
47
47
  */
48
- readonly clusterName: string;
48
+ clusterName: string;
49
49
  /**
50
50
  * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
51
51
  */
52
- readonly itemsPerPage?: number;
52
+ itemsPerPage?: number;
53
53
  /**
54
54
  * The page to return. Defaults to `1`.
55
55
  */
56
- readonly pageNum?: number;
56
+ pageNum?: number;
57
57
  /**
58
58
  * The unique identifier of the project for the Atlas cluster.
59
59
  */
60
- readonly projectId: string;
60
+ projectId: string;
61
61
  }
62
62
  /**
63
63
  * A collection of values returned by getCloudProviderSnapshotRestoreJobs.
@@ -77,3 +77,25 @@ export interface GetCloudProviderSnapshotRestoreJobsResult {
77
77
  readonly results: outputs.GetCloudProviderSnapshotRestoreJobsResult[];
78
78
  readonly totalCount: number;
79
79
  }
80
+ export declare function getCloudProviderSnapshotRestoreJobsOutput(args: GetCloudProviderSnapshotRestoreJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotRestoreJobsResult>;
81
+ /**
82
+ * A collection of arguments for invoking getCloudProviderSnapshotRestoreJobs.
83
+ */
84
+ export interface GetCloudProviderSnapshotRestoreJobsOutputArgs {
85
+ /**
86
+ * The name of the Atlas cluster for which you want to retrieve restore jobs.
87
+ */
88
+ clusterName: pulumi.Input<string>;
89
+ /**
90
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
91
+ */
92
+ itemsPerPage?: pulumi.Input<number>;
93
+ /**
94
+ * The page to return. Defaults to `1`.
95
+ */
96
+ pageNum?: pulumi.Input<number>;
97
+ /**
98
+ * The unique identifier of the project for the Atlas cluster.
99
+ */
100
+ projectId: pulumi.Input<string>;
101
+ }
@@ -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.getCloudProviderSnapshotRestoreJobsOutput = exports.getCloudProviderSnapshotRestoreJobs = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -33,7 +34,7 @@ const utilities = require("./utilities");
33
34
  * targetProjectId: "5cf5a45a9ccf6400e60981b6",
34
35
  * }],
35
36
  * });
36
- * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobs({
37
+ * const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
37
38
  * projectId: projectId,
38
39
  * clusterName: clusterName,
39
40
  * pageNum: 1,
@@ -56,4 +57,8 @@ function getCloudProviderSnapshotRestoreJobs(args, opts) {
56
57
  }, opts);
57
58
  }
58
59
  exports.getCloudProviderSnapshotRestoreJobs = getCloudProviderSnapshotRestoreJobs;
60
+ function getCloudProviderSnapshotRestoreJobsOutput(args, opts) {
61
+ return pulumi.output(args).apply(a => getCloudProviderSnapshotRestoreJobs(a, opts));
62
+ }
63
+ exports.getCloudProviderSnapshotRestoreJobsOutput = getCloudProviderSnapshotRestoreJobsOutput;
59
64
  //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;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"}
@@ -13,16 +13,16 @@ export interface GetCloudProviderSnapshotsArgs {
13
13
  /**
14
14
  * The name of the Atlas cluster that contains the snapshot you want to retrieve.
15
15
  */
16
- readonly clusterName: string;
16
+ clusterName: string;
17
17
  /**
18
18
  * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
19
19
  */
20
- readonly itemsPerPage?: number;
20
+ itemsPerPage?: number;
21
21
  /**
22
22
  * The page to return. Defaults to `1`.
23
23
  */
24
- readonly pageNum?: number;
25
- readonly projectId: string;
24
+ pageNum?: number;
25
+ projectId: string;
26
26
  }
27
27
  /**
28
28
  * A collection of values returned by getCloudProviderSnapshots.
@@ -42,3 +42,22 @@ export interface GetCloudProviderSnapshotsResult {
42
42
  readonly results: outputs.GetCloudProviderSnapshotsResult[];
43
43
  readonly totalCount: number;
44
44
  }
45
+ export declare function getCloudProviderSnapshotsOutput(args: GetCloudProviderSnapshotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudProviderSnapshotsResult>;
46
+ /**
47
+ * A collection of arguments for invoking getCloudProviderSnapshots.
48
+ */
49
+ export interface GetCloudProviderSnapshotsOutputArgs {
50
+ /**
51
+ * The name of the Atlas cluster that contains the snapshot you want to retrieve.
52
+ */
53
+ clusterName: pulumi.Input<string>;
54
+ /**
55
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
56
+ */
57
+ itemsPerPage?: pulumi.Input<number>;
58
+ /**
59
+ * The page to return. Defaults to `1`.
60
+ */
61
+ pageNum?: pulumi.Input<number>;
62
+ projectId: pulumi.Input<string>;
63
+ }
@@ -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.getCloudProviderSnapshotsOutput = exports.getCloudProviderSnapshots = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -24,4 +25,8 @@ function getCloudProviderSnapshots(args, opts) {
24
25
  }, opts);
25
26
  }
26
27
  exports.getCloudProviderSnapshots = getCloudProviderSnapshots;
28
+ function getCloudProviderSnapshotsOutput(args, opts) {
29
+ return pulumi.output(args).apply(a => getCloudProviderSnapshots(a, opts));
30
+ }
31
+ exports.getCloudProviderSnapshotsOutput = getCloudProviderSnapshotsOutput;
27
32
  //# 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;;;;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;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
+ }
@@ -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.getCustomDbRolesOutput = exports.getCustomDbRoles = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -48,4 +49,8 @@ function getCustomDbRoles(args, opts) {
48
49
  }, opts);
49
50
  }
50
51
  exports.getCustomDbRoles = getCustomDbRoles;
52
+ function getCustomDbRolesOutput(args, opts) {
53
+ return pulumi.output(args).apply(a => getCustomDbRoles(a, opts));
54
+ }
55
+ exports.getCustomDbRolesOutput = getCustomDbRolesOutput;
51
56
  //# sourceMappingURL=getCustomDbRoles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomDbRoles.js","sourceRoot":"","sources":["../getCustomDbRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,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,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
1
+ {"version":3,"file":"getCustomDbRoles.js","sourceRoot":"","sources":["../getCustomDbRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,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,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AA2BD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
@@ -12,7 +12,7 @@ export interface GetCustomDnsConfigurationClusterAwsArgs {
12
12
  /**
13
13
  * Unique identifier for the project.
14
14
  */
15
- readonly projectId: string;
15
+ projectId: string;
16
16
  }
17
17
  /**
18
18
  * A collection of values returned by getCustomDnsConfigurationClusterAws.
@@ -28,3 +28,13 @@ export interface GetCustomDnsConfigurationClusterAwsResult {
28
28
  readonly id: string;
29
29
  readonly projectId: string;
30
30
  }
31
+ export declare function getCustomDnsConfigurationClusterAwsOutput(args: GetCustomDnsConfigurationClusterAwsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDnsConfigurationClusterAwsResult>;
32
+ /**
33
+ * A collection of arguments for invoking getCustomDnsConfigurationClusterAws.
34
+ */
35
+ export interface GetCustomDnsConfigurationClusterAwsOutputArgs {
36
+ /**
37
+ * Unique identifier for the project.
38
+ */
39
+ projectId: pulumi.Input<string>;
40
+ }
@@ -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.getCustomDnsConfigurationClusterAwsOutput = exports.getCustomDnsConfigurationClusterAws = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -21,4 +22,8 @@ function getCustomDnsConfigurationClusterAws(args, opts) {
21
22
  }, opts);
22
23
  }
23
24
  exports.getCustomDnsConfigurationClusterAws = getCustomDnsConfigurationClusterAws;
25
+ function getCustomDnsConfigurationClusterAwsOutput(args, opts) {
26
+ return pulumi.output(args).apply(a => getCustomDnsConfigurationClusterAws(a, opts));
27
+ }
28
+ exports.getCustomDnsConfigurationClusterAwsOutput = getCustomDnsConfigurationClusterAwsOutput;
24
29
  //# sourceMappingURL=getCustomDnsConfigurationClusterAws.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kFAWC"}
1
+ {"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kFAWC;AA2BD,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"}
package/getDataLake.d.ts CHANGED
@@ -13,11 +13,11 @@ export interface GetDataLakeArgs {
13
13
  /**
14
14
  * Name of the data lake.
15
15
  */
16
- readonly name: string;
16
+ name: string;
17
17
  /**
18
18
  * The unique ID for the project to create a data lake.
19
19
  */
20
- readonly projectId: string;
20
+ projectId: string;
21
21
  }
22
22
  /**
23
23
  * A collection of values returned by getDataLake.
@@ -79,3 +79,17 @@ export interface GetDataLakeResult {
79
79
  */
80
80
  readonly storageStores: outputs.GetDataLakeStorageStore[];
81
81
  }
82
+ export declare function getDataLakeOutput(args: GetDataLakeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataLakeResult>;
83
+ /**
84
+ * A collection of arguments for invoking getDataLake.
85
+ */
86
+ export interface GetDataLakeOutputArgs {
87
+ /**
88
+ * Name of the data lake.
89
+ */
90
+ name: pulumi.Input<string>;
91
+ /**
92
+ * The unique ID for the project to create a data lake.
93
+ */
94
+ projectId: pulumi.Input<string>;
95
+ }
package/getDataLake.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.getDataLakeOutput = exports.getDataLake = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -22,4 +23,8 @@ function getDataLake(args, opts) {
22
23
  }, opts);
23
24
  }
24
25
  exports.getDataLake = getDataLake;
26
+ function getDataLakeOutput(args, opts) {
27
+ return pulumi.output(args).apply(a => getDataLake(a, opts));
28
+ }
29
+ exports.getDataLakeOutput = getDataLakeOutput;
25
30
  //# sourceMappingURL=getDataLake.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDataLake.js","sourceRoot":"","sources":["../getDataLake.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC"}
1
+ {"version":3,"file":"getDataLake.js","sourceRoot":"","sources":["../getDataLake.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC;AA6ED,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"}
package/getDataLakes.d.ts CHANGED
@@ -13,7 +13,7 @@ import { output as outputs } from "./types";
13
13
  *
14
14
  * const test = pulumi.output(mongodbatlas.getDataLakes({
15
15
  * projectId: "PROJECT ID",
16
- * }, { async: true }));
16
+ * }));
17
17
  * ```
18
18
  */
19
19
  export declare function getDataLakes(args: GetDataLakesArgs, opts?: pulumi.InvokeOptions): Promise<GetDataLakesResult>;
@@ -24,7 +24,7 @@ export interface GetDataLakesArgs {
24
24
  /**
25
25
  * The unique ID for the project to get all data lakes.
26
26
  */
27
- readonly projectId: string;
27
+ projectId: string;
28
28
  }
29
29
  /**
30
30
  * A collection of values returned by getDataLakes.
@@ -40,3 +40,13 @@ export interface GetDataLakesResult {
40
40
  */
41
41
  readonly results: outputs.GetDataLakesResult[];
42
42
  }
43
+ export declare function getDataLakesOutput(args: GetDataLakesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDataLakesResult>;
44
+ /**
45
+ * A collection of arguments for invoking getDataLakes.
46
+ */
47
+ export interface GetDataLakesOutputArgs {
48
+ /**
49
+ * The unique ID for the project to get all data lakes.
50
+ */
51
+ projectId: pulumi.Input<string>;
52
+ }
package/getDataLakes.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.getDataLakesOutput = exports.getDataLakes = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -17,7 +18,7 @@ const utilities = require("./utilities");
17
18
  *
18
19
  * const test = pulumi.output(mongodbatlas.getDataLakes({
19
20
  * projectId: "PROJECT ID",
20
- * }, { async: true }));
21
+ * }));
21
22
  * ```
22
23
  */
23
24
  function getDataLakes(args, opts) {
@@ -32,4 +33,8 @@ function getDataLakes(args, opts) {
32
33
  }, opts);
33
34
  }
34
35
  exports.getDataLakes = getDataLakes;
36
+ function getDataLakesOutput(args, opts) {
37
+ return pulumi.output(args).apply(a => getDataLakes(a, opts));
38
+ }
39
+ exports.getDataLakesOutput = getDataLakesOutput;
35
40
  //# sourceMappingURL=getDataLakes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDataLakes.js","sourceRoot":"","sources":["../getDataLakes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,8CAA8C,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC"}
1
+ {"version":3,"file":"getDataLakes.js","sourceRoot":"","sources":["../getDataLakes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,8CAA8C,EAAE;QACzE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC;AA2BD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
@@ -15,21 +15,21 @@ export interface GetDatabaseUserArgs {
15
15
  /**
16
16
  * The user’s authentication database. A user must provide both a username and authentication database to log into MongoDB. In Atlas deployments of MongoDB, the authentication database is almost always the admin database, for X509 it is $external.
17
17
  */
18
- readonly authDatabaseName?: string;
18
+ authDatabaseName?: string;
19
19
  /**
20
20
  * Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
21
21
  *
22
22
  * @deprecated use auth_database_name instead
23
23
  */
24
- readonly databaseName?: string;
24
+ databaseName?: string;
25
25
  /**
26
26
  * The unique ID for the project to create the database user.
27
27
  */
28
- readonly projectId: string;
28
+ projectId: string;
29
29
  /**
30
30
  * Username for authenticating to MongoDB.
31
31
  */
32
- readonly username: string;
32
+ username: string;
33
33
  }
34
34
  /**
35
35
  * A collection of values returned by getDatabaseUser.
@@ -70,3 +70,27 @@ export interface GetDatabaseUserResult {
70
70
  */
71
71
  readonly x509Type: string;
72
72
  }
73
+ export declare function getDatabaseUserOutput(args: GetDatabaseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseUserResult>;
74
+ /**
75
+ * A collection of arguments for invoking getDatabaseUser.
76
+ */
77
+ export interface GetDatabaseUserOutputArgs {
78
+ /**
79
+ * The user’s authentication database. A user must provide both a username and authentication database to log into MongoDB. In Atlas deployments of MongoDB, the authentication database is almost always the admin database, for X509 it is $external.
80
+ */
81
+ authDatabaseName?: pulumi.Input<string>;
82
+ /**
83
+ * Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
84
+ *
85
+ * @deprecated use auth_database_name instead
86
+ */
87
+ databaseName?: pulumi.Input<string>;
88
+ /**
89
+ * The unique ID for the project to create the database user.
90
+ */
91
+ projectId: pulumi.Input<string>;
92
+ /**
93
+ * Username for authenticating to MongoDB.
94
+ */
95
+ username: pulumi.Input<string>;
96
+ }