@pulumi/mongodbatlas 3.15.0-alpha.1714456335 → 3.15.0
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.
- package/advancedCluster.d.ts +6 -6
- package/alertConfiguration.d.ts +21 -0
- package/alertConfiguration.js +21 -0
- package/alertConfiguration.js.map +1 -1
- package/backupCompliancePolicy.d.ts +13 -0
- package/backupCompliancePolicy.js +12 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSchedule.d.ts +18 -9
- package/cloudBackupSchedule.js +2 -0
- package/cloudBackupSchedule.js.map +1 -1
- package/cluster.d.ts +9 -9
- package/cluster.js +3 -3
- package/federatedDatabaseInstance.d.ts +33 -6
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +1 -3
- package/federatedSettingsIdentityProvider.js +1 -3
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/getAdvancedCluster.d.ts +1 -1
- package/getBackupCompliancePolicy.d.ts +21 -0
- package/getBackupCompliancePolicy.js +20 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +6 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCluster.d.ts +1 -1
- package/getDatabaseUser.d.ts +0 -4
- package/getDatabaseUser.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +8 -2
- package/getFederatedSettingsIdentityProvider.js +2 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +20 -6
- package/getFederatedSettingsIdentityProviders.js +2 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getOrganizations.d.ts +0 -12
- package/getOrganizations.js +0 -1
- package/getOrganizations.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +6 -6
- package/getProject.d.ts +6 -0
- package/getProject.js.map +1 -1
- package/getPushBasedLogExport.d.ts +115 -0
- package/getPushBasedLogExport.js +95 -0
- package/getPushBasedLogExport.js.map +1 -0
- package/getServerlessInstance.d.ts +12 -0
- package/getServerlessInstance.js +1 -0
- package/getServerlessInstance.js.map +1 -1
- package/getStreamConnection.d.ts +109 -0
- package/getStreamConnection.js +53 -0
- package/getStreamConnection.js.map +1 -0
- package/getStreamConnections.d.ts +100 -0
- package/getStreamConnections.js +52 -0
- package/getStreamConnections.js.map +1 -0
- package/getStreamInstance.d.ts +80 -0
- package/getStreamInstance.js +50 -0
- package/getStreamInstance.js.map +1 -0
- package/getStreamInstances.d.ts +86 -0
- package/getStreamInstances.js +49 -0
- package/getStreamInstances.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +12 -7
- package/getThirdPartyIntegration.js +2 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +1 -1
- package/globalClusterConfig.d.ts +1 -1
- package/globalClusterConfig.js +1 -1
- package/index.d.ts +24 -0
- package/index.js +32 -2
- package/index.js.map +1 -1
- package/networkPeering.d.ts +3 -3
- package/networkPeering.js +3 -3
- package/onlineArchive.d.ts +26 -0
- package/onlineArchive.js +26 -0
- package/onlineArchive.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +18 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +0 -24
- package/projectApiKey.js +0 -2
- package/projectApiKey.js.map +1 -1
- package/pushBasedLogExport.d.ts +142 -0
- package/pushBasedLogExport.js +107 -0
- package/pushBasedLogExport.js.map +1 -0
- package/serverlessInstance.d.ts +12 -0
- package/serverlessInstance.js +2 -0
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.d.ts +168 -0
- package/streamConnection.js +137 -0
- package/streamConnection.js.map +1 -0
- package/streamInstance.d.ts +107 -0
- package/streamInstance.js +79 -0
- package/streamInstance.js.map +1 -0
- package/thirdPartyIntegration.d.ts +9 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +135 -36
- package/types/output.d.ts +418 -87
|
@@ -41,6 +41,11 @@ import * as outputs from "./types/output";
|
|
|
41
41
|
* retentionUnit: "months",
|
|
42
42
|
* retentionValue: 4,
|
|
43
43
|
* }],
|
|
44
|
+
* policyItemYearlies: [{
|
|
45
|
+
* frequencyInterval: 1,
|
|
46
|
+
* retentionUnit: "years",
|
|
47
|
+
* retentionValue: 1,
|
|
48
|
+
* }],
|
|
44
49
|
* });
|
|
45
50
|
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
46
51
|
* projectId: testCloudBackupSchedule.projectId,
|
|
@@ -83,6 +88,11 @@ import * as outputs from "./types/output";
|
|
|
83
88
|
* retentionUnit: "months",
|
|
84
89
|
* retentionValue: 12,
|
|
85
90
|
* }],
|
|
91
|
+
* policyItemYearlies: [{
|
|
92
|
+
* frequencyInterval: 1,
|
|
93
|
+
* retentionUnit: "years",
|
|
94
|
+
* retentionValue: 1,
|
|
95
|
+
* }],
|
|
86
96
|
* });
|
|
87
97
|
* ```
|
|
88
98
|
*/
|
|
@@ -133,6 +143,7 @@ export interface GetBackupCompliancePolicyResult {
|
|
|
133
143
|
readonly policyItemHourly: outputs.GetBackupCompliancePolicyPolicyItemHourly;
|
|
134
144
|
readonly policyItemMonthlies: outputs.GetBackupCompliancePolicyPolicyItemMonthly[];
|
|
135
145
|
readonly policyItemWeeklies: outputs.GetBackupCompliancePolicyPolicyItemWeekly[];
|
|
146
|
+
readonly policyItemYearlies: outputs.GetBackupCompliancePolicyPolicyItemYearly[];
|
|
136
147
|
readonly projectId: string;
|
|
137
148
|
/**
|
|
138
149
|
* Number of previous days that you can restore back to with Continuous Cloud Backup with a Backup Compliance Policy. You must specify a positive, non-zero integer, and the maximum retention window can't exceed the hourly retention time. This parameter applies only to Continuous Cloud Backups with a Backup Compliance Policy.
|
|
@@ -192,6 +203,11 @@ export interface GetBackupCompliancePolicyResult {
|
|
|
192
203
|
* retentionUnit: "months",
|
|
193
204
|
* retentionValue: 4,
|
|
194
205
|
* }],
|
|
206
|
+
* policyItemYearlies: [{
|
|
207
|
+
* frequencyInterval: 1,
|
|
208
|
+
* retentionUnit: "years",
|
|
209
|
+
* retentionValue: 1,
|
|
210
|
+
* }],
|
|
195
211
|
* });
|
|
196
212
|
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
197
213
|
* projectId: testCloudBackupSchedule.projectId,
|
|
@@ -234,6 +250,11 @@ export interface GetBackupCompliancePolicyResult {
|
|
|
234
250
|
* retentionUnit: "months",
|
|
235
251
|
* retentionValue: 12,
|
|
236
252
|
* }],
|
|
253
|
+
* policyItemYearlies: [{
|
|
254
|
+
* frequencyInterval: 1,
|
|
255
|
+
* retentionUnit: "years",
|
|
256
|
+
* retentionValue: 1,
|
|
257
|
+
* }],
|
|
237
258
|
* });
|
|
238
259
|
* ```
|
|
239
260
|
*/
|
|
@@ -46,6 +46,11 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* retentionUnit: "months",
|
|
47
47
|
* retentionValue: 4,
|
|
48
48
|
* }],
|
|
49
|
+
* policyItemYearlies: [{
|
|
50
|
+
* frequencyInterval: 1,
|
|
51
|
+
* retentionUnit: "years",
|
|
52
|
+
* retentionValue: 1,
|
|
53
|
+
* }],
|
|
49
54
|
* });
|
|
50
55
|
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
51
56
|
* projectId: testCloudBackupSchedule.projectId,
|
|
@@ -88,6 +93,11 @@ const utilities = require("./utilities");
|
|
|
88
93
|
* retentionUnit: "months",
|
|
89
94
|
* retentionValue: 12,
|
|
90
95
|
* }],
|
|
96
|
+
* policyItemYearlies: [{
|
|
97
|
+
* frequencyInterval: 1,
|
|
98
|
+
* retentionUnit: "years",
|
|
99
|
+
* retentionValue: 1,
|
|
100
|
+
* }],
|
|
91
101
|
* });
|
|
92
102
|
* ```
|
|
93
103
|
*/
|
|
@@ -139,6 +149,11 @@ exports.getBackupCompliancePolicy = getBackupCompliancePolicy;
|
|
|
139
149
|
* retentionUnit: "months",
|
|
140
150
|
* retentionValue: 4,
|
|
141
151
|
* }],
|
|
152
|
+
* policyItemYearlies: [{
|
|
153
|
+
* frequencyInterval: 1,
|
|
154
|
+
* retentionUnit: "years",
|
|
155
|
+
* retentionValue: 1,
|
|
156
|
+
* }],
|
|
142
157
|
* });
|
|
143
158
|
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
144
159
|
* projectId: testCloudBackupSchedule.projectId,
|
|
@@ -181,6 +196,11 @@ exports.getBackupCompliancePolicy = getBackupCompliancePolicy;
|
|
|
181
196
|
* retentionUnit: "months",
|
|
182
197
|
* retentionValue: 12,
|
|
183
198
|
* }],
|
|
199
|
+
* policyItemYearlies: [{
|
|
200
|
+
* frequencyInterval: 1,
|
|
201
|
+
* retentionUnit: "years",
|
|
202
|
+
* retentionValue: 1,
|
|
203
|
+
* }],
|
|
184
204
|
* });
|
|
185
205
|
* ```
|
|
186
206
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBackupCompliancePolicy.js","sourceRoot":"","sources":["../getBackupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBackupCompliancePolicy.js","sourceRoot":"","sources":["../getBackupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IAEtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAoED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpF,CAAC;AAFD,0EAEC"}
|
|
@@ -52,6 +52,8 @@ export interface GetCloudBackupScheduleArgs {
|
|
|
52
52
|
export interface GetCloudBackupScheduleResult {
|
|
53
53
|
/**
|
|
54
54
|
* Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
|
|
55
|
+
* * true - enables automatic export of cloud backup snapshots to the AWS bucket
|
|
56
|
+
* * false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
55
57
|
*/
|
|
56
58
|
readonly autoExportEnabled: boolean;
|
|
57
59
|
/**
|
|
@@ -89,6 +91,10 @@ export interface GetCloudBackupScheduleResult {
|
|
|
89
91
|
* Weekly policy item
|
|
90
92
|
*/
|
|
91
93
|
readonly policyItemWeeklies: outputs.GetCloudBackupSchedulePolicyItemWeekly[];
|
|
94
|
+
/**
|
|
95
|
+
* Yearly policy item
|
|
96
|
+
*/
|
|
97
|
+
readonly policyItemYearlies: outputs.GetCloudBackupSchedulePolicyItemYearly[];
|
|
92
98
|
readonly projectId: string;
|
|
93
99
|
/**
|
|
94
100
|
* UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,w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C,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/getCluster.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ export interface GetClusterResult {
|
|
|
113
113
|
/**
|
|
114
114
|
* Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. **DEPRECATED** Use `tags` instead.
|
|
115
115
|
*
|
|
116
|
-
* @deprecated
|
|
116
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
117
117
|
*/
|
|
118
118
|
readonly labels: outputs.GetClusterLabel[];
|
|
119
119
|
/**
|
package/getDatabaseUser.d.ts
CHANGED
|
@@ -109,10 +109,6 @@ export interface GetDatabaseUserResult {
|
|
|
109
109
|
* (Optional) Human-readable label that indicates whether the new database user authenticates with OIDC (OpenID Connect) federated authentication. If no value is given, Atlas uses the default value of `NONE`. The accepted types are:
|
|
110
110
|
*/
|
|
111
111
|
readonly oidcAuthType: string;
|
|
112
|
-
/**
|
|
113
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
114
|
-
*/
|
|
115
|
-
readonly password: string;
|
|
116
112
|
readonly projectId: string;
|
|
117
113
|
/**
|
|
118
114
|
* List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
|
package/getDatabaseUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseUser.js","sourceRoot":"","sources":["../getDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,I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puts from "./types/output";
|
|
|
24
24
|
* });
|
|
25
25
|
* const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
|
|
26
26
|
* federationSettingsId: identityProvider.id,
|
|
27
|
-
* identityProviderId: "
|
|
27
|
+
* identityProviderId: "0oad4fas87jL5Xnk12971234",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
@@ -37,6 +37,9 @@ export interface GetFederatedSettingsIdentityProviderArgs {
|
|
|
37
37
|
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
38
38
|
*/
|
|
39
39
|
federationSettingsId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Unique 24-hexadecimal digit string that identifies the IdP.
|
|
42
|
+
*/
|
|
40
43
|
identityProviderId: string;
|
|
41
44
|
}
|
|
42
45
|
/**
|
|
@@ -158,7 +161,7 @@ export interface GetFederatedSettingsIdentityProviderResult {
|
|
|
158
161
|
* });
|
|
159
162
|
* const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
|
|
160
163
|
* federationSettingsId: identityProvider.id,
|
|
161
|
-
* identityProviderId: "
|
|
164
|
+
* identityProviderId: "0oad4fas87jL5Xnk12971234",
|
|
162
165
|
* });
|
|
163
166
|
* ```
|
|
164
167
|
*/
|
|
@@ -171,5 +174,8 @@ export interface GetFederatedSettingsIdentityProviderOutputArgs {
|
|
|
171
174
|
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
172
175
|
*/
|
|
173
176
|
federationSettingsId: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Unique 24-hexadecimal digit string that identifies the IdP.
|
|
179
|
+
*/
|
|
174
180
|
identityProviderId: pulumi.Input<string>;
|
|
175
181
|
}
|
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* });
|
|
30
30
|
* const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
|
|
31
31
|
* federationSettingsId: identityProvider.id,
|
|
32
|
-
* identityProviderId: "
|
|
32
|
+
* identityProviderId: "0oad4fas87jL5Xnk12971234",
|
|
33
33
|
* });
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
@@ -65,7 +65,7 @@ exports.getFederatedSettingsIdentityProvider = getFederatedSettingsIdentityProvi
|
|
|
65
65
|
* });
|
|
66
66
|
* const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
|
|
67
67
|
* federationSettingsId: identityProvider.id,
|
|
68
|
-
* identityProviderId: "
|
|
68
|
+
* identityProviderId: "0oad4fas87jL5Xnk12971234",
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFederatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAE5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oFAOC;
|
|
1
|
+
{"version":3,"file":"getFederatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAE5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oFAOC;AA+GD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAA2B;IACxI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oCAAoC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/F,CAAC;AAFD,gGAEC"}
|
|
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
13
|
*
|
|
14
14
|
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
15
|
-
* federationSettingsId: "
|
|
15
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f",
|
|
16
16
|
* name: "mongodb_federation_test",
|
|
17
17
|
* associatedDomains: ["yourdomain.com"],
|
|
18
18
|
* ssoDebugEnabled: true,
|
|
@@ -35,11 +35,15 @@ export interface GetFederatedSettingsIdentityProvidersArgs {
|
|
|
35
35
|
*/
|
|
36
36
|
federationSettingsId: string;
|
|
37
37
|
/**
|
|
38
|
-
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
38
|
+
* Number of items to return per page, up to a maximum of 500. Defaults to `100`. **Note**: This attribute is deprecated and not being used. The implementation is currently limited to returning a maximum of 100 results.
|
|
39
|
+
*
|
|
40
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
39
41
|
*/
|
|
40
42
|
itemsPerPage?: number;
|
|
41
43
|
/**
|
|
42
|
-
* The page to return. Defaults to `1`.
|
|
44
|
+
* The page to return. Defaults to `1`. **Note**: This attribute is deprecated and not being used.
|
|
45
|
+
*
|
|
46
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
43
47
|
*/
|
|
44
48
|
pageNum?: number;
|
|
45
49
|
}
|
|
@@ -55,7 +59,13 @@ export interface GetFederatedSettingsIdentityProvidersResult {
|
|
|
55
59
|
* The provider-assigned unique ID for this managed resource.
|
|
56
60
|
*/
|
|
57
61
|
readonly id: string;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
64
|
+
*/
|
|
58
65
|
readonly itemsPerPage?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
68
|
+
*/
|
|
59
69
|
readonly pageNum?: number;
|
|
60
70
|
/**
|
|
61
71
|
* Includes cloudProviderSnapshot object for each item detailed in the results array section.
|
|
@@ -74,7 +84,7 @@ export interface GetFederatedSettingsIdentityProvidersResult {
|
|
|
74
84
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
75
85
|
*
|
|
76
86
|
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
77
|
-
* federationSettingsId: "
|
|
87
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f",
|
|
78
88
|
* name: "mongodb_federation_test",
|
|
79
89
|
* associatedDomains: ["yourdomain.com"],
|
|
80
90
|
* ssoDebugEnabled: true,
|
|
@@ -97,11 +107,15 @@ export interface GetFederatedSettingsIdentityProvidersOutputArgs {
|
|
|
97
107
|
*/
|
|
98
108
|
federationSettingsId: pulumi.Input<string>;
|
|
99
109
|
/**
|
|
100
|
-
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
110
|
+
* Number of items to return per page, up to a maximum of 500. Defaults to `100`. **Note**: This attribute is deprecated and not being used. The implementation is currently limited to returning a maximum of 100 results.
|
|
111
|
+
*
|
|
112
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
101
113
|
*/
|
|
102
114
|
itemsPerPage?: pulumi.Input<number>;
|
|
103
115
|
/**
|
|
104
|
-
* The page to return. Defaults to `1`.
|
|
116
|
+
* The page to return. Defaults to `1`. **Note**: This attribute is deprecated and not being used.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
105
119
|
*/
|
|
106
120
|
pageNum?: pulumi.Input<number>;
|
|
107
121
|
}
|
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
18
|
*
|
|
19
19
|
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
20
|
-
* federationSettingsId: "
|
|
20
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f",
|
|
21
21
|
* name: "mongodb_federation_test",
|
|
22
22
|
* associatedDomains: ["yourdomain.com"],
|
|
23
23
|
* ssoDebugEnabled: true,
|
|
@@ -51,7 +51,7 @@ exports.getFederatedSettingsIdentityProviders = getFederatedSettingsIdentityProv
|
|
|
51
51
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
52
52
|
*
|
|
53
53
|
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
54
|
-
* federationSettingsId: "
|
|
54
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f",
|
|
55
55
|
* name: "mongodb_federation_test",
|
|
56
56
|
* associatedDomains: ["yourdomain.com"],
|
|
57
57
|
* ssoDebugEnabled: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFederatedSettingsIdentityProviders.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProviders.ts"],"names":[],"mappings":";AAAA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CAAC,CAAM,EAAE,EAAE,CAAC,qCAAqC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChG,CAAC;AAFD,kGAEC"}
|
package/getOrganizations.d.ts
CHANGED
|
@@ -20,10 +20,6 @@ export declare function getOrganizations(args?: GetOrganizationsArgs, opts?: pul
|
|
|
20
20
|
* A collection of arguments for invoking getOrganizations.
|
|
21
21
|
*/
|
|
22
22
|
export interface GetOrganizationsArgs {
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
25
|
-
*/
|
|
26
|
-
includeDeletedOrgs?: boolean;
|
|
27
23
|
/**
|
|
28
24
|
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
29
25
|
*/
|
|
@@ -42,10 +38,6 @@ export interface GetOrganizationsResult {
|
|
|
42
38
|
* The provider-assigned unique ID for this managed resource.
|
|
43
39
|
*/
|
|
44
40
|
readonly id: string;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
47
|
-
*/
|
|
48
|
-
readonly includeDeletedOrgs?: boolean;
|
|
49
41
|
readonly itemsPerPage?: number;
|
|
50
42
|
readonly name?: string;
|
|
51
43
|
readonly pageNum?: number;
|
|
@@ -72,10 +64,6 @@ export declare function getOrganizationsOutput(args?: GetOrganizationsOutputArgs
|
|
|
72
64
|
* A collection of arguments for invoking getOrganizations.
|
|
73
65
|
*/
|
|
74
66
|
export interface GetOrganizationsOutputArgs {
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
77
|
-
*/
|
|
78
|
-
includeDeletedOrgs?: pulumi.Input<boolean>;
|
|
79
67
|
/**
|
|
80
68
|
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
81
69
|
*/
|
package/getOrganizations.js
CHANGED
|
@@ -24,7 +24,6 @@ function getOrganizations(args, opts) {
|
|
|
24
24
|
args = args || {};
|
|
25
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
26
|
return pulumi.runtime.invoke("mongodbatlas:index/getOrganizations:getOrganizations", {
|
|
27
|
-
"includeDeletedOrgs": args.includeDeletedOrgs,
|
|
28
27
|
"itemsPerPage": args.itemsPerPage,
|
|
29
28
|
"name": args.name,
|
|
30
29
|
"pageNum": args.pageNum,
|
package/getOrganizations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizations.js","sourceRoot":"","sources":["../getOrganizations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,
|
|
1
|
+
{"version":3,"file":"getOrganizations.js","sourceRoot":"","sources":["../getOrganizations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -79,11 +79,11 @@ export interface GetPrivatelinkEndpointsServiceServerlessArgs {
|
|
|
79
79
|
*/
|
|
80
80
|
instanceName: string;
|
|
81
81
|
/**
|
|
82
|
-
* @deprecated
|
|
82
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
83
83
|
*/
|
|
84
84
|
itemsPerPage?: number;
|
|
85
85
|
/**
|
|
86
|
-
* @deprecated
|
|
86
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
87
87
|
*/
|
|
88
88
|
pageNum?: number;
|
|
89
89
|
/**
|
|
@@ -101,11 +101,11 @@ export interface GetPrivatelinkEndpointsServiceServerlessResult {
|
|
|
101
101
|
readonly id: string;
|
|
102
102
|
readonly instanceName: string;
|
|
103
103
|
/**
|
|
104
|
-
* @deprecated
|
|
104
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
105
105
|
*/
|
|
106
106
|
readonly itemsPerPage?: number;
|
|
107
107
|
/**
|
|
108
|
-
* @deprecated
|
|
108
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
109
109
|
*/
|
|
110
110
|
readonly pageNum?: number;
|
|
111
111
|
readonly projectId: string;
|
|
@@ -193,11 +193,11 @@ export interface GetPrivatelinkEndpointsServiceServerlessOutputArgs {
|
|
|
193
193
|
*/
|
|
194
194
|
instanceName: pulumi.Input<string>;
|
|
195
195
|
/**
|
|
196
|
-
* @deprecated
|
|
196
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
197
197
|
*/
|
|
198
198
|
itemsPerPage?: pulumi.Input<number>;
|
|
199
199
|
/**
|
|
200
|
-
* @deprecated
|
|
200
|
+
* @deprecated This parameter is deprecated and will be removed in version 1.17.0.
|
|
201
201
|
*/
|
|
202
202
|
pageNum?: pulumi.Input<number>;
|
|
203
203
|
/**
|
package/getProject.d.ts
CHANGED
|
@@ -144,6 +144,12 @@ export interface GetProjectResult {
|
|
|
144
144
|
* If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
|
|
145
145
|
*/
|
|
146
146
|
readonly regionUsageRestrictions: string;
|
|
147
|
+
/**
|
|
148
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. To learn more, see [Resource Tags](https://www.mongodb.com/docs/atlas/tags/)
|
|
149
|
+
*/
|
|
150
|
+
readonly tags: {
|
|
151
|
+
[key: string]: string;
|
|
152
|
+
};
|
|
147
153
|
/**
|
|
148
154
|
* Returns all teams to which the authenticated user has access in the project. See Teams.
|
|
149
155
|
*/
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAqFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### S
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
|
+
*
|
|
12
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
13
|
+
* name: atlasProjectName,
|
|
14
|
+
* orgId: atlasOrgId,
|
|
15
|
+
* });
|
|
16
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
17
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
18
|
+
* projectId: project_tf.id,
|
|
19
|
+
* providerName: "AWS",
|
|
20
|
+
* });
|
|
21
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
22
|
+
* projectId: project_tf.id,
|
|
23
|
+
* roleId: setupOnly.roleId,
|
|
24
|
+
* aws: {
|
|
25
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* // Set up push-based log export with authorized IAM role
|
|
29
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
30
|
+
* projectId: project_tf.id,
|
|
31
|
+
* bucketName: logBucket.bucket,
|
|
32
|
+
* iamRoleId: authRole.roleId,
|
|
33
|
+
* prefixPath: "push-based-log-test",
|
|
34
|
+
* });
|
|
35
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
36
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function getPushBasedLogExport(args: GetPushBasedLogExportArgs, opts?: pulumi.InvokeOptions): Promise<GetPushBasedLogExportResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getPushBasedLogExport.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetPushBasedLogExportArgs {
|
|
45
|
+
/**
|
|
46
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
47
|
+
*/
|
|
48
|
+
projectId: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A collection of values returned by getPushBasedLogExport.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetPushBasedLogExportResult {
|
|
54
|
+
readonly bucketName: string;
|
|
55
|
+
readonly createDate: string;
|
|
56
|
+
readonly iamRoleId: string;
|
|
57
|
+
/**
|
|
58
|
+
* The provider-assigned unique ID for this managed resource.
|
|
59
|
+
*/
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly prefixPath: string;
|
|
62
|
+
/**
|
|
63
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
64
|
+
*/
|
|
65
|
+
readonly projectId: string;
|
|
66
|
+
readonly state: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
70
|
+
*
|
|
71
|
+
* ## Example Usage
|
|
72
|
+
*
|
|
73
|
+
* ### S
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
77
|
+
*
|
|
78
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
79
|
+
* name: atlasProjectName,
|
|
80
|
+
* orgId: atlasOrgId,
|
|
81
|
+
* });
|
|
82
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
83
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
84
|
+
* projectId: project_tf.id,
|
|
85
|
+
* providerName: "AWS",
|
|
86
|
+
* });
|
|
87
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
88
|
+
* projectId: project_tf.id,
|
|
89
|
+
* roleId: setupOnly.roleId,
|
|
90
|
+
* aws: {
|
|
91
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
* // Set up push-based log export with authorized IAM role
|
|
95
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
96
|
+
* projectId: project_tf.id,
|
|
97
|
+
* bucketName: logBucket.bucket,
|
|
98
|
+
* iamRoleId: authRole.roleId,
|
|
99
|
+
* prefixPath: "push-based-log-test",
|
|
100
|
+
* });
|
|
101
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
102
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
export declare function getPushBasedLogExportOutput(args: GetPushBasedLogExportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPushBasedLogExportResult>;
|
|
107
|
+
/**
|
|
108
|
+
* A collection of arguments for invoking getPushBasedLogExport.
|
|
109
|
+
*/
|
|
110
|
+
export interface GetPushBasedLogExportOutputArgs {
|
|
111
|
+
/**
|
|
112
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
113
|
+
*/
|
|
114
|
+
projectId: pulumi.Input<string>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getPushBasedLogExportOutput = exports.getPushBasedLogExport = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### S
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
19
|
+
* name: atlasProjectName,
|
|
20
|
+
* orgId: atlasOrgId,
|
|
21
|
+
* });
|
|
22
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
23
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
24
|
+
* projectId: project_tf.id,
|
|
25
|
+
* providerName: "AWS",
|
|
26
|
+
* });
|
|
27
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
28
|
+
* projectId: project_tf.id,
|
|
29
|
+
* roleId: setupOnly.roleId,
|
|
30
|
+
* aws: {
|
|
31
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* // Set up push-based log export with authorized IAM role
|
|
35
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
36
|
+
* projectId: project_tf.id,
|
|
37
|
+
* bucketName: logBucket.bucket,
|
|
38
|
+
* iamRoleId: authRole.roleId,
|
|
39
|
+
* prefixPath: "push-based-log-test",
|
|
40
|
+
* });
|
|
41
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
42
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getPushBasedLogExport(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getPushBasedLogExport:getPushBasedLogExport", {
|
|
49
|
+
"projectId": args.projectId,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getPushBasedLogExport = getPushBasedLogExport;
|
|
53
|
+
/**
|
|
54
|
+
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ### S
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
62
|
+
*
|
|
63
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
64
|
+
* name: atlasProjectName,
|
|
65
|
+
* orgId: atlasOrgId,
|
|
66
|
+
* });
|
|
67
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
68
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
69
|
+
* projectId: project_tf.id,
|
|
70
|
+
* providerName: "AWS",
|
|
71
|
+
* });
|
|
72
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
73
|
+
* projectId: project_tf.id,
|
|
74
|
+
* roleId: setupOnly.roleId,
|
|
75
|
+
* aws: {
|
|
76
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
77
|
+
* },
|
|
78
|
+
* });
|
|
79
|
+
* // Set up push-based log export with authorized IAM role
|
|
80
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
81
|
+
* projectId: project_tf.id,
|
|
82
|
+
* bucketName: logBucket.bucket,
|
|
83
|
+
* iamRoleId: authRole.roleId,
|
|
84
|
+
* prefixPath: "push-based-log-test",
|
|
85
|
+
* });
|
|
86
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
87
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
function getPushBasedLogExportOutput(args, opts) {
|
|
92
|
+
return pulumi.output(args).apply((a) => getPushBasedLogExport(a, opts));
|
|
93
|
+
}
|
|
94
|
+
exports.getPushBasedLogExportOutput = getPushBasedLogExportOutput;
|
|
95
|
+
//# sourceMappingURL=getPushBasedLogExport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPushBasedLogExport.js","sourceRoot":"","sources":["../getPushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|