@pulumi/mongodbatlas 3.39.0-alpha.1766505776 → 4.0.0-alpha.1767113692
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
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* **WARNING:** This resource is deprecated and will be removed in March 2025. For more datails see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters
|
|
4
|
-
*
|
|
5
|
-
* `privatelinkEndpointServerless` Provides a Serverless PrivateLink Endpoint resource.
|
|
6
|
-
* This is the first of two resources required to configure PrivateLink for Serverless, the second is mongodbatlas_privatelink_endpoint_service_serverless.
|
|
7
|
-
*
|
|
8
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
9
|
-
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* ### AWS Example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
-
*
|
|
17
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
18
|
-
* projectId: "<PROJECT_ID>",
|
|
19
|
-
* name: "test-db",
|
|
20
|
-
* providerSettingsBackingProviderName: "AWS",
|
|
21
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
22
|
-
* providerSettingsRegionName: "US_EAST_1",
|
|
23
|
-
* continuousBackupEnabled: true,
|
|
24
|
-
* });
|
|
25
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
26
|
-
* projectId: "<PROJECT_ID>",
|
|
27
|
-
* instanceName: testServerlessInstance.name,
|
|
28
|
-
* providerName: "AWS",
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* ## Import
|
|
33
|
-
*
|
|
34
|
-
* Serverless privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
35
|
-
*
|
|
36
|
-
* ```sh
|
|
37
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServerless:PrivatelinkEndpointServerless test 1112222b3bf99403840e8934--serverless_name--vpce-jjg5e24qp93513h03
|
|
38
|
-
* ```
|
|
39
|
-
* For more information see: [MongoDB Atlas API - Serverless Private Endpoints](https://www.mongodb.com/docs/atlas/reference/api/serverless-private-endpoints-get-one/).
|
|
40
|
-
*/
|
|
41
|
-
export declare class PrivatelinkEndpointServerless extends pulumi.CustomResource {
|
|
42
|
-
/**
|
|
43
|
-
* Get an existing PrivatelinkEndpointServerless resource's state with the given name, ID, and optional extra
|
|
44
|
-
* properties used to qualify the lookup.
|
|
45
|
-
*
|
|
46
|
-
* @param name The _unique_ name of the resulting resource.
|
|
47
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
-
* @param state Any extra arguments used during the lookup.
|
|
49
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
-
*/
|
|
51
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrivatelinkEndpointServerlessState, opts?: pulumi.CustomResourceOptions): PrivatelinkEndpointServerless;
|
|
52
|
-
/**
|
|
53
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServerless. This is designed to work even
|
|
54
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
-
*/
|
|
56
|
-
static isInstance(obj: any): obj is PrivatelinkEndpointServerless;
|
|
57
|
-
/**
|
|
58
|
-
* Unique 24-hexadecimal digit string that identifies the private endpoint.
|
|
59
|
-
*/
|
|
60
|
-
readonly endpointId: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* Unique string that identifies the PrivateLink endpoint service.
|
|
63
|
-
*/
|
|
64
|
-
readonly endpointServiceName: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* Human-readable label that identifies the serverless instance.
|
|
67
|
-
*/
|
|
68
|
-
readonly instanceName: pulumi.Output<string>;
|
|
69
|
-
/**
|
|
70
|
-
* Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
|
|
71
|
-
*/
|
|
72
|
-
readonly privateLinkServiceResourceId: pulumi.Output<string>;
|
|
73
|
-
/**
|
|
74
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
75
|
-
*/
|
|
76
|
-
readonly projectId: pulumi.Output<string>;
|
|
77
|
-
/**
|
|
78
|
-
* Cloud provider name; AWS is currently supported
|
|
79
|
-
*/
|
|
80
|
-
readonly providerName: pulumi.Output<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
|
|
83
|
-
*/
|
|
84
|
-
readonly status: pulumi.Output<string>;
|
|
85
|
-
/**
|
|
86
|
-
* Create a PrivatelinkEndpointServerless resource with the given unique name, arguments, and options.
|
|
87
|
-
*
|
|
88
|
-
* @param name The _unique_ name of the resource.
|
|
89
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
90
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
91
|
-
*/
|
|
92
|
-
constructor(name: string, args: PrivatelinkEndpointServerlessArgs, opts?: pulumi.CustomResourceOptions);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Input properties used for looking up and filtering PrivatelinkEndpointServerless resources.
|
|
96
|
-
*/
|
|
97
|
-
export interface PrivatelinkEndpointServerlessState {
|
|
98
|
-
/**
|
|
99
|
-
* Unique 24-hexadecimal digit string that identifies the private endpoint.
|
|
100
|
-
*/
|
|
101
|
-
endpointId?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Unique string that identifies the PrivateLink endpoint service.
|
|
104
|
-
*/
|
|
105
|
-
endpointServiceName?: pulumi.Input<string>;
|
|
106
|
-
/**
|
|
107
|
-
* Human-readable label that identifies the serverless instance.
|
|
108
|
-
*/
|
|
109
|
-
instanceName?: pulumi.Input<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
|
|
112
|
-
*/
|
|
113
|
-
privateLinkServiceResourceId?: pulumi.Input<string>;
|
|
114
|
-
/**
|
|
115
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
116
|
-
*/
|
|
117
|
-
projectId?: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Cloud provider name; AWS is currently supported
|
|
120
|
-
*/
|
|
121
|
-
providerName?: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
|
|
124
|
-
*/
|
|
125
|
-
status?: pulumi.Input<string>;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* The set of arguments for constructing a PrivatelinkEndpointServerless resource.
|
|
129
|
-
*/
|
|
130
|
-
export interface PrivatelinkEndpointServerlessArgs {
|
|
131
|
-
/**
|
|
132
|
-
* Human-readable label that identifies the serverless instance.
|
|
133
|
-
*/
|
|
134
|
-
instanceName: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
137
|
-
*/
|
|
138
|
-
projectId: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Cloud provider name; AWS is currently supported
|
|
141
|
-
*/
|
|
142
|
-
providerName: pulumi.Input<string>;
|
|
143
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.PrivatelinkEndpointServerless = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* **WARNING:** This resource is deprecated and will be removed in March 2025. For more datails see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters
|
|
10
|
-
*
|
|
11
|
-
* `privatelinkEndpointServerless` Provides a Serverless PrivateLink Endpoint resource.
|
|
12
|
-
* This is the first of two resources required to configure PrivateLink for Serverless, the second is mongodbatlas_privatelink_endpoint_service_serverless.
|
|
13
|
-
*
|
|
14
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
15
|
-
*
|
|
16
|
-
* ## Example Usage
|
|
17
|
-
*
|
|
18
|
-
* ### AWS Example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
-
*
|
|
23
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
24
|
-
* projectId: "<PROJECT_ID>",
|
|
25
|
-
* name: "test-db",
|
|
26
|
-
* providerSettingsBackingProviderName: "AWS",
|
|
27
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
28
|
-
* providerSettingsRegionName: "US_EAST_1",
|
|
29
|
-
* continuousBackupEnabled: true,
|
|
30
|
-
* });
|
|
31
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
32
|
-
* projectId: "<PROJECT_ID>",
|
|
33
|
-
* instanceName: testServerlessInstance.name,
|
|
34
|
-
* providerName: "AWS",
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* ## Import
|
|
39
|
-
*
|
|
40
|
-
* Serverless privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
41
|
-
*
|
|
42
|
-
* ```sh
|
|
43
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServerless:PrivatelinkEndpointServerless test 1112222b3bf99403840e8934--serverless_name--vpce-jjg5e24qp93513h03
|
|
44
|
-
* ```
|
|
45
|
-
* For more information see: [MongoDB Atlas API - Serverless Private Endpoints](https://www.mongodb.com/docs/atlas/reference/api/serverless-private-endpoints-get-one/).
|
|
46
|
-
*/
|
|
47
|
-
class PrivatelinkEndpointServerless extends pulumi.CustomResource {
|
|
48
|
-
/**
|
|
49
|
-
* Get an existing PrivatelinkEndpointServerless resource's state with the given name, ID, and optional extra
|
|
50
|
-
* properties used to qualify the lookup.
|
|
51
|
-
*
|
|
52
|
-
* @param name The _unique_ name of the resulting resource.
|
|
53
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
-
* @param state Any extra arguments used during the lookup.
|
|
55
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
-
*/
|
|
57
|
-
static get(name, id, state, opts) {
|
|
58
|
-
return new PrivatelinkEndpointServerless(name, state, { ...opts, id: id });
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServerless. This is designed to work even
|
|
62
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
-
*/
|
|
64
|
-
static isInstance(obj) {
|
|
65
|
-
if (obj === undefined || obj === null) {
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
return obj['__pulumiType'] === PrivatelinkEndpointServerless.__pulumiType;
|
|
69
|
-
}
|
|
70
|
-
constructor(name, argsOrState, opts) {
|
|
71
|
-
let resourceInputs = {};
|
|
72
|
-
opts = opts || {};
|
|
73
|
-
if (opts.id) {
|
|
74
|
-
const state = argsOrState;
|
|
75
|
-
resourceInputs["endpointId"] = state?.endpointId;
|
|
76
|
-
resourceInputs["endpointServiceName"] = state?.endpointServiceName;
|
|
77
|
-
resourceInputs["instanceName"] = state?.instanceName;
|
|
78
|
-
resourceInputs["privateLinkServiceResourceId"] = state?.privateLinkServiceResourceId;
|
|
79
|
-
resourceInputs["projectId"] = state?.projectId;
|
|
80
|
-
resourceInputs["providerName"] = state?.providerName;
|
|
81
|
-
resourceInputs["status"] = state?.status;
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
const args = argsOrState;
|
|
85
|
-
if (args?.instanceName === undefined && !opts.urn) {
|
|
86
|
-
throw new Error("Missing required property 'instanceName'");
|
|
87
|
-
}
|
|
88
|
-
if (args?.projectId === undefined && !opts.urn) {
|
|
89
|
-
throw new Error("Missing required property 'projectId'");
|
|
90
|
-
}
|
|
91
|
-
if (args?.providerName === undefined && !opts.urn) {
|
|
92
|
-
throw new Error("Missing required property 'providerName'");
|
|
93
|
-
}
|
|
94
|
-
resourceInputs["instanceName"] = args?.instanceName;
|
|
95
|
-
resourceInputs["projectId"] = args?.projectId;
|
|
96
|
-
resourceInputs["providerName"] = args?.providerName;
|
|
97
|
-
resourceInputs["endpointId"] = undefined /*out*/;
|
|
98
|
-
resourceInputs["endpointServiceName"] = undefined /*out*/;
|
|
99
|
-
resourceInputs["privateLinkServiceResourceId"] = undefined /*out*/;
|
|
100
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
101
|
-
}
|
|
102
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
-
super(PrivatelinkEndpointServerless.__pulumiType, name, resourceInputs, opts);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
exports.PrivatelinkEndpointServerless = PrivatelinkEndpointServerless;
|
|
107
|
-
/** @internal */
|
|
108
|
-
PrivatelinkEndpointServerless.__pulumiType = 'mongodbatlas:index/privatelinkEndpointServerless:PrivatelinkEndpointServerless';
|
|
109
|
-
//# sourceMappingURL=privatelinkEndpointServerless.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"privatelinkEndpointServerless.js","sourceRoot":"","sources":["../privatelinkEndpointServerless.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,8BAA8B,CAAC,GAAG,KAAK,EAAE,4BAA4B,CAAC;YACrF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4D,CAAC;YAC1E,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAlGL,sEAmGC;AArFG,gBAAgB;AACO,0CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* **WARNING:** This resource is deprecated and will be removed in March 2025. For more datails see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters
|
|
4
|
-
*
|
|
5
|
-
* `privatelinkEndpointServiceServerless` Provides a Serverless PrivateLink Endpoint Service resource.
|
|
6
|
-
* This is the second of two resources required to configure PrivateLink for Serverless, the first is mongodbatlas_privatelink_endpoint_serverless.
|
|
7
|
-
*
|
|
8
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
9
|
-
* **NOTE:** Create waits for all serverless instances on the project to IDLE in order for their operations to complete. This ensures the latest connection strings can be retrieved following creation of this resource. Default timeout is 2hrs.
|
|
10
|
-
*
|
|
11
|
-
* ## Example with AWS
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as aws from "@pulumi/aws";
|
|
16
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
-
*
|
|
18
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
19
|
-
* projectId: "<PROJECT_ID>",
|
|
20
|
-
* name: "test-db",
|
|
21
|
-
* providerSettingsBackingProviderName: "AWS",
|
|
22
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
23
|
-
* providerSettingsRegionName: "US_EAST_1",
|
|
24
|
-
* continuousBackupEnabled: true,
|
|
25
|
-
* });
|
|
26
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
27
|
-
* projectId: "<PROJECT_ID>",
|
|
28
|
-
* instanceName: testServerlessInstance.name,
|
|
29
|
-
* providerName: "AWS",
|
|
30
|
-
* });
|
|
31
|
-
* const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
|
|
32
|
-
* vpcId: "vpc-7fc0a543",
|
|
33
|
-
* serviceName: test.endpointServiceName,
|
|
34
|
-
* vpcEndpointType: "Interface",
|
|
35
|
-
* subnetIds: ["subnet-de0406d2"],
|
|
36
|
-
* securityGroupIds: ["sg-3f238186"],
|
|
37
|
-
* });
|
|
38
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
39
|
-
* projectId: "<PROJECT_ID>",
|
|
40
|
-
* instanceName: testServerlessInstance.name,
|
|
41
|
-
* endpointId: test.endpointId,
|
|
42
|
-
* cloudProviderEndpointId: ptfeService.id,
|
|
43
|
-
* providerName: "AWS",
|
|
44
|
-
* comment: "New serverless endpoint",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* ## Example with AZURE
|
|
49
|
-
*
|
|
50
|
-
* ```typescript
|
|
51
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
53
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
-
*
|
|
55
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
56
|
-
* projectId: projectId,
|
|
57
|
-
* providerName: "AZURE",
|
|
58
|
-
* });
|
|
59
|
-
* const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
|
|
60
|
-
* name: "endpoint-test",
|
|
61
|
-
* location: testAzurermResourceGroup.location,
|
|
62
|
-
* resourceGroupName: resourceGroupName,
|
|
63
|
-
* subnetId: testAzurermSubnet.id,
|
|
64
|
-
* privateServiceConnection: [{
|
|
65
|
-
* name: test.privateLinkServiceName,
|
|
66
|
-
* privateConnectionResourceId: test.privateLinkServiceResourceId,
|
|
67
|
-
* isManualConnection: true,
|
|
68
|
-
* requestMessage: "Azure Private Link test",
|
|
69
|
-
* }],
|
|
70
|
-
* });
|
|
71
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
72
|
-
* projectId: "<PROJECT_ID>",
|
|
73
|
-
* name: "test-db",
|
|
74
|
-
* providerSettingsBackingProviderName: "AZURE",
|
|
75
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
76
|
-
* providerSettingsRegionName: "US_EAST",
|
|
77
|
-
* continuousBackupEnabled: true,
|
|
78
|
-
* });
|
|
79
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
80
|
-
* projectId: test.projectId,
|
|
81
|
-
* instanceName: testServerlessInstance.name,
|
|
82
|
-
* endpointId: test.endpointId,
|
|
83
|
-
* cloudProviderEndpointId: testPrivateEndpoint.id,
|
|
84
|
-
* privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
|
|
85
|
-
* providerName: "AZURE",
|
|
86
|
-
* comment: "test",
|
|
87
|
-
* });
|
|
88
|
-
* ```
|
|
89
|
-
*
|
|
90
|
-
* ### Available complete examples
|
|
91
|
-
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
92
|
-
*
|
|
93
|
-
* ## Import
|
|
94
|
-
*
|
|
95
|
-
* Serverless privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
96
|
-
*
|
|
97
|
-
* ```sh
|
|
98
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServiceServerless:PrivatelinkEndpointServiceServerless test 1112222b3bf99403840e8934--serverless_name--vpce-jjg5e24qp93513h03
|
|
99
|
-
* ```
|
|
100
|
-
* For more information see: [MongoDB Atlas API - Serverless Private Endpoints](https://www.mongodb.com/docs/atlas/reference/api/serverless-private-endpoints-get-one/).
|
|
101
|
-
*/
|
|
102
|
-
export declare class PrivatelinkEndpointServiceServerless extends pulumi.CustomResource {
|
|
103
|
-
/**
|
|
104
|
-
* Get an existing PrivatelinkEndpointServiceServerless resource's state with the given name, ID, and optional extra
|
|
105
|
-
* properties used to qualify the lookup.
|
|
106
|
-
*
|
|
107
|
-
* @param name The _unique_ name of the resulting resource.
|
|
108
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
109
|
-
* @param state Any extra arguments used during the lookup.
|
|
110
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
111
|
-
*/
|
|
112
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrivatelinkEndpointServiceServerlessState, opts?: pulumi.CustomResourceOptions): PrivatelinkEndpointServiceServerless;
|
|
113
|
-
/**
|
|
114
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServiceServerless. This is designed to work even
|
|
115
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
116
|
-
*/
|
|
117
|
-
static isInstance(obj: any): obj is PrivatelinkEndpointServiceServerless;
|
|
118
|
-
/**
|
|
119
|
-
* Unique string that identifies the private endpoint's network interface.
|
|
120
|
-
*/
|
|
121
|
-
readonly cloudProviderEndpointId: pulumi.Output<string>;
|
|
122
|
-
/**
|
|
123
|
-
* Human-readable string to associate with this private endpoint.
|
|
124
|
-
*/
|
|
125
|
-
readonly comment: pulumi.Output<string | undefined>;
|
|
126
|
-
/**
|
|
127
|
-
* Unique 24-hexadecimal digit string that identifies the private endpoint.
|
|
128
|
-
*/
|
|
129
|
-
readonly endpointId: pulumi.Output<string>;
|
|
130
|
-
/**
|
|
131
|
-
* Human-readable label that identifies the serverless instance.
|
|
132
|
-
*/
|
|
133
|
-
readonly instanceName: pulumi.Output<string>;
|
|
134
|
-
/**
|
|
135
|
-
* IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
|
|
136
|
-
*/
|
|
137
|
-
readonly privateEndpointIpAddress: pulumi.Output<string>;
|
|
138
|
-
/**
|
|
139
|
-
* Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
|
|
140
|
-
*/
|
|
141
|
-
readonly privateLinkServiceResourceId: pulumi.Output<string>;
|
|
142
|
-
/**
|
|
143
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
144
|
-
*/
|
|
145
|
-
readonly projectId: pulumi.Output<string>;
|
|
146
|
-
/**
|
|
147
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE`.
|
|
148
|
-
*/
|
|
149
|
-
readonly providerName: pulumi.Output<string>;
|
|
150
|
-
/**
|
|
151
|
-
* Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
|
|
152
|
-
*/
|
|
153
|
-
readonly status: pulumi.Output<string>;
|
|
154
|
-
/**
|
|
155
|
-
* Create a PrivatelinkEndpointServiceServerless resource with the given unique name, arguments, and options.
|
|
156
|
-
*
|
|
157
|
-
* @param name The _unique_ name of the resource.
|
|
158
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
159
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
160
|
-
*/
|
|
161
|
-
constructor(name: string, args: PrivatelinkEndpointServiceServerlessArgs, opts?: pulumi.CustomResourceOptions);
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Input properties used for looking up and filtering PrivatelinkEndpointServiceServerless resources.
|
|
165
|
-
*/
|
|
166
|
-
export interface PrivatelinkEndpointServiceServerlessState {
|
|
167
|
-
/**
|
|
168
|
-
* Unique string that identifies the private endpoint's network interface.
|
|
169
|
-
*/
|
|
170
|
-
cloudProviderEndpointId?: pulumi.Input<string>;
|
|
171
|
-
/**
|
|
172
|
-
* Human-readable string to associate with this private endpoint.
|
|
173
|
-
*/
|
|
174
|
-
comment?: pulumi.Input<string>;
|
|
175
|
-
/**
|
|
176
|
-
* Unique 24-hexadecimal digit string that identifies the private endpoint.
|
|
177
|
-
*/
|
|
178
|
-
endpointId?: pulumi.Input<string>;
|
|
179
|
-
/**
|
|
180
|
-
* Human-readable label that identifies the serverless instance.
|
|
181
|
-
*/
|
|
182
|
-
instanceName?: pulumi.Input<string>;
|
|
183
|
-
/**
|
|
184
|
-
* IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
|
|
185
|
-
*/
|
|
186
|
-
privateEndpointIpAddress?: pulumi.Input<string>;
|
|
187
|
-
/**
|
|
188
|
-
* Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
|
|
189
|
-
*/
|
|
190
|
-
privateLinkServiceResourceId?: pulumi.Input<string>;
|
|
191
|
-
/**
|
|
192
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
193
|
-
*/
|
|
194
|
-
projectId?: pulumi.Input<string>;
|
|
195
|
-
/**
|
|
196
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE`.
|
|
197
|
-
*/
|
|
198
|
-
providerName?: pulumi.Input<string>;
|
|
199
|
-
/**
|
|
200
|
-
* Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
|
|
201
|
-
*/
|
|
202
|
-
status?: pulumi.Input<string>;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* The set of arguments for constructing a PrivatelinkEndpointServiceServerless resource.
|
|
206
|
-
*/
|
|
207
|
-
export interface PrivatelinkEndpointServiceServerlessArgs {
|
|
208
|
-
/**
|
|
209
|
-
* Unique string that identifies the private endpoint's network interface.
|
|
210
|
-
*/
|
|
211
|
-
cloudProviderEndpointId?: pulumi.Input<string>;
|
|
212
|
-
/**
|
|
213
|
-
* Human-readable string to associate with this private endpoint.
|
|
214
|
-
*/
|
|
215
|
-
comment?: pulumi.Input<string>;
|
|
216
|
-
/**
|
|
217
|
-
* Unique 24-hexadecimal digit string that identifies the private endpoint.
|
|
218
|
-
*/
|
|
219
|
-
endpointId: pulumi.Input<string>;
|
|
220
|
-
/**
|
|
221
|
-
* Human-readable label that identifies the serverless instance.
|
|
222
|
-
*/
|
|
223
|
-
instanceName: pulumi.Input<string>;
|
|
224
|
-
/**
|
|
225
|
-
* IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
|
|
226
|
-
*/
|
|
227
|
-
privateEndpointIpAddress?: pulumi.Input<string>;
|
|
228
|
-
/**
|
|
229
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
230
|
-
*/
|
|
231
|
-
projectId: pulumi.Input<string>;
|
|
232
|
-
/**
|
|
233
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE`.
|
|
234
|
-
*/
|
|
235
|
-
providerName: pulumi.Input<string>;
|
|
236
|
-
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.PrivatelinkEndpointServiceServerless = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* **WARNING:** This resource is deprecated and will be removed in March 2025. For more datails see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters
|
|
10
|
-
*
|
|
11
|
-
* `privatelinkEndpointServiceServerless` Provides a Serverless PrivateLink Endpoint Service resource.
|
|
12
|
-
* This is the second of two resources required to configure PrivateLink for Serverless, the first is mongodbatlas_privatelink_endpoint_serverless.
|
|
13
|
-
*
|
|
14
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
15
|
-
* **NOTE:** Create waits for all serverless instances on the project to IDLE in order for their operations to complete. This ensures the latest connection strings can be retrieved following creation of this resource. Default timeout is 2hrs.
|
|
16
|
-
*
|
|
17
|
-
* ## Example with AWS
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as aws from "@pulumi/aws";
|
|
22
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
-
*
|
|
24
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
25
|
-
* projectId: "<PROJECT_ID>",
|
|
26
|
-
* name: "test-db",
|
|
27
|
-
* providerSettingsBackingProviderName: "AWS",
|
|
28
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
29
|
-
* providerSettingsRegionName: "US_EAST_1",
|
|
30
|
-
* continuousBackupEnabled: true,
|
|
31
|
-
* });
|
|
32
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
33
|
-
* projectId: "<PROJECT_ID>",
|
|
34
|
-
* instanceName: testServerlessInstance.name,
|
|
35
|
-
* providerName: "AWS",
|
|
36
|
-
* });
|
|
37
|
-
* const ptfeService = new aws.index.VpcEndpoint("ptfe_service", {
|
|
38
|
-
* vpcId: "vpc-7fc0a543",
|
|
39
|
-
* serviceName: test.endpointServiceName,
|
|
40
|
-
* vpcEndpointType: "Interface",
|
|
41
|
-
* subnetIds: ["subnet-de0406d2"],
|
|
42
|
-
* securityGroupIds: ["sg-3f238186"],
|
|
43
|
-
* });
|
|
44
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
45
|
-
* projectId: "<PROJECT_ID>",
|
|
46
|
-
* instanceName: testServerlessInstance.name,
|
|
47
|
-
* endpointId: test.endpointId,
|
|
48
|
-
* cloudProviderEndpointId: ptfeService.id,
|
|
49
|
-
* providerName: "AWS",
|
|
50
|
-
* comment: "New serverless endpoint",
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* ## Example with AZURE
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
59
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
60
|
-
*
|
|
61
|
-
* const test = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
62
|
-
* projectId: projectId,
|
|
63
|
-
* providerName: "AZURE",
|
|
64
|
-
* });
|
|
65
|
-
* const testPrivateEndpoint = new azurerm.index.PrivateEndpoint("test", {
|
|
66
|
-
* name: "endpoint-test",
|
|
67
|
-
* location: testAzurermResourceGroup.location,
|
|
68
|
-
* resourceGroupName: resourceGroupName,
|
|
69
|
-
* subnetId: testAzurermSubnet.id,
|
|
70
|
-
* privateServiceConnection: [{
|
|
71
|
-
* name: test.privateLinkServiceName,
|
|
72
|
-
* privateConnectionResourceId: test.privateLinkServiceResourceId,
|
|
73
|
-
* isManualConnection: true,
|
|
74
|
-
* requestMessage: "Azure Private Link test",
|
|
75
|
-
* }],
|
|
76
|
-
* });
|
|
77
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
78
|
-
* projectId: "<PROJECT_ID>",
|
|
79
|
-
* name: "test-db",
|
|
80
|
-
* providerSettingsBackingProviderName: "AZURE",
|
|
81
|
-
* providerSettingsProviderName: "SERVERLESS",
|
|
82
|
-
* providerSettingsRegionName: "US_EAST",
|
|
83
|
-
* continuousBackupEnabled: true,
|
|
84
|
-
* });
|
|
85
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
86
|
-
* projectId: test.projectId,
|
|
87
|
-
* instanceName: testServerlessInstance.name,
|
|
88
|
-
* endpointId: test.endpointId,
|
|
89
|
-
* cloudProviderEndpointId: testPrivateEndpoint.id,
|
|
90
|
-
* privateEndpointIpAddress: testPrivateEndpoint.privateServiceConnection[0].privateIpAddress,
|
|
91
|
-
* providerName: "AZURE",
|
|
92
|
-
* comment: "test",
|
|
93
|
-
* });
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* ### Available complete examples
|
|
97
|
-
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
98
|
-
*
|
|
99
|
-
* ## Import
|
|
100
|
-
*
|
|
101
|
-
* Serverless privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
102
|
-
*
|
|
103
|
-
* ```sh
|
|
104
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServiceServerless:PrivatelinkEndpointServiceServerless test 1112222b3bf99403840e8934--serverless_name--vpce-jjg5e24qp93513h03
|
|
105
|
-
* ```
|
|
106
|
-
* For more information see: [MongoDB Atlas API - Serverless Private Endpoints](https://www.mongodb.com/docs/atlas/reference/api/serverless-private-endpoints-get-one/).
|
|
107
|
-
*/
|
|
108
|
-
class PrivatelinkEndpointServiceServerless extends pulumi.CustomResource {
|
|
109
|
-
/**
|
|
110
|
-
* Get an existing PrivatelinkEndpointServiceServerless resource's state with the given name, ID, and optional extra
|
|
111
|
-
* properties used to qualify the lookup.
|
|
112
|
-
*
|
|
113
|
-
* @param name The _unique_ name of the resulting resource.
|
|
114
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
115
|
-
* @param state Any extra arguments used during the lookup.
|
|
116
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
117
|
-
*/
|
|
118
|
-
static get(name, id, state, opts) {
|
|
119
|
-
return new PrivatelinkEndpointServiceServerless(name, state, { ...opts, id: id });
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServiceServerless. This is designed to work even
|
|
123
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
124
|
-
*/
|
|
125
|
-
static isInstance(obj) {
|
|
126
|
-
if (obj === undefined || obj === null) {
|
|
127
|
-
return false;
|
|
128
|
-
}
|
|
129
|
-
return obj['__pulumiType'] === PrivatelinkEndpointServiceServerless.__pulumiType;
|
|
130
|
-
}
|
|
131
|
-
constructor(name, argsOrState, opts) {
|
|
132
|
-
let resourceInputs = {};
|
|
133
|
-
opts = opts || {};
|
|
134
|
-
if (opts.id) {
|
|
135
|
-
const state = argsOrState;
|
|
136
|
-
resourceInputs["cloudProviderEndpointId"] = state?.cloudProviderEndpointId;
|
|
137
|
-
resourceInputs["comment"] = state?.comment;
|
|
138
|
-
resourceInputs["endpointId"] = state?.endpointId;
|
|
139
|
-
resourceInputs["instanceName"] = state?.instanceName;
|
|
140
|
-
resourceInputs["privateEndpointIpAddress"] = state?.privateEndpointIpAddress;
|
|
141
|
-
resourceInputs["privateLinkServiceResourceId"] = state?.privateLinkServiceResourceId;
|
|
142
|
-
resourceInputs["projectId"] = state?.projectId;
|
|
143
|
-
resourceInputs["providerName"] = state?.providerName;
|
|
144
|
-
resourceInputs["status"] = state?.status;
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
const args = argsOrState;
|
|
148
|
-
if (args?.endpointId === undefined && !opts.urn) {
|
|
149
|
-
throw new Error("Missing required property 'endpointId'");
|
|
150
|
-
}
|
|
151
|
-
if (args?.instanceName === undefined && !opts.urn) {
|
|
152
|
-
throw new Error("Missing required property 'instanceName'");
|
|
153
|
-
}
|
|
154
|
-
if (args?.projectId === undefined && !opts.urn) {
|
|
155
|
-
throw new Error("Missing required property 'projectId'");
|
|
156
|
-
}
|
|
157
|
-
if (args?.providerName === undefined && !opts.urn) {
|
|
158
|
-
throw new Error("Missing required property 'providerName'");
|
|
159
|
-
}
|
|
160
|
-
resourceInputs["cloudProviderEndpointId"] = args?.cloudProviderEndpointId;
|
|
161
|
-
resourceInputs["comment"] = args?.comment;
|
|
162
|
-
resourceInputs["endpointId"] = args?.endpointId;
|
|
163
|
-
resourceInputs["instanceName"] = args?.instanceName;
|
|
164
|
-
resourceInputs["privateEndpointIpAddress"] = args?.privateEndpointIpAddress;
|
|
165
|
-
resourceInputs["projectId"] = args?.projectId;
|
|
166
|
-
resourceInputs["providerName"] = args?.providerName;
|
|
167
|
-
resourceInputs["privateLinkServiceResourceId"] = undefined /*out*/;
|
|
168
|
-
resourceInputs["status"] = undefined /*out*/;
|
|
169
|
-
}
|
|
170
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
171
|
-
super(PrivatelinkEndpointServiceServerless.__pulumiType, name, resourceInputs, opts);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
exports.PrivatelinkEndpointServiceServerless = PrivatelinkEndpointServiceServerless;
|
|
175
|
-
/** @internal */
|
|
176
|
-
PrivatelinkEndpointServiceServerless.__pulumiType = 'mongodbatlas:index/privatelinkEndpointServiceServerless:PrivatelinkEndpointServiceServerless';
|
|
177
|
-
//# sourceMappingURL=privatelinkEndpointServiceServerless.js.map
|