@pulumi/mongodbatlas 3.17.0-alpha.1721955764 → 3.17.0-alpha.1722061057
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 +5 -6
- package/types/output.d.ts +20 -15
- package/x509authenticationDatabaseUser.d.ts +2 -0
- package/x509authenticationDatabaseUser.js +2 -0
- package/x509authenticationDatabaseUser.js.map +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## # Data Source: mongodbatlas.PushBasedLogExport
|
|
4
|
+
*
|
|
3
5
|
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
@@ -9,32 +11,37 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
13
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
14
|
+
* export = async () => {
|
|
15
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
16
|
+
* name: atlasProjectName,
|
|
17
|
+
* orgId: atlasOrgId,
|
|
18
|
+
* });
|
|
19
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
20
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
21
|
+
* projectId: project_tf.id,
|
|
22
|
+
* providerName: "AWS",
|
|
23
|
+
* });
|
|
24
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
25
|
+
* projectId: project_tf.id,
|
|
26
|
+
* roleId: setupOnly.roleId,
|
|
27
|
+
* aws: {
|
|
28
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* // Set up push-based log export with authorized IAM role
|
|
32
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
33
|
+
* projectId: project_tf.id,
|
|
34
|
+
* bucketName: logBucket.bucket,
|
|
35
|
+
* iamRoleId: authRole.roleId,
|
|
36
|
+
* prefixPath: "push-based-log-test",
|
|
37
|
+
* });
|
|
38
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
39
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
40
|
+
* });
|
|
41
|
+
* return {
|
|
42
|
+
* test: test.apply(test => test.prefixPath),
|
|
43
|
+
* };
|
|
44
|
+
* }
|
|
38
45
|
* ```
|
|
39
46
|
*/
|
|
40
47
|
export declare function getPushBasedLogExport(args: GetPushBasedLogExportArgs, opts?: pulumi.InvokeOptions): Promise<GetPushBasedLogExportResult>;
|
|
@@ -66,6 +73,8 @@ export interface GetPushBasedLogExportResult {
|
|
|
66
73
|
readonly state: string;
|
|
67
74
|
}
|
|
68
75
|
/**
|
|
76
|
+
* ## # Data Source: mongodbatlas.PushBasedLogExport
|
|
77
|
+
*
|
|
69
78
|
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
70
79
|
*
|
|
71
80
|
* ## Example Usage
|
|
@@ -75,32 +84,37 @@ export interface GetPushBasedLogExportResult {
|
|
|
75
84
|
* import * as pulumi from "@pulumi/pulumi";
|
|
76
85
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
77
86
|
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
87
|
+
* export = async () => {
|
|
88
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
89
|
+
* name: atlasProjectName,
|
|
90
|
+
* orgId: atlasOrgId,
|
|
91
|
+
* });
|
|
92
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
93
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
94
|
+
* projectId: project_tf.id,
|
|
95
|
+
* providerName: "AWS",
|
|
96
|
+
* });
|
|
97
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
98
|
+
* projectId: project_tf.id,
|
|
99
|
+
* roleId: setupOnly.roleId,
|
|
100
|
+
* aws: {
|
|
101
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
102
|
+
* },
|
|
103
|
+
* });
|
|
104
|
+
* // Set up push-based log export with authorized IAM role
|
|
105
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
106
|
+
* projectId: project_tf.id,
|
|
107
|
+
* bucketName: logBucket.bucket,
|
|
108
|
+
* iamRoleId: authRole.roleId,
|
|
109
|
+
* prefixPath: "push-based-log-test",
|
|
110
|
+
* });
|
|
111
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
112
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
113
|
+
* });
|
|
114
|
+
* return {
|
|
115
|
+
* test: test.apply(test => test.prefixPath),
|
|
116
|
+
* };
|
|
117
|
+
* }
|
|
104
118
|
* ```
|
|
105
119
|
*/
|
|
106
120
|
export declare function getPushBasedLogExportOutput(args: GetPushBasedLogExportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPushBasedLogExportResult>;
|
package/getPushBasedLogExport.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getPushBasedLogExportOutput = exports.getPushBasedLogExport = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.PushBasedLogExport
|
|
10
|
+
*
|
|
9
11
|
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -15,32 +17,37 @@ const utilities = require("./utilities");
|
|
|
15
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
19
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
20
|
+
* export = async () => {
|
|
21
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
22
|
+
* name: atlasProjectName,
|
|
23
|
+
* orgId: atlasOrgId,
|
|
24
|
+
* });
|
|
25
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
26
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
27
|
+
* projectId: project_tf.id,
|
|
28
|
+
* providerName: "AWS",
|
|
29
|
+
* });
|
|
30
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
31
|
+
* projectId: project_tf.id,
|
|
32
|
+
* roleId: setupOnly.roleId,
|
|
33
|
+
* aws: {
|
|
34
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* // Set up push-based log export with authorized IAM role
|
|
38
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
39
|
+
* projectId: project_tf.id,
|
|
40
|
+
* bucketName: logBucket.bucket,
|
|
41
|
+
* iamRoleId: authRole.roleId,
|
|
42
|
+
* prefixPath: "push-based-log-test",
|
|
43
|
+
* });
|
|
44
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
45
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
46
|
+
* });
|
|
47
|
+
* return {
|
|
48
|
+
* test: test.apply(test => test.prefixPath),
|
|
49
|
+
* };
|
|
50
|
+
* }
|
|
44
51
|
* ```
|
|
45
52
|
*/
|
|
46
53
|
function getPushBasedLogExport(args, opts) {
|
|
@@ -51,6 +58,8 @@ function getPushBasedLogExport(args, opts) {
|
|
|
51
58
|
}
|
|
52
59
|
exports.getPushBasedLogExport = getPushBasedLogExport;
|
|
53
60
|
/**
|
|
61
|
+
* ## # Data Source: mongodbatlas.PushBasedLogExport
|
|
62
|
+
*
|
|
54
63
|
* `mongodbatlas.PushBasedLogExport` describes the configured project level settings for the push-based log export feature.
|
|
55
64
|
*
|
|
56
65
|
* ## Example Usage
|
|
@@ -60,32 +69,37 @@ exports.getPushBasedLogExport = getPushBasedLogExport;
|
|
|
60
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
61
70
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
62
71
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
72
|
+
* export = async () => {
|
|
73
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
74
|
+
* name: atlasProjectName,
|
|
75
|
+
* orgId: atlasOrgId,
|
|
76
|
+
* });
|
|
77
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
78
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
79
|
+
* projectId: project_tf.id,
|
|
80
|
+
* providerName: "AWS",
|
|
81
|
+
* });
|
|
82
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
83
|
+
* projectId: project_tf.id,
|
|
84
|
+
* roleId: setupOnly.roleId,
|
|
85
|
+
* aws: {
|
|
86
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
* // Set up push-based log export with authorized IAM role
|
|
90
|
+
* const testPushBasedLogExport = new mongodbatlas.PushBasedLogExport("test", {
|
|
91
|
+
* projectId: project_tf.id,
|
|
92
|
+
* bucketName: logBucket.bucket,
|
|
93
|
+
* iamRoleId: authRole.roleId,
|
|
94
|
+
* prefixPath: "push-based-log-test",
|
|
95
|
+
* });
|
|
96
|
+
* const test = mongodbatlas.getPushBasedLogExportOutput({
|
|
97
|
+
* projectId: testPushBasedLogExport.projectId,
|
|
98
|
+
* });
|
|
99
|
+
* return {
|
|
100
|
+
* test: test.apply(test => test.prefixPath),
|
|
101
|
+
* };
|
|
102
|
+
* }
|
|
89
103
|
* ```
|
|
90
104
|
*/
|
|
91
105
|
function getPushBasedLogExportOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPushBasedLogExport.js","sourceRoot":"","sources":["../getPushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPushBasedLogExport.js","sourceRoot":"","sources":["../getPushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/getRolesOrgId.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## # Data Source: mongodbatlas.getRolesOrgId
|
|
4
|
+
*
|
|
3
5
|
* `mongodbatlas.getRolesOrgId` describes a MongoDB Atlas Roles Org ID. This represents a Roles Org ID.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
@@ -28,6 +30,8 @@ export interface GetRolesOrgIdResult {
|
|
|
28
30
|
readonly orgId: string;
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
33
|
+
* ## # Data Source: mongodbatlas.getRolesOrgId
|
|
34
|
+
*
|
|
31
35
|
* `mongodbatlas.getRolesOrgId` describes a MongoDB Atlas Roles Org ID. This represents a Roles Org ID.
|
|
32
36
|
*
|
|
33
37
|
* ## Example Usage
|
package/getRolesOrgId.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getRolesOrgIdOutput = exports.getRolesOrgId = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.getRolesOrgId
|
|
10
|
+
*
|
|
9
11
|
* `mongodbatlas.getRolesOrgId` describes a MongoDB Atlas Roles Org ID. This represents a Roles Org ID.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -25,6 +27,8 @@ function getRolesOrgId(opts) {
|
|
|
25
27
|
}
|
|
26
28
|
exports.getRolesOrgId = getRolesOrgId;
|
|
27
29
|
/**
|
|
30
|
+
* ## # Data Source: mongodbatlas.getRolesOrgId
|
|
31
|
+
*
|
|
28
32
|
* `mongodbatlas.getRolesOrgId` describes a MongoDB Atlas Roles Org ID. This represents a Roles Org ID.
|
|
29
33
|
*
|
|
30
34
|
* ## Example Usage
|
package/getRolesOrgId.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
|
package/getSearchDeployment.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* ## # Data Source: mongodbatlas.SearchDeployment
|
|
5
|
+
*
|
|
4
6
|
* `mongodbatlas.SearchDeployment` describes a search node deployment.
|
|
5
7
|
*
|
|
6
8
|
* ## Example Usage
|
|
@@ -45,6 +47,8 @@ export interface GetSearchDeploymentResult {
|
|
|
45
47
|
readonly stateName: string;
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
50
|
+
* ## # Data Source: mongodbatlas.SearchDeployment
|
|
51
|
+
*
|
|
48
52
|
* `mongodbatlas.SearchDeployment` describes a search node deployment.
|
|
49
53
|
*
|
|
50
54
|
* ## Example Usage
|
package/getSearchDeployment.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getSearchDeploymentOutput = exports.getSearchDeployment = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.SearchDeployment
|
|
10
|
+
*
|
|
9
11
|
* `mongodbatlas.SearchDeployment` describes a search node deployment.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -19,6 +21,8 @@ function getSearchDeployment(args, opts) {
|
|
|
19
21
|
}
|
|
20
22
|
exports.getSearchDeployment = getSearchDeployment;
|
|
21
23
|
/**
|
|
24
|
+
* ## # Data Source: mongodbatlas.SearchDeployment
|
|
25
|
+
*
|
|
22
26
|
* `mongodbatlas.SearchDeployment` describes a search node deployment.
|
|
23
27
|
*
|
|
24
28
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchDeployment.js","sourceRoot":"","sources":["../getSearchDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSearchDeployment.js","sourceRoot":"","sources":["../getSearchDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyCD;;;;;;GAMG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
package/getSearchIndex.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* ## # Data Source: mongodbatlas.SearchIndex
|
|
5
|
+
*
|
|
6
|
+
* `mongodbatlas.SearchIndex` describes a single search indexes. This represents a single search index that have been created.
|
|
5
7
|
*
|
|
6
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
7
9
|
*
|
|
@@ -23,52 +25,18 @@ export declare function getSearchIndex(args: GetSearchIndexArgs, opts?: pulumi.I
|
|
|
23
25
|
* A collection of arguments for invoking getSearchIndex.
|
|
24
26
|
*/
|
|
25
27
|
export interface GetSearchIndexArgs {
|
|
26
|
-
/**
|
|
27
|
-
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
|
|
28
|
-
*/
|
|
29
|
-
analyzer?: string;
|
|
30
|
-
/**
|
|
31
|
-
* [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).
|
|
32
|
-
*/
|
|
33
|
-
analyzers?: string;
|
|
34
28
|
/**
|
|
35
29
|
* The name of the cluster containing the collection with one or more Atlas Search indexes.
|
|
36
30
|
*/
|
|
37
31
|
clusterName: string;
|
|
38
|
-
/**
|
|
39
|
-
* Name of the collection the index is on.
|
|
40
|
-
*/
|
|
41
|
-
collectionName?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Name of the database the collection is in.
|
|
44
|
-
*/
|
|
45
|
-
database?: string;
|
|
46
|
-
fields?: string;
|
|
47
32
|
/**
|
|
48
33
|
* The unique identifier of the Atlas Search index. Use the `mongodbatlas.getSearchIndexes`datasource to find the IDs of all Atlas Search indexes.
|
|
49
34
|
*/
|
|
50
35
|
indexId: string;
|
|
51
|
-
/**
|
|
52
|
-
* Flag indicating whether the index uses dynamic or static mappings.
|
|
53
|
-
*/
|
|
54
|
-
mappingsDynamic?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Object containing one or more field specifications.
|
|
57
|
-
*/
|
|
58
|
-
mappingsFields?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Name of the index.
|
|
61
|
-
*/
|
|
62
|
-
name?: string;
|
|
63
36
|
/**
|
|
64
37
|
* The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
|
|
65
38
|
*/
|
|
66
39
|
projectId: string;
|
|
67
|
-
/**
|
|
68
|
-
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
|
|
69
|
-
*/
|
|
70
|
-
searchAnalyzer?: string;
|
|
71
|
-
type?: string;
|
|
72
40
|
}
|
|
73
41
|
/**
|
|
74
42
|
* A collection of values returned by getSearchIndex.
|
|
@@ -77,21 +45,21 @@ export interface GetSearchIndexResult {
|
|
|
77
45
|
/**
|
|
78
46
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
|
|
79
47
|
*/
|
|
80
|
-
readonly analyzer
|
|
48
|
+
readonly analyzer: string;
|
|
81
49
|
/**
|
|
82
50
|
* [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).
|
|
83
51
|
*/
|
|
84
|
-
readonly analyzers
|
|
52
|
+
readonly analyzers: string;
|
|
85
53
|
readonly clusterName: string;
|
|
86
54
|
/**
|
|
87
55
|
* Name of the collection the index is on.
|
|
88
56
|
*/
|
|
89
|
-
readonly collectionName
|
|
57
|
+
readonly collectionName: string;
|
|
90
58
|
/**
|
|
91
59
|
* Name of the database the collection is in.
|
|
92
60
|
*/
|
|
93
|
-
readonly database
|
|
94
|
-
readonly fields
|
|
61
|
+
readonly database: string;
|
|
62
|
+
readonly fields: string;
|
|
95
63
|
/**
|
|
96
64
|
* The provider-assigned unique ID for this managed resource.
|
|
97
65
|
*/
|
|
@@ -100,24 +68,28 @@ export interface GetSearchIndexResult {
|
|
|
100
68
|
/**
|
|
101
69
|
* Flag indicating whether the index uses dynamic or static mappings.
|
|
102
70
|
*/
|
|
103
|
-
readonly mappingsDynamic
|
|
71
|
+
readonly mappingsDynamic: boolean;
|
|
104
72
|
/**
|
|
105
73
|
* Object containing one or more field specifications.
|
|
106
74
|
*/
|
|
107
|
-
readonly mappingsFields
|
|
75
|
+
readonly mappingsFields: string;
|
|
108
76
|
/**
|
|
109
77
|
* Name of the index.
|
|
110
78
|
*/
|
|
111
|
-
readonly name
|
|
79
|
+
readonly name: string;
|
|
112
80
|
readonly projectId: string;
|
|
113
81
|
/**
|
|
114
82
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
|
|
115
83
|
*/
|
|
116
|
-
readonly searchAnalyzer
|
|
84
|
+
readonly searchAnalyzer: string;
|
|
117
85
|
/**
|
|
118
86
|
* Current status of the index.
|
|
119
87
|
*/
|
|
120
88
|
readonly status: string;
|
|
89
|
+
/**
|
|
90
|
+
* 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/).
|
|
91
|
+
*/
|
|
92
|
+
readonly storedSource: string;
|
|
121
93
|
/**
|
|
122
94
|
* Synonyms mapping definition to use in this index.
|
|
123
95
|
* * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
|
|
@@ -125,10 +97,12 @@ export interface GetSearchIndexResult {
|
|
|
125
97
|
* * `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.
|
|
126
98
|
*/
|
|
127
99
|
readonly synonyms: outputs.GetSearchIndexSynonym[];
|
|
128
|
-
readonly type
|
|
100
|
+
readonly type: string;
|
|
129
101
|
}
|
|
130
102
|
/**
|
|
131
|
-
*
|
|
103
|
+
* ## # Data Source: mongodbatlas.SearchIndex
|
|
104
|
+
*
|
|
105
|
+
* `mongodbatlas.SearchIndex` describes a single search indexes. This represents a single search index that have been created.
|
|
132
106
|
*
|
|
133
107
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
134
108
|
*
|
|
@@ -150,50 +124,16 @@ export declare function getSearchIndexOutput(args: GetSearchIndexOutputArgs, opt
|
|
|
150
124
|
* A collection of arguments for invoking getSearchIndex.
|
|
151
125
|
*/
|
|
152
126
|
export interface GetSearchIndexOutputArgs {
|
|
153
|
-
/**
|
|
154
|
-
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
|
|
155
|
-
*/
|
|
156
|
-
analyzer?: pulumi.Input<string>;
|
|
157
|
-
/**
|
|
158
|
-
* [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).
|
|
159
|
-
*/
|
|
160
|
-
analyzers?: pulumi.Input<string>;
|
|
161
127
|
/**
|
|
162
128
|
* The name of the cluster containing the collection with one or more Atlas Search indexes.
|
|
163
129
|
*/
|
|
164
130
|
clusterName: pulumi.Input<string>;
|
|
165
|
-
/**
|
|
166
|
-
* Name of the collection the index is on.
|
|
167
|
-
*/
|
|
168
|
-
collectionName?: pulumi.Input<string>;
|
|
169
|
-
/**
|
|
170
|
-
* Name of the database the collection is in.
|
|
171
|
-
*/
|
|
172
|
-
database?: pulumi.Input<string>;
|
|
173
|
-
fields?: pulumi.Input<string>;
|
|
174
131
|
/**
|
|
175
132
|
* The unique identifier of the Atlas Search index. Use the `mongodbatlas.getSearchIndexes`datasource to find the IDs of all Atlas Search indexes.
|
|
176
133
|
*/
|
|
177
134
|
indexId: pulumi.Input<string>;
|
|
178
|
-
/**
|
|
179
|
-
* Flag indicating whether the index uses dynamic or static mappings.
|
|
180
|
-
*/
|
|
181
|
-
mappingsDynamic?: pulumi.Input<boolean>;
|
|
182
|
-
/**
|
|
183
|
-
* Object containing one or more field specifications.
|
|
184
|
-
*/
|
|
185
|
-
mappingsFields?: pulumi.Input<string>;
|
|
186
|
-
/**
|
|
187
|
-
* Name of the index.
|
|
188
|
-
*/
|
|
189
|
-
name?: pulumi.Input<string>;
|
|
190
135
|
/**
|
|
191
136
|
* The unique identifier for the [project](https://docs.atlas.mongodb.com/organizations-projects/#std-label-projects) that contains the specified cluster.
|
|
192
137
|
*/
|
|
193
138
|
projectId: pulumi.Input<string>;
|
|
194
|
-
/**
|
|
195
|
-
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index.
|
|
196
|
-
*/
|
|
197
|
-
searchAnalyzer?: pulumi.Input<string>;
|
|
198
|
-
type?: pulumi.Input<string>;
|
|
199
139
|
}
|
package/getSearchIndex.js
CHANGED
|
@@ -6,7 +6,9 @@ exports.getSearchIndexOutput = exports.getSearchIndex = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* ## # Data Source: mongodbatlas.SearchIndex
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.SearchIndex` describes a single search indexes. This represents a single search index that have been created.
|
|
10
12
|
*
|
|
11
13
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
12
14
|
*
|
|
@@ -26,24 +28,16 @@ const utilities = require("./utilities");
|
|
|
26
28
|
function getSearchIndex(args, opts) {
|
|
27
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
30
|
return pulumi.runtime.invoke("mongodbatlas:index/getSearchIndex:getSearchIndex", {
|
|
29
|
-
"analyzer": args.analyzer,
|
|
30
|
-
"analyzers": args.analyzers,
|
|
31
31
|
"clusterName": args.clusterName,
|
|
32
|
-
"collectionName": args.collectionName,
|
|
33
|
-
"database": args.database,
|
|
34
|
-
"fields": args.fields,
|
|
35
32
|
"indexId": args.indexId,
|
|
36
|
-
"mappingsDynamic": args.mappingsDynamic,
|
|
37
|
-
"mappingsFields": args.mappingsFields,
|
|
38
|
-
"name": args.name,
|
|
39
33
|
"projectId": args.projectId,
|
|
40
|
-
"searchAnalyzer": args.searchAnalyzer,
|
|
41
|
-
"type": args.type,
|
|
42
34
|
}, opts);
|
|
43
35
|
}
|
|
44
36
|
exports.getSearchIndex = getSearchIndex;
|
|
45
37
|
/**
|
|
46
|
-
*
|
|
38
|
+
* ## # Data Source: mongodbatlas.SearchIndex
|
|
39
|
+
*
|
|
40
|
+
* `mongodbatlas.SearchIndex` describes a single search indexes. This represents a single search index that have been created.
|
|
47
41
|
*
|
|
48
42
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
49
43
|
*
|
package/getSearchIndex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAiFD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getSearchIndexes.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* ## # Data Source: mongodbatlas.getSearchIndexes
|
|
5
|
+
*
|
|
6
|
+
* `mongodbatlas.getSearchIndexes` describes all search indexes. This represents search indexes that have been created.
|
|
5
7
|
*
|
|
6
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
7
9
|
*/
|
|
@@ -55,7 +57,9 @@ export interface GetSearchIndexesResult {
|
|
|
55
57
|
readonly totalCount: number;
|
|
56
58
|
}
|
|
57
59
|
/**
|
|
58
|
-
*
|
|
60
|
+
* ## # Data Source: mongodbatlas.getSearchIndexes
|
|
61
|
+
*
|
|
62
|
+
* `mongodbatlas.getSearchIndexes` describes all search indexes. This represents search indexes that have been created.
|
|
59
63
|
*
|
|
60
64
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
61
65
|
*/
|