@pulumi/mongodbatlas 3.15.0-alpha.1714456335 → 3.15.0-alpha.1714507216
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
package/advancedCluster.d.ts
CHANGED
|
@@ -393,11 +393,11 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
393
393
|
/**
|
|
394
394
|
* 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.
|
|
395
395
|
*
|
|
396
|
-
* @deprecated
|
|
396
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
397
397
|
*/
|
|
398
398
|
readonly labels: pulumi.Output<outputs.AdvancedClusterLabel[] | undefined>;
|
|
399
399
|
/**
|
|
400
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
400
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `replication_specs#.region_configs#.<type>Specs.instance_size`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set `versionReleaseSystem` `CONTINUOUS`, the resource returns an error. Either clear this parameter or set `versionReleaseSystem`: `LTS`.
|
|
401
401
|
*/
|
|
402
402
|
readonly mongoDbMajorVersion: pulumi.Output<string>;
|
|
403
403
|
/**
|
|
@@ -510,11 +510,11 @@ export interface AdvancedClusterState {
|
|
|
510
510
|
/**
|
|
511
511
|
* 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.
|
|
512
512
|
*
|
|
513
|
-
* @deprecated
|
|
513
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
514
514
|
*/
|
|
515
515
|
labels?: pulumi.Input<pulumi.Input<inputs.AdvancedClusterLabel>[]>;
|
|
516
516
|
/**
|
|
517
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
517
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `replication_specs#.region_configs#.<type>Specs.instance_size`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set `versionReleaseSystem` `CONTINUOUS`, the resource returns an error. Either clear this parameter or set `versionReleaseSystem`: `LTS`.
|
|
518
518
|
*/
|
|
519
519
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
520
520
|
/**
|
|
@@ -610,11 +610,11 @@ export interface AdvancedClusterArgs {
|
|
|
610
610
|
/**
|
|
611
611
|
* 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.
|
|
612
612
|
*
|
|
613
|
-
* @deprecated
|
|
613
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
614
614
|
*/
|
|
615
615
|
labels?: pulumi.Input<pulumi.Input<inputs.AdvancedClusterLabel>[]>;
|
|
616
616
|
/**
|
|
617
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
617
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `replication_specs#.region_configs#.<type>Specs.instance_size`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set `versionReleaseSystem` `CONTINUOUS`, the resource returns an error. Either clear this parameter or set `versionReleaseSystem`: `LTS`.
|
|
618
618
|
*/
|
|
619
619
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
620
620
|
/**
|
package/alertConfiguration.d.ts
CHANGED
|
@@ -122,6 +122,27 @@ import * as outputs from "./types/output";
|
|
|
122
122
|
* });
|
|
123
123
|
* ```
|
|
124
124
|
*
|
|
125
|
+
* ### Create third party notification using credentials from existing third party integration
|
|
126
|
+
*
|
|
127
|
+
* ```typescript
|
|
128
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
129
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
130
|
+
*
|
|
131
|
+
* const test = mongodbatlas.getThirdPartyIntegration({
|
|
132
|
+
* projectId: "PROJECT ID",
|
|
133
|
+
* type: "PAGER_DUTY",
|
|
134
|
+
* });
|
|
135
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
136
|
+
* projectId: "PROJECT ID",
|
|
137
|
+
* enabled: true,
|
|
138
|
+
* eventType: "USERS_WITHOUT_MULTI_FACTOR_AUTH",
|
|
139
|
+
* notifications: [{
|
|
140
|
+
* typeName: "PAGER_DUTY",
|
|
141
|
+
* integrationId: test.then(test => test.id),
|
|
142
|
+
* }],
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
125
146
|
* ## Import
|
|
126
147
|
*
|
|
127
148
|
* Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
|
package/alertConfiguration.js
CHANGED
|
@@ -126,6 +126,27 @@ const utilities = require("./utilities");
|
|
|
126
126
|
* });
|
|
127
127
|
* ```
|
|
128
128
|
*
|
|
129
|
+
* ### Create third party notification using credentials from existing third party integration
|
|
130
|
+
*
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
133
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
134
|
+
*
|
|
135
|
+
* const test = mongodbatlas.getThirdPartyIntegration({
|
|
136
|
+
* projectId: "PROJECT ID",
|
|
137
|
+
* type: "PAGER_DUTY",
|
|
138
|
+
* });
|
|
139
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
140
|
+
* projectId: "PROJECT ID",
|
|
141
|
+
* enabled: true,
|
|
142
|
+
* eventType: "USERS_WITHOUT_MULTI_FACTOR_AUTH",
|
|
143
|
+
* notifications: [{
|
|
144
|
+
* typeName: "PAGER_DUTY",
|
|
145
|
+
* integrationId: test.then(test => test.id),
|
|
146
|
+
* }],
|
|
147
|
+
* });
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
129
150
|
* ## Import
|
|
130
151
|
*
|
|
131
152
|
* Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA4CD,YAA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B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA1GL,gDA2GC;AA7FG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -42,6 +42,11 @@ import * as outputs from "./types/output";
|
|
|
42
42
|
* retentionUnit: "months",
|
|
43
43
|
* retentionValue: 12,
|
|
44
44
|
* }],
|
|
45
|
+
* policyItemYearlies: [{
|
|
46
|
+
* frequencyInterval: 1,
|
|
47
|
+
* retentionUnit: "years",
|
|
48
|
+
* retentionValue: 1,
|
|
49
|
+
* }],
|
|
45
50
|
* });
|
|
46
51
|
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
47
52
|
* projectId: testCloudBackupSchedule.projectId,
|
|
@@ -84,6 +89,11 @@ import * as outputs from "./types/output";
|
|
|
84
89
|
* retentionUnit: "months",
|
|
85
90
|
* retentionValue: 12,
|
|
86
91
|
* }],
|
|
92
|
+
* policyItemYearlies: [{
|
|
93
|
+
* frequencyInterval: 1,
|
|
94
|
+
* retentionUnit: "years",
|
|
95
|
+
* retentionValue: 1,
|
|
96
|
+
* }],
|
|
87
97
|
* });
|
|
88
98
|
* ```
|
|
89
99
|
*
|
|
@@ -141,6 +151,7 @@ export declare class BackupCompliancePolicy extends pulumi.CustomResource {
|
|
|
141
151
|
readonly policyItemHourly: pulumi.Output<outputs.BackupCompliancePolicyPolicyItemHourly | undefined>;
|
|
142
152
|
readonly policyItemMonthlies: pulumi.Output<outputs.BackupCompliancePolicyPolicyItemMonthly[] | undefined>;
|
|
143
153
|
readonly policyItemWeeklies: pulumi.Output<outputs.BackupCompliancePolicyPolicyItemWeekly[] | undefined>;
|
|
154
|
+
readonly policyItemYearlies: pulumi.Output<outputs.BackupCompliancePolicyPolicyItemYearly[] | undefined>;
|
|
144
155
|
/**
|
|
145
156
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
146
157
|
*/
|
|
@@ -203,6 +214,7 @@ export interface BackupCompliancePolicyState {
|
|
|
203
214
|
policyItemHourly?: pulumi.Input<inputs.BackupCompliancePolicyPolicyItemHourly>;
|
|
204
215
|
policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemMonthly>[]>;
|
|
205
216
|
policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemWeekly>[]>;
|
|
217
|
+
policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemYearly>[]>;
|
|
206
218
|
/**
|
|
207
219
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
208
220
|
*/
|
|
@@ -257,6 +269,7 @@ export interface BackupCompliancePolicyArgs {
|
|
|
257
269
|
policyItemHourly?: pulumi.Input<inputs.BackupCompliancePolicyPolicyItemHourly>;
|
|
258
270
|
policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemMonthly>[]>;
|
|
259
271
|
policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemWeekly>[]>;
|
|
272
|
+
policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.BackupCompliancePolicyPolicyItemYearly>[]>;
|
|
260
273
|
/**
|
|
261
274
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
262
275
|
*/
|
|
@@ -46,6 +46,11 @@ const utilities = require("./utilities");
|
|
|
46
46
|
* retentionUnit: "months",
|
|
47
47
|
* retentionValue: 12,
|
|
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,7 @@ class BackupCompliancePolicy extends pulumi.CustomResource {
|
|
|
139
149
|
resourceInputs["policyItemHourly"] = state ? state.policyItemHourly : undefined;
|
|
140
150
|
resourceInputs["policyItemMonthlies"] = state ? state.policyItemMonthlies : undefined;
|
|
141
151
|
resourceInputs["policyItemWeeklies"] = state ? state.policyItemWeeklies : undefined;
|
|
152
|
+
resourceInputs["policyItemYearlies"] = state ? state.policyItemYearlies : undefined;
|
|
142
153
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
143
154
|
resourceInputs["restoreWindowDays"] = state ? state.restoreWindowDays : undefined;
|
|
144
155
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
@@ -173,6 +184,7 @@ class BackupCompliancePolicy extends pulumi.CustomResource {
|
|
|
173
184
|
resourceInputs["policyItemHourly"] = args ? args.policyItemHourly : undefined;
|
|
174
185
|
resourceInputs["policyItemMonthlies"] = args ? args.policyItemMonthlies : undefined;
|
|
175
186
|
resourceInputs["policyItemWeeklies"] = args ? args.policyItemWeeklies : undefined;
|
|
187
|
+
resourceInputs["policyItemYearlies"] = args ? args.policyItemYearlies : undefined;
|
|
176
188
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
177
189
|
resourceInputs["restoreWindowDays"] = args ? args.restoreWindowDays : undefined;
|
|
178
190
|
resourceInputs["state"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backupCompliancePolicy.js","sourceRoot":"","sources":["../backupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"backupCompliancePolicy.js","sourceRoot":"","sources":["../backupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA6DD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,G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isInstance(obj: any): obj is CloudBackupSchedule;
|
|
30
30
|
/**
|
|
31
31
|
* Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
32
|
+
* * true - enables automatic export of cloud backup snapshots to the AWS bucket
|
|
33
|
+
* * false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
35
34
|
*/
|
|
36
35
|
readonly autoExportEnabled: pulumi.Output<boolean>;
|
|
37
36
|
/**
|
|
@@ -68,6 +67,10 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
68
67
|
* Weekly policy item
|
|
69
68
|
*/
|
|
70
69
|
readonly policyItemWeeklies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemWeekly[] | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Yearly policy item
|
|
72
|
+
*/
|
|
73
|
+
readonly policyItemYearlies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemYearly[] | undefined>;
|
|
71
74
|
/**
|
|
72
75
|
* The unique identifier of the project for the Atlas cluster.
|
|
73
76
|
*/
|
|
@@ -104,9 +107,8 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
104
107
|
export interface CloudBackupScheduleState {
|
|
105
108
|
/**
|
|
106
109
|
* Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
110
|
+
* * true - enables automatic export of cloud backup snapshots to the AWS bucket
|
|
111
|
+
* * false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
110
112
|
*/
|
|
111
113
|
autoExportEnabled?: pulumi.Input<boolean>;
|
|
112
114
|
/**
|
|
@@ -143,6 +145,10 @@ export interface CloudBackupScheduleState {
|
|
|
143
145
|
* Weekly policy item
|
|
144
146
|
*/
|
|
145
147
|
policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Yearly policy item
|
|
150
|
+
*/
|
|
151
|
+
policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemYearly>[]>;
|
|
146
152
|
/**
|
|
147
153
|
* The unique identifier of the project for the Atlas cluster.
|
|
148
154
|
*/
|
|
@@ -171,9 +177,8 @@ export interface CloudBackupScheduleState {
|
|
|
171
177
|
export interface CloudBackupScheduleArgs {
|
|
172
178
|
/**
|
|
173
179
|
* Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
180
|
+
* * true - enables automatic export of cloud backup snapshots to the AWS bucket
|
|
181
|
+
* * false - disables automatic export of cloud backup snapshots to the AWS bucket (default)
|
|
177
182
|
*/
|
|
178
183
|
autoExportEnabled?: pulumi.Input<boolean>;
|
|
179
184
|
/**
|
|
@@ -198,6 +203,10 @@ export interface CloudBackupScheduleArgs {
|
|
|
198
203
|
* Weekly policy item
|
|
199
204
|
*/
|
|
200
205
|
policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* Yearly policy item
|
|
208
|
+
*/
|
|
209
|
+
policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemYearly>[]>;
|
|
201
210
|
/**
|
|
202
211
|
* The unique identifier of the project for the Atlas cluster.
|
|
203
212
|
*/
|
package/cloudBackupSchedule.js
CHANGED
|
@@ -54,6 +54,7 @@ class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
54
54
|
resourceInputs["policyItemHourly"] = state ? state.policyItemHourly : undefined;
|
|
55
55
|
resourceInputs["policyItemMonthlies"] = state ? state.policyItemMonthlies : undefined;
|
|
56
56
|
resourceInputs["policyItemWeeklies"] = state ? state.policyItemWeeklies : undefined;
|
|
57
|
+
resourceInputs["policyItemYearlies"] = state ? state.policyItemYearlies : undefined;
|
|
57
58
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
58
59
|
resourceInputs["referenceHourOfDay"] = state ? state.referenceHourOfDay : undefined;
|
|
59
60
|
resourceInputs["referenceMinuteOfHour"] = state ? state.referenceMinuteOfHour : undefined;
|
|
@@ -77,6 +78,7 @@ class CloudBackupSchedule extends pulumi.CustomResource {
|
|
|
77
78
|
resourceInputs["policyItemHourly"] = args ? args.policyItemHourly : undefined;
|
|
78
79
|
resourceInputs["policyItemMonthlies"] = args ? args.policyItemMonthlies : undefined;
|
|
79
80
|
resourceInputs["policyItemWeeklies"] = args ? args.policyItemWeeklies : undefined;
|
|
81
|
+
resourceInputs["policyItemYearlies"] = args ? args.policyItemYearlies : undefined;
|
|
80
82
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
81
83
|
resourceInputs["referenceHourOfDay"] = args ? args.referenceHourOfDay : undefined;
|
|
82
84
|
resourceInputs["referenceMinuteOfHour"] = args ? args.referenceMinuteOfHour : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudBackupSchedule.js","sourceRoot":"","sources":["../cloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OA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,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA1JL,kDA2JC;AA7IG,gBAAgB;AACO,gCAAY,GAAG,4DAA4D,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import * as outputs from "./types/output";
|
|
|
25
25
|
* }],
|
|
26
26
|
* cloudBackup: true,
|
|
27
27
|
* autoScalingDiskGbEnabled: true,
|
|
28
|
-
* mongoDbMajorVersion: "
|
|
28
|
+
* mongoDbMajorVersion: "7.0",
|
|
29
29
|
* providerName: "AWS",
|
|
30
30
|
* providerInstanceSizeName: "M40",
|
|
31
31
|
* });
|
|
@@ -52,7 +52,7 @@ import * as outputs from "./types/output";
|
|
|
52
52
|
* }],
|
|
53
53
|
* cloudBackup: true,
|
|
54
54
|
* autoScalingDiskGbEnabled: true,
|
|
55
|
-
* mongoDbMajorVersion: "
|
|
55
|
+
* mongoDbMajorVersion: "7.0",
|
|
56
56
|
* providerName: "AZURE",
|
|
57
57
|
* providerDiskTypeName: "P6",
|
|
58
58
|
* providerInstanceSizeName: "M30",
|
|
@@ -80,7 +80,7 @@ import * as outputs from "./types/output";
|
|
|
80
80
|
* }],
|
|
81
81
|
* cloudBackup: true,
|
|
82
82
|
* autoScalingDiskGbEnabled: true,
|
|
83
|
-
* mongoDbMajorVersion: "
|
|
83
|
+
* mongoDbMajorVersion: "7.0",
|
|
84
84
|
* providerName: "GCP",
|
|
85
85
|
* providerInstanceSizeName: "M30",
|
|
86
86
|
* });
|
|
@@ -308,11 +308,11 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
308
308
|
/**
|
|
309
309
|
* 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.
|
|
310
310
|
*
|
|
311
|
-
* @deprecated
|
|
311
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
312
312
|
*/
|
|
313
313
|
readonly labels: pulumi.Output<outputs.ClusterLabel[] | undefined>;
|
|
314
314
|
/**
|
|
315
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
315
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
316
316
|
*/
|
|
317
317
|
readonly mongoDbMajorVersion: pulumi.Output<string>;
|
|
318
318
|
/**
|
|
@@ -524,11 +524,11 @@ export interface ClusterState {
|
|
|
524
524
|
/**
|
|
525
525
|
* 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.
|
|
526
526
|
*
|
|
527
|
-
* @deprecated
|
|
527
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
528
528
|
*/
|
|
529
529
|
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
530
530
|
/**
|
|
531
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
531
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
532
532
|
*/
|
|
533
533
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
534
534
|
/**
|
|
@@ -720,11 +720,11 @@ export interface ClusterArgs {
|
|
|
720
720
|
/**
|
|
721
721
|
* 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.
|
|
722
722
|
*
|
|
723
|
-
* @deprecated
|
|
723
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
724
724
|
*/
|
|
725
725
|
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
726
726
|
/**
|
|
727
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
727
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.4`, `5.0`, `6.0` or `7.0`. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
728
728
|
*/
|
|
729
729
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
730
730
|
/**
|
package/cluster.js
CHANGED
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* }],
|
|
30
30
|
* cloudBackup: true,
|
|
31
31
|
* autoScalingDiskGbEnabled: true,
|
|
32
|
-
* mongoDbMajorVersion: "
|
|
32
|
+
* mongoDbMajorVersion: "7.0",
|
|
33
33
|
* providerName: "AWS",
|
|
34
34
|
* providerInstanceSizeName: "M40",
|
|
35
35
|
* });
|
|
@@ -56,7 +56,7 @@ const utilities = require("./utilities");
|
|
|
56
56
|
* }],
|
|
57
57
|
* cloudBackup: true,
|
|
58
58
|
* autoScalingDiskGbEnabled: true,
|
|
59
|
-
* mongoDbMajorVersion: "
|
|
59
|
+
* mongoDbMajorVersion: "7.0",
|
|
60
60
|
* providerName: "AZURE",
|
|
61
61
|
* providerDiskTypeName: "P6",
|
|
62
62
|
* providerInstanceSizeName: "M30",
|
|
@@ -84,7 +84,7 @@ const utilities = require("./utilities");
|
|
|
84
84
|
* }],
|
|
85
85
|
* cloudBackup: true,
|
|
86
86
|
* autoScalingDiskGbEnabled: true,
|
|
87
|
-
* mongoDbMajorVersion: "
|
|
87
|
+
* mongoDbMajorVersion: "7.0",
|
|
88
88
|
* providerName: "GCP",
|
|
89
89
|
* providerInstanceSizeName: "M30",
|
|
90
90
|
* });
|
|
@@ -126,7 +126,18 @@ export declare class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
|
126
126
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
127
127
|
*/
|
|
128
128
|
static isInstance(obj: any): obj is FederatedDatabaseInstance;
|
|
129
|
+
/**
|
|
130
|
+
* Cloud provider linked to this data federated instance.
|
|
131
|
+
* * `cloud_provider_config.aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
132
|
+
* * `cloud_provider_config.aws.role_id` - (Required) Unique identifier of the role that the Federated Instance can use to access the data stores. If necessary, use the Atlas [UI](https://docs.atlas.mongodb.com/security/manage-iam-roles/) or [API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-get-roles/) to retrieve the role ID. You must also specify the `testS3Bucket`.
|
|
133
|
+
* * `cloud_provider_config.aws.test_s3_bucket` - (Required) Name of the S3 data bucket that the provided role ID is authorized to access. You must also specify the `roleId`.
|
|
134
|
+
*/
|
|
129
135
|
readonly cloudProviderConfig: pulumi.Output<outputs.FederatedDatabaseInstanceCloudProviderConfig>;
|
|
136
|
+
/**
|
|
137
|
+
* The cloud provider region to which the Federated Instance routes client connections for data processing.
|
|
138
|
+
* * `data_process_region.cloud_provider` - (Required) Name of the cloud service provider. Atlas Federated Database only supports AWS.
|
|
139
|
+
* * `data_process_region.region` - (Required) Name of the region to which the Federanted Instnace routes client connections for data processing. See the [documention](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Federation/operation/createFederatedDatabase) for the available region.
|
|
140
|
+
*/
|
|
130
141
|
readonly dataProcessRegion: pulumi.Output<outputs.FederatedDatabaseInstanceDataProcessRegion>;
|
|
131
142
|
/**
|
|
132
143
|
* The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
|
|
@@ -134,8 +145,6 @@ export declare class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
|
134
145
|
readonly hostnames: pulumi.Output<string[]>;
|
|
135
146
|
/**
|
|
136
147
|
* Name of the Atlas Federated Database Instance.
|
|
137
|
-
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
138
|
-
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
139
148
|
*/
|
|
140
149
|
readonly name: pulumi.Output<string>;
|
|
141
150
|
/**
|
|
@@ -207,7 +216,18 @@ export declare class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
|
207
216
|
* Input properties used for looking up and filtering FederatedDatabaseInstance resources.
|
|
208
217
|
*/
|
|
209
218
|
export interface FederatedDatabaseInstanceState {
|
|
219
|
+
/**
|
|
220
|
+
* Cloud provider linked to this data federated instance.
|
|
221
|
+
* * `cloud_provider_config.aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
222
|
+
* * `cloud_provider_config.aws.role_id` - (Required) Unique identifier of the role that the Federated Instance can use to access the data stores. If necessary, use the Atlas [UI](https://docs.atlas.mongodb.com/security/manage-iam-roles/) or [API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-get-roles/) to retrieve the role ID. You must also specify the `testS3Bucket`.
|
|
223
|
+
* * `cloud_provider_config.aws.test_s3_bucket` - (Required) Name of the S3 data bucket that the provided role ID is authorized to access. You must also specify the `roleId`.
|
|
224
|
+
*/
|
|
210
225
|
cloudProviderConfig?: pulumi.Input<inputs.FederatedDatabaseInstanceCloudProviderConfig>;
|
|
226
|
+
/**
|
|
227
|
+
* The cloud provider region to which the Federated Instance routes client connections for data processing.
|
|
228
|
+
* * `data_process_region.cloud_provider` - (Required) Name of the cloud service provider. Atlas Federated Database only supports AWS.
|
|
229
|
+
* * `data_process_region.region` - (Required) Name of the region to which the Federanted Instnace routes client connections for data processing. See the [documention](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Federation/operation/createFederatedDatabase) for the available region.
|
|
230
|
+
*/
|
|
211
231
|
dataProcessRegion?: pulumi.Input<inputs.FederatedDatabaseInstanceDataProcessRegion>;
|
|
212
232
|
/**
|
|
213
233
|
* The list of hostnames assigned to the Federated Database Instance. Each string in the array is a hostname assigned to the Federated Database Instance.
|
|
@@ -215,8 +235,6 @@ export interface FederatedDatabaseInstanceState {
|
|
|
215
235
|
hostnames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
216
236
|
/**
|
|
217
237
|
* Name of the Atlas Federated Database Instance.
|
|
218
|
-
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
219
|
-
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
220
238
|
*/
|
|
221
239
|
name?: pulumi.Input<string>;
|
|
222
240
|
/**
|
|
@@ -280,12 +298,21 @@ export interface FederatedDatabaseInstanceState {
|
|
|
280
298
|
* The set of arguments for constructing a FederatedDatabaseInstance resource.
|
|
281
299
|
*/
|
|
282
300
|
export interface FederatedDatabaseInstanceArgs {
|
|
301
|
+
/**
|
|
302
|
+
* Cloud provider linked to this data federated instance.
|
|
303
|
+
* * `cloud_provider_config.aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
304
|
+
* * `cloud_provider_config.aws.role_id` - (Required) Unique identifier of the role that the Federated Instance can use to access the data stores. If necessary, use the Atlas [UI](https://docs.atlas.mongodb.com/security/manage-iam-roles/) or [API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-get-roles/) to retrieve the role ID. You must also specify the `testS3Bucket`.
|
|
305
|
+
* * `cloud_provider_config.aws.test_s3_bucket` - (Required) Name of the S3 data bucket that the provided role ID is authorized to access. You must also specify the `roleId`.
|
|
306
|
+
*/
|
|
283
307
|
cloudProviderConfig?: pulumi.Input<inputs.FederatedDatabaseInstanceCloudProviderConfig>;
|
|
308
|
+
/**
|
|
309
|
+
* The cloud provider region to which the Federated Instance routes client connections for data processing.
|
|
310
|
+
* * `data_process_region.cloud_provider` - (Required) Name of the cloud service provider. Atlas Federated Database only supports AWS.
|
|
311
|
+
* * `data_process_region.region` - (Required) Name of the region to which the Federanted Instnace routes client connections for data processing. See the [documention](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Federation/operation/createFederatedDatabase) for the available region.
|
|
312
|
+
*/
|
|
284
313
|
dataProcessRegion?: pulumi.Input<inputs.FederatedDatabaseInstanceDataProcessRegion>;
|
|
285
314
|
/**
|
|
286
315
|
* Name of the Atlas Federated Database Instance.
|
|
287
|
-
* ### `cloudProviderConfig` - (Optional) Cloud provider linked to this data federated instance.
|
|
288
|
-
* #### `aws` - (Required) AWS provider of the cloud service where the Federated Database Instance can access the S3 Bucket. Note this parameter is only required if using `cloudProviderConfig` since AWS is currently the only supported Cloud vendor on this feature at this time.
|
|
289
316
|
*/
|
|
290
317
|
name?: pulumi.Input<string>;
|
|
291
318
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedDatabaseInstance.js","sourceRoot":"","sources":["../federatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4GG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"federatedDatabaseInstance.js","sourceRoot":"","sources":["../federatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;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cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA/IL,8DAgJC;AAlIG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
|
|
@@ -29,10 +29,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
* Identity Provider __must__ be imported before using federation_settings_id-idp_id, e.g.
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
|
-
* $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-
|
|
32
|
+
* $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk12971234
|
|
33
33
|
* ```
|
|
34
|
-
* __WARNING:__ Starting from terraform provider version 1.16.0, to import the resource a 24-hexadecimal digit string that identifies the IdP (`idp_id`) will have to be used instead of `okta_idp_id`. See more [here](../guides/1.15.0-upgrade-guide.html.markdown)
|
|
35
|
-
*
|
|
36
34
|
* For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
|
|
37
35
|
*/
|
|
38
36
|
export declare class FederatedSettingsIdentityProvider extends pulumi.CustomResource {
|
|
@@ -35,10 +35,8 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* Identity Provider __must__ be imported before using federation_settings_id-idp_id, e.g.
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
|
-
* $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-
|
|
38
|
+
* $ pulumi import mongodbatlas:index/federatedSettingsIdentityProvider:FederatedSettingsIdentityProvider identity_provider 6287a663c660f52b1c441c6c-0oad4fas87jL5Xnk12971234
|
|
39
39
|
* ```
|
|
40
|
-
* __WARNING:__ Starting from terraform provider version 1.16.0, to import the resource a 24-hexadecimal digit string that identifies the IdP (`idp_id`) will have to be used instead of `okta_idp_id`. See more [here](../guides/1.15.0-upgrade-guide.html.markdown)
|
|
41
|
-
*
|
|
42
40
|
* For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
|
|
43
41
|
*/
|
|
44
42
|
class FederatedSettingsIdentityProvider extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../federatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"federatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../federatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxF,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AAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AA7JL,8EA8JC;AAhJG,gBAAgB;AACO,8CAAY,GAAG,wFAAwF,CAAC"}
|
package/getAdvancedCluster.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface GetAdvancedClusterResult {
|
|
|
92
92
|
/**
|
|
93
93
|
* 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.
|
|
94
94
|
*
|
|
95
|
-
* @deprecated
|
|
95
|
+
* @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
|
|
96
96
|
*/
|
|
97
97
|
readonly labels: outputs.GetAdvancedClusterLabel[];
|
|
98
98
|
/**
|