@pulumi/mongodbatlas 3.16.3 → 3.16.4-alpha.1722019657
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/output.d.ts
CHANGED
|
@@ -1,15 +1,53 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export interface AdvancedClusterAdvancedConfiguration {
|
|
3
|
+
/**
|
|
4
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
5
|
+
*/
|
|
3
6
|
defaultReadConcern: string;
|
|
7
|
+
/**
|
|
8
|
+
* [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/).
|
|
9
|
+
*/
|
|
4
10
|
defaultWriteConcern: string;
|
|
11
|
+
/**
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
5
14
|
failIndexKeyTooLong: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
17
|
+
*/
|
|
6
18
|
javascriptEnabled: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
21
|
+
*
|
|
22
|
+
* - TLS1_0
|
|
23
|
+
* - TLS1_1
|
|
24
|
+
* - TLS1_2
|
|
25
|
+
*/
|
|
7
26
|
minimumEnabledTlsProtocol: string;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
8
30
|
noTableScan: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
* * **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)
|
|
34
|
+
*/
|
|
9
35
|
oplogMinRetentionHours?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
38
|
+
*/
|
|
10
39
|
oplogSizeMb: number;
|
|
40
|
+
/**
|
|
41
|
+
* 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.
|
|
42
|
+
*/
|
|
11
43
|
sampleRefreshIntervalBiConnector: number;
|
|
44
|
+
/**
|
|
45
|
+
* 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.
|
|
46
|
+
*/
|
|
12
47
|
sampleSizeBiConnector: number;
|
|
48
|
+
/**
|
|
49
|
+
* Lifetime, in seconds, of multi-document transactions. Defaults to 60 seconds.
|
|
50
|
+
*/
|
|
13
51
|
transactionLifetimeLimitSeconds: number;
|
|
14
52
|
}
|
|
15
53
|
export interface AdvancedClusterBiConnectorConfig {
|
|
@@ -70,6 +108,15 @@ export interface AdvancedClusterConnectionStringPrivateEndpoint {
|
|
|
70
108
|
}
|
|
71
109
|
export interface AdvancedClusterConnectionStringPrivateEndpointEndpoint {
|
|
72
110
|
endpointId: string;
|
|
111
|
+
/**
|
|
112
|
+
* Cloud service provider on which the servers are provisioned.
|
|
113
|
+
* The possible values are:
|
|
114
|
+
*
|
|
115
|
+
* - `AWS` - Amazon AWS
|
|
116
|
+
* - `GCP` - Google Cloud Platform
|
|
117
|
+
* - `AZURE` - Microsoft Azure
|
|
118
|
+
* - `TENANT` - M2 or M5 multi-tenant cluster. Use `replication_specs.#.region_configs.#.backing_provider_name` to set the cloud service provider.
|
|
119
|
+
*/
|
|
73
120
|
providerName: string;
|
|
74
121
|
region: string;
|
|
75
122
|
}
|
|
@@ -258,42 +305,170 @@ export interface AdvancedClusterTag {
|
|
|
258
305
|
value: string;
|
|
259
306
|
}
|
|
260
307
|
export interface AlertConfigurationMatcher {
|
|
308
|
+
/**
|
|
309
|
+
* Name of the field in the target object to match on.
|
|
310
|
+
*
|
|
311
|
+
* | Host alerts | Replica set alerts | Sharded cluster alerts |
|
|
312
|
+
* |:---------- |:------------- |:------ |
|
|
313
|
+
* | `TYPE_NAME` | `REPLICA_SET_NAME` | `CLUSTER_NAME` |
|
|
314
|
+
* | `HOSTNAME` | `SHARD_NAME` | `SHARD_NAME` |
|
|
315
|
+
* | `PORT` | `CLUSTER_NAME` | |
|
|
316
|
+
* | `HOSTNAME_AND_PORT` | | |
|
|
317
|
+
* | `REPLICA_SET_NAME` | | |
|
|
318
|
+
*
|
|
319
|
+
*
|
|
320
|
+
*
|
|
321
|
+
* All other types of alerts do not support matchers.
|
|
322
|
+
*/
|
|
261
323
|
fieldName: string;
|
|
262
324
|
operator: string;
|
|
325
|
+
/**
|
|
326
|
+
* Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
|
|
327
|
+
* - `PRIMARY`
|
|
328
|
+
* - `SECONDARY`
|
|
329
|
+
* - `STANDALONE`
|
|
330
|
+
* - `CONFIG`
|
|
331
|
+
* - `MONGOS`
|
|
332
|
+
*/
|
|
263
333
|
value: string;
|
|
264
334
|
}
|
|
265
335
|
export interface AlertConfigurationMetricThresholdConfig {
|
|
336
|
+
/**
|
|
337
|
+
* 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)
|
|
338
|
+
*/
|
|
266
339
|
metricName: string;
|
|
340
|
+
/**
|
|
341
|
+
* This must be set to AVERAGE. Atlas computes the current metric value as an average.
|
|
342
|
+
*/
|
|
267
343
|
mode?: string;
|
|
268
344
|
operator?: string;
|
|
269
345
|
threshold: number;
|
|
270
346
|
units?: string;
|
|
271
347
|
}
|
|
272
348
|
export interface AlertConfigurationNotification {
|
|
349
|
+
/**
|
|
350
|
+
* 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.
|
|
351
|
+
*/
|
|
273
352
|
apiToken?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Slack channel name. Required for the SLACK notifications type.
|
|
355
|
+
*/
|
|
274
356
|
channelName?: string;
|
|
357
|
+
/**
|
|
358
|
+
* Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
|
|
359
|
+
*/
|
|
275
360
|
datadogApiKey?: string;
|
|
361
|
+
/**
|
|
362
|
+
* 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.
|
|
363
|
+
*/
|
|
276
364
|
datadogRegion?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Number of minutes to wait after an alert condition is detected before sending out the first notification.
|
|
367
|
+
*/
|
|
277
368
|
delayMin: number;
|
|
369
|
+
/**
|
|
370
|
+
* Email address to which alert notifications are sent. Required for the EMAIL notifications type.
|
|
371
|
+
*/
|
|
278
372
|
emailAddress?: string;
|
|
373
|
+
/**
|
|
374
|
+
* Flag indicating email notifications should be sent. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
375
|
+
*/
|
|
279
376
|
emailEnabled: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* The ID of the associated integration, the credentials of which to use for requests.
|
|
379
|
+
*/
|
|
280
380
|
integrationId?: string;
|
|
381
|
+
/**
|
|
382
|
+
* 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.
|
|
383
|
+
*/
|
|
281
384
|
intervalMin: number;
|
|
385
|
+
/**
|
|
386
|
+
* 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.
|
|
387
|
+
*/
|
|
282
388
|
microsoftTeamsWebhookUrl?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Mobile number to which alert notifications are sent. Required for the SMS notifications type.
|
|
391
|
+
*/
|
|
283
392
|
mobileNumber?: string;
|
|
393
|
+
/**
|
|
394
|
+
* 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.
|
|
395
|
+
*/
|
|
284
396
|
notifierId: string;
|
|
397
|
+
/**
|
|
398
|
+
* 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.
|
|
399
|
+
*/
|
|
285
400
|
opsGenieApiKey?: string;
|
|
401
|
+
/**
|
|
402
|
+
* Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
|
|
403
|
+
*/
|
|
286
404
|
opsGenieRegion?: string;
|
|
405
|
+
/**
|
|
406
|
+
* 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`.
|
|
407
|
+
* Accepted values are:
|
|
408
|
+
*
|
|
409
|
+
* | Project roles | Organization roles |
|
|
410
|
+
* |:---------- |:----------- |
|
|
411
|
+
* | `GROUP_CLUSTER_MANAGER` | `ORG_OWNER` |
|
|
412
|
+
* | `GROUP_DATA_ACCESS_ADMIN` | `ORG_MEMBER` |
|
|
413
|
+
* | `GROUP_DATA_ACCESS_READ_ONLY` | `ORG_GROUP_CREATOR` |
|
|
414
|
+
* | `GROUP_DATA_ACCESS_READ_WRITE` | `ORG_BILLING_ADMIN` |
|
|
415
|
+
* | `GROUP_OWNER` | `ORG_READ_ONLY` |
|
|
416
|
+
* | `GROUP_READ_ONLY` | |
|
|
417
|
+
*/
|
|
287
418
|
roles?: string[];
|
|
419
|
+
/**
|
|
420
|
+
* 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.
|
|
421
|
+
*/
|
|
288
422
|
serviceKey?: string;
|
|
423
|
+
/**
|
|
424
|
+
* 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`.
|
|
425
|
+
*/
|
|
289
426
|
smsEnabled: boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Unique identifier of a team.
|
|
429
|
+
*/
|
|
290
430
|
teamId?: string;
|
|
431
|
+
/**
|
|
432
|
+
* Label for the team that receives this notification.
|
|
433
|
+
*/
|
|
291
434
|
teamName: string;
|
|
435
|
+
/**
|
|
436
|
+
* Type of alert notification.
|
|
437
|
+
* Accepted values are:
|
|
438
|
+
* - `DATADOG`
|
|
439
|
+
* - `EMAIL`
|
|
440
|
+
* - `GROUP` (Project)
|
|
441
|
+
* - `OPS_GENIE`
|
|
442
|
+
* - `ORG`
|
|
443
|
+
* - `PAGER_DUTY`
|
|
444
|
+
* - `SLACK`
|
|
445
|
+
* - `SMS`
|
|
446
|
+
* - `TEAM`
|
|
447
|
+
* - `USER`
|
|
448
|
+
* - `VICTOR_OPS`
|
|
449
|
+
* - `WEBHOOK`
|
|
450
|
+
* - `MICROSOFT_TEAMS`
|
|
451
|
+
*/
|
|
292
452
|
typeName: string;
|
|
453
|
+
/**
|
|
454
|
+
* 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.
|
|
455
|
+
*/
|
|
293
456
|
username?: string;
|
|
457
|
+
/**
|
|
458
|
+
* 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.
|
|
459
|
+
*/
|
|
294
460
|
victorOpsApiKey?: string;
|
|
461
|
+
/**
|
|
462
|
+
* 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.
|
|
463
|
+
*/
|
|
295
464
|
victorOpsRoutingKey?: string;
|
|
465
|
+
/**
|
|
466
|
+
* Optional authentication secret for the `WEBHOOK` notifications type.
|
|
467
|
+
*/
|
|
296
468
|
webhookSecret?: string;
|
|
469
|
+
/**
|
|
470
|
+
* Target URL for the `WEBHOOK` notifications type.
|
|
471
|
+
*/
|
|
297
472
|
webhookUrl?: string;
|
|
298
473
|
}
|
|
299
474
|
export interface AlertConfigurationThresholdConfig {
|
|
@@ -434,10 +609,25 @@ export interface BackupCompliancePolicyPolicyItemYearly {
|
|
|
434
609
|
retentionValue: number;
|
|
435
610
|
}
|
|
436
611
|
export interface CloudBackupScheduleCopySetting {
|
|
612
|
+
/**
|
|
613
|
+
* Human-readable label that identifies the cloud provider that stores the snapshot copy. i.e. "AWS" "AZURE" "GCP"
|
|
614
|
+
*/
|
|
437
615
|
cloudProvider: string;
|
|
616
|
+
/**
|
|
617
|
+
* List that describes which types of snapshots to copy. i.e. "HOURLY" "DAILY" "WEEKLY" "MONTHLY" "ON_DEMAND"
|
|
618
|
+
*/
|
|
438
619
|
frequencies: string[];
|
|
620
|
+
/**
|
|
621
|
+
* 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
|
|
622
|
+
*/
|
|
439
623
|
regionName: string;
|
|
624
|
+
/**
|
|
625
|
+
* 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).
|
|
626
|
+
*/
|
|
440
627
|
replicationSpecId: string;
|
|
628
|
+
/**
|
|
629
|
+
* Flag that indicates whether to copy the oplogs to the target region. You can use the oplogs to perform point-in-time restores.
|
|
630
|
+
*/
|
|
441
631
|
shouldCopyOplogs: boolean;
|
|
442
632
|
}
|
|
443
633
|
export interface CloudBackupScheduleExport {
|
|
@@ -634,20 +824,73 @@ export interface CloudProviderAccessSetupAzureConfig {
|
|
|
634
824
|
tenantId: string;
|
|
635
825
|
}
|
|
636
826
|
export interface ClusterAdvancedConfiguration {
|
|
827
|
+
/**
|
|
828
|
+
* [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/).
|
|
829
|
+
*/
|
|
637
830
|
defaultReadConcern: string;
|
|
831
|
+
/**
|
|
832
|
+
* [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/).
|
|
833
|
+
*/
|
|
638
834
|
defaultWriteConcern: string;
|
|
835
|
+
/**
|
|
836
|
+
* 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.
|
|
837
|
+
*/
|
|
639
838
|
failIndexKeyTooLong: boolean;
|
|
839
|
+
/**
|
|
840
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
841
|
+
*/
|
|
640
842
|
javascriptEnabled: boolean;
|
|
843
|
+
/**
|
|
844
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
845
|
+
*
|
|
846
|
+
* - TLS1_0
|
|
847
|
+
* - TLS1_1
|
|
848
|
+
* - TLS1_2
|
|
849
|
+
*/
|
|
641
850
|
minimumEnabledTlsProtocol: string;
|
|
851
|
+
/**
|
|
852
|
+
* 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.
|
|
853
|
+
*/
|
|
642
854
|
noTableScan: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* 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.
|
|
857
|
+
* * **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)
|
|
858
|
+
*/
|
|
643
859
|
oplogMinRetentionHours?: number;
|
|
860
|
+
/**
|
|
861
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
862
|
+
*/
|
|
644
863
|
oplogSizeMb: number;
|
|
864
|
+
/**
|
|
865
|
+
* 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.
|
|
866
|
+
*/
|
|
645
867
|
sampleRefreshIntervalBiConnector: number;
|
|
868
|
+
/**
|
|
869
|
+
* 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.
|
|
870
|
+
*/
|
|
646
871
|
sampleSizeBiConnector: number;
|
|
872
|
+
/**
|
|
873
|
+
* Lifetime, in seconds, of multi-document transactions. Defaults to 60 seconds.
|
|
874
|
+
*/
|
|
647
875
|
transactionLifetimeLimitSeconds: number;
|
|
648
876
|
}
|
|
649
877
|
export interface ClusterBiConnectorConfig {
|
|
878
|
+
/**
|
|
879
|
+
* Specifies whether or not BI Connector for Atlas is enabled on the cluster.l
|
|
880
|
+
* *
|
|
881
|
+
* - Set to `true` to enable BI Connector for Atlas.
|
|
882
|
+
* - Set to `false` to disable BI Connector for Atlas.
|
|
883
|
+
*/
|
|
650
884
|
enabled: boolean;
|
|
885
|
+
/**
|
|
886
|
+
* 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).
|
|
887
|
+
*
|
|
888
|
+
* - Set to "primary" to have BI Connector for Atlas read from the primary.
|
|
889
|
+
*
|
|
890
|
+
* - Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.
|
|
891
|
+
*
|
|
892
|
+
* - Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.
|
|
893
|
+
*/
|
|
651
894
|
readPreference: string;
|
|
652
895
|
}
|
|
653
896
|
export interface ClusterConnectionString {
|
|
@@ -733,19 +976,52 @@ export interface ClusterOutageSimulationOutageFilter {
|
|
|
733
976
|
type: string;
|
|
734
977
|
}
|
|
735
978
|
export interface ClusterReplicationSpec {
|
|
979
|
+
/**
|
|
980
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
981
|
+
*/
|
|
736
982
|
id: string;
|
|
737
983
|
/**
|
|
738
984
|
* Selects whether the cluster is a replica set or a sharded cluster. If you use the replicationSpecs parameter, you must set num_shards.
|
|
739
985
|
*/
|
|
740
986
|
numShards: number;
|
|
987
|
+
/**
|
|
988
|
+
* 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.
|
|
989
|
+
*/
|
|
741
990
|
regionsConfigs: outputs.ClusterReplicationSpecRegionsConfig[];
|
|
991
|
+
/**
|
|
992
|
+
* Name for the zone in a Global Cluster.
|
|
993
|
+
*
|
|
994
|
+
*
|
|
995
|
+
* **Region Config**
|
|
996
|
+
*/
|
|
742
997
|
zoneName?: string;
|
|
743
998
|
}
|
|
744
999
|
export interface ClusterReplicationSpecRegionsConfig {
|
|
1000
|
+
/**
|
|
1001
|
+
* 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.
|
|
1002
|
+
*/
|
|
745
1003
|
analyticsNodes?: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* Number of electable nodes for Atlas to deploy to the region. Electable nodes can become the primary and can facilitate local reads.
|
|
1006
|
+
* * The total number of electableNodes across all replication spec regions must total 3, 5, or 7.
|
|
1007
|
+
* * Specify 0 if you do not want any electable nodes in the region.
|
|
1008
|
+
* * You cannot create electable nodes in a region if `priority` is 0.
|
|
1009
|
+
*/
|
|
746
1010
|
electableNodes: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* Election priority of the region. For regions with only read-only nodes, set this value to 0.
|
|
1013
|
+
* * 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.
|
|
1014
|
+
* * 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.
|
|
1015
|
+
* * 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.
|
|
1016
|
+
*/
|
|
747
1017
|
priority: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* 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.
|
|
1020
|
+
*/
|
|
748
1021
|
readOnlyNodes?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* 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/).
|
|
1024
|
+
*/
|
|
749
1025
|
regionName: string;
|
|
750
1026
|
}
|
|
751
1027
|
export interface ClusterSnapshotBackupPolicy {
|
|
@@ -762,12 +1038,18 @@ export interface ClusterSnapshotBackupPolicy {
|
|
|
762
1038
|
updateSnapshots: boolean;
|
|
763
1039
|
}
|
|
764
1040
|
export interface ClusterSnapshotBackupPolicyPolicy {
|
|
1041
|
+
/**
|
|
1042
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
1043
|
+
*/
|
|
765
1044
|
id: string;
|
|
766
1045
|
policyItems: outputs.ClusterSnapshotBackupPolicyPolicyPolicyItem[];
|
|
767
1046
|
}
|
|
768
1047
|
export interface ClusterSnapshotBackupPolicyPolicyPolicyItem {
|
|
769
1048
|
frequencyInterval: number;
|
|
770
1049
|
frequencyType: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Unique identifer of the replication document for a zone in a Global Cluster.
|
|
1052
|
+
*/
|
|
771
1053
|
id: string;
|
|
772
1054
|
retentionUnit: string;
|
|
773
1055
|
retentionValue: number;
|
|
@@ -810,6 +1092,11 @@ export interface CustomDbRoleAction {
|
|
|
810
1092
|
export interface CustomDbRoleActionResource {
|
|
811
1093
|
cluster?: boolean;
|
|
812
1094
|
collectionName?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Database on which the inherited role is granted.
|
|
1097
|
+
*
|
|
1098
|
+
* > **NOTE** This value should be admin for all roles except read and readWrite.
|
|
1099
|
+
*/
|
|
813
1100
|
databaseName?: string;
|
|
814
1101
|
}
|
|
815
1102
|
export interface CustomDbRoleInheritedRole {
|
|
@@ -1180,8 +1467,14 @@ export interface Get509AuthenticationDatabaseUserCertificate {
|
|
|
1180
1467
|
}
|
|
1181
1468
|
export interface GetAccessListApiKeysResult {
|
|
1182
1469
|
accessCount: number;
|
|
1470
|
+
/**
|
|
1471
|
+
* Range of IP addresses in CIDR notation to be added to the access list.
|
|
1472
|
+
*/
|
|
1183
1473
|
cidrBlock: string;
|
|
1184
1474
|
created: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* Single IP address to be added to the access list.
|
|
1477
|
+
*/
|
|
1185
1478
|
ipAddress: string;
|
|
1186
1479
|
lastUsed: string;
|
|
1187
1480
|
lastUsedAddress: string;
|
|
@@ -2272,9 +2565,27 @@ export interface GetAlertConfigurationsResultThresholdConfig {
|
|
|
2272
2565
|
units: string;
|
|
2273
2566
|
}
|
|
2274
2567
|
export interface GetApiKeysResult {
|
|
2568
|
+
/**
|
|
2569
|
+
* Unique identifier for the API key you want to update. Use the /orgs/{ORG-ID}/apiKeys endpoint to retrieve all API keys to which the authenticated user has access for the specified organization.
|
|
2570
|
+
*/
|
|
2275
2571
|
apiKeyId: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* Description of this Organization API key.
|
|
2574
|
+
*/
|
|
2276
2575
|
description: string;
|
|
2277
2576
|
publicKey: string;
|
|
2577
|
+
/**
|
|
2578
|
+
* Name of the role. This resource returns all the roles the user has in Atlas.
|
|
2579
|
+
*
|
|
2580
|
+
* The following are valid roles:
|
|
2581
|
+
* * `ORG_OWNER`
|
|
2582
|
+
* * `ORG_GROUP_CREATOR`
|
|
2583
|
+
* * `ORG_BILLING_ADMIN`
|
|
2584
|
+
* * `ORG_READ_ONLY`
|
|
2585
|
+
* * `ORG_MEMBER`
|
|
2586
|
+
*
|
|
2587
|
+
* See [MongoDB Atlas API - Return All Organization API Keys](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/listApiKeys) - Documentation for more information.
|
|
2588
|
+
*/
|
|
2278
2589
|
roleNames: string[];
|
|
2279
2590
|
}
|
|
2280
2591
|
export interface GetAtlasUserLink {
|
|
@@ -5030,15 +5341,32 @@ export interface GetOrganizationLink {
|
|
|
5030
5341
|
rel: string;
|
|
5031
5342
|
}
|
|
5032
5343
|
export interface GetOrganizationsResult {
|
|
5344
|
+
/**
|
|
5345
|
+
* Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
|
|
5346
|
+
*/
|
|
5033
5347
|
apiAccessListRequired: boolean;
|
|
5034
5348
|
/**
|
|
5035
5349
|
* Autogenerated Unique ID for this data source.
|
|
5036
5350
|
*/
|
|
5037
5351
|
id: string;
|
|
5352
|
+
/**
|
|
5353
|
+
* Flag that indicates whether this organization has been deleted.
|
|
5354
|
+
*/
|
|
5038
5355
|
isDeleted: boolean;
|
|
5039
5356
|
links: outputs.GetOrganizationsResultLink[];
|
|
5357
|
+
/**
|
|
5358
|
+
* Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
|
|
5359
|
+
*/
|
|
5040
5360
|
multiFactorAuthRequired: boolean;
|
|
5361
|
+
/**
|
|
5362
|
+
* Human-readable label that identifies the organization.
|
|
5363
|
+
*/
|
|
5041
5364
|
name: string;
|
|
5365
|
+
/**
|
|
5366
|
+
* Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
|
|
5367
|
+
*
|
|
5368
|
+
* See [MongoDB Atlas API - Organizations](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Organizations/operation/listOrganizations) Documentation for more information.
|
|
5369
|
+
*/
|
|
5042
5370
|
restrictEmployeeAccess: boolean;
|
|
5043
5371
|
}
|
|
5044
5372
|
export interface GetOrganizationsResultLink {
|
|
@@ -5199,27 +5527,69 @@ export interface GetProjectTeam {
|
|
|
5199
5527
|
teamId: string;
|
|
5200
5528
|
}
|
|
5201
5529
|
export interface GetProjectsResult {
|
|
5530
|
+
/**
|
|
5531
|
+
* The number of Atlas clusters deployed in the project.
|
|
5532
|
+
*/
|
|
5202
5533
|
clusterCount: number;
|
|
5534
|
+
/**
|
|
5535
|
+
* The ISO-8601-formatted timestamp of when Atlas created the project.
|
|
5536
|
+
*/
|
|
5203
5537
|
created: string;
|
|
5204
5538
|
/**
|
|
5205
5539
|
* Autogenerated Unique ID for this data source.
|
|
5206
5540
|
*/
|
|
5207
5541
|
id: string;
|
|
5542
|
+
/**
|
|
5543
|
+
* IP addresses in a project categorized by services. See IP Addresses.
|
|
5544
|
+
*/
|
|
5208
5545
|
ipAddresses: outputs.GetProjectsResultIpAddresses;
|
|
5546
|
+
/**
|
|
5547
|
+
* Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
|
|
5548
|
+
*/
|
|
5209
5549
|
isCollectDatabaseSpecificsStatisticsEnabled: boolean;
|
|
5550
|
+
/**
|
|
5551
|
+
* Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface.
|
|
5552
|
+
*/
|
|
5210
5553
|
isDataExplorerEnabled: boolean;
|
|
5554
|
+
/**
|
|
5555
|
+
* Flag that indicates whether to enable extended storage sizes for the specified project.
|
|
5556
|
+
*/
|
|
5211
5557
|
isExtendedStorageSizesEnabled: boolean;
|
|
5558
|
+
/**
|
|
5559
|
+
* Flag that indicates whether to enable Performance Advisor and Profiler for the project. If enabled, you can analyze database logs to recommend performance improvements.
|
|
5560
|
+
*/
|
|
5212
5561
|
isPerformanceAdvisorEnabled: boolean;
|
|
5562
|
+
/**
|
|
5563
|
+
* Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
|
|
5564
|
+
*/
|
|
5213
5565
|
isRealtimePerformancePanelEnabled: boolean;
|
|
5566
|
+
/**
|
|
5567
|
+
* Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
|
|
5568
|
+
*/
|
|
5214
5569
|
isSchemaAdvisorEnabled: boolean;
|
|
5570
|
+
/**
|
|
5571
|
+
* The limits for the specified project. See Limits.
|
|
5572
|
+
*/
|
|
5215
5573
|
limits: outputs.GetProjectsResultLimit[];
|
|
5216
5574
|
name: string;
|
|
5575
|
+
/**
|
|
5576
|
+
* The ID of the organization you want to create the project within.
|
|
5577
|
+
*/
|
|
5217
5578
|
orgId: string;
|
|
5218
5579
|
projectId: string;
|
|
5580
|
+
/**
|
|
5581
|
+
* If GOV_REGIONS_ONLY the project can be used for government regions only, otherwise defaults to standard regions. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
|
|
5582
|
+
*/
|
|
5219
5583
|
regionUsageRestrictions: string;
|
|
5584
|
+
/**
|
|
5585
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. To learn more, see [Resource Tags](https://www.mongodb.com/docs/atlas/tags/)
|
|
5586
|
+
*/
|
|
5220
5587
|
tags: {
|
|
5221
5588
|
[key: string]: string;
|
|
5222
5589
|
};
|
|
5590
|
+
/**
|
|
5591
|
+
* Returns all teams to which the authenticated user has access in the project. See Teams.
|
|
5592
|
+
*/
|
|
5223
5593
|
teams: outputs.GetProjectsResultTeam[];
|
|
5224
5594
|
}
|
|
5225
5595
|
export interface GetProjectsResultIpAddresses {
|
|
@@ -5290,11 +5660,11 @@ export interface GetSearchIndexesResult {
|
|
|
5290
5660
|
/**
|
|
5291
5661
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
|
|
5292
5662
|
*/
|
|
5293
|
-
analyzer
|
|
5663
|
+
analyzer: string;
|
|
5294
5664
|
/**
|
|
5295
5665
|
* [Custom analyzers](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) to use in this index (this is an array of objects).
|
|
5296
5666
|
*/
|
|
5297
|
-
analyzers
|
|
5667
|
+
analyzers: string;
|
|
5298
5668
|
/**
|
|
5299
5669
|
* Name of the cluster containing the collection with one or more Atlas Search indexes.
|
|
5300
5670
|
*/
|
|
@@ -5307,16 +5677,19 @@ export interface GetSearchIndexesResult {
|
|
|
5307
5677
|
* (Required) Name of the database the collection is in.
|
|
5308
5678
|
*/
|
|
5309
5679
|
database: string;
|
|
5310
|
-
fields
|
|
5680
|
+
fields: string;
|
|
5681
|
+
/**
|
|
5682
|
+
* The unique identifier of the Atlas Search index.
|
|
5683
|
+
*/
|
|
5311
5684
|
indexId: string;
|
|
5312
5685
|
/**
|
|
5313
5686
|
* Flag indicating whether the index uses dynamic or static mappings.
|
|
5314
5687
|
*/
|
|
5315
|
-
mappingsDynamic
|
|
5688
|
+
mappingsDynamic: boolean;
|
|
5316
5689
|
/**
|
|
5317
5690
|
* Object containing one or more field specifications.
|
|
5318
5691
|
*/
|
|
5319
|
-
mappingsFields
|
|
5692
|
+
mappingsFields: string;
|
|
5320
5693
|
/**
|
|
5321
5694
|
* Name of the index.
|
|
5322
5695
|
*/
|
|
@@ -5328,20 +5701,23 @@ export interface GetSearchIndexesResult {
|
|
|
5328
5701
|
/**
|
|
5329
5702
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
|
|
5330
5703
|
*/
|
|
5331
|
-
searchAnalyzer
|
|
5704
|
+
searchAnalyzer: string;
|
|
5332
5705
|
/**
|
|
5333
5706
|
* Current status of the index.
|
|
5334
5707
|
*/
|
|
5335
5708
|
status: string;
|
|
5709
|
+
/**
|
|
5710
|
+
* String that can be "true" (store all fields), "false" (default, don't store any field), or a JSON string that contains the list of fields to store (include) or not store (exclude) on Atlas Search. To learn more, see [Stored Source Fields](https://www.mongodb.com/docs/atlas/atlas-search/stored-source-definition/).
|
|
5711
|
+
*/
|
|
5712
|
+
storedSource: string;
|
|
5336
5713
|
/**
|
|
5337
5714
|
* Synonyms mapping definition to use in this index.
|
|
5338
5715
|
* * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
|
|
5339
5716
|
* * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
|
|
5340
5717
|
* * `synonyms.#.analyzer` - Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping.
|
|
5341
5718
|
*/
|
|
5342
|
-
synonyms
|
|
5343
|
-
type
|
|
5344
|
-
waitForIndexBuildCompletion?: boolean;
|
|
5719
|
+
synonyms: outputs.GetSearchIndexesResultSynonym[];
|
|
5720
|
+
type: string;
|
|
5345
5721
|
}
|
|
5346
5722
|
export interface GetSearchIndexesResultSynonym {
|
|
5347
5723
|
/**
|
|
@@ -5705,14 +6081,35 @@ export interface GetX509AuthenticationDatabaseUserCertificate {
|
|
|
5705
6081
|
subject: string;
|
|
5706
6082
|
}
|
|
5707
6083
|
export interface GlobalClusterConfigCustomZoneMapping {
|
|
6084
|
+
/**
|
|
6085
|
+
* 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).
|
|
6086
|
+
*/
|
|
5708
6087
|
location: string;
|
|
6088
|
+
/**
|
|
6089
|
+
* The name of the zone in your Global Cluster that you want to map to location.
|
|
6090
|
+
*/
|
|
5709
6091
|
zone: string;
|
|
5710
6092
|
}
|
|
5711
6093
|
export interface GlobalClusterConfigManagedNamespace {
|
|
6094
|
+
/**
|
|
6095
|
+
* The name of the collection associated with the managed namespace.
|
|
6096
|
+
*/
|
|
5712
6097
|
collection: string;
|
|
6098
|
+
/**
|
|
6099
|
+
* 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.
|
|
6100
|
+
*/
|
|
5713
6101
|
customShardKey: string;
|
|
6102
|
+
/**
|
|
6103
|
+
* The name of the database containing the collection.
|
|
6104
|
+
*/
|
|
5714
6105
|
db: string;
|
|
6106
|
+
/**
|
|
6107
|
+
* 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.
|
|
6108
|
+
*/
|
|
5715
6109
|
isCustomShardKeyHashed: boolean;
|
|
6110
|
+
/**
|
|
6111
|
+
* 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).
|
|
6112
|
+
*/
|
|
5716
6113
|
isShardKeyUnique: boolean;
|
|
5717
6114
|
}
|
|
5718
6115
|
export interface LdapConfigurationUserToDnMapping {
|
|
@@ -5776,8 +6173,17 @@ export interface OnlineArchiveDataProcessRegion {
|
|
|
5776
6173
|
region: string;
|
|
5777
6174
|
}
|
|
5778
6175
|
export interface OnlineArchivePartitionField {
|
|
6176
|
+
/**
|
|
6177
|
+
* Human-readable label that identifies the parameter that MongoDB Cloud uses to partition data. To specify a nested parameter, use the dot notation.
|
|
6178
|
+
*/
|
|
5779
6179
|
fieldName: string;
|
|
6180
|
+
/**
|
|
6181
|
+
* 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`.
|
|
6182
|
+
*/
|
|
5780
6183
|
fieldType: string;
|
|
6184
|
+
/**
|
|
6185
|
+
* 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.
|
|
6186
|
+
*/
|
|
5781
6187
|
order: number;
|
|
5782
6188
|
}
|
|
5783
6189
|
export interface OnlineArchiveSchedule {
|
|
@@ -5969,6 +6375,9 @@ export interface StreamConnectionAuthentication {
|
|
|
5969
6375
|
username?: string;
|
|
5970
6376
|
}
|
|
5971
6377
|
export interface StreamConnectionDbRoleToExecute {
|
|
6378
|
+
/**
|
|
6379
|
+
* The name of the role to use. Can be a built in role or a custom role.
|
|
6380
|
+
*/
|
|
5972
6381
|
role: string;
|
|
5973
6382
|
/**
|
|
5974
6383
|
* Type of connection. Can be either `Cluster`, `Kafka` or `Sample`.
|