@pulumi/mongodbatlas 3.9.0-alpha.1687672134 → 3.9.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.
Files changed (124) hide show
  1. package/accessListApiKey.d.ts +7 -7
  2. package/accessListApiKey.js +1 -1
  3. package/advancedCluster.d.ts +45 -0
  4. package/advancedCluster.js +2 -0
  5. package/advancedCluster.js.map +1 -1
  6. package/cluster.d.ts +12 -21
  7. package/cluster.js +2 -0
  8. package/cluster.js.map +1 -1
  9. package/clusterOutageSimulation.d.ts +139 -0
  10. package/clusterOutageSimulation.js +109 -0
  11. package/clusterOutageSimulation.js.map +1 -0
  12. package/dataLakePipeline.d.ts +181 -0
  13. package/dataLakePipeline.js +87 -0
  14. package/dataLakePipeline.js.map +1 -0
  15. package/federatedDatabaseInstance.d.ts +333 -0
  16. package/federatedDatabaseInstance.js +171 -0
  17. package/federatedDatabaseInstance.js.map +1 -0
  18. package/federatedQueryLimit.d.ts +166 -0
  19. package/federatedQueryLimit.js +113 -0
  20. package/federatedQueryLimit.js.map +1 -0
  21. package/getAccessListApiKey.d.ts +4 -4
  22. package/getAccessListApiKeys.d.ts +4 -4
  23. package/getClusterOutageSimulation.d.ts +85 -0
  24. package/getClusterOutageSimulation.js +48 -0
  25. package/getClusterOutageSimulation.js.map +1 -0
  26. package/getDataLakePipeline.d.ts +105 -0
  27. package/getDataLakePipeline.js +34 -0
  28. package/getDataLakePipeline.js.map +1 -0
  29. package/getDataLakePipelineRun.d.ts +96 -0
  30. package/getDataLakePipelineRun.js +31 -0
  31. package/getDataLakePipelineRun.js.map +1 -0
  32. package/getDataLakePipelineRuns.d.ts +55 -0
  33. package/getDataLakePipelineRuns.js +30 -0
  34. package/getDataLakePipelineRuns.js.map +1 -0
  35. package/getDataLakePipelines.d.ts +53 -0
  36. package/getDataLakePipelines.js +33 -0
  37. package/getDataLakePipelines.js.map +1 -0
  38. package/getFederatedDatabaseInstance.d.ts +172 -0
  39. package/getFederatedDatabaseInstance.js +93 -0
  40. package/getFederatedDatabaseInstance.js.map +1 -0
  41. package/getFederatedDatabaseInstances.d.ts +54 -0
  42. package/getFederatedDatabaseInstances.js +37 -0
  43. package/getFederatedDatabaseInstances.js.map +1 -0
  44. package/getFederatedQueryLimit.d.ts +109 -0
  45. package/getFederatedQueryLimit.js +61 -0
  46. package/getFederatedQueryLimit.js.map +1 -0
  47. package/getFederatedQueryLimits.d.ts +81 -0
  48. package/getFederatedQueryLimits.js +56 -0
  49. package/getFederatedQueryLimits.js.map +1 -0
  50. package/getOrganization.d.ts +69 -0
  51. package/getOrganization.js +47 -0
  52. package/getOrganization.js.map +1 -0
  53. package/getOrganizations.d.ts +85 -0
  54. package/getOrganizations.js +53 -0
  55. package/getOrganizations.js.map +1 -0
  56. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +52 -0
  57. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +20 -0
  58. package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -0
  59. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +36 -0
  60. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +19 -0
  61. package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -0
  62. package/getProject.d.ts +4 -0
  63. package/getProject.js.map +1 -1
  64. package/getThirdPartyIntegration.d.ts +2 -52
  65. package/getThirdPartyIntegration.js +0 -36
  66. package/getThirdPartyIntegration.js.map +1 -1
  67. package/getThirdPartyIntegrations.d.ts +0 -46
  68. package/getThirdPartyIntegrations.js +0 -46
  69. package/getThirdPartyIntegrations.js.map +1 -1
  70. package/index.d.ts +57 -27
  71. package/index.js +74 -40
  72. package/index.js.map +1 -1
  73. package/networkContainer.d.ts +1 -1
  74. package/networkContainer.js +1 -1
  75. package/networkPeering.d.ts +1 -1
  76. package/networkPeering.js +1 -1
  77. package/organization.d.ts +126 -0
  78. package/organization.js +102 -0
  79. package/organization.js.map +1 -0
  80. package/package.json +2 -2
  81. package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +103 -0
  82. package/privatelinkEndpointServiceDataFederationOnlineArchive.js +77 -0
  83. package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -0
  84. package/project.d.ts +22 -0
  85. package/project.js +3 -0
  86. package/project.js.map +1 -1
  87. package/projectApiKey.d.ts +20 -5
  88. package/projectApiKey.js +3 -3
  89. package/projectApiKey.js.map +1 -1
  90. package/searchIndex.d.ts +2 -2
  91. package/searchIndex.js +0 -3
  92. package/searchIndex.js.map +1 -1
  93. package/thirdPartyIntegration.d.ts +1 -99
  94. package/thirdPartyIntegration.js +2 -30
  95. package/thirdPartyIntegration.js.map +1 -1
  96. package/types/input.d.ts +295 -45
  97. package/types/output.d.ts +892 -238
  98. package/cloudProviderSnapshot.d.ts +0 -186
  99. package/cloudProviderSnapshot.js +0 -105
  100. package/cloudProviderSnapshot.js.map +0 -1
  101. package/cloudProviderSnapshotBackupPolicy.d.ts +0 -140
  102. package/cloudProviderSnapshotBackupPolicy.js +0 -85
  103. package/cloudProviderSnapshotBackupPolicy.js.map +0 -1
  104. package/cloudProviderSnapshotRestoreJob.d.ts +0 -262
  105. package/cloudProviderSnapshotRestoreJob.js +0 -170
  106. package/cloudProviderSnapshotRestoreJob.js.map +0 -1
  107. package/getCloudProviderSnapshot.d.ts +0 -93
  108. package/getCloudProviderSnapshot.js +0 -35
  109. package/getCloudProviderSnapshot.js.map +0 -1
  110. package/getCloudProviderSnapshotBackupPolicy.d.ts +0 -81
  111. package/getCloudProviderSnapshotBackupPolicy.js +0 -34
  112. package/getCloudProviderSnapshotBackupPolicy.js.map +0 -1
  113. package/getCloudProviderSnapshotRestoreJob.d.ts +0 -110
  114. package/getCloudProviderSnapshotRestoreJob.js +0 -35
  115. package/getCloudProviderSnapshotRestoreJob.js.map +0 -1
  116. package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -78
  117. package/getCloudProviderSnapshotRestoreJobs.js +0 -36
  118. package/getCloudProviderSnapshotRestoreJobs.js.map +0 -1
  119. package/getCloudProviderSnapshots.d.ts +0 -72
  120. package/getCloudProviderSnapshots.js +0 -36
  121. package/getCloudProviderSnapshots.js.map +0 -1
  122. package/privateIpMode.d.ts +0 -87
  123. package/privateIpMode.js +0 -84
  124. package/privateIpMode.js.map +0 -1
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
32
32
  * $ pulumi import mongodbatlas:index/accessListApiKey:AccessListApiKey test 5d0f1f74cf09a29120e123cd-a29120e123cd-10.242.88.0/21
33
33
  * ```
34
34
  *
35
- * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createAccessListEntriesForOneOrganizationApiKey)
35
+ * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList)
36
36
  */
37
37
  export declare class AccessListApiKey extends pulumi.CustomResource {
38
38
  /**
@@ -53,7 +53,7 @@ export declare class AccessListApiKey extends pulumi.CustomResource {
53
53
  /**
54
54
  * Unique identifier for the Organization API Key for which you want to create a new access list entry.
55
55
  *
56
- * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress`.
56
+ * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress` but not both.
57
57
  */
58
58
  readonly apiKeyId: pulumi.Output<string>;
59
59
  /**
@@ -65,7 +65,7 @@ export declare class AccessListApiKey extends pulumi.CustomResource {
65
65
  */
66
66
  readonly ipAddress: pulumi.Output<string>;
67
67
  /**
68
- * Unique identifier for the organinzation to which you want to add one or more access list entries.
68
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
69
69
  */
70
70
  readonly orgId: pulumi.Output<string>;
71
71
  /**
@@ -84,7 +84,7 @@ export interface AccessListApiKeyState {
84
84
  /**
85
85
  * Unique identifier for the Organization API Key for which you want to create a new access list entry.
86
86
  *
87
- * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress`.
87
+ * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress` but not both.
88
88
  */
89
89
  apiKeyId?: pulumi.Input<string>;
90
90
  /**
@@ -96,7 +96,7 @@ export interface AccessListApiKeyState {
96
96
  */
97
97
  ipAddress?: pulumi.Input<string>;
98
98
  /**
99
- * Unique identifier for the organinzation to which you want to add one or more access list entries.
99
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
100
100
  */
101
101
  orgId?: pulumi.Input<string>;
102
102
  }
@@ -107,7 +107,7 @@ export interface AccessListApiKeyArgs {
107
107
  /**
108
108
  * Unique identifier for the Organization API Key for which you want to create a new access list entry.
109
109
  *
110
- * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress`.
110
+ * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress` but not both.
111
111
  */
112
112
  apiKeyId: pulumi.Input<string>;
113
113
  /**
@@ -119,7 +119,7 @@ export interface AccessListApiKeyArgs {
119
119
  */
120
120
  ipAddress?: pulumi.Input<string>;
121
121
  /**
122
- * Unique identifier for the organinzation to which you want to add one or more access list entries.
122
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
123
123
  */
124
124
  orgId: pulumi.Input<string>;
125
125
  }
@@ -38,7 +38,7 @@ const utilities = require("./utilities");
38
38
  * $ pulumi import mongodbatlas:index/accessListApiKey:AccessListApiKey test 5d0f1f74cf09a29120e123cd-a29120e123cd-10.242.88.0/21
39
39
  * ```
40
40
  *
41
- * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createAccessListEntriesForOneOrganizationApiKey)
41
+ * For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList)
42
42
  */
43
43
  class AccessListApiKey extends pulumi.CustomResource {
44
44
  /**
@@ -29,6 +29,17 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
29
29
  */
30
30
  static isInstance(obj: any): obj is AdvancedCluster;
31
31
  readonly advancedConfiguration: pulumi.Output<outputs.AdvancedClusterAdvancedConfiguration>;
32
+ /**
33
+ * Flag that indicates whether the cluster can perform backups.
34
+ * If `true`, the cluster can perform backups. You must set this value to `true` for NVMe clusters.
35
+ *
36
+ * Backup uses:
37
+ * [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
38
+ * [Shared Cluster Backups](https://docs.atlas.mongodb.com/backup/shared-tier/overview/#std-label-m2-m5-snapshots) for tenant clusters.
39
+ * If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
40
+ *
41
+ * This parameter defaults to false.
42
+ */
32
43
  readonly backupEnabled: pulumi.Output<boolean>;
33
44
  /**
34
45
  * @deprecated use bi_connector_config instead
@@ -89,6 +100,10 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
89
100
  * Configuration for cluster regions and the hardware provisioned in them. See below
90
101
  */
91
102
  readonly replicationSpecs: pulumi.Output<outputs.AdvancedClusterReplicationSpec[]>;
103
+ /**
104
+ * Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
105
+ */
106
+ readonly retainBackupsEnabled: pulumi.Output<boolean | undefined>;
92
107
  /**
93
108
  * Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
94
109
  */
@@ -125,6 +140,17 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
125
140
  */
126
141
  export interface AdvancedClusterState {
127
142
  advancedConfiguration?: pulumi.Input<inputs.AdvancedClusterAdvancedConfiguration>;
143
+ /**
144
+ * Flag that indicates whether the cluster can perform backups.
145
+ * If `true`, the cluster can perform backups. You must set this value to `true` for NVMe clusters.
146
+ *
147
+ * Backup uses:
148
+ * [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
149
+ * [Shared Cluster Backups](https://docs.atlas.mongodb.com/backup/shared-tier/overview/#std-label-m2-m5-snapshots) for tenant clusters.
150
+ * If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
151
+ *
152
+ * This parameter defaults to false.
153
+ */
128
154
  backupEnabled?: pulumi.Input<boolean>;
129
155
  /**
130
156
  * @deprecated use bi_connector_config instead
@@ -185,6 +211,10 @@ export interface AdvancedClusterState {
185
211
  * Configuration for cluster regions and the hardware provisioned in them. See below
186
212
  */
187
213
  replicationSpecs?: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[]>;
214
+ /**
215
+ * Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
216
+ */
217
+ retainBackupsEnabled?: pulumi.Input<boolean>;
188
218
  /**
189
219
  * Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
190
220
  */
@@ -213,6 +243,17 @@ export interface AdvancedClusterState {
213
243
  */
214
244
  export interface AdvancedClusterArgs {
215
245
  advancedConfiguration?: pulumi.Input<inputs.AdvancedClusterAdvancedConfiguration>;
246
+ /**
247
+ * Flag that indicates whether the cluster can perform backups.
248
+ * If `true`, the cluster can perform backups. You must set this value to `true` for NVMe clusters.
249
+ *
250
+ * Backup uses:
251
+ * [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/#std-label-backup-cloud-provider) for dedicated clusters.
252
+ * [Shared Cluster Backups](https://docs.atlas.mongodb.com/backup/shared-tier/overview/#std-label-m2-m5-snapshots) for tenant clusters.
253
+ * If "`backupEnabled`" : `false`, the cluster doesn't use Atlas backups.
254
+ *
255
+ * This parameter defaults to false.
256
+ */
216
257
  backupEnabled?: pulumi.Input<boolean>;
217
258
  /**
218
259
  * @deprecated use bi_connector_config instead
@@ -260,6 +301,10 @@ export interface AdvancedClusterArgs {
260
301
  * Configuration for cluster regions and the hardware provisioned in them. See below
261
302
  */
262
303
  replicationSpecs: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[]>;
304
+ /**
305
+ * Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
306
+ */
307
+ retainBackupsEnabled?: pulumi.Input<boolean>;
263
308
  /**
264
309
  * Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
265
310
  */
@@ -62,6 +62,7 @@ class AdvancedCluster extends pulumi.CustomResource {
62
62
  resourceInputs["pitEnabled"] = state ? state.pitEnabled : undefined;
63
63
  resourceInputs["projectId"] = state ? state.projectId : undefined;
64
64
  resourceInputs["replicationSpecs"] = state ? state.replicationSpecs : undefined;
65
+ resourceInputs["retainBackupsEnabled"] = state ? state.retainBackupsEnabled : undefined;
65
66
  resourceInputs["rootCertType"] = state ? state.rootCertType : undefined;
66
67
  resourceInputs["stateName"] = state ? state.stateName : undefined;
67
68
  resourceInputs["terminationProtectionEnabled"] = state ? state.terminationProtectionEnabled : undefined;
@@ -92,6 +93,7 @@ class AdvancedCluster extends pulumi.CustomResource {
92
93
  resourceInputs["pitEnabled"] = args ? args.pitEnabled : undefined;
93
94
  resourceInputs["projectId"] = args ? args.projectId : undefined;
94
95
  resourceInputs["replicationSpecs"] = args ? args.replicationSpecs : undefined;
96
+ resourceInputs["retainBackupsEnabled"] = args ? args.retainBackupsEnabled : undefined;
95
97
  resourceInputs["rootCertType"] = args ? args.rootCertType : undefined;
96
98
  resourceInputs["terminationProtectionEnabled"] = args ? args.terminationProtectionEnabled : undefined;
97
99
  resourceInputs["versionReleaseSystem"] = args ? args.versionReleaseSystem : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,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C;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxML,0CAyMC;AA3LG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
package/cluster.d.ts CHANGED
@@ -35,13 +35,6 @@ export declare class Cluster extends pulumi.CustomResource {
35
35
  * - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
36
36
  */
37
37
  readonly autoScalingComputeScaleDownEnabled: pulumi.Output<boolean>;
38
- /**
39
- * Specifies whether disk auto-scaling is enabled. The default is true.
40
- * - Set to `true` to enable disk auto-scaling.
41
- * - Set to `false` to disable disk auto-scaling.
42
- *
43
- * > **NOTE:** If `providerName` is set to `TENANT`, the parameter `autoScalingDiskGbEnabled` will be ignored.
44
- */
45
38
  readonly autoScalingDiskGbEnabled: pulumi.Output<boolean | undefined>;
46
39
  /**
47
40
  * Cloud service provider on which the server for a multi-tenant cluster is provisioned.
@@ -207,6 +200,10 @@ export declare class Cluster extends pulumi.CustomResource {
207
200
  * Configuration for cluster regions. See Replication Spec below for more details.
208
201
  */
209
202
  readonly replicationSpecs: pulumi.Output<outputs.ClusterReplicationSpec[]>;
203
+ /**
204
+ * Set to true to retain backup snapshots for the deleted cluster. The default value is false. M10 and above only.
205
+ */
206
+ readonly retainBackupsEnabled: pulumi.Output<boolean | undefined>;
210
207
  /**
211
208
  * current snapshot schedule and retention settings for the cluster.
212
209
  */
@@ -253,13 +250,6 @@ export interface ClusterState {
253
250
  * - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
254
251
  */
255
252
  autoScalingComputeScaleDownEnabled?: pulumi.Input<boolean>;
256
- /**
257
- * Specifies whether disk auto-scaling is enabled. The default is true.
258
- * - Set to `true` to enable disk auto-scaling.
259
- * - Set to `false` to disable disk auto-scaling.
260
- *
261
- * > **NOTE:** If `providerName` is set to `TENANT`, the parameter `autoScalingDiskGbEnabled` will be ignored.
262
- */
263
253
  autoScalingDiskGbEnabled?: pulumi.Input<boolean>;
264
254
  /**
265
255
  * Cloud service provider on which the server for a multi-tenant cluster is provisioned.
@@ -425,6 +415,10 @@ export interface ClusterState {
425
415
  * Configuration for cluster regions. See Replication Spec below for more details.
426
416
  */
427
417
  replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
418
+ /**
419
+ * Set to true to retain backup snapshots for the deleted cluster. The default value is false. M10 and above only.
420
+ */
421
+ retainBackupsEnabled?: pulumi.Input<boolean>;
428
422
  /**
429
423
  * current snapshot schedule and retention settings for the cluster.
430
424
  */
@@ -463,13 +457,6 @@ export interface ClusterArgs {
463
457
  * - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
464
458
  */
465
459
  autoScalingComputeScaleDownEnabled?: pulumi.Input<boolean>;
466
- /**
467
- * Specifies whether disk auto-scaling is enabled. The default is true.
468
- * - Set to `true` to enable disk auto-scaling.
469
- * - Set to `false` to disable disk auto-scaling.
470
- *
471
- * > **NOTE:** If `providerName` is set to `TENANT`, the parameter `autoScalingDiskGbEnabled` will be ignored.
472
- */
473
460
  autoScalingDiskGbEnabled?: pulumi.Input<boolean>;
474
461
  /**
475
462
  * Cloud service provider on which the server for a multi-tenant cluster is provisioned.
@@ -606,6 +593,10 @@ export interface ClusterArgs {
606
593
  * Configuration for cluster regions. See Replication Spec below for more details.
607
594
  */
608
595
  replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
596
+ /**
597
+ * Set to true to retain backup snapshots for the deleted cluster. The default value is false. M10 and above only.
598
+ */
599
+ retainBackupsEnabled?: pulumi.Input<boolean>;
609
600
  /**
610
601
  * Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
611
602
  */
package/cluster.js CHANGED
@@ -83,6 +83,7 @@ class Cluster extends pulumi.CustomResource {
83
83
  resourceInputs["providerVolumeType"] = state ? state.providerVolumeType : undefined;
84
84
  resourceInputs["replicationFactor"] = state ? state.replicationFactor : undefined;
85
85
  resourceInputs["replicationSpecs"] = state ? state.replicationSpecs : undefined;
86
+ resourceInputs["retainBackupsEnabled"] = state ? state.retainBackupsEnabled : undefined;
86
87
  resourceInputs["snapshotBackupPolicies"] = state ? state.snapshotBackupPolicies : undefined;
87
88
  resourceInputs["srvAddress"] = state ? state.srvAddress : undefined;
88
89
  resourceInputs["stateName"] = state ? state.stateName : undefined;
@@ -131,6 +132,7 @@ class Cluster extends pulumi.CustomResource {
131
132
  resourceInputs["providerVolumeType"] = args ? args.providerVolumeType : undefined;
132
133
  resourceInputs["replicationFactor"] = args ? args.replicationFactor : undefined;
133
134
  resourceInputs["replicationSpecs"] = args ? args.replicationSpecs : undefined;
135
+ resourceInputs["retainBackupsEnabled"] = args ? args.retainBackupsEnabled : undefined;
134
136
  resourceInputs["terminationProtectionEnabled"] = args ? args.terminationProtectionEnabled : undefined;
135
137
  resourceInputs["versionReleaseSystem"] = args ? args.versionReleaseSystem : undefined;
136
138
  resourceInputs["clusterId"] = undefined /*out*/;
package/cluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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AAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1VL,0BA2VC;AA7UG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1,139 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * `mongodbatlas.ClusterOutageSimulation` provides a Cluster Outage Simulation resource. For more details see https://www.mongodb.com/docs/atlas/tutorial/test-resilience/simulate-regional-outage/
6
+ *
7
+ * Test Outage on Minority of Electable Nodes - Select fewer than half of your electable nodes.
8
+ *
9
+ * Test Outage on Majority of Electable Nodes - Select at least one more than half of your electable nodes and keep at least one electable node remaining.
10
+ *
11
+ * **IMPORTANT:** Test Outage on Majority of Electable Nodes will leave the Atlas cluster without a majority quorum. There will be no primary so write operations will not succeed, and reads will succeed only when configured with a suitable [readPreference](https://www.mongodb.com/docs/manual/core/read-preference/). To recover the majority quorum, you will have the option to manually reconfigure your cluster by adding new nodes to existing regions or adding new regions at the risk of losing recent writes, or end the simulation.
12
+ *
13
+ * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
14
+ *
15
+ * > **IMPORTANT:** This resource cannot be updated.
16
+ * **IMPORTANT:** An existing Cluster Outage Simulation cannot be imported as this resource does not support import operation.
17
+ *
18
+ * ## Example Usage
19
+ * ### S
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
24
+ *
25
+ * const outageSimulation = new mongodbatlas.ClusterOutageSimulation("outageSimulation", {
26
+ * clusterName: "Cluster0",
27
+ * outageFilters: [
28
+ * {
29
+ * cloudProvider: "AWS",
30
+ * regionName: "US_EAST_1",
31
+ * },
32
+ * {
33
+ * cloudProvider: "AWS",
34
+ * regionName: "US_EAST_2",
35
+ * },
36
+ * ],
37
+ * projectId: "64707f06c519c20c3a2b1b03",
38
+ * });
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * The `mongodbatlas_cluster_outage_simulation` resource does not support import operation. See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Cluster-Outage-Simulation) Documentation for more information.
44
+ */
45
+ export declare class ClusterOutageSimulation extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing ClusterOutageSimulation resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterOutageSimulationState, opts?: pulumi.CustomResourceOptions): ClusterOutageSimulation;
56
+ /**
57
+ * Returns true if the given object is an instance of ClusterOutageSimulation. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is ClusterOutageSimulation;
61
+ /**
62
+ * Name of the Atlas Cluster that is/will undergoing outage simulation.
63
+ */
64
+ readonly clusterName: pulumi.Output<string>;
65
+ /**
66
+ * List of settings that specify the type of cluster outage simulation.
67
+ */
68
+ readonly outageFilters: pulumi.Output<outputs.ClusterOutageSimulationOutageFilter[]>;
69
+ /**
70
+ * The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
71
+ */
72
+ readonly projectId: pulumi.Output<string>;
73
+ /**
74
+ * Unique 24-hexadecimal character string that identifies the outage simulation.
75
+ */
76
+ readonly simulationId: pulumi.Output<string>;
77
+ /**
78
+ * Date and time when MongoDB Cloud started the regional outage simulation.
79
+ */
80
+ readonly startRequestDate: pulumi.Output<string>;
81
+ /**
82
+ * Current phase of the outage simulation:
83
+ */
84
+ readonly state: pulumi.Output<string>;
85
+ /**
86
+ * Create a ClusterOutageSimulation resource with the given unique name, arguments, and options.
87
+ *
88
+ * @param name The _unique_ name of the resource.
89
+ * @param args The arguments to use to populate this resource's properties.
90
+ * @param opts A bag of options that control this resource's behavior.
91
+ */
92
+ constructor(name: string, args: ClusterOutageSimulationArgs, opts?: pulumi.CustomResourceOptions);
93
+ }
94
+ /**
95
+ * Input properties used for looking up and filtering ClusterOutageSimulation resources.
96
+ */
97
+ export interface ClusterOutageSimulationState {
98
+ /**
99
+ * Name of the Atlas Cluster that is/will undergoing outage simulation.
100
+ */
101
+ clusterName?: pulumi.Input<string>;
102
+ /**
103
+ * List of settings that specify the type of cluster outage simulation.
104
+ */
105
+ outageFilters?: pulumi.Input<pulumi.Input<inputs.ClusterOutageSimulationOutageFilter>[]>;
106
+ /**
107
+ * The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
108
+ */
109
+ projectId?: pulumi.Input<string>;
110
+ /**
111
+ * Unique 24-hexadecimal character string that identifies the outage simulation.
112
+ */
113
+ simulationId?: pulumi.Input<string>;
114
+ /**
115
+ * Date and time when MongoDB Cloud started the regional outage simulation.
116
+ */
117
+ startRequestDate?: pulumi.Input<string>;
118
+ /**
119
+ * Current phase of the outage simulation:
120
+ */
121
+ state?: pulumi.Input<string>;
122
+ }
123
+ /**
124
+ * The set of arguments for constructing a ClusterOutageSimulation resource.
125
+ */
126
+ export interface ClusterOutageSimulationArgs {
127
+ /**
128
+ * Name of the Atlas Cluster that is/will undergoing outage simulation.
129
+ */
130
+ clusterName: pulumi.Input<string>;
131
+ /**
132
+ * List of settings that specify the type of cluster outage simulation.
133
+ */
134
+ outageFilters: pulumi.Input<pulumi.Input<inputs.ClusterOutageSimulationOutageFilter>[]>;
135
+ /**
136
+ * The unique ID for the project that contains the cluster that is/will undergoing outage simulation.
137
+ */
138
+ projectId: pulumi.Input<string>;
139
+ }
@@ -0,0 +1,109 @@
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.ClusterOutageSimulation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.ClusterOutageSimulation` provides a Cluster Outage Simulation resource. For more details see https://www.mongodb.com/docs/atlas/tutorial/test-resilience/simulate-regional-outage/
10
+ *
11
+ * Test Outage on Minority of Electable Nodes - Select fewer than half of your electable nodes.
12
+ *
13
+ * Test Outage on Majority of Electable Nodes - Select at least one more than half of your electable nodes and keep at least one electable node remaining.
14
+ *
15
+ * **IMPORTANT:** Test Outage on Majority of Electable Nodes will leave the Atlas cluster without a majority quorum. There will be no primary so write operations will not succeed, and reads will succeed only when configured with a suitable [readPreference](https://www.mongodb.com/docs/manual/core/read-preference/). To recover the majority quorum, you will have the option to manually reconfigure your cluster by adding new nodes to existing regions or adding new regions at the risk of losing recent writes, or end the simulation.
16
+ *
17
+ * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
18
+ *
19
+ * > **IMPORTANT:** This resource cannot be updated.
20
+ * **IMPORTANT:** An existing Cluster Outage Simulation cannot be imported as this resource does not support import operation.
21
+ *
22
+ * ## Example Usage
23
+ * ### S
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
28
+ *
29
+ * const outageSimulation = new mongodbatlas.ClusterOutageSimulation("outageSimulation", {
30
+ * clusterName: "Cluster0",
31
+ * outageFilters: [
32
+ * {
33
+ * cloudProvider: "AWS",
34
+ * regionName: "US_EAST_1",
35
+ * },
36
+ * {
37
+ * cloudProvider: "AWS",
38
+ * regionName: "US_EAST_2",
39
+ * },
40
+ * ],
41
+ * projectId: "64707f06c519c20c3a2b1b03",
42
+ * });
43
+ * ```
44
+ *
45
+ * ## Import
46
+ *
47
+ * The `mongodbatlas_cluster_outage_simulation` resource does not support import operation. See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Cluster-Outage-Simulation) Documentation for more information.
48
+ */
49
+ class ClusterOutageSimulation extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing ClusterOutageSimulation resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name, id, state, opts) {
60
+ return new ClusterOutageSimulation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
61
+ }
62
+ /**
63
+ * Returns true if the given object is an instance of ClusterOutageSimulation. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj) {
67
+ if (obj === undefined || obj === null) {
68
+ return false;
69
+ }
70
+ return obj['__pulumiType'] === ClusterOutageSimulation.__pulumiType;
71
+ }
72
+ constructor(name, argsOrState, opts) {
73
+ let resourceInputs = {};
74
+ opts = opts || {};
75
+ if (opts.id) {
76
+ const state = argsOrState;
77
+ resourceInputs["clusterName"] = state ? state.clusterName : undefined;
78
+ resourceInputs["outageFilters"] = state ? state.outageFilters : undefined;
79
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
80
+ resourceInputs["simulationId"] = state ? state.simulationId : undefined;
81
+ resourceInputs["startRequestDate"] = state ? state.startRequestDate : undefined;
82
+ resourceInputs["state"] = state ? state.state : undefined;
83
+ }
84
+ else {
85
+ const args = argsOrState;
86
+ if ((!args || args.clusterName === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'clusterName'");
88
+ }
89
+ if ((!args || args.outageFilters === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'outageFilters'");
91
+ }
92
+ if ((!args || args.projectId === undefined) && !opts.urn) {
93
+ throw new Error("Missing required property 'projectId'");
94
+ }
95
+ resourceInputs["clusterName"] = args ? args.clusterName : undefined;
96
+ resourceInputs["outageFilters"] = args ? args.outageFilters : undefined;
97
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
98
+ resourceInputs["simulationId"] = undefined /*out*/;
99
+ resourceInputs["startRequestDate"] = undefined /*out*/;
100
+ resourceInputs["state"] = undefined /*out*/;
101
+ }
102
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
103
+ super(ClusterOutageSimulation.__pulumiType, name, resourceInputs, opts);
104
+ }
105
+ }
106
+ exports.ClusterOutageSimulation = ClusterOutageSimulation;
107
+ /** @internal */
108
+ ClusterOutageSimulation.__pulumiType = 'mongodbatlas:index/clusterOutageSimulation:ClusterOutageSimulation';
109
+ //# sourceMappingURL=clusterOutageSimulation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusterOutageSimulation.js","sourceRoot":"","sources":["../clusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAA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