@pulumi/mongodbatlas 3.16.4-alpha.1721129487 → 3.16.5
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 +4 -2
- package/advancedCluster.js +4 -2
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +8 -11
- package/alertConfiguration.js +8 -11
- package/alertConfiguration.js.map +1 -1
- package/auditing.d.ts +2 -0
- package/auditing.js +2 -0
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +14 -5
- package/backupCompliancePolicy.js +14 -5
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +17 -6
- package/cloudBackupSnapshot.js +17 -6
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +3 -1
- package/cloudBackupSnapshotExportBucket.js +3 -1
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -1
- package/cloudBackupSnapshotExportJob.js +3 -1
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +46 -20
- package/cloudBackupSnapshotRestoreJob.js +46 -20
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -0
- package/clusterOutageSimulation.js +2 -0
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +2 -0
- package/customDbRole.js +2 -0
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +2 -0
- package/customDnsConfigurationClusterAws.js +2 -0
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLakePipeline.d.ts +2 -0
- package/dataLakePipeline.js +2 -0
- package/dataLakePipeline.js.map +1 -1
- package/databaseUser.d.ts +2 -0
- package/databaseUser.js +2 -0
- package/databaseUser.js.map +1 -1
- package/eventTrigger.d.ts +2 -0
- package/eventTrigger.js +2 -0
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +2 -0
- package/federatedDatabaseInstance.js +2 -0
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -0
- package/federatedQueryLimit.js +2 -0
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +2 -0
- package/federatedSettingsIdentityProvider.js +2 -0
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgConfig.d.ts +2 -0
- package/federatedSettingsOrgConfig.js +2 -0
- package/federatedSettingsOrgConfig.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -0
- package/federatedSettingsOrgRoleMapping.js +2 -0
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +6 -2
- package/get509AuthenticationDatabaseUser.js +6 -2
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAdvancedCluster.d.ts +4 -0
- package/getAdvancedCluster.js +4 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +60 -2
- package/getAdvancedClusters.js +60 -2
- package/getAdvancedClusters.js.map +1 -1
- package/getAlertConfiguration.d.ts +6 -8
- package/getAlertConfiguration.js +6 -8
- package/getAlertConfiguration.js.map +1 -1
- package/getAlertConfigurations.d.ts +4 -0
- package/getAlertConfigurations.js +4 -0
- package/getAlertConfigurations.js.map +1 -1
- package/getAtlasUser.d.ts +4 -0
- package/getAtlasUser.js +4 -0
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +4 -0
- package/getAtlasUsers.js +4 -0
- package/getAtlasUsers.js.map +1 -1
- package/getAuditing.d.ts +4 -0
- package/getAuditing.js +4 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +28 -10
- package/getBackupCompliancePolicy.js +28 -10
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +32 -10
- package/getCloudBackupSchedule.js +32 -10
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +4 -0
- package/getCloudBackupSnapshot.js +4 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +4 -0
- package/getCloudBackupSnapshotExportBucket.js +4 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +4 -0
- package/getCloudBackupSnapshotExportBuckets.js +4 -0
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +4 -0
- package/getCloudBackupSnapshotExportJob.js +4 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +4 -0
- package/getCloudBackupSnapshotExportJobs.js +4 -0
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +4 -0
- package/getCloudBackupSnapshotRestoreJob.js +4 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudBackupSnapshots.d.ts +4 -0
- package/getCloudBackupSnapshots.js +4 -0
- package/getCloudBackupSnapshots.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +4 -0
- package/getCloudProviderAccessSetup.js +4 -0
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCluster.d.ts +4 -0
- package/getCluster.js +4 -0
- package/getCluster.js.map +1 -1
- package/getClusters.d.ts +4 -0
- package/getClusters.js +4 -0
- package/getClusters.js.map +1 -1
- package/getControlPlaneIpAddresses.d.ts +6 -2
- package/getControlPlaneIpAddresses.js +6 -2
- package/getControlPlaneIpAddresses.js.map +1 -1
- package/getCustomDbRole.d.ts +6 -2
- package/getCustomDbRole.js +6 -2
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +6 -2
- package/getCustomDbRoles.js +6 -2
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +4 -0
- package/getCustomDnsConfigurationClusterAws.js +4 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDataLakePipeline.d.ts +4 -0
- package/getDataLakePipeline.js +4 -0
- package/getDataLakePipeline.js.map +1 -1
- package/getDataLakePipelineRun.d.ts +6 -2
- package/getDataLakePipelineRun.js +6 -2
- package/getDataLakePipelineRun.js.map +1 -1
- package/getDataLakePipelineRuns.d.ts +6 -2
- package/getDataLakePipelineRuns.js +6 -2
- package/getDataLakePipelineRuns.js.map +1 -1
- package/getDataLakePipelines.d.ts +4 -0
- package/getDataLakePipelines.js +4 -0
- package/getDataLakePipelines.js.map +1 -1
- package/getDatabaseUser.d.ts +6 -2
- package/getDatabaseUser.js +6 -2
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +6 -2
- package/getDatabaseUsers.js +6 -2
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +6 -2
- package/getEventTrigger.js +6 -2
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +6 -2
- package/getEventTriggers.js +6 -2
- package/getEventTriggers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +4 -0
- package/getFederatedDatabaseInstance.js +4 -0
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedDatabaseInstances.d.ts +4 -0
- package/getFederatedDatabaseInstances.js +4 -0
- package/getFederatedDatabaseInstances.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +2 -2
- package/getFederatedQueryLimit.js +2 -2
- package/getFederatedQueryLimits.d.ts +4 -0
- package/getFederatedQueryLimits.js +4 -0
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +4 -0
- package/getFederatedSettings.js +4 -0
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +4 -0
- package/getFederatedSettingsIdentityProvider.js +4 -0
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -0
- package/getFederatedSettingsIdentityProviders.js +4 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +4 -0
- package/getFederatedSettingsOrgConfig.js +4 -0
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +4 -0
- package/getFederatedSettingsOrgConfigs.js +4 -0
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -0
- package/getFederatedSettingsOrgRoleMapping.js +4 -0
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getFederatedSettingsOrgRoleMappings.d.ts +4 -0
- package/getFederatedSettingsOrgRoleMappings.js +4 -0
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +4 -0
- package/getGlobalClusterConfig.js +4 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +4 -0
- package/getLdapConfiguration.js +4 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +36 -14
- package/getLdapVerify.js +36 -14
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +4 -0
- package/getMaintenanceWindow.js +4 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +4 -0
- package/getNetworkContainer.js +4 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -0
- package/getNetworkContainers.js +4 -0
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +4 -0
- package/getNetworkPeering.js +4 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -0
- package/getNetworkPeerings.js +4 -0
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +4 -0
- package/getOnlineArchive.js +4 -0
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +4 -0
- package/getOnlineArchives.js +4 -0
- package/getOnlineArchives.js.map +1 -1
- package/getOrgInvitation.d.ts +4 -0
- package/getOrgInvitation.js +4 -0
- package/getOrgInvitation.js.map +1 -1
- package/getOrganization.d.ts +6 -2
- package/getOrganization.js +6 -2
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +6 -2
- package/getOrganizations.js +6 -2
- package/getOrganizations.js.map +1 -1
- package/getPrivateEndpointRegionalMode.d.ts +6 -2
- package/getPrivateEndpointRegionalMode.js +6 -2
- package/getPrivateEndpointRegionalMode.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +6 -2
- package/getPrivateLinkEndpoint.js +6 -2
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +6 -2
- package/getPrivateLinkEndpointService.js +6 -2
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +4 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +4 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +4 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +6 -2
- package/getPrivatelinkEndpointServiceServerless.js +6 -2
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +6 -2
- package/getPrivatelinkEndpointsServiceServerless.js +6 -2
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +4 -0
- package/getProject.js +4 -0
- package/getProject.js.map +1 -1
- package/getProjectInvitation.d.ts +4 -0
- package/getProjectInvitation.js +4 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +4 -0
- package/getProjectIpAccessList.js +4 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +6 -2
- package/getProjects.js +6 -2
- package/getProjects.js.map +1 -1
- package/getPushBasedLogExport.d.ts +66 -52
- package/getPushBasedLogExport.js +66 -52
- package/getPushBasedLogExport.js.map +1 -1
- package/getRolesOrgId.d.ts +4 -0
- package/getRolesOrgId.js +4 -0
- package/getRolesOrgId.js.map +1 -1
- package/getSearchDeployment.d.ts +4 -0
- package/getSearchDeployment.js +4 -0
- package/getSearchDeployment.js.map +1 -1
- package/getSearchIndex.d.ts +20 -80
- package/getSearchIndex.js +6 -12
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +6 -2
- package/getSearchIndexes.js +6 -2
- package/getSearchIndexes.js.map +1 -1
- package/getServerlessInstance.d.ts +6 -2
- package/getServerlessInstance.js +6 -2
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +6 -2
- package/getServerlessInstances.js +6 -2
- package/getServerlessInstances.js.map +1 -1
- package/getStreamConnection.d.ts +4 -0
- package/getStreamConnection.js +4 -0
- package/getStreamConnection.js.map +1 -1
- package/getStreamConnections.d.ts +4 -0
- package/getStreamConnections.js +4 -0
- package/getStreamConnections.js.map +1 -1
- package/getStreamInstance.d.ts +4 -0
- package/getStreamInstance.js +4 -0
- package/getStreamInstance.js.map +1 -1
- package/getStreamInstances.d.ts +4 -0
- package/getStreamInstances.js +4 -0
- package/getStreamInstances.js.map +1 -1
- package/getTeam.d.ts +4 -0
- package/getTeam.js +4 -0
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +4 -0
- package/getTeams.js +4 -0
- package/getTeams.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +6 -2
- package/getThirdPartyIntegration.js +6 -2
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +6 -2
- package/getThirdPartyIntegrations.js +6 -2
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +6 -2
- package/getX509AuthenticationDatabaseUser.js +6 -2
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +2 -0
- package/globalClusterConfig.js +2 -0
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +3 -1
- package/ldapConfiguration.js +3 -1
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +17 -6
- package/ldapVerify.js +17 -6
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +5 -1
- package/maintenanceWindow.js +5 -1
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +2 -0
- package/networkContainer.js +2 -0
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +11 -101
- package/networkPeering.js +11 -101
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +2 -0
- package/onlineArchive.js +2 -0
- package/onlineArchive.js.map +1 -1
- package/organization.d.ts +2 -0
- package/organization.js +2 -0
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/privateEndpointRegionalMode.d.ts +2 -0
- package/privateEndpointRegionalMode.js +2 -0
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +2 -0
- package/privateLinkEndpoint.js +2 -0
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +2 -0
- package/privateLinkEndpointService.js +2 -0
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +2 -0
- package/privatelinkEndpointServerless.js +2 -0
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +2 -0
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +2 -0
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +2 -0
- package/privatelinkEndpointServiceServerless.js +2 -0
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +2 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/projectIpAccessList.d.ts +2 -0
- package/projectIpAccessList.js +2 -0
- package/projectIpAccessList.js.map +1 -1
- package/pushBasedLogExport.d.ts +33 -23
- package/pushBasedLogExport.js +33 -23
- package/pushBasedLogExport.js.map +1 -1
- package/searchDeployment.d.ts +2 -0
- package/searchDeployment.js +2 -0
- package/searchDeployment.js.map +1 -1
- package/searchIndex.d.ts +20 -0
- package/searchIndex.js +4 -0
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +2 -0
- package/serverlessInstance.js +2 -0
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.d.ts +2 -0
- package/streamConnection.js +2 -0
- package/streamConnection.js.map +1 -1
- package/streamInstance.d.ts +2 -0
- package/streamInstance.js +2 -0
- package/streamInstance.js.map +1 -1
- package/team.d.ts +2 -0
- package/team.js +2 -0
- package/team.js.map +1 -1
- package/teams.d.ts +2 -0
- package/teams.js +2 -0
- package/teams.js.map +1 -1
- package/thirdPartyIntegration.d.ts +2 -0
- package/thirdPartyIntegration.js +2 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +320 -0
- package/types/output.d.ts +418 -9
- package/x509authenticationDatabaseUser.d.ts +2 -0
- package/x509authenticationDatabaseUser.js +2 -0
- package/x509authenticationDatabaseUser.js.map +1 -1
package/types/input.d.ts
CHANGED
|
@@ -1,16 +1,54 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
export interface AdvancedClusterAdvancedConfiguration {
|
|
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/).
|
|
6
|
+
*/
|
|
4
7
|
defaultReadConcern?: pulumi.Input<string>;
|
|
8
|
+
/**
|
|
9
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
10
|
+
*/
|
|
5
11
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
12
|
+
/**
|
|
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.
|
|
14
|
+
*/
|
|
6
15
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
18
|
+
*/
|
|
7
19
|
javascriptEnabled?: pulumi.Input<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
22
|
+
*
|
|
23
|
+
* - TLS1_0
|
|
24
|
+
* - TLS1_1
|
|
25
|
+
* - TLS1_2
|
|
26
|
+
*/
|
|
8
27
|
minimumEnabledTlsProtocol?: pulumi.Input<string>;
|
|
28
|
+
/**
|
|
29
|
+
* When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
|
|
30
|
+
*/
|
|
9
31
|
noTableScan?: pulumi.Input<boolean>;
|
|
32
|
+
/**
|
|
33
|
+
* Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
|
|
34
|
+
* * **Note** A minimum oplog retention is required when seeking to change a cluster's class to Local NVMe SSD. To learn more and for latest guidance see [`oplogMinRetentionHours`](https://www.mongodb.com/docs/manual/core/replica-set-oplog/#std-label-replica-set-minimum-oplog-size)
|
|
35
|
+
*/
|
|
10
36
|
oplogMinRetentionHours?: pulumi.Input<number>;
|
|
37
|
+
/**
|
|
38
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
39
|
+
*/
|
|
11
40
|
oplogSizeMb?: pulumi.Input<number>;
|
|
41
|
+
/**
|
|
42
|
+
* Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
43
|
+
*/
|
|
12
44
|
sampleRefreshIntervalBiConnector?: pulumi.Input<number>;
|
|
45
|
+
/**
|
|
46
|
+
* Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
47
|
+
*/
|
|
13
48
|
sampleSizeBiConnector?: pulumi.Input<number>;
|
|
49
|
+
/**
|
|
50
|
+
* Lifetime, in seconds, of multi-document transactions. Defaults to 60 seconds.
|
|
51
|
+
*/
|
|
14
52
|
transactionLifetimeLimitSeconds?: pulumi.Input<number>;
|
|
15
53
|
}
|
|
16
54
|
export interface AdvancedClusterBiConnectorConfig {
|
|
@@ -71,6 +109,15 @@ export interface AdvancedClusterConnectionStringPrivateEndpoint {
|
|
|
71
109
|
}
|
|
72
110
|
export interface AdvancedClusterConnectionStringPrivateEndpointEndpoint {
|
|
73
111
|
endpointId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Cloud service provider on which the servers are provisioned.
|
|
114
|
+
* The possible values are:
|
|
115
|
+
*
|
|
116
|
+
* - `AWS` - Amazon AWS
|
|
117
|
+
* - `GCP` - Google Cloud Platform
|
|
118
|
+
* - `AZURE` - Microsoft Azure
|
|
119
|
+
* - `TENANT` - M2 or M5 multi-tenant cluster. Use `replication_specs.#.region_configs.#.backing_provider_name` to set the cloud service provider.
|
|
120
|
+
*/
|
|
74
121
|
providerName?: pulumi.Input<string>;
|
|
75
122
|
region?: pulumi.Input<string>;
|
|
76
123
|
}
|
|
@@ -259,42 +306,170 @@ export interface AdvancedClusterTag {
|
|
|
259
306
|
value: pulumi.Input<string>;
|
|
260
307
|
}
|
|
261
308
|
export interface AlertConfigurationMatcher {
|
|
309
|
+
/**
|
|
310
|
+
* Name of the field in the target object to match on.
|
|
311
|
+
*
|
|
312
|
+
* | Host alerts | Replica set alerts | Sharded cluster alerts |
|
|
313
|
+
* |:---------- |:------------- |:------ |
|
|
314
|
+
* | `TYPE_NAME` | `REPLICA_SET_NAME` | `CLUSTER_NAME` |
|
|
315
|
+
* | `HOSTNAME` | `SHARD_NAME` | `SHARD_NAME` |
|
|
316
|
+
* | `PORT` | `CLUSTER_NAME` | |
|
|
317
|
+
* | `HOSTNAME_AND_PORT` | | |
|
|
318
|
+
* | `REPLICA_SET_NAME` | | |
|
|
319
|
+
*
|
|
320
|
+
*
|
|
321
|
+
*
|
|
322
|
+
* All other types of alerts do not support matchers.
|
|
323
|
+
*/
|
|
262
324
|
fieldName: pulumi.Input<string>;
|
|
263
325
|
operator: pulumi.Input<string>;
|
|
326
|
+
/**
|
|
327
|
+
* Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
|
|
328
|
+
* - `PRIMARY`
|
|
329
|
+
* - `SECONDARY`
|
|
330
|
+
* - `STANDALONE`
|
|
331
|
+
* - `CONFIG`
|
|
332
|
+
* - `MONGOS`
|
|
333
|
+
*/
|
|
264
334
|
value: pulumi.Input<string>;
|
|
265
335
|
}
|
|
266
336
|
export interface AlertConfigurationMetricThresholdConfig {
|
|
337
|
+
/**
|
|
338
|
+
* Name of the metric to check. The full list being quite large, please refer to atlas docs [here for general metrics](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types) and [here for serverless metrics](https://www.mongodb.com/docs/atlas/reference/api/alert-configurations-create-config/#serverless-measurements)
|
|
339
|
+
*/
|
|
267
340
|
metricName: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* This must be set to AVERAGE. Atlas computes the current metric value as an average.
|
|
343
|
+
*/
|
|
268
344
|
mode?: pulumi.Input<string>;
|
|
269
345
|
operator?: pulumi.Input<string>;
|
|
270
346
|
threshold?: pulumi.Input<number>;
|
|
271
347
|
units?: pulumi.Input<string>;
|
|
272
348
|
}
|
|
273
349
|
export interface AlertConfigurationNotification {
|
|
350
|
+
/**
|
|
351
|
+
* Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
|
|
352
|
+
*/
|
|
274
353
|
apiToken?: pulumi.Input<string>;
|
|
354
|
+
/**
|
|
355
|
+
* Slack channel name. Required for the SLACK notifications type.
|
|
356
|
+
*/
|
|
275
357
|
channelName?: pulumi.Input<string>;
|
|
358
|
+
/**
|
|
359
|
+
* Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
|
|
360
|
+
*/
|
|
276
361
|
datadogApiKey?: pulumi.Input<string>;
|
|
362
|
+
/**
|
|
363
|
+
* Region that indicates which API URL to use. See the `datadogRegion` field in the `notifications` request parameter of [MongoDB API Alert Configuration documentation](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/createAlertConfiguration) for more details. The default Datadog region is US.
|
|
364
|
+
*/
|
|
277
365
|
datadogRegion?: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* Number of minutes to wait after an alert condition is detected before sending out the first notification.
|
|
368
|
+
*/
|
|
278
369
|
delayMin?: pulumi.Input<number>;
|
|
370
|
+
/**
|
|
371
|
+
* Email address to which alert notifications are sent. Required for the EMAIL notifications type.
|
|
372
|
+
*/
|
|
279
373
|
emailAddress?: pulumi.Input<string>;
|
|
374
|
+
/**
|
|
375
|
+
* Flag indicating email notifications should be sent. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
376
|
+
*/
|
|
280
377
|
emailEnabled?: pulumi.Input<boolean>;
|
|
378
|
+
/**
|
|
379
|
+
* The ID of the associated integration, the credentials of which to use for requests.
|
|
380
|
+
*/
|
|
281
381
|
integrationId?: pulumi.Input<string>;
|
|
382
|
+
/**
|
|
383
|
+
* Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5. **NOTE** `PAGER_DUTY`, `VICTOR_OPS`, and `OPS_GENIE` notifications do not return this value. The notification interval must be configured and managed within each external service.
|
|
384
|
+
*/
|
|
282
385
|
intervalMin?: pulumi.Input<number>;
|
|
386
|
+
/**
|
|
387
|
+
* Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams. Required if `typeName` is `MICROSOFT_TEAMS`. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
|
|
388
|
+
*/
|
|
283
389
|
microsoftTeamsWebhookUrl?: pulumi.Input<string>;
|
|
390
|
+
/**
|
|
391
|
+
* Mobile number to which alert notifications are sent. Required for the SMS notifications type.
|
|
392
|
+
*/
|
|
284
393
|
mobileNumber?: pulumi.Input<string>;
|
|
394
|
+
/**
|
|
395
|
+
* The notifier ID is a system-generated unique identifier assigned to each notification method. This is needed when updating third-party notifications without requiring explicit authentication credentials.
|
|
396
|
+
*/
|
|
285
397
|
notifierId?: pulumi.Input<string>;
|
|
398
|
+
/**
|
|
399
|
+
* Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
|
|
400
|
+
*/
|
|
286
401
|
opsGenieApiKey?: pulumi.Input<string>;
|
|
402
|
+
/**
|
|
403
|
+
* Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
|
|
404
|
+
*/
|
|
287
405
|
opsGenieRegion?: pulumi.Input<string>;
|
|
406
|
+
/**
|
|
407
|
+
* Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
408
|
+
* Accepted values are:
|
|
409
|
+
*
|
|
410
|
+
* | Project roles | Organization roles |
|
|
411
|
+
* |:---------- |:----------- |
|
|
412
|
+
* | `GROUP_CLUSTER_MANAGER` | `ORG_OWNER` |
|
|
413
|
+
* | `GROUP_DATA_ACCESS_ADMIN` | `ORG_MEMBER` |
|
|
414
|
+
* | `GROUP_DATA_ACCESS_READ_ONLY` | `ORG_GROUP_CREATOR` |
|
|
415
|
+
* | `GROUP_DATA_ACCESS_READ_WRITE` | `ORG_BILLING_ADMIN` |
|
|
416
|
+
* | `GROUP_OWNER` | `ORG_READ_ONLY` |
|
|
417
|
+
* | `GROUP_READ_ONLY` | |
|
|
418
|
+
*/
|
|
288
419
|
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
420
|
+
/**
|
|
421
|
+
* PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
422
|
+
*/
|
|
289
423
|
serviceKey?: pulumi.Input<string>;
|
|
424
|
+
/**
|
|
425
|
+
* Flag indicating if text message notifications should be sent to this user's mobile phone. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
426
|
+
*/
|
|
290
427
|
smsEnabled?: pulumi.Input<boolean>;
|
|
428
|
+
/**
|
|
429
|
+
* Unique identifier of a team.
|
|
430
|
+
*/
|
|
291
431
|
teamId?: pulumi.Input<string>;
|
|
432
|
+
/**
|
|
433
|
+
* Label for the team that receives this notification.
|
|
434
|
+
*/
|
|
292
435
|
teamName?: pulumi.Input<string>;
|
|
436
|
+
/**
|
|
437
|
+
* Type of alert notification.
|
|
438
|
+
* Accepted values are:
|
|
439
|
+
* - `DATADOG`
|
|
440
|
+
* - `EMAIL`
|
|
441
|
+
* - `GROUP` (Project)
|
|
442
|
+
* - `OPS_GENIE`
|
|
443
|
+
* - `ORG`
|
|
444
|
+
* - `PAGER_DUTY`
|
|
445
|
+
* - `SLACK`
|
|
446
|
+
* - `SMS`
|
|
447
|
+
* - `TEAM`
|
|
448
|
+
* - `USER`
|
|
449
|
+
* - `VICTOR_OPS`
|
|
450
|
+
* - `WEBHOOK`
|
|
451
|
+
* - `MICROSOFT_TEAMS`
|
|
452
|
+
*/
|
|
293
453
|
typeName: pulumi.Input<string>;
|
|
454
|
+
/**
|
|
455
|
+
* Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.
|
|
456
|
+
*/
|
|
294
457
|
username?: pulumi.Input<string>;
|
|
458
|
+
/**
|
|
459
|
+
* VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
460
|
+
*/
|
|
295
461
|
victorOpsApiKey?: pulumi.Input<string>;
|
|
462
|
+
/**
|
|
463
|
+
* VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
464
|
+
*/
|
|
296
465
|
victorOpsRoutingKey?: pulumi.Input<string>;
|
|
466
|
+
/**
|
|
467
|
+
* Optional authentication secret for the `WEBHOOK` notifications type.
|
|
468
|
+
*/
|
|
297
469
|
webhookSecret?: pulumi.Input<string>;
|
|
470
|
+
/**
|
|
471
|
+
* Target URL for the `WEBHOOK` notifications type.
|
|
472
|
+
*/
|
|
298
473
|
webhookUrl?: pulumi.Input<string>;
|
|
299
474
|
}
|
|
300
475
|
export interface AlertConfigurationThresholdConfig {
|
|
@@ -435,10 +610,25 @@ export interface BackupCompliancePolicyPolicyItemYearly {
|
|
|
435
610
|
retentionValue: pulumi.Input<number>;
|
|
436
611
|
}
|
|
437
612
|
export interface CloudBackupScheduleCopySetting {
|
|
613
|
+
/**
|
|
614
|
+
* Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
|
|
615
|
+
*/
|
|
438
616
|
cloudProvider?: pulumi.Input<string>;
|
|
617
|
+
/**
|
|
618
|
+
* List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "ON_DEMAND"
|
|
619
|
+
*/
|
|
439
620
|
frequencies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
621
|
+
/**
|
|
622
|
+
* Target region to copy snapshots belonging to replicationSpecId to. Please supply the 'Atlas Region' which can be found under https://www.mongodb.com/docs/atlas/reference/cloud-providers/ 'regions' link
|
|
623
|
+
*/
|
|
440
624
|
regionName?: pulumi.Input<string>;
|
|
625
|
+
/**
|
|
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).
|
|
627
|
+
*/
|
|
441
628
|
replicationSpecId?: pulumi.Input<string>;
|
|
629
|
+
/**
|
|
630
|
+
* Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
|
|
631
|
+
*/
|
|
442
632
|
shouldCopyOplogs?: pulumi.Input<boolean>;
|
|
443
633
|
}
|
|
444
634
|
export interface CloudBackupScheduleExport {
|
|
@@ -635,20 +825,73 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
635
825
|
tenantId: pulumi.Input<string>;
|
|
636
826
|
}
|
|
637
827
|
export interface ClusterAdvancedConfiguration {
|
|
828
|
+
/**
|
|
829
|
+
* [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/).
|
|
830
|
+
*/
|
|
638
831
|
defaultReadConcern?: pulumi.Input<string>;
|
|
832
|
+
/**
|
|
833
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
834
|
+
*/
|
|
639
835
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
836
|
+
/**
|
|
837
|
+
* 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.
|
|
838
|
+
*/
|
|
640
839
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
840
|
+
/**
|
|
841
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
842
|
+
*/
|
|
641
843
|
javascriptEnabled?: pulumi.Input<boolean>;
|
|
844
|
+
/**
|
|
845
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
846
|
+
*
|
|
847
|
+
* - TLS1_0
|
|
848
|
+
* - TLS1_1
|
|
849
|
+
* - TLS1_2
|
|
850
|
+
*/
|
|
642
851
|
minimumEnabledTlsProtocol?: pulumi.Input<string>;
|
|
852
|
+
/**
|
|
853
|
+
* When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
|
|
854
|
+
*/
|
|
643
855
|
noTableScan?: pulumi.Input<boolean>;
|
|
856
|
+
/**
|
|
857
|
+
* Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.
|
|
858
|
+
* * **Note** A minimum oplog retention is required when seeking to change a cluster's class to Local NVMe SSD. To learn more and for latest guidance see [`oplogMinRetentionHours`](https://www.mongodb.com/docs/manual/core/replica-set-oplog/#std-label-replica-set-minimum-oplog-size)
|
|
859
|
+
*/
|
|
644
860
|
oplogMinRetentionHours?: pulumi.Input<number>;
|
|
861
|
+
/**
|
|
862
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
863
|
+
*/
|
|
645
864
|
oplogSizeMb?: pulumi.Input<number>;
|
|
865
|
+
/**
|
|
866
|
+
* Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
867
|
+
*/
|
|
646
868
|
sampleRefreshIntervalBiConnector?: pulumi.Input<number>;
|
|
869
|
+
/**
|
|
870
|
+
* Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
871
|
+
*/
|
|
647
872
|
sampleSizeBiConnector?: pulumi.Input<number>;
|
|
873
|
+
/**
|
|
874
|
+
* Lifetime, in seconds, of multi-document transactions. Defaults to 60 seconds.
|
|
875
|
+
*/
|
|
648
876
|
transactionLifetimeLimitSeconds?: pulumi.Input<number>;
|
|
649
877
|
}
|
|
650
878
|
export interface ClusterBiConnectorConfig {
|
|
879
|
+
/**
|
|
880
|
+
* Specifies whether or not BI Connector for Atlas is enabled on the cluster.l
|
|
881
|
+
* *
|
|
882
|
+
* - Set to `true` to enable BI Connector for Atlas.
|
|
883
|
+
* - Set to `false` to disable BI Connector for Atlas.
|
|
884
|
+
*/
|
|
651
885
|
enabled?: pulumi.Input<boolean>;
|
|
886
|
+
/**
|
|
887
|
+
* Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
|
|
888
|
+
*
|
|
889
|
+
* - Set to "primary" to have BI Connector for Atlas read from the primary.
|
|
890
|
+
*
|
|
891
|
+
* - Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.
|
|
892
|
+
*
|
|
893
|
+
* - Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.
|
|
894
|
+
*/
|
|
652
895
|
readPreference?: pulumi.Input<string>;
|
|
653
896
|
}
|
|
654
897
|
export interface ClusterConnectionString {
|
|
@@ -734,19 +977,52 @@ export interface ClusterOutageSimulationOutageFilter {
|
|
|
734
977
|
type?: pulumi.Input<string>;
|
|
735
978
|
}
|
|
736
979
|
export interface ClusterReplicationSpec {
|
|
980
|
+
/**
|
|
981
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
982
|
+
*/
|
|
737
983
|
id?: pulumi.Input<string>;
|
|
738
984
|
/**
|
|
739
985
|
* Selects whether the cluster is a replica set or a sharded cluster. If you use the replicationSpecs parameter, you must set num_shards.
|
|
740
986
|
*/
|
|
741
987
|
numShards: pulumi.Input<number>;
|
|
988
|
+
/**
|
|
989
|
+
* Physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
|
|
990
|
+
*/
|
|
742
991
|
regionsConfigs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpecRegionsConfig>[]>;
|
|
992
|
+
/**
|
|
993
|
+
* Name for the zone in a Global Cluster.
|
|
994
|
+
*
|
|
995
|
+
*
|
|
996
|
+
* **Region Config**
|
|
997
|
+
*/
|
|
743
998
|
zoneName?: pulumi.Input<string>;
|
|
744
999
|
}
|
|
745
1000
|
export interface ClusterReplicationSpecRegionsConfig {
|
|
1001
|
+
/**
|
|
1002
|
+
* The number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary. If you do not specify this option, no analytics nodes are deployed to the region.
|
|
1003
|
+
*/
|
|
746
1004
|
analyticsNodes?: pulumi.Input<number>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Number of electable nodes for Atlas to deploy to the region. Electable nodes can become the primary and can facilitate local reads.
|
|
1007
|
+
* * The total number of electableNodes across all replication spec regions must total 3, 5, or 7.
|
|
1008
|
+
* * Specify 0 if you do not want any electable nodes in the region.
|
|
1009
|
+
* * You cannot create electable nodes in a region if `priority` is 0.
|
|
1010
|
+
*/
|
|
747
1011
|
electableNodes?: pulumi.Input<number>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Election priority of the region. For regions with only read-only nodes, set this value to 0.
|
|
1014
|
+
* * For regions where `electableNodes` is at least 1, each region must have a priority of exactly one (1) less than the previous region. The first region must have a priority of 7. The lowest possible priority is 1.
|
|
1015
|
+
* * The priority 7 region identifies the Preferred Region of the cluster. Atlas places the primary node in the Preferred Region. Priorities 1 through 7 are exclusive - no more than one region per cluster can be assigned a given priority.
|
|
1016
|
+
* * Example: If you have three regions, their priorities would be 7, 6, and 5 respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be 4 and 3 respectively.
|
|
1017
|
+
*/
|
|
748
1018
|
priority?: pulumi.Input<number>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
|
|
1021
|
+
*/
|
|
749
1022
|
readOnlyNodes?: pulumi.Input<number>;
|
|
1023
|
+
/**
|
|
1024
|
+
* 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/).
|
|
1025
|
+
*/
|
|
750
1026
|
regionName: pulumi.Input<string>;
|
|
751
1027
|
}
|
|
752
1028
|
export interface ClusterSnapshotBackupPolicy {
|
|
@@ -763,12 +1039,18 @@ export interface ClusterSnapshotBackupPolicy {
|
|
|
763
1039
|
updateSnapshots?: pulumi.Input<boolean>;
|
|
764
1040
|
}
|
|
765
1041
|
export interface ClusterSnapshotBackupPolicyPolicy {
|
|
1042
|
+
/**
|
|
1043
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
1044
|
+
*/
|
|
766
1045
|
id?: pulumi.Input<string>;
|
|
767
1046
|
policyItems?: pulumi.Input<pulumi.Input<inputs.ClusterSnapshotBackupPolicyPolicyPolicyItem>[]>;
|
|
768
1047
|
}
|
|
769
1048
|
export interface ClusterSnapshotBackupPolicyPolicyPolicyItem {
|
|
770
1049
|
frequencyInterval?: pulumi.Input<number>;
|
|
771
1050
|
frequencyType?: pulumi.Input<string>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
1053
|
+
*/
|
|
772
1054
|
id?: pulumi.Input<string>;
|
|
773
1055
|
retentionUnit?: pulumi.Input<string>;
|
|
774
1056
|
retentionValue?: pulumi.Input<number>;
|
|
@@ -811,6 +1093,11 @@ export interface CustomDbRoleAction {
|
|
|
811
1093
|
export interface CustomDbRoleActionResource {
|
|
812
1094
|
cluster?: pulumi.Input<boolean>;
|
|
813
1095
|
collectionName?: pulumi.Input<string>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Database on which the inherited role is granted.
|
|
1098
|
+
*
|
|
1099
|
+
* > **NOTE** This value should be admin for all roles except read and readWrite.
|
|
1100
|
+
*/
|
|
814
1101
|
databaseName?: pulumi.Input<string>;
|
|
815
1102
|
}
|
|
816
1103
|
export interface CustomDbRoleInheritedRole {
|
|
@@ -1359,14 +1646,35 @@ export interface GetServerlessInstanceLinkArgs {
|
|
|
1359
1646
|
rel?: pulumi.Input<string>;
|
|
1360
1647
|
}
|
|
1361
1648
|
export interface GlobalClusterConfigCustomZoneMapping {
|
|
1649
|
+
/**
|
|
1650
|
+
* The ISO location code to which you want to map a zone in your Global Cluster. You can find a list of all supported location codes [here](https://cloud.mongodb.com/static/atlas/country_iso_codes.txt).
|
|
1651
|
+
*/
|
|
1362
1652
|
location?: pulumi.Input<string>;
|
|
1653
|
+
/**
|
|
1654
|
+
* The name of the zone in your Global Cluster that you want to map to location.
|
|
1655
|
+
*/
|
|
1363
1656
|
zone?: pulumi.Input<string>;
|
|
1364
1657
|
}
|
|
1365
1658
|
export interface GlobalClusterConfigManagedNamespace {
|
|
1659
|
+
/**
|
|
1660
|
+
* The name of the collection associated with the managed namespace.
|
|
1661
|
+
*/
|
|
1366
1662
|
collection: pulumi.Input<string>;
|
|
1663
|
+
/**
|
|
1664
|
+
* The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
|
|
1665
|
+
*/
|
|
1367
1666
|
customShardKey: pulumi.Input<string>;
|
|
1667
|
+
/**
|
|
1668
|
+
* The name of the database containing the collection.
|
|
1669
|
+
*/
|
|
1368
1670
|
db: pulumi.Input<string>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
1673
|
+
*/
|
|
1369
1674
|
isCustomShardKeyHashed?: pulumi.Input<boolean>;
|
|
1675
|
+
/**
|
|
1676
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
1677
|
+
*/
|
|
1370
1678
|
isShardKeyUnique?: pulumi.Input<boolean>;
|
|
1371
1679
|
}
|
|
1372
1680
|
export interface LdapConfigurationUserToDnMapping {
|
|
@@ -1430,8 +1738,17 @@ export interface OnlineArchiveDataProcessRegion {
|
|
|
1430
1738
|
region?: pulumi.Input<string>;
|
|
1431
1739
|
}
|
|
1432
1740
|
export interface OnlineArchivePartitionField {
|
|
1741
|
+
/**
|
|
1742
|
+
* Human-readable label that identifies the parameter that MongoDB Cloud uses to partition data. To specify a nested parameter, use the dot notation.
|
|
1743
|
+
*/
|
|
1433
1744
|
fieldName: pulumi.Input<string>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Data type of the parameter that that MongoDB Cloud uses to partition data. Partition parameters of type UUID must be of binary subtype 4. MongoDB Cloud skips partition parameters of type UUID with subtype 3. Valid values: `date`, `int`, `long`, `objectId`, `string`, `uuid`.
|
|
1747
|
+
*/
|
|
1434
1748
|
fieldType?: pulumi.Input<string>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Sequence in which MongoDB Cloud slices the collection data to create partitions. The resource expresses this sequence starting with zero. The value of the `criteria.dateField` parameter defaults as the first item in the partition sequence.
|
|
1751
|
+
*/
|
|
1435
1752
|
order: pulumi.Input<number>;
|
|
1436
1753
|
}
|
|
1437
1754
|
export interface OnlineArchiveSchedule {
|
|
@@ -1663,6 +1980,9 @@ export interface StreamConnectionAuthentication {
|
|
|
1663
1980
|
username?: pulumi.Input<string>;
|
|
1664
1981
|
}
|
|
1665
1982
|
export interface StreamConnectionDbRoleToExecute {
|
|
1983
|
+
/**
|
|
1984
|
+
* The name of the role to use. Can be a built in role or a custom role.
|
|
1985
|
+
*/
|
|
1666
1986
|
role: pulumi.Input<string>;
|
|
1667
1987
|
/**
|
|
1668
1988
|
* Type of connection. Can be either `Cluster`, `Kafka` or `Sample`.
|