@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
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment data source. The data source lets you retrieve a user assigned to an organization.
|
|
5
|
+
*
|
|
6
|
+
* **NOTE**: Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
7
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser) for details.
|
|
8
|
+
* To manage such users with this resource, refer to our Org Invitation to Cloud User Org Assignment Migration Guide.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ### S
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const example = new mongodbatlas.CloudUserOrgAssignment("example", {
|
|
19
|
+
* orgId: orgId,
|
|
20
|
+
* username: userEmail,
|
|
21
|
+
* roles: {
|
|
22
|
+
* orgRoles: ["ORG_MEMBER"],
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
26
|
+
* orgId: orgId,
|
|
27
|
+
* username: username,
|
|
28
|
+
* }));
|
|
29
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
30
|
+
* orgId: orgId,
|
|
31
|
+
* userId: userId,
|
|
32
|
+
* }));
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getCloudUserOrgAssignment(args: GetCloudUserOrgAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudUserOrgAssignmentResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getCloudUserOrgAssignment.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetCloudUserOrgAssignmentArgs {
|
|
40
|
+
/**
|
|
41
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
42
|
+
*/
|
|
43
|
+
orgId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
46
|
+
*/
|
|
47
|
+
userId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
50
|
+
*/
|
|
51
|
+
username?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A collection of values returned by getCloudUserOrgAssignment.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetCloudUserOrgAssignmentResult {
|
|
57
|
+
/**
|
|
58
|
+
* Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
|
|
59
|
+
*/
|
|
60
|
+
readonly country: string;
|
|
61
|
+
/**
|
|
62
|
+
* Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
|
|
63
|
+
*/
|
|
64
|
+
readonly createdAt: string;
|
|
65
|
+
/**
|
|
66
|
+
* First or given name that belongs to the MongoDB Cloud user.
|
|
67
|
+
*/
|
|
68
|
+
readonly firstName: string;
|
|
69
|
+
/**
|
|
70
|
+
* The provider-assigned unique ID for this managed resource.
|
|
71
|
+
*/
|
|
72
|
+
readonly id: string;
|
|
73
|
+
/**
|
|
74
|
+
* Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
75
|
+
*/
|
|
76
|
+
readonly invitationCreatedAt: string;
|
|
77
|
+
/**
|
|
78
|
+
* Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
79
|
+
*/
|
|
80
|
+
readonly invitationExpiresAt: string;
|
|
81
|
+
/**
|
|
82
|
+
* Username of the MongoDB Cloud user who sent the invitation to join the organization.
|
|
83
|
+
*/
|
|
84
|
+
readonly inviterUsername: string;
|
|
85
|
+
/**
|
|
86
|
+
* Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
|
|
87
|
+
*/
|
|
88
|
+
readonly lastAuth: string;
|
|
89
|
+
/**
|
|
90
|
+
* Last name, family name, or surname that belongs to the MongoDB Cloud user.
|
|
91
|
+
*/
|
|
92
|
+
readonly lastName: string;
|
|
93
|
+
/**
|
|
94
|
+
* Mobile phone number that belongs to the MongoDB Cloud user.
|
|
95
|
+
*/
|
|
96
|
+
readonly mobileNumber: string;
|
|
97
|
+
/**
|
|
98
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
99
|
+
*/
|
|
100
|
+
readonly orgId: string;
|
|
101
|
+
/**
|
|
102
|
+
* String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
|
|
103
|
+
*/
|
|
104
|
+
readonly orgMembershipStatus: string;
|
|
105
|
+
/**
|
|
106
|
+
* Organization and project level roles to assign the MongoDB Cloud user within one organization.
|
|
107
|
+
*/
|
|
108
|
+
readonly roles: outputs.GetCloudUserOrgAssignmentRoles;
|
|
109
|
+
/**
|
|
110
|
+
* List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
|
|
111
|
+
*/
|
|
112
|
+
readonly teamIds: string[];
|
|
113
|
+
/**
|
|
114
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
115
|
+
*/
|
|
116
|
+
readonly userId: string;
|
|
117
|
+
/**
|
|
118
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
119
|
+
*/
|
|
120
|
+
readonly username: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment data source. The data source lets you retrieve a user assigned to an organization.
|
|
124
|
+
*
|
|
125
|
+
* **NOTE**: Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
126
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser) for details.
|
|
127
|
+
* To manage such users with this resource, refer to our Org Invitation to Cloud User Org Assignment Migration Guide.
|
|
128
|
+
*
|
|
129
|
+
* ## Example Usage
|
|
130
|
+
*
|
|
131
|
+
* ### S
|
|
132
|
+
*
|
|
133
|
+
* ```typescript
|
|
134
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
135
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
136
|
+
*
|
|
137
|
+
* const example = new mongodbatlas.CloudUserOrgAssignment("example", {
|
|
138
|
+
* orgId: orgId,
|
|
139
|
+
* username: userEmail,
|
|
140
|
+
* roles: {
|
|
141
|
+
* orgRoles: ["ORG_MEMBER"],
|
|
142
|
+
* },
|
|
143
|
+
* });
|
|
144
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
145
|
+
* orgId: orgId,
|
|
146
|
+
* username: username,
|
|
147
|
+
* }));
|
|
148
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
149
|
+
* orgId: orgId,
|
|
150
|
+
* userId: userId,
|
|
151
|
+
* }));
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
export declare function getCloudUserOrgAssignmentOutput(args: GetCloudUserOrgAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudUserOrgAssignmentResult>;
|
|
155
|
+
/**
|
|
156
|
+
* A collection of arguments for invoking getCloudUserOrgAssignment.
|
|
157
|
+
*/
|
|
158
|
+
export interface GetCloudUserOrgAssignmentOutputArgs {
|
|
159
|
+
/**
|
|
160
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
161
|
+
*/
|
|
162
|
+
orgId: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
165
|
+
*/
|
|
166
|
+
userId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
169
|
+
*/
|
|
170
|
+
username?: pulumi.Input<string>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.getCloudUserOrgAssignmentOutput = exports.getCloudUserOrgAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment data source. The data source lets you retrieve a user assigned to an organization.
|
|
10
|
+
*
|
|
11
|
+
* **NOTE**: Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
12
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser) for details.
|
|
13
|
+
* To manage such users with this resource, refer to our Org Invitation to Cloud User Org Assignment Migration Guide.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### S
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const example = new mongodbatlas.CloudUserOrgAssignment("example", {
|
|
24
|
+
* orgId: orgId,
|
|
25
|
+
* username: userEmail,
|
|
26
|
+
* roles: {
|
|
27
|
+
* orgRoles: ["ORG_MEMBER"],
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
31
|
+
* orgId: orgId,
|
|
32
|
+
* username: username,
|
|
33
|
+
* }));
|
|
34
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
35
|
+
* orgId: orgId,
|
|
36
|
+
* userId: userId,
|
|
37
|
+
* }));
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getCloudUserOrgAssignment(args, opts) {
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getCloudUserOrgAssignment:getCloudUserOrgAssignment", {
|
|
43
|
+
"orgId": args.orgId,
|
|
44
|
+
"userId": args.userId,
|
|
45
|
+
"username": args.username,
|
|
46
|
+
}, opts);
|
|
47
|
+
}
|
|
48
|
+
exports.getCloudUserOrgAssignment = getCloudUserOrgAssignment;
|
|
49
|
+
/**
|
|
50
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment data source. The data source lets you retrieve a user assigned to an organization.
|
|
51
|
+
*
|
|
52
|
+
* **NOTE**: Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
53
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser) for details.
|
|
54
|
+
* To manage such users with this resource, refer to our Org Invitation to Cloud User Org Assignment Migration Guide.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ### S
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
63
|
+
*
|
|
64
|
+
* const example = new mongodbatlas.CloudUserOrgAssignment("example", {
|
|
65
|
+
* orgId: orgId,
|
|
66
|
+
* username: userEmail,
|
|
67
|
+
* roles: {
|
|
68
|
+
* orgRoles: ["ORG_MEMBER"],
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
72
|
+
* orgId: orgId,
|
|
73
|
+
* username: username,
|
|
74
|
+
* }));
|
|
75
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
76
|
+
* orgId: orgId,
|
|
77
|
+
* userId: userId,
|
|
78
|
+
* }));
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
function getCloudUserOrgAssignmentOutput(args, opts) {
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
83
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getCloudUserOrgAssignment:getCloudUserOrgAssignment", {
|
|
84
|
+
"orgId": args.orgId,
|
|
85
|
+
"userId": args.userId,
|
|
86
|
+
"username": args.username,
|
|
87
|
+
}, opts);
|
|
88
|
+
}
|
|
89
|
+
exports.getCloudUserOrgAssignmentOutput = getCloudUserOrgAssignmentOutput;
|
|
90
|
+
//# sourceMappingURL=getCloudUserOrgAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCloudUserOrgAssignment.js","sourceRoot":"","sources":["../getCloudUserOrgAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC;AAyFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0EAOC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment data source. The data source lets you retrieve a user assigned to a project.
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
6
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
|
|
7
|
+
* To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### S
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const example = new mongodbatlas.CloudUserProjectAssignment("example", {
|
|
18
|
+
* projectId: projectId,
|
|
19
|
+
* username: userEmail,
|
|
20
|
+
* roles: [
|
|
21
|
+
* "GROUP_OWNER",
|
|
22
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
26
|
+
* projectId: projectId,
|
|
27
|
+
* username: username,
|
|
28
|
+
* }));
|
|
29
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
30
|
+
* projectId: projectId,
|
|
31
|
+
* userId: userId,
|
|
32
|
+
* }));
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getCloudUserProjectAssignment(args: GetCloudUserProjectAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudUserProjectAssignmentResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getCloudUserProjectAssignment.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetCloudUserProjectAssignmentArgs {
|
|
40
|
+
/**
|
|
41
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
|
|
42
|
+
*/
|
|
43
|
+
projectId: string;
|
|
44
|
+
userId?: string;
|
|
45
|
+
username?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A collection of values returned by getCloudUserProjectAssignment.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetCloudUserProjectAssignmentResult {
|
|
51
|
+
readonly country: string;
|
|
52
|
+
readonly createdAt: string;
|
|
53
|
+
readonly firstName: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly invitationCreatedAt: string;
|
|
59
|
+
readonly invitationExpiresAt: string;
|
|
60
|
+
readonly inviterUsername: string;
|
|
61
|
+
readonly lastAuth: string;
|
|
62
|
+
readonly lastName: string;
|
|
63
|
+
readonly mobileNumber: string;
|
|
64
|
+
readonly orgMembershipStatus: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
|
|
67
|
+
*/
|
|
68
|
+
readonly projectId: string;
|
|
69
|
+
readonly roles: string[];
|
|
70
|
+
readonly userId?: string;
|
|
71
|
+
readonly username?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment data source. The data source lets you retrieve a user assigned to a project.
|
|
75
|
+
*
|
|
76
|
+
* > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
77
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
|
|
78
|
+
* To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ### S
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
|
+
*
|
|
88
|
+
* const example = new mongodbatlas.CloudUserProjectAssignment("example", {
|
|
89
|
+
* projectId: projectId,
|
|
90
|
+
* username: userEmail,
|
|
91
|
+
* roles: [
|
|
92
|
+
* "GROUP_OWNER",
|
|
93
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
94
|
+
* ],
|
|
95
|
+
* });
|
|
96
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
97
|
+
* projectId: projectId,
|
|
98
|
+
* username: username,
|
|
99
|
+
* }));
|
|
100
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
101
|
+
* projectId: projectId,
|
|
102
|
+
* userId: userId,
|
|
103
|
+
* }));
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
export declare function getCloudUserProjectAssignmentOutput(args: GetCloudUserProjectAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudUserProjectAssignmentResult>;
|
|
107
|
+
/**
|
|
108
|
+
* A collection of arguments for invoking getCloudUserProjectAssignment.
|
|
109
|
+
*/
|
|
110
|
+
export interface GetCloudUserProjectAssignmentOutputArgs {
|
|
111
|
+
/**
|
|
112
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listprojects) endpoint to retrieve all projects to which the authenticated user has access.
|
|
113
|
+
*/
|
|
114
|
+
projectId: pulumi.Input<string>;
|
|
115
|
+
userId?: pulumi.Input<string>;
|
|
116
|
+
username?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.getCloudUserProjectAssignmentOutput = exports.getCloudUserProjectAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment data source. The data source lets you retrieve a user assigned to a project.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
12
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
|
|
13
|
+
* To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### S
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const example = new mongodbatlas.CloudUserProjectAssignment("example", {
|
|
24
|
+
* projectId: projectId,
|
|
25
|
+
* username: userEmail,
|
|
26
|
+
* roles: [
|
|
27
|
+
* "GROUP_OWNER",
|
|
28
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
32
|
+
* projectId: projectId,
|
|
33
|
+
* username: username,
|
|
34
|
+
* }));
|
|
35
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
36
|
+
* projectId: projectId,
|
|
37
|
+
* userId: userId,
|
|
38
|
+
* }));
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
function getCloudUserProjectAssignment(args, opts) {
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getCloudUserProjectAssignment:getCloudUserProjectAssignment", {
|
|
44
|
+
"projectId": args.projectId,
|
|
45
|
+
"userId": args.userId,
|
|
46
|
+
"username": args.username,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getCloudUserProjectAssignment = getCloudUserProjectAssignment;
|
|
50
|
+
/**
|
|
51
|
+
* `mongodbatlas.CloudUserProjectAssignment` provides a Cloud User Project Assignment data source. The data source lets you retrieve a user assigned to a project.
|
|
52
|
+
*
|
|
53
|
+
* > **NOTE:** Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
54
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getprojectteam) for details.
|
|
55
|
+
* To manage such users with this resource, refer to our Project Invitation to Cloud User Project Assignment Migration Guide.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ### S
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
64
|
+
*
|
|
65
|
+
* const example = new mongodbatlas.CloudUserProjectAssignment("example", {
|
|
66
|
+
* projectId: projectId,
|
|
67
|
+
* username: userEmail,
|
|
68
|
+
* roles: [
|
|
69
|
+
* "GROUP_OWNER",
|
|
70
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
71
|
+
* ],
|
|
72
|
+
* });
|
|
73
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
74
|
+
* projectId: projectId,
|
|
75
|
+
* username: username,
|
|
76
|
+
* }));
|
|
77
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserProjectAssignmentOutput({
|
|
78
|
+
* projectId: projectId,
|
|
79
|
+
* userId: userId,
|
|
80
|
+
* }));
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
function getCloudUserProjectAssignmentOutput(args, opts) {
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
85
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getCloudUserProjectAssignment:getCloudUserProjectAssignment", {
|
|
86
|
+
"projectId": args.projectId,
|
|
87
|
+
"userId": args.userId,
|
|
88
|
+
"username": args.username,
|
|
89
|
+
}, opts);
|
|
90
|
+
}
|
|
91
|
+
exports.getCloudUserProjectAssignmentOutput = getCloudUserProjectAssignmentOutput;
|
|
92
|
+
//# sourceMappingURL=getCloudUserProjectAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCloudUserProjectAssignment.js","sourceRoot":"","sources":["../getCloudUserProjectAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sEAOC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gFAAgF,EAAE;QACjH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kFAOC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* `mongodbatlas.CloudUserTeamAssignment` provides a Cloud User Team Assignment data source. The data source lets you retrieve a user assigned to a team.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE**Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
7
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listteamusers) for details.
|
|
8
|
+
* To manage such users with this resource, refer to our Migration Guide: Team Usernames Attribute to Cloud User Team Assignment.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ### S
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const example = new mongodbatlas.CloudUserTeamAssignment("example", {
|
|
19
|
+
* orgId: orgId,
|
|
20
|
+
* teamId: teamId,
|
|
21
|
+
* userId: userId,
|
|
22
|
+
* });
|
|
23
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
24
|
+
* orgId: orgId,
|
|
25
|
+
* teamId: teamId,
|
|
26
|
+
* userId: userId,
|
|
27
|
+
* }));
|
|
28
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
29
|
+
* orgId: orgId,
|
|
30
|
+
* teamId: teamId,
|
|
31
|
+
* username: username,
|
|
32
|
+
* }));
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getCloudUserTeamAssignment(args: GetCloudUserTeamAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudUserTeamAssignmentResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getCloudUserTeamAssignment.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetCloudUserTeamAssignmentArgs {
|
|
40
|
+
/**
|
|
41
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
42
|
+
*/
|
|
43
|
+
orgId: string;
|
|
44
|
+
/**
|
|
45
|
+
* Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
|
|
46
|
+
*/
|
|
47
|
+
teamId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
50
|
+
*/
|
|
51
|
+
userId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
54
|
+
*/
|
|
55
|
+
username?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A collection of values returned by getCloudUserTeamAssignment.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetCloudUserTeamAssignmentResult {
|
|
61
|
+
/**
|
|
62
|
+
* Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
|
|
63
|
+
*/
|
|
64
|
+
readonly country: string;
|
|
65
|
+
/**
|
|
66
|
+
* Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
|
|
67
|
+
*/
|
|
68
|
+
readonly createdAt: string;
|
|
69
|
+
/**
|
|
70
|
+
* First or given name that belongs to the MongoDB Cloud user.
|
|
71
|
+
*/
|
|
72
|
+
readonly firstName: string;
|
|
73
|
+
/**
|
|
74
|
+
* The provider-assigned unique ID for this managed resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly id: string;
|
|
77
|
+
/**
|
|
78
|
+
* Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
79
|
+
*/
|
|
80
|
+
readonly invitationCreatedAt: string;
|
|
81
|
+
/**
|
|
82
|
+
* Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
83
|
+
*/
|
|
84
|
+
readonly invitationExpiresAt: string;
|
|
85
|
+
/**
|
|
86
|
+
* Username of the MongoDB Cloud user who sent the invitation to join the organization.
|
|
87
|
+
*/
|
|
88
|
+
readonly inviterUsername: string;
|
|
89
|
+
/**
|
|
90
|
+
* Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
|
|
91
|
+
*/
|
|
92
|
+
readonly lastAuth: string;
|
|
93
|
+
/**
|
|
94
|
+
* Last name, family name, or surname that belongs to the MongoDB Cloud user.
|
|
95
|
+
*/
|
|
96
|
+
readonly lastName: string;
|
|
97
|
+
/**
|
|
98
|
+
* Mobile phone number that belongs to the MongoDB Cloud user.
|
|
99
|
+
*/
|
|
100
|
+
readonly mobileNumber: string;
|
|
101
|
+
/**
|
|
102
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
103
|
+
*/
|
|
104
|
+
readonly orgId: string;
|
|
105
|
+
/**
|
|
106
|
+
* String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
|
|
107
|
+
*/
|
|
108
|
+
readonly orgMembershipStatus: string;
|
|
109
|
+
/**
|
|
110
|
+
* Organization and project level roles to assign the MongoDB Cloud user within one organization.
|
|
111
|
+
*/
|
|
112
|
+
readonly roles: outputs.GetCloudUserTeamAssignmentRoles;
|
|
113
|
+
/**
|
|
114
|
+
* Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
|
|
115
|
+
*/
|
|
116
|
+
readonly teamId: string;
|
|
117
|
+
/**
|
|
118
|
+
* List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
|
|
119
|
+
*/
|
|
120
|
+
readonly teamIds: string[];
|
|
121
|
+
/**
|
|
122
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
123
|
+
*/
|
|
124
|
+
readonly userId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
127
|
+
*/
|
|
128
|
+
readonly username?: string;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* `mongodbatlas.CloudUserTeamAssignment` provides a Cloud User Team Assignment data source. The data source lets you retrieve a user assigned to a team.
|
|
132
|
+
*
|
|
133
|
+
* > **NOTE**Users with pending invitations created using the deprecated `mongodbatlas.ProjectInvitation` resource or via the deprecated [Invite One MongoDB Cloud User to One Project](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser#tag/Projects/operation/createProjectInvitation)
|
|
134
|
+
* endpoint are not returned with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-listteamusers) for details.
|
|
135
|
+
* To manage such users with this resource, refer to our Migration Guide: Team Usernames Attribute to Cloud User Team Assignment.
|
|
136
|
+
*
|
|
137
|
+
* ## Example Usage
|
|
138
|
+
*
|
|
139
|
+
* ### S
|
|
140
|
+
*
|
|
141
|
+
* ```typescript
|
|
142
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
143
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
144
|
+
*
|
|
145
|
+
* const example = new mongodbatlas.CloudUserTeamAssignment("example", {
|
|
146
|
+
* orgId: orgId,
|
|
147
|
+
* teamId: teamId,
|
|
148
|
+
* userId: userId,
|
|
149
|
+
* });
|
|
150
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
151
|
+
* orgId: orgId,
|
|
152
|
+
* teamId: teamId,
|
|
153
|
+
* userId: userId,
|
|
154
|
+
* }));
|
|
155
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
156
|
+
* orgId: orgId,
|
|
157
|
+
* teamId: teamId,
|
|
158
|
+
* username: username,
|
|
159
|
+
* }));
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
export declare function getCloudUserTeamAssignmentOutput(args: GetCloudUserTeamAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudUserTeamAssignmentResult>;
|
|
163
|
+
/**
|
|
164
|
+
* A collection of arguments for invoking getCloudUserTeamAssignment.
|
|
165
|
+
*/
|
|
166
|
+
export interface GetCloudUserTeamAssignmentOutputArgs {
|
|
167
|
+
/**
|
|
168
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-organizations) endpoint to retrieve all organizations to which the authenticated user has access.
|
|
169
|
+
*/
|
|
170
|
+
orgId: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Unique 24-hexadecimal digit string that identifies the team to which you want to assign the MongoDB Cloud user. Use the [/teams](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/group/endpoint-teams) endpoint to retrieve all teams to which the authenticated user has access.
|
|
173
|
+
*/
|
|
174
|
+
teamId: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
177
|
+
*/
|
|
178
|
+
userId?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
181
|
+
*/
|
|
182
|
+
username?: pulumi.Input<string>;
|
|
183
|
+
}
|