@pulumi/mongodbatlas 3.1.0-alpha.1637768803 → 3.1.2
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/README.md +1 -1
- package/alertConfiguration.d.ts +21 -21
- package/alertConfiguration.js +27 -26
- package/alertConfiguration.js.map +1 -1
- package/auditing.d.ts +9 -9
- package/auditing.js +13 -12
- package/auditing.js.map +1 -1
- package/cloudBackupSchedule.d.ts +23 -23
- package/cloudBackupSchedule.js +29 -28
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudProviderAccess.d.ts +12 -12
- package/cloudProviderAccess.js +21 -20
- package/cloudProviderAccess.js.map +1 -1
- package/cloudProviderAccessAuthorization.d.ts +8 -8
- package/cloudProviderAccessAuthorization.js +13 -12
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +8 -8
- package/cloudProviderAccessSetup.js +15 -14
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +32 -17
- package/cloudProviderSnapshot.js +34 -28
- package/cloudProviderSnapshot.js.map +1 -1
- package/cloudProviderSnapshotBackupPolicy.d.ts +16 -16
- package/cloudProviderSnapshotBackupPolicy.js +21 -20
- package/cloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/cloudProviderSnapshotRestoreJob.d.ts +20 -18
- package/cloudProviderSnapshotRestoreJob.js +31 -28
- package/cloudProviderSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +75 -75
- package/cluster.js +87 -86
- package/cluster.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +4 -4
- package/config/vars.js +25 -17
- package/config/vars.js.map +1 -1
- package/customDbRole.d.ts +9 -9
- package/customDbRole.js +12 -11
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +4 -4
- package/customDnsConfigurationClusterAws.js +7 -6
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLake.d.ts +12 -12
- package/dataLake.js +19 -18
- package/dataLake.js.map +1 -1
- package/databaseUser.d.ts +22 -22
- package/databaseUser.js +25 -24
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +14 -14
- package/encryptionAtRest.js +17 -16
- package/encryptionAtRest.js.map +1 -1
- package/eventTrigger.d.ts +39 -39
- package/eventTrigger.js +45 -44
- package/eventTrigger.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +20 -6
- package/get509AuthenticationDatabaseUser.js +9 -4
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAlertConfiguration.d.ts +16 -2
- package/getAlertConfiguration.js +5 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAuditing.d.ts +11 -1
- package/getAuditing.js +5 -0
- package/getAuditing.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +16 -2
- package/getCloudBackupSchedule.js +5 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudProviderAccess.d.ts +14 -4
- package/getCloudProviderAccess.js +8 -3
- package/getCloudProviderAccess.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +26 -8
- package/getCloudProviderAccessSetup.js +10 -5
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCloudProviderSnapshot.d.ts +20 -3
- package/getCloudProviderSnapshot.js +7 -0
- package/getCloudProviderSnapshot.js.map +1 -1
- package/getCloudProviderSnapshotBackupPolicy.d.ts +16 -2
- package/getCloudProviderSnapshotBackupPolicy.js +5 -0
- package/getCloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +23 -3
- package/getCloudProviderSnapshotRestoreJob.js +7 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +29 -5
- package/getCloudProviderSnapshotRestoreJobs.js +8 -1
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderSnapshots.d.ts +45 -4
- package/getCloudProviderSnapshots.js +27 -0
- package/getCloudProviderSnapshots.js.map +1 -1
- package/getCluster.d.ts +16 -2
- package/getCluster.js +5 -0
- package/getCluster.js.map +1 -1
- package/getClusters.d.ts +14 -4
- package/getClusters.js +8 -3
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +22 -7
- package/getCustomDbRole.js +9 -4
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +11 -1
- package/getCustomDbRoles.js +5 -0
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +11 -1
- package/getCustomDnsConfigurationClusterAws.js +5 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDataLake.d.ts +16 -2
- package/getDataLake.js +5 -0
- package/getDataLake.js.map +1 -1
- package/getDataLakes.d.ts +12 -2
- package/getDataLakes.js +6 -1
- package/getDataLakes.js.map +1 -1
- package/getDatabaseUser.d.ts +28 -4
- package/getDatabaseUser.js +5 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -4
- package/getDatabaseUsers.js +8 -3
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +21 -3
- package/getEventTrigger.js +5 -0
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +16 -2
- package/getEventTriggers.js +5 -0
- package/getEventTriggers.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +19 -3
- package/getGlobalClusterConfig.js +5 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +11 -1
- package/getLdapConfiguration.js +5 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +16 -2
- package/getLdapVerify.js +5 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +11 -1
- package/getMaintenanceWindow.js +5 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +16 -2
- package/getNetworkContainer.js +5 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +17 -3
- package/getNetworkContainers.js +6 -1
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +16 -2
- package/getNetworkPeering.js +5 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +14 -4
- package/getNetworkPeerings.js +8 -3
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +21 -3
- package/getOnlineArchive.js +5 -0
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +16 -2
- package/getOnlineArchives.js +5 -0
- package/getOnlineArchives.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +35 -5
- package/getPrivateLinkEndpoint.js +5 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +36 -4
- package/getPrivateLinkEndpointService.js +5 -0
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getProject.d.ts +17 -3
- package/getProject.js +6 -1
- package/getProject.js.map +1 -1
- package/getProjectIpAccessList.d.ts +26 -4
- package/getProjectIpAccessList.js +5 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +17 -3
- package/getProjects.js +6 -1
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +76 -17
- package/getSearchIndex.js +6 -1
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +37 -7
- package/getSearchIndexes.js +6 -1
- package/getSearchIndexes.js.map +1 -1
- package/getTeam.d.ts +21 -3
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +12 -3
- package/getTeams.js +5 -0
- package/getTeams.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +41 -2
- package/getThirdPartyIntegration.js +23 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +34 -1
- package/getThirdPartyIntegrations.js +28 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/globalClusterConfig.d.ts +9 -9
- package/globalClusterConfig.js +13 -12
- package/globalClusterConfig.js.map +1 -1
- package/index.js +88 -80
- package/index.js.map +1 -1
- package/ldapConfiguration.d.ts +20 -20
- package/ldapConfiguration.js +23 -22
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +18 -18
- package/ldapVerify.js +25 -24
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +15 -15
- package/maintenanceWindow.js +19 -18
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +19 -19
- package/networkContainer.js +29 -28
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +40 -40
- package/networkPeering.js +51 -50
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +18 -18
- package/onlineArchive.js +23 -22
- package/onlineArchive.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/privateIpMode.d.ts +4 -4
- package/privateIpMode.js +7 -6
- package/privateIpMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +50 -26
- package/privateLinkEndpoint.js +31 -24
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +162 -23
- package/privateLinkEndpointService.js +131 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +22 -10
- package/project.js +17 -14
- package/project.js.map +1 -1
- package/projectIpAccessList.d.ts +10 -10
- package/projectIpAccessList.js +13 -12
- package/projectIpAccessList.js.map +1 -1
- package/provider.d.ts +20 -4
- package/provider.js +7 -6
- package/provider.js.map +1 -1
- package/searchIndex.d.ts +129 -38
- package/searchIndex.js +98 -26
- package/searchIndex.js.map +1 -1
- package/team.d.ts +7 -7
- package/team.js +11 -10
- package/team.js.map +1 -1
- package/teams.d.ts +7 -7
- package/teams.js +11 -10
- package/teams.js.map +1 -1
- package/thirdPartyIntegration.d.ts +34 -34
- package/thirdPartyIntegration.js +37 -36
- package/thirdPartyIntegration.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +67 -0
- package/types/output.d.ts +85 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/x509authenticationDatabaseUser.d.ts +10 -10
- package/x509authenticationDatabaseUser.js +15 -14
- package/x509authenticationDatabaseUser.js.map +1 -1
package/cluster.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
99
99
|
readonly encryptionAtRestProvider: pulumi.Output<string>;
|
|
100
100
|
readonly labels: pulumi.Output<outputs.ClusterLabel[]>;
|
|
101
101
|
/**
|
|
102
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `
|
|
102
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
|
|
103
103
|
*/
|
|
104
104
|
readonly mongoDbMajorVersion: pulumi.Output<string>;
|
|
105
105
|
/**
|
|
@@ -224,64 +224,64 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
224
224
|
* Input properties used for looking up and filtering Cluster resources.
|
|
225
225
|
*/
|
|
226
226
|
export interface ClusterState {
|
|
227
|
-
|
|
227
|
+
advancedConfiguration?: pulumi.Input<inputs.ClusterAdvancedConfiguration>;
|
|
228
228
|
/**
|
|
229
229
|
* Specifies whether cluster tier auto-scaling is enabled. The default is false.
|
|
230
230
|
* - Set to `true` to enable cluster tier auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
|
|
231
231
|
* - Set to `false` to disable cluster tier auto-scaling.
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
autoScalingComputeEnabled?: pulumi.Input<boolean>;
|
|
234
234
|
/**
|
|
235
235
|
* Set to `true` to enable the cluster tier to scale down. This option is only available if `autoScaling.compute.enabled` is `true`.
|
|
236
236
|
* - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
autoScalingComputeScaleDownEnabled?: pulumi.Input<boolean>;
|
|
239
239
|
/**
|
|
240
240
|
* Specifies whether disk auto-scaling is enabled. The default is true.
|
|
241
241
|
* - Set to `true` to enable disk auto-scaling.
|
|
242
242
|
* - Set to `false` to disable disk auto-scaling.
|
|
243
243
|
*/
|
|
244
|
-
|
|
244
|
+
autoScalingDiskGbEnabled?: pulumi.Input<boolean>;
|
|
245
245
|
/**
|
|
246
246
|
* Cloud service provider on which the server for a multi-tenant cluster is provisioned.
|
|
247
247
|
*/
|
|
248
|
-
|
|
248
|
+
backingProviderName?: pulumi.Input<string>;
|
|
249
249
|
/**
|
|
250
250
|
* Clusters running MongoDB FCV 4.2 or later and any new Atlas clusters of any type do not support this parameter
|
|
251
251
|
*/
|
|
252
|
-
|
|
252
|
+
backupEnabled?: pulumi.Input<boolean>;
|
|
253
253
|
/**
|
|
254
254
|
* Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details. **DEPRECATED** Use `biConnectorConfig` instead.
|
|
255
255
|
*
|
|
256
256
|
* @deprecated use bi_connector_config instead
|
|
257
257
|
*/
|
|
258
|
-
|
|
258
|
+
biConnector?: pulumi.Input<{
|
|
259
259
|
[key: string]: pulumi.Input<string>;
|
|
260
260
|
}>;
|
|
261
261
|
/**
|
|
262
262
|
* Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
|
|
263
263
|
*/
|
|
264
|
-
|
|
264
|
+
biConnectorConfig?: pulumi.Input<inputs.ClusterBiConnectorConfig>;
|
|
265
265
|
/**
|
|
266
266
|
* Flag indicating if the cluster uses Cloud Backup for backups.
|
|
267
267
|
*/
|
|
268
|
-
|
|
268
|
+
cloudBackup?: pulumi.Input<boolean>;
|
|
269
269
|
/**
|
|
270
270
|
* The cluster ID.
|
|
271
271
|
*/
|
|
272
|
-
|
|
272
|
+
clusterId?: pulumi.Input<string>;
|
|
273
273
|
/**
|
|
274
274
|
* Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
clusterType?: pulumi.Input<string>;
|
|
277
277
|
/**
|
|
278
278
|
* Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
|
|
279
279
|
*/
|
|
280
|
-
|
|
280
|
+
connectionStrings?: pulumi.Input<pulumi.Input<inputs.ClusterConnectionString>[]>;
|
|
281
281
|
/**
|
|
282
282
|
* The Network Peering Container ID. The id of the container either created programmatically by the user before any clusters existed in the project or when the first cluster in the region (AWS/Azure) or project (GCP) was created.
|
|
283
283
|
*/
|
|
284
|
-
|
|
284
|
+
containerId?: pulumi.Input<string>;
|
|
285
285
|
/**
|
|
286
286
|
* Capacity, in gigabytes, of the host’s root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
|
|
287
287
|
* * The minimum disk size for dedicated clusters is 10GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value.
|
|
@@ -289,115 +289,115 @@ export interface ClusterState {
|
|
|
289
289
|
* * Cannot be used with clusters with local NVMe SSDs
|
|
290
290
|
* * Cannot be used with Azure clusters
|
|
291
291
|
*/
|
|
292
|
-
|
|
292
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
293
293
|
/**
|
|
294
294
|
* Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see [Encryption at Rest using Customer Key Management](https://docs.atlas.mongodb.com/security-aws-kms/) for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For complete documentation on configuring Encryption at Rest, see Encryption at Rest using Customer Key Management. Requires M10 or greater. and for legacy backups, backup_enabled, to be false or omitted. **Note: Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default**.
|
|
295
295
|
*/
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
encryptionAtRestProvider?: pulumi.Input<string>;
|
|
297
|
+
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
298
298
|
/**
|
|
299
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `
|
|
299
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
|
|
300
300
|
*/
|
|
301
|
-
|
|
301
|
+
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
302
302
|
/**
|
|
303
303
|
* Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
|
|
304
304
|
*/
|
|
305
|
-
|
|
305
|
+
mongoDbVersion?: pulumi.Input<string>;
|
|
306
306
|
/**
|
|
307
307
|
* Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
|
|
308
308
|
*/
|
|
309
|
-
|
|
309
|
+
mongoUri?: pulumi.Input<string>;
|
|
310
310
|
/**
|
|
311
311
|
* Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
|
|
312
312
|
*/
|
|
313
|
-
|
|
313
|
+
mongoUriUpdated?: pulumi.Input<string>;
|
|
314
314
|
/**
|
|
315
315
|
* connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
mongoUriWithOptions?: pulumi.Input<string>;
|
|
318
318
|
/**
|
|
319
319
|
* Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
|
|
320
320
|
*/
|
|
321
|
-
|
|
321
|
+
name?: pulumi.Input<string>;
|
|
322
322
|
/**
|
|
323
323
|
* Number of shards to deploy in the specified zone, minimum 1.
|
|
324
324
|
*/
|
|
325
|
-
|
|
325
|
+
numShards?: pulumi.Input<number>;
|
|
326
326
|
/**
|
|
327
327
|
* Flag that indicates whether the cluster is paused or not.
|
|
328
328
|
*/
|
|
329
|
-
|
|
329
|
+
paused?: pulumi.Input<boolean>;
|
|
330
330
|
/**
|
|
331
331
|
* - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
pitEnabled?: pulumi.Input<boolean>;
|
|
334
334
|
/**
|
|
335
335
|
* The unique ID for the project to create the database user.
|
|
336
336
|
*/
|
|
337
|
-
|
|
337
|
+
projectId?: pulumi.Input<string>;
|
|
338
338
|
/**
|
|
339
339
|
* Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.
|
|
340
340
|
*/
|
|
341
|
-
|
|
341
|
+
providerAutoScalingComputeMaxInstanceSize?: pulumi.Input<string>;
|
|
342
342
|
/**
|
|
343
343
|
* Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
|
|
344
344
|
*/
|
|
345
|
-
|
|
345
|
+
providerAutoScalingComputeMinInstanceSize?: pulumi.Input<string>;
|
|
346
346
|
/**
|
|
347
347
|
* Flag indicating if the cluster uses Cloud Backup for backups. **Deprecated** use `cloudBackup` instead.
|
|
348
348
|
*
|
|
349
349
|
* @deprecated This field is deprecated,please use cloud_backup instead
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
providerBackupEnabled?: pulumi.Input<boolean>;
|
|
352
352
|
/**
|
|
353
353
|
* The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `providerInstanceSizeName` and `diskSizeGb`. This setting requires that `providerInstanceSizeName` to be M30 or greater and cannot be used with clusters with local NVMe SSDs. The default value for `providerDiskIops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console. It is used in cases where a higher number of IOPS is needed and possible. If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default. More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
|
|
354
354
|
* * You do not need to configure IOPS for a STANDARD disk configuration but only for a PROVISIONED configuration.
|
|
355
355
|
*/
|
|
356
|
-
|
|
356
|
+
providerDiskIops?: pulumi.Input<number>;
|
|
357
357
|
/**
|
|
358
358
|
* Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName. Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB. More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
|
|
359
359
|
*/
|
|
360
|
-
|
|
360
|
+
providerDiskTypeName?: pulumi.Input<string>;
|
|
361
361
|
/**
|
|
362
362
|
* **(Deprecated) The Flag is always true.** Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
|
|
363
363
|
*
|
|
364
364
|
* @deprecated All EBS volumes are encrypted by default, the option to disable encryption has been removed
|
|
365
365
|
*/
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
providerEncryptEbsVolume?: pulumi.Input<boolean>;
|
|
367
|
+
providerEncryptEbsVolumeFlag?: pulumi.Input<boolean>;
|
|
368
368
|
/**
|
|
369
369
|
* Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/) `providerSettings.instanceSizeName` for valid values and default resources.
|
|
370
370
|
*/
|
|
371
|
-
|
|
371
|
+
providerInstanceSizeName?: pulumi.Input<string>;
|
|
372
372
|
/**
|
|
373
373
|
* Cloud service provider on which the servers are provisioned.
|
|
374
374
|
*/
|
|
375
|
-
|
|
375
|
+
providerName?: pulumi.Input<string>;
|
|
376
376
|
/**
|
|
377
377
|
* Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
378
378
|
* Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
|
|
379
379
|
*/
|
|
380
|
-
|
|
380
|
+
providerRegionName?: pulumi.Input<string>;
|
|
381
381
|
/**
|
|
382
382
|
* The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`. `PROVISIONED` is ONLY required if setting IOPS higher than the default instance IOPS.
|
|
383
383
|
*/
|
|
384
|
-
|
|
384
|
+
providerVolumeType?: pulumi.Input<string>;
|
|
385
385
|
/**
|
|
386
386
|
* Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
|
|
387
387
|
*/
|
|
388
|
-
|
|
388
|
+
replicationFactor?: pulumi.Input<number>;
|
|
389
389
|
/**
|
|
390
390
|
* Configuration for cluster regions. See Replication Spec below for more details.
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
|
|
393
393
|
/**
|
|
394
394
|
* current snapshot schedule and retention settings for the cluster.
|
|
395
395
|
*/
|
|
396
|
-
|
|
396
|
+
snapshotBackupPolicies?: pulumi.Input<pulumi.Input<inputs.ClusterSnapshotBackupPolicy>[]>;
|
|
397
397
|
/**
|
|
398
398
|
* Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
|
|
399
399
|
*/
|
|
400
|
-
|
|
400
|
+
srvAddress?: pulumi.Input<string>;
|
|
401
401
|
/**
|
|
402
402
|
* Current state of the cluster. The possible states are:
|
|
403
403
|
* - IDLE
|
|
@@ -407,58 +407,58 @@ export interface ClusterState {
|
|
|
407
407
|
* - DELETED
|
|
408
408
|
* - REPAIRING
|
|
409
409
|
*/
|
|
410
|
-
|
|
410
|
+
stateName?: pulumi.Input<string>;
|
|
411
411
|
}
|
|
412
412
|
/**
|
|
413
413
|
* The set of arguments for constructing a Cluster resource.
|
|
414
414
|
*/
|
|
415
415
|
export interface ClusterArgs {
|
|
416
|
-
|
|
416
|
+
advancedConfiguration?: pulumi.Input<inputs.ClusterAdvancedConfiguration>;
|
|
417
417
|
/**
|
|
418
418
|
* Specifies whether cluster tier auto-scaling is enabled. The default is false.
|
|
419
419
|
* - Set to `true` to enable cluster tier auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
|
|
420
420
|
* - Set to `false` to disable cluster tier auto-scaling.
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
autoScalingComputeEnabled?: pulumi.Input<boolean>;
|
|
423
423
|
/**
|
|
424
424
|
* Set to `true` to enable the cluster tier to scale down. This option is only available if `autoScaling.compute.enabled` is `true`.
|
|
425
425
|
* - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
|
|
426
426
|
*/
|
|
427
|
-
|
|
427
|
+
autoScalingComputeScaleDownEnabled?: pulumi.Input<boolean>;
|
|
428
428
|
/**
|
|
429
429
|
* Specifies whether disk auto-scaling is enabled. The default is true.
|
|
430
430
|
* - Set to `true` to enable disk auto-scaling.
|
|
431
431
|
* - Set to `false` to disable disk auto-scaling.
|
|
432
432
|
*/
|
|
433
|
-
|
|
433
|
+
autoScalingDiskGbEnabled?: pulumi.Input<boolean>;
|
|
434
434
|
/**
|
|
435
435
|
* Cloud service provider on which the server for a multi-tenant cluster is provisioned.
|
|
436
436
|
*/
|
|
437
|
-
|
|
437
|
+
backingProviderName?: pulumi.Input<string>;
|
|
438
438
|
/**
|
|
439
439
|
* Clusters running MongoDB FCV 4.2 or later and any new Atlas clusters of any type do not support this parameter
|
|
440
440
|
*/
|
|
441
|
-
|
|
441
|
+
backupEnabled?: pulumi.Input<boolean>;
|
|
442
442
|
/**
|
|
443
443
|
* Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details. **DEPRECATED** Use `biConnectorConfig` instead.
|
|
444
444
|
*
|
|
445
445
|
* @deprecated use bi_connector_config instead
|
|
446
446
|
*/
|
|
447
|
-
|
|
447
|
+
biConnector?: pulumi.Input<{
|
|
448
448
|
[key: string]: pulumi.Input<string>;
|
|
449
449
|
}>;
|
|
450
450
|
/**
|
|
451
451
|
* Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
|
|
452
452
|
*/
|
|
453
|
-
|
|
453
|
+
biConnectorConfig?: pulumi.Input<inputs.ClusterBiConnectorConfig>;
|
|
454
454
|
/**
|
|
455
455
|
* Flag indicating if the cluster uses Cloud Backup for backups.
|
|
456
456
|
*/
|
|
457
|
-
|
|
457
|
+
cloudBackup?: pulumi.Input<boolean>;
|
|
458
458
|
/**
|
|
459
459
|
* Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
|
|
460
460
|
*/
|
|
461
|
-
|
|
461
|
+
clusterType?: pulumi.Input<string>;
|
|
462
462
|
/**
|
|
463
463
|
* Capacity, in gigabytes, of the host’s root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
|
|
464
464
|
* * The minimum disk size for dedicated clusters is 10GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value.
|
|
@@ -466,84 +466,84 @@ export interface ClusterArgs {
|
|
|
466
466
|
* * Cannot be used with clusters with local NVMe SSDs
|
|
467
467
|
* * Cannot be used with Azure clusters
|
|
468
468
|
*/
|
|
469
|
-
|
|
469
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
470
470
|
/**
|
|
471
471
|
* Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see [Encryption at Rest using Customer Key Management](https://docs.atlas.mongodb.com/security-aws-kms/) for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For complete documentation on configuring Encryption at Rest, see Encryption at Rest using Customer Key Management. Requires M10 or greater. and for legacy backups, backup_enabled, to be false or omitted. **Note: Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default**.
|
|
472
472
|
*/
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
encryptionAtRestProvider?: pulumi.Input<string>;
|
|
474
|
+
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
475
475
|
/**
|
|
476
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `
|
|
476
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
|
|
477
477
|
*/
|
|
478
|
-
|
|
478
|
+
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
479
479
|
/**
|
|
480
480
|
* Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
|
|
481
481
|
*/
|
|
482
|
-
|
|
482
|
+
name?: pulumi.Input<string>;
|
|
483
483
|
/**
|
|
484
484
|
* Number of shards to deploy in the specified zone, minimum 1.
|
|
485
485
|
*/
|
|
486
|
-
|
|
486
|
+
numShards?: pulumi.Input<number>;
|
|
487
487
|
/**
|
|
488
488
|
* - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
489
489
|
*/
|
|
490
|
-
|
|
490
|
+
pitEnabled?: pulumi.Input<boolean>;
|
|
491
491
|
/**
|
|
492
492
|
* The unique ID for the project to create the database user.
|
|
493
493
|
*/
|
|
494
|
-
|
|
494
|
+
projectId: pulumi.Input<string>;
|
|
495
495
|
/**
|
|
496
496
|
* Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.
|
|
497
497
|
*/
|
|
498
|
-
|
|
498
|
+
providerAutoScalingComputeMaxInstanceSize?: pulumi.Input<string>;
|
|
499
499
|
/**
|
|
500
500
|
* Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
|
|
501
501
|
*/
|
|
502
|
-
|
|
502
|
+
providerAutoScalingComputeMinInstanceSize?: pulumi.Input<string>;
|
|
503
503
|
/**
|
|
504
504
|
* Flag indicating if the cluster uses Cloud Backup for backups. **Deprecated** use `cloudBackup` instead.
|
|
505
505
|
*
|
|
506
506
|
* @deprecated This field is deprecated,please use cloud_backup instead
|
|
507
507
|
*/
|
|
508
|
-
|
|
508
|
+
providerBackupEnabled?: pulumi.Input<boolean>;
|
|
509
509
|
/**
|
|
510
510
|
* The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `providerInstanceSizeName` and `diskSizeGb`. This setting requires that `providerInstanceSizeName` to be M30 or greater and cannot be used with clusters with local NVMe SSDs. The default value for `providerDiskIops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console. It is used in cases where a higher number of IOPS is needed and possible. If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default. More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
|
|
511
511
|
* * You do not need to configure IOPS for a STANDARD disk configuration but only for a PROVISIONED configuration.
|
|
512
512
|
*/
|
|
513
|
-
|
|
513
|
+
providerDiskIops?: pulumi.Input<number>;
|
|
514
514
|
/**
|
|
515
515
|
* Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName. Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB. More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
|
|
516
516
|
*/
|
|
517
|
-
|
|
517
|
+
providerDiskTypeName?: pulumi.Input<string>;
|
|
518
518
|
/**
|
|
519
519
|
* **(Deprecated) The Flag is always true.** Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
|
|
520
520
|
*
|
|
521
521
|
* @deprecated All EBS volumes are encrypted by default, the option to disable encryption has been removed
|
|
522
522
|
*/
|
|
523
|
-
|
|
523
|
+
providerEncryptEbsVolume?: pulumi.Input<boolean>;
|
|
524
524
|
/**
|
|
525
525
|
* Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/) `providerSettings.instanceSizeName` for valid values and default resources.
|
|
526
526
|
*/
|
|
527
|
-
|
|
527
|
+
providerInstanceSizeName: pulumi.Input<string>;
|
|
528
528
|
/**
|
|
529
529
|
* Cloud service provider on which the servers are provisioned.
|
|
530
530
|
*/
|
|
531
|
-
|
|
531
|
+
providerName: pulumi.Input<string>;
|
|
532
532
|
/**
|
|
533
533
|
* Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
|
|
534
534
|
* Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
|
|
535
535
|
*/
|
|
536
|
-
|
|
536
|
+
providerRegionName?: pulumi.Input<string>;
|
|
537
537
|
/**
|
|
538
538
|
* The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`. `PROVISIONED` is ONLY required if setting IOPS higher than the default instance IOPS.
|
|
539
539
|
*/
|
|
540
|
-
|
|
540
|
+
providerVolumeType?: pulumi.Input<string>;
|
|
541
541
|
/**
|
|
542
542
|
* Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
|
|
543
543
|
*/
|
|
544
|
-
|
|
544
|
+
replicationFactor?: pulumi.Input<number>;
|
|
545
545
|
/**
|
|
546
546
|
* Configuration for cluster regions. See Replication Spec below for more details.
|
|
547
547
|
*/
|
|
548
|
-
|
|
548
|
+
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
|
|
549
549
|
}
|
package/cluster.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Cluster = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,52 +18,52 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*/
|
|
18
19
|
class Cluster extends pulumi.CustomResource {
|
|
19
20
|
constructor(name, argsOrState, opts) {
|
|
20
|
-
let
|
|
21
|
+
let resourceInputs = {};
|
|
21
22
|
opts = opts || {};
|
|
22
23
|
if (opts.id) {
|
|
23
24
|
const state = argsOrState;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
25
|
+
resourceInputs["advancedConfiguration"] = state ? state.advancedConfiguration : undefined;
|
|
26
|
+
resourceInputs["autoScalingComputeEnabled"] = state ? state.autoScalingComputeEnabled : undefined;
|
|
27
|
+
resourceInputs["autoScalingComputeScaleDownEnabled"] = state ? state.autoScalingComputeScaleDownEnabled : undefined;
|
|
28
|
+
resourceInputs["autoScalingDiskGbEnabled"] = state ? state.autoScalingDiskGbEnabled : undefined;
|
|
29
|
+
resourceInputs["backingProviderName"] = state ? state.backingProviderName : undefined;
|
|
30
|
+
resourceInputs["backupEnabled"] = state ? state.backupEnabled : undefined;
|
|
31
|
+
resourceInputs["biConnector"] = state ? state.biConnector : undefined;
|
|
32
|
+
resourceInputs["biConnectorConfig"] = state ? state.biConnectorConfig : undefined;
|
|
33
|
+
resourceInputs["cloudBackup"] = state ? state.cloudBackup : undefined;
|
|
34
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
35
|
+
resourceInputs["clusterType"] = state ? state.clusterType : undefined;
|
|
36
|
+
resourceInputs["connectionStrings"] = state ? state.connectionStrings : undefined;
|
|
37
|
+
resourceInputs["containerId"] = state ? state.containerId : undefined;
|
|
38
|
+
resourceInputs["diskSizeGb"] = state ? state.diskSizeGb : undefined;
|
|
39
|
+
resourceInputs["encryptionAtRestProvider"] = state ? state.encryptionAtRestProvider : undefined;
|
|
40
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
41
|
+
resourceInputs["mongoDbMajorVersion"] = state ? state.mongoDbMajorVersion : undefined;
|
|
42
|
+
resourceInputs["mongoDbVersion"] = state ? state.mongoDbVersion : undefined;
|
|
43
|
+
resourceInputs["mongoUri"] = state ? state.mongoUri : undefined;
|
|
44
|
+
resourceInputs["mongoUriUpdated"] = state ? state.mongoUriUpdated : undefined;
|
|
45
|
+
resourceInputs["mongoUriWithOptions"] = state ? state.mongoUriWithOptions : undefined;
|
|
46
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
47
|
+
resourceInputs["numShards"] = state ? state.numShards : undefined;
|
|
48
|
+
resourceInputs["paused"] = state ? state.paused : undefined;
|
|
49
|
+
resourceInputs["pitEnabled"] = state ? state.pitEnabled : undefined;
|
|
50
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
51
|
+
resourceInputs["providerAutoScalingComputeMaxInstanceSize"] = state ? state.providerAutoScalingComputeMaxInstanceSize : undefined;
|
|
52
|
+
resourceInputs["providerAutoScalingComputeMinInstanceSize"] = state ? state.providerAutoScalingComputeMinInstanceSize : undefined;
|
|
53
|
+
resourceInputs["providerBackupEnabled"] = state ? state.providerBackupEnabled : undefined;
|
|
54
|
+
resourceInputs["providerDiskIops"] = state ? state.providerDiskIops : undefined;
|
|
55
|
+
resourceInputs["providerDiskTypeName"] = state ? state.providerDiskTypeName : undefined;
|
|
56
|
+
resourceInputs["providerEncryptEbsVolume"] = state ? state.providerEncryptEbsVolume : undefined;
|
|
57
|
+
resourceInputs["providerEncryptEbsVolumeFlag"] = state ? state.providerEncryptEbsVolumeFlag : undefined;
|
|
58
|
+
resourceInputs["providerInstanceSizeName"] = state ? state.providerInstanceSizeName : undefined;
|
|
59
|
+
resourceInputs["providerName"] = state ? state.providerName : undefined;
|
|
60
|
+
resourceInputs["providerRegionName"] = state ? state.providerRegionName : undefined;
|
|
61
|
+
resourceInputs["providerVolumeType"] = state ? state.providerVolumeType : undefined;
|
|
62
|
+
resourceInputs["replicationFactor"] = state ? state.replicationFactor : undefined;
|
|
63
|
+
resourceInputs["replicationSpecs"] = state ? state.replicationSpecs : undefined;
|
|
64
|
+
resourceInputs["snapshotBackupPolicies"] = state ? state.snapshotBackupPolicies : undefined;
|
|
65
|
+
resourceInputs["srvAddress"] = state ? state.srvAddress : undefined;
|
|
66
|
+
resourceInputs["stateName"] = state ? state.stateName : undefined;
|
|
66
67
|
}
|
|
67
68
|
else {
|
|
68
69
|
const args = argsOrState;
|
|
@@ -75,53 +76,53 @@ class Cluster extends pulumi.CustomResource {
|
|
|
75
76
|
if ((!args || args.providerName === undefined) && !opts.urn) {
|
|
76
77
|
throw new Error("Missing required property 'providerName'");
|
|
77
78
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
79
|
+
resourceInputs["advancedConfiguration"] = args ? args.advancedConfiguration : undefined;
|
|
80
|
+
resourceInputs["autoScalingComputeEnabled"] = args ? args.autoScalingComputeEnabled : undefined;
|
|
81
|
+
resourceInputs["autoScalingComputeScaleDownEnabled"] = args ? args.autoScalingComputeScaleDownEnabled : undefined;
|
|
82
|
+
resourceInputs["autoScalingDiskGbEnabled"] = args ? args.autoScalingDiskGbEnabled : undefined;
|
|
83
|
+
resourceInputs["backingProviderName"] = args ? args.backingProviderName : undefined;
|
|
84
|
+
resourceInputs["backupEnabled"] = args ? args.backupEnabled : undefined;
|
|
85
|
+
resourceInputs["biConnector"] = args ? args.biConnector : undefined;
|
|
86
|
+
resourceInputs["biConnectorConfig"] = args ? args.biConnectorConfig : undefined;
|
|
87
|
+
resourceInputs["cloudBackup"] = args ? args.cloudBackup : undefined;
|
|
88
|
+
resourceInputs["clusterType"] = args ? args.clusterType : undefined;
|
|
89
|
+
resourceInputs["diskSizeGb"] = args ? args.diskSizeGb : undefined;
|
|
90
|
+
resourceInputs["encryptionAtRestProvider"] = args ? args.encryptionAtRestProvider : undefined;
|
|
91
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
92
|
+
resourceInputs["mongoDbMajorVersion"] = args ? args.mongoDbMajorVersion : undefined;
|
|
93
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
94
|
+
resourceInputs["numShards"] = args ? args.numShards : undefined;
|
|
95
|
+
resourceInputs["pitEnabled"] = args ? args.pitEnabled : undefined;
|
|
96
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
97
|
+
resourceInputs["providerAutoScalingComputeMaxInstanceSize"] = args ? args.providerAutoScalingComputeMaxInstanceSize : undefined;
|
|
98
|
+
resourceInputs["providerAutoScalingComputeMinInstanceSize"] = args ? args.providerAutoScalingComputeMinInstanceSize : undefined;
|
|
99
|
+
resourceInputs["providerBackupEnabled"] = args ? args.providerBackupEnabled : undefined;
|
|
100
|
+
resourceInputs["providerDiskIops"] = args ? args.providerDiskIops : undefined;
|
|
101
|
+
resourceInputs["providerDiskTypeName"] = args ? args.providerDiskTypeName : undefined;
|
|
102
|
+
resourceInputs["providerEncryptEbsVolume"] = args ? args.providerEncryptEbsVolume : undefined;
|
|
103
|
+
resourceInputs["providerInstanceSizeName"] = args ? args.providerInstanceSizeName : undefined;
|
|
104
|
+
resourceInputs["providerName"] = args ? args.providerName : undefined;
|
|
105
|
+
resourceInputs["providerRegionName"] = args ? args.providerRegionName : undefined;
|
|
106
|
+
resourceInputs["providerVolumeType"] = args ? args.providerVolumeType : undefined;
|
|
107
|
+
resourceInputs["replicationFactor"] = args ? args.replicationFactor : undefined;
|
|
108
|
+
resourceInputs["replicationSpecs"] = args ? args.replicationSpecs : undefined;
|
|
109
|
+
resourceInputs["clusterId"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["connectionStrings"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["containerId"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["mongoDbVersion"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["mongoUri"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["mongoUriUpdated"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["mongoUriWithOptions"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["paused"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["providerEncryptEbsVolumeFlag"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["snapshotBackupPolicies"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["srvAddress"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["stateName"] = undefined /*out*/;
|
|
120
121
|
}
|
|
121
122
|
if (!opts.version) {
|
|
122
123
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
123
124
|
}
|
|
124
|
-
super(Cluster.__pulumiType, name,
|
|
125
|
+
super(Cluster.__pulumiType, name, resourceInputs, opts);
|
|
125
126
|
}
|
|
126
127
|
/**
|
|
127
128
|
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|