@pulumi/mongodbatlas 3.17.0-alpha.1723037969 → 3.17.0-alpha.1723714844
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 +95 -80
- package/advancedCluster.js +81 -74
- package/advancedCluster.js.map +1 -1
- package/apiKey.d.ts +6 -18
- package/apiKey.js +6 -0
- package/apiKey.js.map +1 -1
- package/cloudBackupSchedule.d.ts +33 -15
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +65 -11
- package/cloudBackupSnapshotExportBucket.js +24 -3
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +0 -12
- package/cloudBackupSnapshotRestoreJob.js +0 -2
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getAdvancedCluster.d.ts +104 -3
- package/getAdvancedCluster.js +91 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +99 -0
- package/getAdvancedClusters.js +91 -0
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +20 -77
- package/getCloudBackupSchedule.js +1 -72
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +15 -14
- package/getCloudBackupSnapshotExportBucket.js +0 -1
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +0 -11
- package/getCloudBackupSnapshotExportJob.js +0 -1
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +5 -27
- package/getCloudBackupSnapshotRestoreJob.js +0 -1
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCluster.d.ts +4 -4
- package/getCluster.js +4 -4
- package/getClusters.d.ts +4 -4
- package/getClusters.js +4 -4
- package/getFederatedSettingsIdentityProviders.d.ts +2 -70
- package/getFederatedSettingsIdentityProviders.js +2 -40
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +76 -24
- package/getGlobalClusterConfig.js +76 -24
- package/getGlobalClusterConfig.js.map +1 -1
- package/getNetworkPeering.d.ts +0 -4
- package/getNetworkPeering.js +0 -4
- package/getNetworkPeering.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +0 -18
- package/getThirdPartyIntegration.js +0 -1
- package/getThirdPartyIntegration.js.map +1 -1
- package/globalClusterConfig.d.ts +16 -14
- package/globalClusterConfig.js +16 -14
- package/globalClusterConfig.js.map +1 -1
- package/networkContainer.d.ts +0 -2
- package/networkContainer.js +0 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +7 -2
- package/networkPeering.js +7 -2
- package/networkPeering.js.map +1 -1
- package/package.json +2 -2
- package/thirdPartyIntegration.d.ts +0 -12
- package/thirdPartyIntegration.js +0 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +48 -18
- package/types/output.d.ts +164 -70
|
@@ -62,10 +62,6 @@ export declare class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
62
62
|
readonly projectId: pulumi.Output<string>;
|
|
63
63
|
readonly region: pulumi.Output<string>;
|
|
64
64
|
readonly routingKey: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
67
|
-
*/
|
|
68
|
-
readonly scheme: pulumi.Output<string>;
|
|
69
65
|
readonly secret: pulumi.Output<string | undefined>;
|
|
70
66
|
readonly serviceDiscovery: pulumi.Output<string>;
|
|
71
67
|
readonly serviceKey: pulumi.Output<string>;
|
|
@@ -110,10 +106,6 @@ export interface ThirdPartyIntegrationState {
|
|
|
110
106
|
projectId?: pulumi.Input<string>;
|
|
111
107
|
region?: pulumi.Input<string>;
|
|
112
108
|
routingKey?: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
115
|
-
*/
|
|
116
|
-
scheme?: pulumi.Input<string>;
|
|
117
109
|
secret?: pulumi.Input<string>;
|
|
118
110
|
serviceDiscovery?: pulumi.Input<string>;
|
|
119
111
|
serviceKey?: pulumi.Input<string>;
|
|
@@ -150,10 +142,6 @@ export interface ThirdPartyIntegrationArgs {
|
|
|
150
142
|
projectId: pulumi.Input<string>;
|
|
151
143
|
region?: pulumi.Input<string>;
|
|
152
144
|
routingKey?: pulumi.Input<string>;
|
|
153
|
-
/**
|
|
154
|
-
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
155
|
-
*/
|
|
156
|
-
scheme?: pulumi.Input<string>;
|
|
157
145
|
secret?: pulumi.Input<string>;
|
|
158
146
|
serviceDiscovery?: pulumi.Input<string>;
|
|
159
147
|
serviceKey?: pulumi.Input<string>;
|
package/thirdPartyIntegration.js
CHANGED
|
@@ -77,7 +77,6 @@ class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
77
77
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
78
78
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
79
79
|
resourceInputs["routingKey"] = state ? state.routingKey : undefined;
|
|
80
|
-
resourceInputs["scheme"] = state ? state.scheme : undefined;
|
|
81
80
|
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
82
81
|
resourceInputs["serviceDiscovery"] = state ? state.serviceDiscovery : undefined;
|
|
83
82
|
resourceInputs["serviceKey"] = state ? state.serviceKey : undefined;
|
|
@@ -102,7 +101,6 @@ class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
102
101
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
103
102
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
104
103
|
resourceInputs["routingKey"] = (args === null || args === void 0 ? void 0 : args.routingKey) ? pulumi.secret(args.routingKey) : undefined;
|
|
105
|
-
resourceInputs["scheme"] = args ? args.scheme : undefined;
|
|
106
104
|
resourceInputs["secret"] = (args === null || args === void 0 ? void 0 : args.secret) ? pulumi.secret(args.secret) : undefined;
|
|
107
105
|
resourceInputs["serviceDiscovery"] = (args === null || args === void 0 ? void 0 : args.serviceDiscovery) ? pulumi.secret(args.serviceDiscovery) : undefined;
|
|
108
106
|
resourceInputs["serviceKey"] = (args === null || args === void 0 ? void 0 : args.serviceKey) ? pulumi.secret(args.serviceKey) : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thirdPartyIntegration.js","sourceRoot":"","sources":["../thirdPartyIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;
|
|
1
|
+
{"version":3,"file":"thirdPartyIntegration.js","sourceRoot":"","sources":["../thirdPartyIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,C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C,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,0BAA0B,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,kBAAkB,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,CAAC;QACzK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AApHL,sDAqHC;AAvGG,gBAAgB;AACO,kCAAY,GAAG,gEAAgE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export interface AdvancedClusterAdvancedConfiguration {
|
|
4
4
|
/**
|
|
5
|
-
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
5
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/). **(DEPRECATED)** MongoDB 5.0 and later clusters default to `local`. To use a custom read concern level, please refer to your driver documentation.
|
|
6
|
+
*
|
|
7
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
6
8
|
*/
|
|
7
9
|
defaultReadConcern?: pulumi.Input<string>;
|
|
8
10
|
/**
|
|
@@ -10,7 +12,9 @@ export interface AdvancedClusterAdvancedConfiguration {
|
|
|
10
12
|
*/
|
|
11
13
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
12
14
|
/**
|
|
13
|
-
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
15
|
+
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them. **(DEPRECATED)** This parameter has been removed as of [MongoDB 4.4](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.failIndexKeyTooLong).
|
|
16
|
+
*
|
|
17
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
14
18
|
*/
|
|
15
19
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
16
20
|
/**
|
|
@@ -137,16 +141,26 @@ export interface AdvancedClusterReplicationSpec {
|
|
|
137
141
|
containerId?: pulumi.Input<{
|
|
138
142
|
[key: string]: pulumi.Input<string>;
|
|
139
143
|
}>;
|
|
144
|
+
externalId?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
147
|
+
*/
|
|
140
148
|
id?: pulumi.Input<string>;
|
|
141
149
|
/**
|
|
142
150
|
* Provide this value if you set a `clusterType` of SHARDED or GEOSHARDED. Omit this value if you selected a `clusterType` of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a `numShards` value of 1 and a `clusterType` of SHARDED, Atlas deploys a single-shard [sharded cluster](https://docs.atlas.mongodb.com/reference/glossary/#std-term-sharded-cluster). Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations.
|
|
143
|
-
* If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see [Convert a replica set to a sharded cluster documentation](https://www.mongodb.com/docs/atlas/scale-cluster/#convert-a-replica-set-to-a-sharded-cluster) and [Convert a replica set to a sharded cluster tutorial](https://www.mongodb.com/docs/upcoming/tutorial/convert-replica-set-to-replicated-shard-cluster).
|
|
151
|
+
* If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see [Convert a replica set to a sharded cluster documentation](https://www.mongodb.com/docs/atlas/scale-cluster/#convert-a-replica-set-to-a-sharded-cluster) and [Convert a replica set to a sharded cluster tutorial](https://www.mongodb.com/docs/upcoming/tutorial/convert-replica-set-to-replicated-shard-cluster). **(DEPRECATED)** To learn more, see the 1.18.0 Upgrade Guide.
|
|
152
|
+
*
|
|
153
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
144
154
|
*/
|
|
145
155
|
numShards?: pulumi.Input<number>;
|
|
146
156
|
/**
|
|
147
157
|
* Configuration for the hardware specifications for nodes set for a given regionEach `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. See below
|
|
148
158
|
*/
|
|
149
159
|
regionConfigs: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfig>[]>;
|
|
160
|
+
/**
|
|
161
|
+
* Unique 24-hexadecimal digit string that identifies the zone in a Global Cluster. If clusterType is GEOSHARDED, this value indicates the zone that the given shard belongs to and can be used to configure Global Cluster backup policies.
|
|
162
|
+
*/
|
|
163
|
+
zoneId?: pulumi.Input<string>;
|
|
150
164
|
/**
|
|
151
165
|
* Name for the zone in a Global Cluster.
|
|
152
166
|
*/
|
|
@@ -154,7 +168,7 @@ export interface AdvancedClusterReplicationSpec {
|
|
|
154
168
|
}
|
|
155
169
|
export interface AdvancedClusterReplicationSpecRegionConfig {
|
|
156
170
|
/**
|
|
157
|
-
* Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the `analyticsAutoScaling` parameter must be the same for
|
|
171
|
+
* Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the `analyticsAutoScaling` parameter must be the same for all `regionConfigs` in all `replicationSpecs`. See below
|
|
158
172
|
*/
|
|
159
173
|
analyticsAutoScaling?: pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling>;
|
|
160
174
|
/**
|
|
@@ -162,7 +176,7 @@ export interface AdvancedClusterReplicationSpecRegionConfig {
|
|
|
162
176
|
*/
|
|
163
177
|
analyticsSpecs?: pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs>;
|
|
164
178
|
/**
|
|
165
|
-
* Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the `autoScaling` parameter must be the same for
|
|
179
|
+
* Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the `autoScaling` parameter must be the same for all `regionConfigs` in all `replicationSpecs`. See below
|
|
166
180
|
*/
|
|
167
181
|
autoScaling?: pulumi.Input<inputs.AdvancedClusterReplicationSpecRegionConfigAutoScaling>;
|
|
168
182
|
/**
|
|
@@ -219,9 +233,13 @@ export interface AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
|
|
|
219
233
|
}
|
|
220
234
|
export interface AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs {
|
|
221
235
|
/**
|
|
222
|
-
* Target
|
|
236
|
+
* Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware. Define this attribute only if you selected AWS as your cloud service provider, `instanceSize` is set to "M30" or greater (not including "Mxx_NVME" tiers), and `ebsVolumeType` is "PROVISIONED". You can't set this attribute for a multi-cloud cluster.
|
|
223
237
|
*/
|
|
224
238
|
diskIops?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* Storage capacity that the host's root volume possesses expressed in gigabytes. This value must be equal for all shards and node types. If disk size specified is below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. **Note:** Using `diskSizeGb` with Standard IOPS could lead to errors and configuration issues. Therefore, it should be used only with the Provisioned IOPS volume type. When using Provisioned IOPS, the diskSizeGb parameter specifies the storage capacity, but the IOPS are set independently. Ensuring that `diskSizeGb` is used exclusively with Provisioned IOPS will help avoid these issues.
|
|
241
|
+
*/
|
|
242
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
225
243
|
/**
|
|
226
244
|
* Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:
|
|
227
245
|
* * `STANDARD` volume types can't exceed the default IOPS rate for the selected volume size.
|
|
@@ -229,7 +247,7 @@ export interface AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs {
|
|
|
229
247
|
*/
|
|
230
248
|
ebsVolumeType?: pulumi.Input<string>;
|
|
231
249
|
/**
|
|
232
|
-
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
|
|
250
|
+
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards.
|
|
233
251
|
*/
|
|
234
252
|
instanceSize: pulumi.Input<string>;
|
|
235
253
|
/**
|
|
@@ -255,9 +273,13 @@ export interface AdvancedClusterReplicationSpecRegionConfigAutoScaling {
|
|
|
255
273
|
}
|
|
256
274
|
export interface AdvancedClusterReplicationSpecRegionConfigElectableSpecs {
|
|
257
275
|
/**
|
|
258
|
-
* Target
|
|
276
|
+
* Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware. Define this attribute only if you selected AWS as your cloud service provider, `instanceSize` is set to "M30" or greater (not including "Mxx_NVME" tiers), and `ebsVolumeType` is "PROVISIONED". You can't set this attribute for a multi-cloud cluster.
|
|
259
277
|
*/
|
|
260
278
|
diskIops?: pulumi.Input<number>;
|
|
279
|
+
/**
|
|
280
|
+
* Storage capacity that the host's root volume possesses expressed in gigabytes. This value must be equal for all shards and node types. If disk size specified is below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. **Note:** Using `diskSizeGb` with Standard IOPS could lead to errors and configuration issues. Therefore, it should be used only with the Provisioned IOPS volume type. When using Provisioned IOPS, the diskSizeGb parameter specifies the storage capacity, but the IOPS are set independently. Ensuring that `diskSizeGb` is used exclusively with Provisioned IOPS will help avoid these issues.
|
|
281
|
+
*/
|
|
282
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
261
283
|
/**
|
|
262
284
|
* Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:
|
|
263
285
|
* * `STANDARD` volume types can't exceed the default IOPS rate for the selected volume size.
|
|
@@ -265,7 +287,7 @@ export interface AdvancedClusterReplicationSpecRegionConfigElectableSpecs {
|
|
|
265
287
|
*/
|
|
266
288
|
ebsVolumeType?: pulumi.Input<string>;
|
|
267
289
|
/**
|
|
268
|
-
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
|
|
290
|
+
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards.
|
|
269
291
|
*/
|
|
270
292
|
instanceSize: pulumi.Input<string>;
|
|
271
293
|
/**
|
|
@@ -275,9 +297,13 @@ export interface AdvancedClusterReplicationSpecRegionConfigElectableSpecs {
|
|
|
275
297
|
}
|
|
276
298
|
export interface AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs {
|
|
277
299
|
/**
|
|
278
|
-
* Target
|
|
300
|
+
* Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware. Define this attribute only if you selected AWS as your cloud service provider, `instanceSize` is set to "M30" or greater (not including "Mxx_NVME" tiers), and `ebsVolumeType` is "PROVISIONED". You can't set this attribute for a multi-cloud cluster. This parameter defaults to the cluster tier's standard IOPS value.
|
|
279
301
|
*/
|
|
280
302
|
diskIops?: pulumi.Input<number>;
|
|
303
|
+
/**
|
|
304
|
+
* Storage capacity that the host's root volume possesses expressed in gigabytes. This value must be equal for all shards and node types. If disk size specified is below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. **Note:** Using `diskSizeGb` with Standard IOPS could lead to errors and configuration issues. Therefore, it should be used only with the Provisioned IOPS volume type. When using Provisioned IOPS, the diskSizeGb parameter specifies the storage capacity, but the IOPS are set independently. Ensuring that `diskSizeGb` is used exclusively with Provisioned IOPS will help avoid these issues.
|
|
305
|
+
*/
|
|
306
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
281
307
|
/**
|
|
282
308
|
* Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:
|
|
283
309
|
* * `STANDARD` volume types can't exceed the default IOPS rate for the selected volume size.
|
|
@@ -285,7 +311,7 @@ export interface AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs {
|
|
|
285
311
|
*/
|
|
286
312
|
ebsVolumeType?: pulumi.Input<string>;
|
|
287
313
|
/**
|
|
288
|
-
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
|
|
314
|
+
* Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards.
|
|
289
315
|
*/
|
|
290
316
|
instanceSize: pulumi.Input<string>;
|
|
291
317
|
/**
|
|
@@ -623,13 +649,19 @@ export interface CloudBackupScheduleCopySetting {
|
|
|
623
649
|
*/
|
|
624
650
|
regionName?: pulumi.Input<string>;
|
|
625
651
|
/**
|
|
626
|
-
* Unique 24-hexadecimal digit string that identifies the replication object for a zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster. To find the Replication Spec Id, consult the replicationSpecs array returned from [Return One Multi-Cloud Cluster in One Project](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster).
|
|
652
|
+
* Unique 24-hexadecimal digit string that identifies the replication object for a zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster. To find the Replication Spec Id, consult the replicationSpecs array returned from [Return One Multi-Cloud Cluster in One Project](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster). **(DEPRECATED)** Use `zoneId` instead. To learn more, see the 1.18.0 upgrade guide.
|
|
653
|
+
*
|
|
654
|
+
* @deprecated This parameter is deprecated. Please transition to `copy_settings.#.zone_id`. To learn more, see our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
627
655
|
*/
|
|
628
656
|
replicationSpecId?: pulumi.Input<string>;
|
|
629
657
|
/**
|
|
630
658
|
* Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
|
|
631
659
|
*/
|
|
632
660
|
shouldCopyOplogs?: pulumi.Input<boolean>;
|
|
661
|
+
/**
|
|
662
|
+
* Unique 24-hexadecimal digit string that identifies the zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster. To find appropriate value for `zoneId`, do a GET request to Return One Cluster from One Project and consult the replicationSpecs array Return One Cluster From One Project. Alternately, use `mongodbatlas.AdvancedCluster` data source or resource and reference `replication_specs.#.zone_id`.
|
|
663
|
+
*/
|
|
664
|
+
zoneId?: pulumi.Input<string>;
|
|
633
665
|
}
|
|
634
666
|
export interface CloudBackupScheduleExport {
|
|
635
667
|
/**
|
|
@@ -827,6 +859,8 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
827
859
|
export interface ClusterAdvancedConfiguration {
|
|
828
860
|
/**
|
|
829
861
|
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
862
|
+
*
|
|
863
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
830
864
|
*/
|
|
831
865
|
defaultReadConcern?: pulumi.Input<string>;
|
|
832
866
|
/**
|
|
@@ -835,6 +869,8 @@ export interface ClusterAdvancedConfiguration {
|
|
|
835
869
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
836
870
|
/**
|
|
837
871
|
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
872
|
+
*
|
|
873
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
|
|
838
874
|
*/
|
|
839
875
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
840
876
|
/**
|
|
@@ -1790,12 +1826,6 @@ export interface PrivateLinkEndpointServiceEndpoint {
|
|
|
1790
1826
|
* Private IP address of the endpoint you created in GCP.
|
|
1791
1827
|
*/
|
|
1792
1828
|
ipAddress?: pulumi.Input<string>;
|
|
1793
|
-
/**
|
|
1794
|
-
* Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
|
|
1795
|
-
*
|
|
1796
|
-
* @deprecated This parameter is deprecated and will be removed in version 1.18.0.
|
|
1797
|
-
*/
|
|
1798
|
-
serviceAttachmentName?: pulumi.Input<string>;
|
|
1799
1829
|
/**
|
|
1800
1830
|
* Status of the endpoint. Atlas returns one of the [values shown above](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/#std-label-ref-status-field).
|
|
1801
1831
|
*/
|