@pulumi/mongodbatlas 3.39.0-alpha.1766556689 → 4.0.0
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/accessListApiKey.d.ts +3 -0
- package/accessListApiKey.js +3 -0
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +85 -40
- package/advancedCluster.js +4 -2
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +15 -2
- package/alertConfiguration.js +5 -2
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +3 -0
- package/apiKey.js +3 -0
- package/apiKey.js.map +1 -1
- package/apiKeyProjectAssignment.d.ts +3 -2
- package/apiKeyProjectAssignment.js +3 -2
- package/apiKeyProjectAssignment.js.map +1 -1
- package/auditing.d.ts +0 -2
- package/auditing.js +0 -2
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +3 -0
- package/backupCompliancePolicy.js +3 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSchedule.d.ts +8 -8
- package/cloudBackupSnapshot.d.ts +16 -2
- package/cloudBackupSnapshot.js +6 -2
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +4 -2
- package/cloudBackupSnapshotExportBucket.js +4 -2
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -2
- package/cloudBackupSnapshotExportJob.js +3 -2
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +3 -3
- package/cloudBackupSnapshotRestoreJob.js +3 -3
- package/cloudProviderAccessAuthorization.d.ts +36 -0
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +126 -0
- package/cloudProviderAccessSetup.js +59 -0
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cloudUserOrgAssignment.d.ts +221 -0
- package/cloudUserOrgAssignment.js +137 -0
- package/cloudUserOrgAssignment.js.map +1 -0
- package/cloudUserProjectAssignment.d.ts +217 -0
- package/cloudUserProjectAssignment.js +141 -0
- package/cloudUserProjectAssignment.js.map +1 -0
- package/cloudUserTeamAssignment.d.ts +229 -0
- package/cloudUserTeamAssignment.js +139 -0
- package/cloudUserTeamAssignment.js.map +1 -0
- package/cluster.d.ts +4 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +15 -2
- package/clusterOutageSimulation.js +5 -2
- package/clusterOutageSimulation.js.map +1 -1
- package/config/vars.d.ts +12 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/customDbRole.d.ts +0 -2
- package/customDbRole.js +0 -2
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +0 -2
- package/customDnsConfigurationClusterAws.js +0 -2
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/databaseUser.d.ts +3 -2
- package/databaseUser.js +3 -2
- package/databaseUser.js.map +1 -1
- package/encryptionAtRestPrivateEndpoint.d.ts +21 -2
- package/encryptionAtRestPrivateEndpoint.js +8 -2
- package/encryptionAtRestPrivateEndpoint.js.map +1 -1
- package/eventTrigger.d.ts +15 -130
- package/eventTrigger.js +0 -115
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +16 -14
- package/federatedDatabaseInstance.js +4 -2
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +3 -2
- package/federatedQueryLimit.js +3 -2
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +2 -2
- package/federatedSettingsIdentityProvider.js +2 -2
- package/federatedSettingsOrgConfig.d.ts +4 -2
- package/federatedSettingsOrgConfig.js +4 -2
- package/federatedSettingsOrgConfig.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +3 -2
- package/federatedSettingsOrgRoleMapping.js +3 -2
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/flexCluster.d.ts +18 -2
- package/flexCluster.js +7 -2
- package/flexCluster.js.map +1 -1
- package/getAdvancedCluster.d.ts +122 -52
- package/getAdvancedCluster.js +104 -30
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +153 -35
- package/getAdvancedClusters.js +150 -32
- package/getAdvancedClusters.js.map +1 -1
- package/getAlertConfiguration.d.ts +4 -4
- package/getAlertConfiguration.js +0 -4
- package/getAlertConfiguration.js.map +1 -1
- package/getAlertConfigurations.d.ts +0 -4
- package/getAlertConfigurations.js +0 -4
- package/getAlertConfigurations.js.map +1 -1
- package/getApiKeyProjectAssignment.d.ts +0 -4
- package/getApiKeyProjectAssignment.js +0 -4
- package/getApiKeyProjectAssignment.js.map +1 -1
- package/getApiKeyProjectAssignments.d.ts +0 -4
- package/getApiKeyProjectAssignments.js +0 -4
- package/getApiKeyProjectAssignments.js.map +1 -1
- package/getAtlasUser.d.ts +9 -7
- package/getAtlasUser.js +4 -4
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +4 -4
- package/getAtlasUsers.js +4 -4
- package/getAuditing.d.ts +0 -4
- package/getAuditing.js +0 -4
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +3 -3
- package/getCloudBackupSchedule.d.ts +0 -11
- package/getCloudBackupSchedule.js +0 -4
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +0 -4
- package/getCloudBackupSnapshot.js +0 -4
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +0 -4
- package/getCloudBackupSnapshotExportBucket.js +0 -4
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +0 -4
- package/getCloudBackupSnapshotExportBuckets.js +0 -4
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +0 -4
- package/getCloudBackupSnapshotExportJob.js +0 -4
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +0 -4
- package/getCloudBackupSnapshotExportJobs.js +0 -4
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +0 -4
- package/getCloudBackupSnapshotRestoreJob.js +0 -4
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +0 -4
- package/getCloudBackupSnapshotRestoreJobs.js +0 -4
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudBackupSnapshots.d.ts +0 -4
- package/getCloudBackupSnapshots.js +0 -4
- package/getCloudBackupSnapshots.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +0 -4
- package/getCloudProviderAccessSetup.js +0 -4
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCloudUserOrgAssignment.d.ts +171 -0
- package/getCloudUserOrgAssignment.js +90 -0
- package/getCloudUserOrgAssignment.js.map +1 -0
- package/getCloudUserProjectAssignment.d.ts +117 -0
- package/getCloudUserProjectAssignment.js +92 -0
- package/getCloudUserProjectAssignment.js.map +1 -0
- package/getCloudUserTeamAssignment.d.ts +183 -0
- package/getCloudUserTeamAssignment.js +92 -0
- package/getCloudUserTeamAssignment.js.map +1 -0
- package/getClusters.d.ts +4 -4
- package/getClusters.js +4 -4
- package/getControlPlaneIpAddresses.d.ts +0 -4
- package/getControlPlaneIpAddresses.js +0 -4
- package/getControlPlaneIpAddresses.js.map +1 -1
- package/getCustomDbRole.d.ts +0 -4
- package/getCustomDbRole.js +0 -4
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +0 -4
- package/getCustomDbRoles.js +0 -4
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +0 -4
- package/getCustomDnsConfigurationClusterAws.js +0 -4
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +1 -5
- package/getDatabaseUser.js +0 -4
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +0 -4
- package/getDatabaseUsers.js +0 -4
- package/getDatabaseUsers.js.map +1 -1
- package/getEncryptionAtRest.d.ts +0 -4
- package/getEncryptionAtRest.js +0 -4
- package/getEncryptionAtRest.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoint.d.ts +0 -4
- package/getEncryptionAtRestPrivateEndpoint.js +0 -4
- package/getEncryptionAtRestPrivateEndpoint.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoints.d.ts +0 -4
- package/getEncryptionAtRestPrivateEndpoints.js +0 -4
- package/getEncryptionAtRestPrivateEndpoints.js.map +1 -1
- package/getEventTrigger.d.ts +0 -4
- package/getEventTrigger.js +0 -4
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +0 -4
- package/getEventTriggers.js +0 -4
- package/getEventTriggers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +45 -15
- package/getFederatedDatabaseInstance.js +40 -10
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedDatabaseInstances.d.ts +0 -4
- package/getFederatedDatabaseInstances.js +0 -4
- package/getFederatedDatabaseInstances.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +0 -4
- package/getFederatedQueryLimit.js +0 -4
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +0 -4
- package/getFederatedQueryLimits.js +0 -4
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +0 -4
- package/getFederatedSettings.js +0 -4
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +0 -4
- package/getFederatedSettingsIdentityProvider.js +0 -4
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +0 -4
- package/getFederatedSettingsIdentityProviders.js +0 -4
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +0 -4
- package/getFederatedSettingsOrgConfig.js +0 -4
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +0 -4
- package/getFederatedSettingsOrgConfigs.js +0 -4
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +0 -4
- package/getFederatedSettingsOrgRoleMapping.js +0 -4
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getFederatedSettingsOrgRoleMappings.d.ts +0 -4
- package/getFederatedSettingsOrgRoleMappings.js +0 -4
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
- package/getFlexCluster.d.ts +0 -4
- package/getFlexCluster.js +0 -4
- package/getFlexCluster.js.map +1 -1
- package/getFlexClusters.d.ts +0 -4
- package/getFlexClusters.js +0 -4
- package/getFlexClusters.js.map +1 -1
- package/getFlexRestoreJob.d.ts +0 -4
- package/getFlexRestoreJob.js +0 -4
- package/getFlexRestoreJob.js.map +1 -1
- package/getFlexRestoreJobs.d.ts +0 -4
- package/getFlexRestoreJobs.js +0 -4
- package/getFlexRestoreJobs.js.map +1 -1
- package/getFlexSnapshot.d.ts +0 -4
- package/getFlexSnapshot.js +0 -4
- package/getFlexSnapshot.js.map +1 -1
- package/getFlexSnapshots.d.ts +0 -4
- package/getFlexSnapshots.js +0 -4
- package/getFlexSnapshots.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +0 -12
- package/getGlobalClusterConfig.js +0 -4
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +0 -4
- package/getLdapConfiguration.js +0 -4
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +0 -4
- package/getLdapVerify.js +0 -4
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +6 -6
- package/getMaintenanceWindow.js +4 -4
- package/getMongodbEmployeeAccessGrant.d.ts +0 -4
- package/getMongodbEmployeeAccessGrant.js +0 -4
- package/getMongodbEmployeeAccessGrant.js.map +1 -1
- package/getNetworkContainer.d.ts +0 -4
- package/getNetworkContainer.js +0 -4
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +0 -4
- package/getNetworkContainers.js +0 -4
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +0 -4
- package/getNetworkPeering.js +0 -4
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +0 -4
- package/getNetworkPeerings.js +0 -4
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +2 -6
- package/getOnlineArchive.js +2 -6
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +2 -6
- package/getOnlineArchives.js +2 -6
- package/getOnlineArchives.js.map +1 -1
- package/getOrgInvitation.d.ts +4 -4
- package/getOrgInvitation.js +4 -4
- package/getOrganization.d.ts +4 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +0 -4
- package/getOrganizations.js +0 -4
- package/getOrganizations.js.map +1 -1
- package/getPrivateEndpointRegionalMode.d.ts +0 -4
- package/getPrivateEndpointRegionalMode.js +0 -4
- package/getPrivateEndpointRegionalMode.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +0 -4
- package/getPrivateLinkEndpoint.js +0 -4
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +0 -4
- package/getPrivateLinkEndpointService.js +0 -4
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +2 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getProject.d.ts +11 -57
- package/getProject.js +0 -56
- package/getProject.js.map +1 -1
- package/getProjectInvitation.d.ts +4 -4
- package/getProjectInvitation.js +4 -4
- package/getProjectIpAccessList.d.ts +0 -4
- package/getProjectIpAccessList.js +0 -4
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjectIpAddresses.d.ts +0 -4
- package/getProjectIpAddresses.js +0 -4
- package/getProjectIpAddresses.js.map +1 -1
- package/getProjects.d.ts +1 -31
- package/getProjects.js +0 -30
- package/getProjects.js.map +1 -1
- package/getPushBasedLogExport.d.ts +0 -4
- package/getPushBasedLogExport.js +0 -4
- package/getPushBasedLogExport.js.map +1 -1
- package/getResourcePolicies.d.ts +0 -4
- package/getResourcePolicies.js +0 -4
- package/getResourcePolicies.js.map +1 -1
- package/getResourcePolicy.d.ts +0 -4
- package/getResourcePolicy.js +0 -4
- package/getResourcePolicy.js.map +1 -1
- package/getRolesOrgId.d.ts +3 -7
- package/getRolesOrgId.js +2 -6
- package/getRolesOrgId.js.map +1 -1
- package/getSearchDeployment.d.ts +0 -4
- package/getSearchDeployment.js +0 -4
- package/getSearchDeployment.js.map +1 -1
- package/getSearchIndex.d.ts +9 -5
- package/getSearchIndex.js +0 -4
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +0 -4
- package/getSearchIndexes.js +0 -4
- package/getSearchIndexes.js.map +1 -1
- package/getServerlessInstance.d.ts +2 -20
- package/getServerlessInstance.js +2 -20
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +2 -2
- package/getServerlessInstances.js +2 -2
- package/getStreamAccountDetails.d.ts +0 -4
- package/getStreamAccountDetails.js +0 -4
- package/getStreamAccountDetails.js.map +1 -1
- package/getStreamConnection.d.ts +55 -13
- package/getStreamConnection.js +30 -6
- package/getStreamConnection.js.map +1 -1
- package/getStreamConnections.d.ts +28 -12
- package/getStreamConnections.js +4 -6
- package/getStreamConnections.js.map +1 -1
- package/getStreamInstance.d.ts +42 -2
- package/getStreamInstance.js +42 -2
- package/getStreamInstance.js.map +1 -1
- package/getStreamInstances.d.ts +38 -2
- package/getStreamInstances.js +38 -2
- package/getStreamInstances.js.map +1 -1
- package/getStreamPrivatelinkEndpoint.d.ts +53 -4
- package/getStreamPrivatelinkEndpoint.js +52 -4
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +52 -4
- package/getStreamPrivatelinkEndpoints.js +52 -4
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/getStreamProcessor.d.ts +28 -29
- package/getStreamProcessor.js +18 -20
- package/getStreamProcessor.js.map +1 -1
- package/getStreamProcessors.d.ts +25 -26
- package/getStreamProcessors.js +18 -20
- package/getStreamProcessors.js.map +1 -1
- package/getStreamWorkspace.d.ts +92 -0
- package/getStreamWorkspace.js +66 -0
- package/getStreamWorkspace.js.map +1 -0
- package/getStreamWorkspaces.d.ts +101 -0
- package/getStreamWorkspaces.js +66 -0
- package/getStreamWorkspaces.js.map +1 -0
- package/getTeam.d.ts +8 -5
- package/getTeam.js +0 -4
- package/getTeam.js.map +1 -1
- package/getTeamProjectAssignment.d.ts +88 -0
- package/getTeamProjectAssignment.js +74 -0
- package/getTeamProjectAssignment.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +0 -4
- package/getThirdPartyIntegration.js +0 -4
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +0 -4
- package/getThirdPartyIntegrations.js +0 -4
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +0 -4
- package/getX509AuthenticationDatabaseUser.js +0 -4
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +0 -18
- package/globalClusterConfig.js +0 -4
- package/globalClusterConfig.js.map +1 -1
- package/index.d.ts +33 -36
- package/index.js +49 -50
- package/index.js.map +1 -1
- package/ldapConfiguration.d.ts +0 -2
- package/ldapConfiguration.js +0 -2
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +0 -2
- package/ldapVerify.js +0 -2
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +19 -11
- package/maintenanceWindow.js +9 -3
- package/maintenanceWindow.js.map +1 -1
- package/mongodbEmployeeAccessGrant.d.ts +3 -2
- package/mongodbEmployeeAccessGrant.js +3 -2
- package/mongodbEmployeeAccessGrant.js.map +1 -1
- package/networkContainer.d.ts +3 -2
- package/networkContainer.js +3 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +18 -8
- package/networkPeering.js +2 -2
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +17 -5
- package/onlineArchive.js +4 -2
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +3 -0
- package/orgInvitation.js +3 -0
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +5 -2
- package/organization.js +5 -2
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/privateEndpointRegionalMode.d.ts +0 -2
- package/privateEndpointRegionalMode.js +0 -2
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +16 -2
- package/privateLinkEndpoint.js +6 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +12 -0
- package/privateLinkEndpointService.js +2 -0
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +6 -5
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +3 -2
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/project.d.ts +12 -15
- package/project.js +3 -15
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +3 -0
- package/projectApiKey.js +3 -0
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +3 -0
- package/projectInvitation.js +3 -0
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +5 -2
- package/projectIpAccessList.js +5 -2
- package/projectIpAccessList.js.map +1 -1
- package/provider.d.ts +24 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/pushBasedLogExport.d.ts +15 -0
- package/pushBasedLogExport.js +5 -0
- package/pushBasedLogExport.js.map +1 -1
- package/resourcePolicy.d.ts +0 -2
- package/resourcePolicy.js +0 -2
- package/resourcePolicy.js.map +1 -1
- package/searchDeployment.d.ts +7 -6
- package/searchDeployment.js +3 -2
- package/searchDeployment.js.map +1 -1
- package/searchIndex.d.ts +50 -5
- package/searchIndex.js +27 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -10
- package/serverlessInstance.js +1 -10
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.d.ts +77 -17
- package/streamConnection.js +47 -12
- package/streamConnection.js.map +1 -1
- package/streamInstance.d.ts +4 -4
- package/streamInstance.js +4 -4
- package/streamPrivatelinkEndpoint.d.ts +55 -5
- package/streamPrivatelinkEndpoint.js +36 -2
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/streamProcessor.d.ts +52 -18
- package/streamProcessor.js +17 -13
- package/streamProcessor.js.map +1 -1
- package/streamWorkspace.d.ts +144 -0
- package/streamWorkspace.js +116 -0
- package/streamWorkspace.js.map +1 -0
- package/team.d.ts +14 -6
- package/team.js +4 -5
- package/team.js.map +1 -1
- package/teamProjectAssignment.d.ts +108 -0
- package/teamProjectAssignment.js +98 -0
- package/teamProjectAssignment.js.map +1 -0
- package/thirdPartyIntegration.d.ts +3 -2
- package/thirdPartyIntegration.js +3 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +252 -249
- package/types/output.d.ts +1078 -751
- package/x509authenticationDatabaseUser.d.ts +0 -2
- package/x509authenticationDatabaseUser.js +0 -2
- package/x509authenticationDatabaseUser.js.map +1 -1
- package/dataLakePipeline.d.ts +0 -239
- package/dataLakePipeline.js +0 -145
- package/dataLakePipeline.js.map +0 -1
- package/get509AuthenticationDatabaseUser.d.ts +0 -190
- package/get509AuthenticationDatabaseUser.js +0 -170
- package/get509AuthenticationDatabaseUser.js.map +0 -1
- package/getDataLakePipeline.d.ts +0 -230
- package/getDataLakePipeline.js +0 -162
- package/getDataLakePipeline.js.map +0 -1
- package/getDataLakePipelineRun.d.ts +0 -104
- package/getDataLakePipelineRun.js +0 -44
- package/getDataLakePipelineRun.js.map +0 -1
- package/getDataLakePipelineRuns.d.ts +0 -137
- package/getDataLakePipelineRuns.js +0 -116
- package/getDataLakePipelineRuns.js.map +0 -1
- package/getDataLakePipelines.d.ts +0 -58
- package/getDataLakePipelines.js +0 -40
- package/getDataLakePipelines.js.map +0 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +0 -220
- package/getPrivatelinkEndpointServiceServerless.js +0 -178
- package/getPrivatelinkEndpointServiceServerless.js.map +0 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +0 -187
- package/getPrivatelinkEndpointsServiceServerless.js +0 -166
- package/getPrivatelinkEndpointsServiceServerless.js.map +0 -1
- package/getTeams.d.ts +0 -46
- package/getTeams.js +0 -40
- package/getTeams.js.map +0 -1
- package/privatelinkEndpointServerless.d.ts +0 -143
- package/privatelinkEndpointServerless.js +0 -109
- package/privatelinkEndpointServerless.js.map +0 -1
- package/privatelinkEndpointServiceServerless.d.ts +0 -236
- package/privatelinkEndpointServiceServerless.js +0 -177
- package/privatelinkEndpointServiceServerless.js.map +0 -1
- package/teams.d.ts +0 -52
- package/teams.js +0 -66
- package/teams.js.map +0 -1
package/searchIndex.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.SearchIndex
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.SearchIndex` provides a Search Index resource. This allows indexes to be created.
|
|
8
6
|
*
|
|
9
7
|
* ## Example Usage
|
|
@@ -116,6 +114,29 @@ import * as outputs from "./types/output";
|
|
|
116
114
|
* }],
|
|
117
115
|
* });
|
|
118
116
|
* ```
|
|
117
|
+
*
|
|
118
|
+
* ### Configurable dynamic (typeSets + dynamic object)
|
|
119
|
+
* ```typescript
|
|
120
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
121
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
122
|
+
*
|
|
123
|
+
* const conf_dynamic = new mongodbatlas.SearchIndex("conf-dynamic", {
|
|
124
|
+
* projectId: "<PROJECT_ID>",
|
|
125
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
126
|
+
* collectionName: "collection_test",
|
|
127
|
+
* database: "database_test",
|
|
128
|
+
* name: "conf-dynamic",
|
|
129
|
+
* type: "search",
|
|
130
|
+
* mappingsDynamicConfig: "{ \\\"typeSet\\\": \\\"type_set_name\\\" }\n",
|
|
131
|
+
* typeSets: [{
|
|
132
|
+
* name: "type_set_name",
|
|
133
|
+
* types: `[
|
|
134
|
+
* { \\"type\\": \\"string\\" }
|
|
135
|
+
* ]
|
|
136
|
+
* `,
|
|
137
|
+
* }],
|
|
138
|
+
* });
|
|
139
|
+
* ```
|
|
119
140
|
*/
|
|
120
141
|
export declare class SearchIndex extends pulumi.CustomResource {
|
|
121
142
|
/**
|
|
@@ -183,9 +204,13 @@ export declare class SearchIndex extends pulumi.CustomResource {
|
|
|
183
204
|
*/
|
|
184
205
|
readonly indexId: pulumi.Output<string>;
|
|
185
206
|
/**
|
|
186
|
-
* Indicates whether the search index uses dynamic or static mapping. For dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`
|
|
207
|
+
* Indicates whether the search index uses dynamic or static mapping. For default dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`. Mutually exclusive with `mappingsDynamicConfig`.
|
|
187
208
|
*/
|
|
188
209
|
readonly mappingsDynamic: pulumi.Output<boolean | undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* JSON object for `mappings.dynamic` when using configurable dynamic. See the MongoDB documentation for further information on [Static and Dynamic Mapping](https://www.mongodb.com/docs/atlas/atlas-search/define-field-mappings/#std-label-fts-field-mappings). Mutually exclusive with `mappingsDynamic`.
|
|
212
|
+
*/
|
|
213
|
+
readonly mappingsDynamicConfig: pulumi.Output<string | undefined>;
|
|
189
214
|
/**
|
|
190
215
|
* attribute is required in search indexes when `mappingsDynamic` is false. This field needs to be a JSON string in order to be decoded correctly.
|
|
191
216
|
*/
|
|
@@ -218,6 +243,10 @@ export declare class SearchIndex extends pulumi.CustomResource {
|
|
|
218
243
|
* Type of index: `search` or `vectorSearch`. Default type is `search`.
|
|
219
244
|
*/
|
|
220
245
|
readonly type: pulumi.Output<string | undefined>;
|
|
246
|
+
/**
|
|
247
|
+
* One or more blocks defining configurable dynamic type sets. Atlas only persists/returns `typeSets` when `mappings.dynamic` is an object referencing a `typeSet` name.
|
|
248
|
+
*/
|
|
249
|
+
readonly typeSets: pulumi.Output<outputs.SearchIndexTypeSet[] | undefined>;
|
|
221
250
|
readonly waitForIndexBuildCompletion: pulumi.Output<boolean | undefined>;
|
|
222
251
|
/**
|
|
223
252
|
* Create a SearchIndex resource with the given unique name, arguments, and options.
|
|
@@ -282,9 +311,13 @@ export interface SearchIndexState {
|
|
|
282
311
|
*/
|
|
283
312
|
indexId?: pulumi.Input<string>;
|
|
284
313
|
/**
|
|
285
|
-
* Indicates whether the search index uses dynamic or static mapping. For dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`
|
|
314
|
+
* Indicates whether the search index uses dynamic or static mapping. For default dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`. Mutually exclusive with `mappingsDynamicConfig`.
|
|
286
315
|
*/
|
|
287
316
|
mappingsDynamic?: pulumi.Input<boolean>;
|
|
317
|
+
/**
|
|
318
|
+
* JSON object for `mappings.dynamic` when using configurable dynamic. See the MongoDB documentation for further information on [Static and Dynamic Mapping](https://www.mongodb.com/docs/atlas/atlas-search/define-field-mappings/#std-label-fts-field-mappings). Mutually exclusive with `mappingsDynamic`.
|
|
319
|
+
*/
|
|
320
|
+
mappingsDynamicConfig?: pulumi.Input<string>;
|
|
288
321
|
/**
|
|
289
322
|
* attribute is required in search indexes when `mappingsDynamic` is false. This field needs to be a JSON string in order to be decoded correctly.
|
|
290
323
|
*/
|
|
@@ -317,6 +350,10 @@ export interface SearchIndexState {
|
|
|
317
350
|
* Type of index: `search` or `vectorSearch`. Default type is `search`.
|
|
318
351
|
*/
|
|
319
352
|
type?: pulumi.Input<string>;
|
|
353
|
+
/**
|
|
354
|
+
* One or more blocks defining configurable dynamic type sets. Atlas only persists/returns `typeSets` when `mappings.dynamic` is an object referencing a `typeSet` name.
|
|
355
|
+
*/
|
|
356
|
+
typeSets?: pulumi.Input<pulumi.Input<inputs.SearchIndexTypeSet>[]>;
|
|
320
357
|
waitForIndexBuildCompletion?: pulumi.Input<boolean>;
|
|
321
358
|
}
|
|
322
359
|
/**
|
|
@@ -369,9 +406,13 @@ export interface SearchIndexArgs {
|
|
|
369
406
|
*/
|
|
370
407
|
fields?: pulumi.Input<string>;
|
|
371
408
|
/**
|
|
372
|
-
* Indicates whether the search index uses dynamic or static mapping. For dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`
|
|
409
|
+
* Indicates whether the search index uses dynamic or static mapping. For default dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`. Mutually exclusive with `mappingsDynamicConfig`.
|
|
373
410
|
*/
|
|
374
411
|
mappingsDynamic?: pulumi.Input<boolean>;
|
|
412
|
+
/**
|
|
413
|
+
* JSON object for `mappings.dynamic` when using configurable dynamic. See the MongoDB documentation for further information on [Static and Dynamic Mapping](https://www.mongodb.com/docs/atlas/atlas-search/define-field-mappings/#std-label-fts-field-mappings). Mutually exclusive with `mappingsDynamic`.
|
|
414
|
+
*/
|
|
415
|
+
mappingsDynamicConfig?: pulumi.Input<string>;
|
|
375
416
|
/**
|
|
376
417
|
* attribute is required in search indexes when `mappingsDynamic` is false. This field needs to be a JSON string in order to be decoded correctly.
|
|
377
418
|
*/
|
|
@@ -400,5 +441,9 @@ export interface SearchIndexArgs {
|
|
|
400
441
|
* Type of index: `search` or `vectorSearch`. Default type is `search`.
|
|
401
442
|
*/
|
|
402
443
|
type?: pulumi.Input<string>;
|
|
444
|
+
/**
|
|
445
|
+
* One or more blocks defining configurable dynamic type sets. Atlas only persists/returns `typeSets` when `mappings.dynamic` is an object referencing a `typeSet` name.
|
|
446
|
+
*/
|
|
447
|
+
typeSets?: pulumi.Input<pulumi.Input<inputs.SearchIndexTypeSet>[]>;
|
|
403
448
|
waitForIndexBuildCompletion?: pulumi.Input<boolean>;
|
|
404
449
|
}
|
package/searchIndex.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.SearchIndex = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.SearchIndex
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.SearchIndex` provides a Search Index resource. This allows indexes to be created.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -120,6 +118,29 @@ const utilities = require("./utilities");
|
|
|
120
118
|
* }],
|
|
121
119
|
* });
|
|
122
120
|
* ```
|
|
121
|
+
*
|
|
122
|
+
* ### Configurable dynamic (typeSets + dynamic object)
|
|
123
|
+
* ```typescript
|
|
124
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
125
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
126
|
+
*
|
|
127
|
+
* const conf_dynamic = new mongodbatlas.SearchIndex("conf-dynamic", {
|
|
128
|
+
* projectId: "<PROJECT_ID>",
|
|
129
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
130
|
+
* collectionName: "collection_test",
|
|
131
|
+
* database: "database_test",
|
|
132
|
+
* name: "conf-dynamic",
|
|
133
|
+
* type: "search",
|
|
134
|
+
* mappingsDynamicConfig: "{ \\\"typeSet\\\": \\\"type_set_name\\\" }\n",
|
|
135
|
+
* typeSets: [{
|
|
136
|
+
* name: "type_set_name",
|
|
137
|
+
* types: `[
|
|
138
|
+
* { \\"type\\": \\"string\\" }
|
|
139
|
+
* ]
|
|
140
|
+
* `,
|
|
141
|
+
* }],
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
123
144
|
*/
|
|
124
145
|
class SearchIndex extends pulumi.CustomResource {
|
|
125
146
|
/**
|
|
@@ -157,6 +178,7 @@ class SearchIndex extends pulumi.CustomResource {
|
|
|
157
178
|
resourceInputs["fields"] = state?.fields;
|
|
158
179
|
resourceInputs["indexId"] = state?.indexId;
|
|
159
180
|
resourceInputs["mappingsDynamic"] = state?.mappingsDynamic;
|
|
181
|
+
resourceInputs["mappingsDynamicConfig"] = state?.mappingsDynamicConfig;
|
|
160
182
|
resourceInputs["mappingsFields"] = state?.mappingsFields;
|
|
161
183
|
resourceInputs["name"] = state?.name;
|
|
162
184
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -165,6 +187,7 @@ class SearchIndex extends pulumi.CustomResource {
|
|
|
165
187
|
resourceInputs["storedSource"] = state?.storedSource;
|
|
166
188
|
resourceInputs["synonyms"] = state?.synonyms;
|
|
167
189
|
resourceInputs["type"] = state?.type;
|
|
190
|
+
resourceInputs["typeSets"] = state?.typeSets;
|
|
168
191
|
resourceInputs["waitForIndexBuildCompletion"] = state?.waitForIndexBuildCompletion;
|
|
169
192
|
}
|
|
170
193
|
else {
|
|
@@ -188,6 +211,7 @@ class SearchIndex extends pulumi.CustomResource {
|
|
|
188
211
|
resourceInputs["database"] = args?.database;
|
|
189
212
|
resourceInputs["fields"] = args?.fields;
|
|
190
213
|
resourceInputs["mappingsDynamic"] = args?.mappingsDynamic;
|
|
214
|
+
resourceInputs["mappingsDynamicConfig"] = args?.mappingsDynamicConfig;
|
|
191
215
|
resourceInputs["mappingsFields"] = args?.mappingsFields;
|
|
192
216
|
resourceInputs["name"] = args?.name;
|
|
193
217
|
resourceInputs["projectId"] = args?.projectId;
|
|
@@ -195,6 +219,7 @@ class SearchIndex extends pulumi.CustomResource {
|
|
|
195
219
|
resourceInputs["storedSource"] = args?.storedSource;
|
|
196
220
|
resourceInputs["synonyms"] = args?.synonyms;
|
|
197
221
|
resourceInputs["type"] = args?.type;
|
|
222
|
+
resourceInputs["typeSets"] = args?.typeSets;
|
|
198
223
|
resourceInputs["waitForIndexBuildCompletion"] = args?.waitForIndexBuildCompletion;
|
|
199
224
|
resourceInputs["indexId"] = undefined /*out*/;
|
|
200
225
|
resourceInputs["status"] = undefined /*out*/;
|
package/searchIndex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndex.js","sourceRoot":"","sources":["../searchIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"searchIndex.js","sourceRoot":"","sources":["../searchIndex.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAA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AG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,EAAE,2BAA2B,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA/LL,kCAgMC;AAlLG,gBAAgB;AACO,wBAAY,GAAG,4CAA4C,CAAC"}
|
package/serverlessInstance.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* **
|
|
5
|
+
* > **DEPRECATION:** This resource is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
6
6
|
*
|
|
7
7
|
* `mongodbatlas.ServerlessInstance` provides a Serverless Instance resource. This allows serverless instances to be created.
|
|
8
8
|
*
|
|
@@ -25,15 +25,6 @@ import * as outputs from "./types/output";
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
29
|
-
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
|
30
|
-
* and the `privatelinkEndpointService` must exist before the `serverlessInstance` gets its respective `connectionStringsPrivateEndpointSrv` values.
|
|
31
|
-
*
|
|
32
|
-
* Because of this, the `serverlessInstance` data source has particular value as a source of the `connectionStringsPrivateEndpointSrv`.\
|
|
33
|
-
* When using the dataSource in-tandem with the afforementioned resources, we can create and retrieve the `connectionStringsPrivateEndpointSrv` in a single `pulumi up`.
|
|
34
|
-
*
|
|
35
|
-
* Follow this example to setup private connection to a serverless instance using aws vpc and get the connection strings in a single `pulumi up`
|
|
36
|
-
*
|
|
37
28
|
* ## Import
|
|
38
29
|
*
|
|
39
30
|
* Serverless Instance can be imported using the group ID and serverless instance name, in the format `GROUP_ID-SERVERLESS_INSTANCE_NAME`, e.g.
|
package/serverlessInstance.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.ServerlessInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* **
|
|
9
|
+
* > **DEPRECATION:** This resource is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.ServerlessInstance` provides a Serverless Instance resource. This allows serverless instances to be created.
|
|
12
12
|
*
|
|
@@ -29,15 +29,6 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
|
-
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
33
|
-
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
|
34
|
-
* and the `privatelinkEndpointService` must exist before the `serverlessInstance` gets its respective `connectionStringsPrivateEndpointSrv` values.
|
|
35
|
-
*
|
|
36
|
-
* Because of this, the `serverlessInstance` data source has particular value as a source of the `connectionStringsPrivateEndpointSrv`.\
|
|
37
|
-
* When using the dataSource in-tandem with the afforementioned resources, we can create and retrieve the `connectionStringsPrivateEndpointSrv` in a single `pulumi up`.
|
|
38
|
-
*
|
|
39
|
-
* Follow this example to setup private connection to a serverless instance using aws vpc and get the connection strings in a single `pulumi up`
|
|
40
|
-
*
|
|
41
32
|
* ## Import
|
|
42
33
|
*
|
|
43
34
|
* Serverless Instance can be imported using the group ID and serverless instance name, in the format `GROUP_ID-SERVERLESS_INSTANCE_NAME`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessInstance.js","sourceRoot":"","sources":["../serverlessInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serverlessInstance.js","sourceRoot":"","sources":["../serverlessInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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AAG,IAAI,EAAE,mCAAmC,CAAC;YAClG,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,sCAAsC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3E,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtJL,gDAuJC;AAzIG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/streamConnection.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.StreamConnection
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.StreamConnection` provides a Stream Connection resource. The resource lets you create, edit, and delete stream instance connections.
|
|
8
6
|
*
|
|
9
7
|
* > **IMPORTANT:** All arguments including the Kafka authentication password will be stored in the raw state as plaintext. Read more about sensitive data in state.
|
|
@@ -18,13 +16,16 @@ import * as outputs from "./types/output";
|
|
|
18
16
|
*
|
|
19
17
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
20
18
|
* projectId: projectId,
|
|
21
|
-
*
|
|
19
|
+
* workspaceName: "WorkspaceName",
|
|
22
20
|
* connectionName: "ConnectionName",
|
|
23
21
|
* type: "Cluster",
|
|
24
22
|
* clusterName: "Cluster0",
|
|
25
23
|
* });
|
|
26
24
|
* ```
|
|
27
25
|
*
|
|
26
|
+
* ### Further Examples
|
|
27
|
+
* - Atlas Stream Connection
|
|
28
|
+
*
|
|
28
29
|
* ### Example Cross Project Cluster Connection
|
|
29
30
|
*
|
|
30
31
|
* ```typescript
|
|
@@ -33,7 +34,7 @@ import * as outputs from "./types/output";
|
|
|
33
34
|
*
|
|
34
35
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
35
36
|
* projectId: projectId,
|
|
36
|
-
*
|
|
37
|
+
* workspaceName: "WorskpaceName",
|
|
37
38
|
* connectionName: "ConnectionName",
|
|
38
39
|
* type: "Cluster",
|
|
39
40
|
* clusterName: "OtherCluster",
|
|
@@ -49,7 +50,7 @@ import * as outputs from "./types/output";
|
|
|
49
50
|
*
|
|
50
51
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
51
52
|
* projectId: projectId,
|
|
52
|
-
*
|
|
53
|
+
* workspaceName: "NewWorkspace",
|
|
53
54
|
* connectionName: "KafkaConnection",
|
|
54
55
|
* type: "Kafka",
|
|
55
56
|
* authentication: {
|
|
@@ -67,6 +68,41 @@ import * as outputs from "./types/output";
|
|
|
67
68
|
* });
|
|
68
69
|
* ```
|
|
69
70
|
*
|
|
71
|
+
* ### Example Kafka SASL OAuthbearer Connection
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
76
|
+
*
|
|
77
|
+
* const example_kafka_oauthbearer = new mongodbatlas.StreamConnection("example-kafka-oauthbearer", {
|
|
78
|
+
* projectId: projectId,
|
|
79
|
+
* instanceName: example.instanceName,
|
|
80
|
+
* connectionName: "KafkaOAuthbearerConnection",
|
|
81
|
+
* type: "Kafka",
|
|
82
|
+
* authentication: {
|
|
83
|
+
* mechanism: "OAUTHBEARER",
|
|
84
|
+
* method: "OIDC",
|
|
85
|
+
* tokenEndpointUrl: "https://example.com/oauth/token",
|
|
86
|
+
* clientId: "auth0Client",
|
|
87
|
+
* clientSecret: kafkaClientSecret,
|
|
88
|
+
* scope: "read:messages write:messages",
|
|
89
|
+
* saslOauthbearerExtensions: "logicalCluster=lkc-kmom,identityPoolId=pool-lAr",
|
|
90
|
+
* },
|
|
91
|
+
* bootstrapServers: "localhost:9092,localhost:9092",
|
|
92
|
+
* config: {
|
|
93
|
+
* "auto.offset.reset": "earliest",
|
|
94
|
+
* },
|
|
95
|
+
* security: {
|
|
96
|
+
* protocol: "SASL_PLAINTEXT",
|
|
97
|
+
* },
|
|
98
|
+
* networking: {
|
|
99
|
+
* access: {
|
|
100
|
+
* type: "PUBLIC",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
70
106
|
* ### Example Kafka SASL SSL Connection
|
|
71
107
|
*
|
|
72
108
|
* ```typescript
|
|
@@ -75,7 +111,7 @@ import * as outputs from "./types/output";
|
|
|
75
111
|
*
|
|
76
112
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
77
113
|
* projectId: projectId,
|
|
78
|
-
*
|
|
114
|
+
* workspaceName: "NewWorkspace",
|
|
79
115
|
* connectionName: "KafkaConnection",
|
|
80
116
|
* type: "Kafka",
|
|
81
117
|
* authentication: {
|
|
@@ -102,7 +138,7 @@ import * as outputs from "./types/output";
|
|
|
102
138
|
*
|
|
103
139
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
104
140
|
* projectId: projectId,
|
|
105
|
-
*
|
|
141
|
+
* workspaceName: "NewWorkspace",
|
|
106
142
|
* connectionName: "AWSLambdaConnection",
|
|
107
143
|
* type: "AWSLambda",
|
|
108
144
|
* aws: {
|
|
@@ -119,7 +155,7 @@ import * as outputs from "./types/output";
|
|
|
119
155
|
*
|
|
120
156
|
* const example_https = new mongodbatlas.StreamConnection("example-https", {
|
|
121
157
|
* projectId: projectId,
|
|
122
|
-
*
|
|
158
|
+
* workspaceName: example.instanceName,
|
|
123
159
|
* connectionName: "https_connection_tf_new",
|
|
124
160
|
* type: "Https",
|
|
125
161
|
* url: "https://example.com",
|
|
@@ -132,7 +168,7 @@ import * as outputs from "./types/output";
|
|
|
132
168
|
*
|
|
133
169
|
* ## Import
|
|
134
170
|
*
|
|
135
|
-
* You can import a stream connection resource using the
|
|
171
|
+
* You can import a stream connection resource using the workspace name, project ID, and connection name. The format must be `WORKSPACE_NAME-PROJECT_ID-CONNECTION_NAME`. For example:
|
|
136
172
|
*
|
|
137
173
|
* ```sh
|
|
138
174
|
* $ pulumi import mongodbatlas:index/streamConnection:StreamConnection test "DefaultInstance-12251446ae5f3f6ec7968b13-NewConnection"
|
|
@@ -165,7 +201,7 @@ export declare class StreamConnection extends pulumi.CustomResource {
|
|
|
165
201
|
[key: string]: string;
|
|
166
202
|
} | undefined>;
|
|
167
203
|
/**
|
|
168
|
-
*
|
|
204
|
+
* Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
169
205
|
*/
|
|
170
206
|
readonly connectionName: pulumi.Output<string>;
|
|
171
207
|
readonly dbRoleToExecute: pulumi.Output<outputs.StreamConnectionDbRoleToExecute | undefined>;
|
|
@@ -173,9 +209,11 @@ export declare class StreamConnection extends pulumi.CustomResource {
|
|
|
173
209
|
[key: string]: string;
|
|
174
210
|
} | undefined>;
|
|
175
211
|
/**
|
|
176
|
-
*
|
|
212
|
+
* Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspaceName`.
|
|
213
|
+
*
|
|
214
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
177
215
|
*/
|
|
178
|
-
readonly instanceName: pulumi.Output<string>;
|
|
216
|
+
readonly instanceName: pulumi.Output<string | undefined>;
|
|
179
217
|
readonly networking: pulumi.Output<outputs.StreamConnectionNetworking>;
|
|
180
218
|
/**
|
|
181
219
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
@@ -184,9 +222,15 @@ export declare class StreamConnection extends pulumi.CustomResource {
|
|
|
184
222
|
readonly security: pulumi.Output<outputs.StreamConnectionSecurity | undefined>;
|
|
185
223
|
/**
|
|
186
224
|
* Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
|
|
225
|
+
*
|
|
226
|
+
* > **NOTE:** Either `workspaceName` or `instanceName` must be provided, but not both. These fields are functionally identical and `workspaceName` is an alias for `instanceName`. `workspaceName` should be used instead of `instanceName`.
|
|
187
227
|
*/
|
|
188
228
|
readonly type: pulumi.Output<string>;
|
|
189
229
|
readonly url: pulumi.Output<string | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* Label that identifies the stream processing workspace. Conflicts with `instanceName`.
|
|
232
|
+
*/
|
|
233
|
+
readonly workspaceName: pulumi.Output<string | undefined>;
|
|
190
234
|
/**
|
|
191
235
|
* Create a StreamConnection resource with the given unique name, arguments, and options.
|
|
192
236
|
*
|
|
@@ -209,7 +253,7 @@ export interface StreamConnectionState {
|
|
|
209
253
|
[key: string]: pulumi.Input<string>;
|
|
210
254
|
}>;
|
|
211
255
|
/**
|
|
212
|
-
*
|
|
256
|
+
* Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
213
257
|
*/
|
|
214
258
|
connectionName?: pulumi.Input<string>;
|
|
215
259
|
dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
|
|
@@ -217,7 +261,9 @@ export interface StreamConnectionState {
|
|
|
217
261
|
[key: string]: pulumi.Input<string>;
|
|
218
262
|
}>;
|
|
219
263
|
/**
|
|
220
|
-
*
|
|
264
|
+
* Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspaceName`.
|
|
265
|
+
*
|
|
266
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
221
267
|
*/
|
|
222
268
|
instanceName?: pulumi.Input<string>;
|
|
223
269
|
networking?: pulumi.Input<inputs.StreamConnectionNetworking>;
|
|
@@ -228,9 +274,15 @@ export interface StreamConnectionState {
|
|
|
228
274
|
security?: pulumi.Input<inputs.StreamConnectionSecurity>;
|
|
229
275
|
/**
|
|
230
276
|
* Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
|
|
277
|
+
*
|
|
278
|
+
* > **NOTE:** Either `workspaceName` or `instanceName` must be provided, but not both. These fields are functionally identical and `workspaceName` is an alias for `instanceName`. `workspaceName` should be used instead of `instanceName`.
|
|
231
279
|
*/
|
|
232
280
|
type?: pulumi.Input<string>;
|
|
233
281
|
url?: pulumi.Input<string>;
|
|
282
|
+
/**
|
|
283
|
+
* Label that identifies the stream processing workspace. Conflicts with `instanceName`.
|
|
284
|
+
*/
|
|
285
|
+
workspaceName?: pulumi.Input<string>;
|
|
234
286
|
}
|
|
235
287
|
/**
|
|
236
288
|
* The set of arguments for constructing a StreamConnection resource.
|
|
@@ -245,7 +297,7 @@ export interface StreamConnectionArgs {
|
|
|
245
297
|
[key: string]: pulumi.Input<string>;
|
|
246
298
|
}>;
|
|
247
299
|
/**
|
|
248
|
-
*
|
|
300
|
+
* Label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
249
301
|
*/
|
|
250
302
|
connectionName: pulumi.Input<string>;
|
|
251
303
|
dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
|
|
@@ -253,9 +305,11 @@ export interface StreamConnectionArgs {
|
|
|
253
305
|
[key: string]: pulumi.Input<string>;
|
|
254
306
|
}>;
|
|
255
307
|
/**
|
|
256
|
-
*
|
|
308
|
+
* Label that identifies the stream processing workspace. Attribute is deprecated and will be removed in following major versions in favor of `workspaceName`.
|
|
309
|
+
*
|
|
310
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
257
311
|
*/
|
|
258
|
-
instanceName
|
|
312
|
+
instanceName?: pulumi.Input<string>;
|
|
259
313
|
networking?: pulumi.Input<inputs.StreamConnectionNetworking>;
|
|
260
314
|
/**
|
|
261
315
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
@@ -264,7 +318,13 @@ export interface StreamConnectionArgs {
|
|
|
264
318
|
security?: pulumi.Input<inputs.StreamConnectionSecurity>;
|
|
265
319
|
/**
|
|
266
320
|
* Type of connection. Can be `AWSLambda`, `Cluster`, `Https`, `Kafka` or `Sample`.
|
|
321
|
+
*
|
|
322
|
+
* > **NOTE:** Either `workspaceName` or `instanceName` must be provided, but not both. These fields are functionally identical and `workspaceName` is an alias for `instanceName`. `workspaceName` should be used instead of `instanceName`.
|
|
267
323
|
*/
|
|
268
324
|
type: pulumi.Input<string>;
|
|
269
325
|
url?: pulumi.Input<string>;
|
|
326
|
+
/**
|
|
327
|
+
* Label that identifies the stream processing workspace. Conflicts with `instanceName`.
|
|
328
|
+
*/
|
|
329
|
+
workspaceName?: pulumi.Input<string>;
|
|
270
330
|
}
|
package/streamConnection.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.StreamConnection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.StreamConnection
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.StreamConnection` provides a Stream Connection resource. The resource lets you create, edit, and delete stream instance connections.
|
|
12
10
|
*
|
|
13
11
|
* > **IMPORTANT:** All arguments including the Kafka authentication password will be stored in the raw state as plaintext. Read more about sensitive data in state.
|
|
@@ -22,13 +20,16 @@ const utilities = require("./utilities");
|
|
|
22
20
|
*
|
|
23
21
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
24
22
|
* projectId: projectId,
|
|
25
|
-
*
|
|
23
|
+
* workspaceName: "WorkspaceName",
|
|
26
24
|
* connectionName: "ConnectionName",
|
|
27
25
|
* type: "Cluster",
|
|
28
26
|
* clusterName: "Cluster0",
|
|
29
27
|
* });
|
|
30
28
|
* ```
|
|
31
29
|
*
|
|
30
|
+
* ### Further Examples
|
|
31
|
+
* - Atlas Stream Connection
|
|
32
|
+
*
|
|
32
33
|
* ### Example Cross Project Cluster Connection
|
|
33
34
|
*
|
|
34
35
|
* ```typescript
|
|
@@ -37,7 +38,7 @@ const utilities = require("./utilities");
|
|
|
37
38
|
*
|
|
38
39
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
39
40
|
* projectId: projectId,
|
|
40
|
-
*
|
|
41
|
+
* workspaceName: "WorskpaceName",
|
|
41
42
|
* connectionName: "ConnectionName",
|
|
42
43
|
* type: "Cluster",
|
|
43
44
|
* clusterName: "OtherCluster",
|
|
@@ -53,7 +54,7 @@ const utilities = require("./utilities");
|
|
|
53
54
|
*
|
|
54
55
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
55
56
|
* projectId: projectId,
|
|
56
|
-
*
|
|
57
|
+
* workspaceName: "NewWorkspace",
|
|
57
58
|
* connectionName: "KafkaConnection",
|
|
58
59
|
* type: "Kafka",
|
|
59
60
|
* authentication: {
|
|
@@ -71,6 +72,41 @@ const utilities = require("./utilities");
|
|
|
71
72
|
* });
|
|
72
73
|
* ```
|
|
73
74
|
*
|
|
75
|
+
* ### Example Kafka SASL OAuthbearer Connection
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
80
|
+
*
|
|
81
|
+
* const example_kafka_oauthbearer = new mongodbatlas.StreamConnection("example-kafka-oauthbearer", {
|
|
82
|
+
* projectId: projectId,
|
|
83
|
+
* instanceName: example.instanceName,
|
|
84
|
+
* connectionName: "KafkaOAuthbearerConnection",
|
|
85
|
+
* type: "Kafka",
|
|
86
|
+
* authentication: {
|
|
87
|
+
* mechanism: "OAUTHBEARER",
|
|
88
|
+
* method: "OIDC",
|
|
89
|
+
* tokenEndpointUrl: "https://example.com/oauth/token",
|
|
90
|
+
* clientId: "auth0Client",
|
|
91
|
+
* clientSecret: kafkaClientSecret,
|
|
92
|
+
* scope: "read:messages write:messages",
|
|
93
|
+
* saslOauthbearerExtensions: "logicalCluster=lkc-kmom,identityPoolId=pool-lAr",
|
|
94
|
+
* },
|
|
95
|
+
* bootstrapServers: "localhost:9092,localhost:9092",
|
|
96
|
+
* config: {
|
|
97
|
+
* "auto.offset.reset": "earliest",
|
|
98
|
+
* },
|
|
99
|
+
* security: {
|
|
100
|
+
* protocol: "SASL_PLAINTEXT",
|
|
101
|
+
* },
|
|
102
|
+
* networking: {
|
|
103
|
+
* access: {
|
|
104
|
+
* type: "PUBLIC",
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
74
110
|
* ### Example Kafka SASL SSL Connection
|
|
75
111
|
*
|
|
76
112
|
* ```typescript
|
|
@@ -79,7 +115,7 @@ const utilities = require("./utilities");
|
|
|
79
115
|
*
|
|
80
116
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
81
117
|
* projectId: projectId,
|
|
82
|
-
*
|
|
118
|
+
* workspaceName: "NewWorkspace",
|
|
83
119
|
* connectionName: "KafkaConnection",
|
|
84
120
|
* type: "Kafka",
|
|
85
121
|
* authentication: {
|
|
@@ -106,7 +142,7 @@ const utilities = require("./utilities");
|
|
|
106
142
|
*
|
|
107
143
|
* const test = new mongodbatlas.StreamConnection("test", {
|
|
108
144
|
* projectId: projectId,
|
|
109
|
-
*
|
|
145
|
+
* workspaceName: "NewWorkspace",
|
|
110
146
|
* connectionName: "AWSLambdaConnection",
|
|
111
147
|
* type: "AWSLambda",
|
|
112
148
|
* aws: {
|
|
@@ -123,7 +159,7 @@ const utilities = require("./utilities");
|
|
|
123
159
|
*
|
|
124
160
|
* const example_https = new mongodbatlas.StreamConnection("example-https", {
|
|
125
161
|
* projectId: projectId,
|
|
126
|
-
*
|
|
162
|
+
* workspaceName: example.instanceName,
|
|
127
163
|
* connectionName: "https_connection_tf_new",
|
|
128
164
|
* type: "Https",
|
|
129
165
|
* url: "https://example.com",
|
|
@@ -136,7 +172,7 @@ const utilities = require("./utilities");
|
|
|
136
172
|
*
|
|
137
173
|
* ## Import
|
|
138
174
|
*
|
|
139
|
-
* You can import a stream connection resource using the
|
|
175
|
+
* You can import a stream connection resource using the workspace name, project ID, and connection name. The format must be `WORKSPACE_NAME-PROJECT_ID-CONNECTION_NAME`. For example:
|
|
140
176
|
*
|
|
141
177
|
* ```sh
|
|
142
178
|
* $ pulumi import mongodbatlas:index/streamConnection:StreamConnection test "DefaultInstance-12251446ae5f3f6ec7968b13-NewConnection"
|
|
@@ -187,15 +223,13 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
187
223
|
resourceInputs["security"] = state?.security;
|
|
188
224
|
resourceInputs["type"] = state?.type;
|
|
189
225
|
resourceInputs["url"] = state?.url;
|
|
226
|
+
resourceInputs["workspaceName"] = state?.workspaceName;
|
|
190
227
|
}
|
|
191
228
|
else {
|
|
192
229
|
const args = argsOrState;
|
|
193
230
|
if (args?.connectionName === undefined && !opts.urn) {
|
|
194
231
|
throw new Error("Missing required property 'connectionName'");
|
|
195
232
|
}
|
|
196
|
-
if (args?.instanceName === undefined && !opts.urn) {
|
|
197
|
-
throw new Error("Missing required property 'instanceName'");
|
|
198
|
-
}
|
|
199
233
|
if (args?.projectId === undefined && !opts.urn) {
|
|
200
234
|
throw new Error("Missing required property 'projectId'");
|
|
201
235
|
}
|
|
@@ -217,6 +251,7 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
217
251
|
resourceInputs["security"] = args?.security;
|
|
218
252
|
resourceInputs["type"] = args?.type;
|
|
219
253
|
resourceInputs["url"] = args?.url;
|
|
254
|
+
resourceInputs["workspaceName"] = args?.workspaceName;
|
|
220
255
|
}
|
|
221
256
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
222
257
|
super(StreamConnection.__pulumiType, name, resourceInputs, opts);
|