@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
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### With AWS
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
|
+
*
|
|
13
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
14
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
15
|
+
* providerName: "AWS",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ### With Azure
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
24
|
+
*
|
|
25
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
26
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
27
|
+
* providerName: "AZURE",
|
|
28
|
+
* azureConfigs: [{
|
|
29
|
+
* atlasAzureAppId: "9f2deb0d-be22-4524-a403-df531868bac0",
|
|
30
|
+
* servicePrincipalId: "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
|
|
31
|
+
* tenantId: "91402384-d71e-22f5-22dd-759e272cdc1c",
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ### With GCP
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
41
|
+
*
|
|
42
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
43
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
44
|
+
* providerName: "GCP",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ### Further Examples
|
|
49
|
+
* - AWS Cloud Provider Access
|
|
50
|
+
* - Azure Cloud Provider Access
|
|
51
|
+
* - GCP Cloud Provider Access
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* It can be imported using project ID, provider name and role_id in the format `project_id`-`provider_name`-`role_id`, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import mongodbatlas:index/cloudProviderAccessSetup:CloudProviderAccessSetup my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
4
61
|
export declare class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
5
62
|
/**
|
|
6
63
|
* Get an existing CloudProviderAccessSetup resource's state with the given name, ID, and optional extra
|
|
@@ -17,13 +74,41 @@ export declare class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
|
17
74
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
75
|
*/
|
|
19
76
|
static isInstance(obj: any): obj is CloudProviderAccessSetup;
|
|
77
|
+
/**
|
|
78
|
+
* aws related arn roles
|
|
79
|
+
*/
|
|
20
80
|
readonly awsConfigs: pulumi.Output<outputs.CloudProviderAccessSetupAwsConfig[]>;
|
|
81
|
+
/**
|
|
82
|
+
* azure related configurations
|
|
83
|
+
*/
|
|
21
84
|
readonly azureConfigs: pulumi.Output<outputs.CloudProviderAccessSetupAzureConfig[] | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Date on which this role was created.
|
|
87
|
+
*/
|
|
22
88
|
readonly createdDate: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Indicates whether to delete the resource being created if a timeout is reached when waiting for completion. When set to `true` and timeout occurs, it triggers the deletion and returns immediately without waiting for deletion to complete. When set to `false`, the timeout will not trigger resource deletion. If you suspect a transient error when the value is `true`, wait before retrying to allow resource deletion to finish. Default is `true`.
|
|
91
|
+
*/
|
|
92
|
+
readonly deleteOnCreateTimeout: pulumi.Output<boolean | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* gcp related configuration
|
|
95
|
+
*/
|
|
23
96
|
readonly gcpConfigs: pulumi.Output<outputs.CloudProviderAccessSetupGcpConfig[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
|
|
99
|
+
*/
|
|
24
100
|
readonly lastUpdatedDate: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The unique ID for the project
|
|
103
|
+
*/
|
|
25
104
|
readonly projectId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The cloud provider for which to create a new role. Currently, AWS, AZURE and GCP are supported. **WARNING** Changing the `providerName` will result in destruction of the existing resource and the creation of a new resource.
|
|
107
|
+
*/
|
|
26
108
|
readonly providerName: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Unique ID of this role.
|
|
111
|
+
*/
|
|
27
112
|
readonly roleId: pulumi.Output<string>;
|
|
28
113
|
/**
|
|
29
114
|
* Create a CloudProviderAccessSetup resource with the given unique name, arguments, and options.
|
|
@@ -38,20 +123,61 @@ export declare class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
|
38
123
|
* Input properties used for looking up and filtering CloudProviderAccessSetup resources.
|
|
39
124
|
*/
|
|
40
125
|
export interface CloudProviderAccessSetupState {
|
|
126
|
+
/**
|
|
127
|
+
* aws related arn roles
|
|
128
|
+
*/
|
|
41
129
|
awsConfigs?: pulumi.Input<pulumi.Input<inputs.CloudProviderAccessSetupAwsConfig>[]>;
|
|
130
|
+
/**
|
|
131
|
+
* azure related configurations
|
|
132
|
+
*/
|
|
42
133
|
azureConfigs?: pulumi.Input<pulumi.Input<inputs.CloudProviderAccessSetupAzureConfig>[]>;
|
|
134
|
+
/**
|
|
135
|
+
* Date on which this role was created.
|
|
136
|
+
*/
|
|
43
137
|
createdDate?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Indicates whether to delete the resource being created if a timeout is reached when waiting for completion. When set to `true` and timeout occurs, it triggers the deletion and returns immediately without waiting for deletion to complete. When set to `false`, the timeout will not trigger resource deletion. If you suspect a transient error when the value is `true`, wait before retrying to allow resource deletion to finish. Default is `true`.
|
|
140
|
+
*/
|
|
141
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
142
|
+
/**
|
|
143
|
+
* gcp related configuration
|
|
144
|
+
*/
|
|
44
145
|
gcpConfigs?: pulumi.Input<pulumi.Input<inputs.CloudProviderAccessSetupGcpConfig>[]>;
|
|
146
|
+
/**
|
|
147
|
+
* Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
|
|
148
|
+
*/
|
|
45
149
|
lastUpdatedDate?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The unique ID for the project
|
|
152
|
+
*/
|
|
46
153
|
projectId?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The cloud provider for which to create a new role. Currently, AWS, AZURE and GCP are supported. **WARNING** Changing the `providerName` will result in destruction of the existing resource and the creation of a new resource.
|
|
156
|
+
*/
|
|
47
157
|
providerName?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Unique ID of this role.
|
|
160
|
+
*/
|
|
48
161
|
roleId?: pulumi.Input<string>;
|
|
49
162
|
}
|
|
50
163
|
/**
|
|
51
164
|
* The set of arguments for constructing a CloudProviderAccessSetup resource.
|
|
52
165
|
*/
|
|
53
166
|
export interface CloudProviderAccessSetupArgs {
|
|
167
|
+
/**
|
|
168
|
+
* azure related configurations
|
|
169
|
+
*/
|
|
54
170
|
azureConfigs?: pulumi.Input<pulumi.Input<inputs.CloudProviderAccessSetupAzureConfig>[]>;
|
|
171
|
+
/**
|
|
172
|
+
* Indicates whether to delete the resource being created if a timeout is reached when waiting for completion. When set to `true` and timeout occurs, it triggers the deletion and returns immediately without waiting for deletion to complete. When set to `false`, the timeout will not trigger resource deletion. If you suspect a transient error when the value is `true`, wait before retrying to allow resource deletion to finish. Default is `true`.
|
|
173
|
+
*/
|
|
174
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* The unique ID for the project
|
|
177
|
+
*/
|
|
55
178
|
projectId: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The cloud provider for which to create a new role. Currently, AWS, AZURE and GCP are supported. **WARNING** Changing the `providerName` will result in destruction of the existing resource and the creation of a new resource.
|
|
181
|
+
*/
|
|
56
182
|
providerName: pulumi.Input<string>;
|
|
57
183
|
}
|
|
@@ -5,6 +5,63 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CloudProviderAccessSetup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### With AWS
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
18
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
19
|
+
* providerName: "AWS",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### With Azure
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
28
|
+
*
|
|
29
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
30
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
31
|
+
* providerName: "AZURE",
|
|
32
|
+
* azureConfigs: [{
|
|
33
|
+
* atlasAzureAppId: "9f2deb0d-be22-4524-a403-df531868bac0",
|
|
34
|
+
* servicePrincipalId: "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
|
|
35
|
+
* tenantId: "91402384-d71e-22f5-22dd-759e272cdc1c",
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ### With GCP
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
45
|
+
*
|
|
46
|
+
* const testRole = new mongodbatlas.CloudProviderAccessSetup("test_role", {
|
|
47
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
48
|
+
* providerName: "GCP",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ### Further Examples
|
|
53
|
+
* - AWS Cloud Provider Access
|
|
54
|
+
* - Azure Cloud Provider Access
|
|
55
|
+
* - GCP Cloud Provider Access
|
|
56
|
+
*
|
|
57
|
+
* ## Import
|
|
58
|
+
*
|
|
59
|
+
* It can be imported using project ID, provider name and role_id in the format `project_id`-`provider_name`-`role_id`, e.g.
|
|
60
|
+
*
|
|
61
|
+
* ```sh
|
|
62
|
+
* $ pulumi import mongodbatlas:index/cloudProviderAccessSetup:CloudProviderAccessSetup my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
8
65
|
class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
9
66
|
/**
|
|
10
67
|
* Get an existing CloudProviderAccessSetup resource's state with the given name, ID, and optional extra
|
|
@@ -36,6 +93,7 @@ class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
|
36
93
|
resourceInputs["awsConfigs"] = state?.awsConfigs;
|
|
37
94
|
resourceInputs["azureConfigs"] = state?.azureConfigs;
|
|
38
95
|
resourceInputs["createdDate"] = state?.createdDate;
|
|
96
|
+
resourceInputs["deleteOnCreateTimeout"] = state?.deleteOnCreateTimeout;
|
|
39
97
|
resourceInputs["gcpConfigs"] = state?.gcpConfigs;
|
|
40
98
|
resourceInputs["lastUpdatedDate"] = state?.lastUpdatedDate;
|
|
41
99
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -51,6 +109,7 @@ class CloudProviderAccessSetup extends pulumi.CustomResource {
|
|
|
51
109
|
throw new Error("Missing required property 'providerName'");
|
|
52
110
|
}
|
|
53
111
|
resourceInputs["azureConfigs"] = args?.azureConfigs;
|
|
112
|
+
resourceInputs["deleteOnCreateTimeout"] = args?.deleteOnCreateTimeout;
|
|
54
113
|
resourceInputs["projectId"] = args?.projectId;
|
|
55
114
|
resourceInputs["providerName"] = args?.providerName;
|
|
56
115
|
resourceInputs["awsConfigs"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudProviderAccessSetup.js","sourceRoot":"","sources":["../cloudProviderAccessSetup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"cloudProviderAccessSetup.js","sourceRoot":"","sources":["../cloudProviderAccessSetup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment resource. The resource lets you import, assign, remove, or update a user to an organization.
|
|
6
|
+
*
|
|
7
|
+
* **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)
|
|
8
|
+
* endpoint cannot be managed with this resource. See [MongoDB Atlas API](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-getorganizationuser) for details.
|
|
9
|
+
* To manage such users with this resource, refer to our Org Invitation to Cloud User Org Assignment Migration Guide.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### S
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const example = new mongodbatlas.CloudUserOrgAssignment("example", {
|
|
20
|
+
* orgId: orgId,
|
|
21
|
+
* username: userEmail,
|
|
22
|
+
* roles: {
|
|
23
|
+
* orgRoles: ["ORG_MEMBER"],
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
27
|
+
* orgId: orgId,
|
|
28
|
+
* username: username,
|
|
29
|
+
* }));
|
|
30
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserOrgAssignmentOutput({
|
|
31
|
+
* orgId: orgId,
|
|
32
|
+
* userId: userId,
|
|
33
|
+
* }));
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ### Further Examples
|
|
37
|
+
* - Cloud User Organization Assignment
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Cloud User Org Assignment resource can be imported using the Org ID & Username OR Org ID & User ID, in the format `ORG_ID/USERNAME` OR `ORG_ID/USER_ID`.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import mongodbatlas:index/cloudUserOrgAssignment:CloudUserOrgAssignment test 63cfbf302333a3011d98592e/test-user@example.com
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* OR
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import mongodbatlas:index/cloudUserOrgAssignment:CloudUserOrgAssignment test 63cfbf302333a3011d98592e/5f18367ccb7a503a2b481b7a
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* For more information see: [MongoDB Atlas API - Cloud Users](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-createorganizationuser) Documentation.
|
|
54
|
+
*/
|
|
55
|
+
export declare class CloudUserOrgAssignment extends pulumi.CustomResource {
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing CloudUserOrgAssignment resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudUserOrgAssignmentState, opts?: pulumi.CustomResourceOptions): CloudUserOrgAssignment;
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of CloudUserOrgAssignment. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj: any): obj is CloudUserOrgAssignment;
|
|
71
|
+
/**
|
|
72
|
+
* Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
|
|
73
|
+
*/
|
|
74
|
+
readonly country: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
|
|
77
|
+
*/
|
|
78
|
+
readonly createdAt: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* First or given name that belongs to the MongoDB Cloud user.
|
|
81
|
+
*/
|
|
82
|
+
readonly firstName: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
85
|
+
*/
|
|
86
|
+
readonly invitationCreatedAt: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
89
|
+
*/
|
|
90
|
+
readonly invitationExpiresAt: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Username of the MongoDB Cloud user who sent the invitation to join the organization.
|
|
93
|
+
*/
|
|
94
|
+
readonly inviterUsername: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
|
|
97
|
+
*/
|
|
98
|
+
readonly lastAuth: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Last name, family name, or surname that belongs to the MongoDB Cloud user.
|
|
101
|
+
*/
|
|
102
|
+
readonly lastName: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Mobile phone number that belongs to the MongoDB Cloud user.
|
|
105
|
+
*/
|
|
106
|
+
readonly mobileNumber: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* 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.
|
|
109
|
+
*/
|
|
110
|
+
readonly orgId: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* 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.
|
|
113
|
+
*/
|
|
114
|
+
readonly orgMembershipStatus: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Organization and project level roles to assign the MongoDB Cloud user within one organization.
|
|
117
|
+
*/
|
|
118
|
+
readonly roles: pulumi.Output<outputs.CloudUserOrgAssignmentRoles>;
|
|
119
|
+
/**
|
|
120
|
+
* List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
|
|
121
|
+
*/
|
|
122
|
+
readonly teamIds: pulumi.Output<string[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
125
|
+
*/
|
|
126
|
+
readonly userId: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
129
|
+
*/
|
|
130
|
+
readonly username: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Create a CloudUserOrgAssignment resource with the given unique name, arguments, and options.
|
|
133
|
+
*
|
|
134
|
+
* @param name The _unique_ name of the resource.
|
|
135
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
136
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
137
|
+
*/
|
|
138
|
+
constructor(name: string, args: CloudUserOrgAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Input properties used for looking up and filtering CloudUserOrgAssignment resources.
|
|
142
|
+
*/
|
|
143
|
+
export interface CloudUserOrgAssignmentState {
|
|
144
|
+
/**
|
|
145
|
+
* Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
|
|
146
|
+
*/
|
|
147
|
+
country?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
|
|
150
|
+
*/
|
|
151
|
+
createdAt?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* First or given name that belongs to the MongoDB Cloud user.
|
|
154
|
+
*/
|
|
155
|
+
firstName?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
158
|
+
*/
|
|
159
|
+
invitationCreatedAt?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
|
|
162
|
+
*/
|
|
163
|
+
invitationExpiresAt?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Username of the MongoDB Cloud user who sent the invitation to join the organization.
|
|
166
|
+
*/
|
|
167
|
+
inviterUsername?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
|
|
170
|
+
*/
|
|
171
|
+
lastAuth?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Last name, family name, or surname that belongs to the MongoDB Cloud user.
|
|
174
|
+
*/
|
|
175
|
+
lastName?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Mobile phone number that belongs to the MongoDB Cloud user.
|
|
178
|
+
*/
|
|
179
|
+
mobileNumber?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
orgId?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* 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.
|
|
186
|
+
*/
|
|
187
|
+
orgMembershipStatus?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Organization and project level roles to assign the MongoDB Cloud user within one organization.
|
|
190
|
+
*/
|
|
191
|
+
roles?: pulumi.Input<inputs.CloudUserOrgAssignmentRoles>;
|
|
192
|
+
/**
|
|
193
|
+
* List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
|
|
194
|
+
*/
|
|
195
|
+
teamIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
196
|
+
/**
|
|
197
|
+
* Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
|
|
198
|
+
*/
|
|
199
|
+
userId?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
202
|
+
*/
|
|
203
|
+
username?: pulumi.Input<string>;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* The set of arguments for constructing a CloudUserOrgAssignment resource.
|
|
207
|
+
*/
|
|
208
|
+
export interface CloudUserOrgAssignmentArgs {
|
|
209
|
+
/**
|
|
210
|
+
* 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.
|
|
211
|
+
*/
|
|
212
|
+
orgId: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Organization and project level roles to assign the MongoDB Cloud user within one organization.
|
|
215
|
+
*/
|
|
216
|
+
roles: pulumi.Input<inputs.CloudUserOrgAssignmentRoles>;
|
|
217
|
+
/**
|
|
218
|
+
* Email address that represents the username of the MongoDB Cloud user.
|
|
219
|
+
*/
|
|
220
|
+
username: pulumi.Input<string>;
|
|
221
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
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.CloudUserOrgAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.CloudUserOrgAssignment` provides a Cloud User Organization Assignment resource. The resource lets you import, assign, remove, or update a user 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 cannot be managed 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
|
+
* ### Further Examples
|
|
41
|
+
* - Cloud User Organization Assignment
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* Cloud User Org Assignment resource can be imported using the Org ID & Username OR Org ID & User ID, in the format `ORG_ID/USERNAME` OR `ORG_ID/USER_ID`.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import mongodbatlas:index/cloudUserOrgAssignment:CloudUserOrgAssignment test 63cfbf302333a3011d98592e/test-user@example.com
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* OR
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import mongodbatlas:index/cloudUserOrgAssignment:CloudUserOrgAssignment test 63cfbf302333a3011d98592e/5f18367ccb7a503a2b481b7a
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* For more information see: [MongoDB Atlas API - Cloud Users](https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/operation/operation-createorganizationuser) Documentation.
|
|
58
|
+
*/
|
|
59
|
+
class CloudUserOrgAssignment extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing CloudUserOrgAssignment resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name, id, state, opts) {
|
|
70
|
+
return new CloudUserOrgAssignment(name, state, { ...opts, id: id });
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of CloudUserOrgAssignment. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === CloudUserOrgAssignment.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
constructor(name, argsOrState, opts) {
|
|
83
|
+
let resourceInputs = {};
|
|
84
|
+
opts = opts || {};
|
|
85
|
+
if (opts.id) {
|
|
86
|
+
const state = argsOrState;
|
|
87
|
+
resourceInputs["country"] = state?.country;
|
|
88
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
89
|
+
resourceInputs["firstName"] = state?.firstName;
|
|
90
|
+
resourceInputs["invitationCreatedAt"] = state?.invitationCreatedAt;
|
|
91
|
+
resourceInputs["invitationExpiresAt"] = state?.invitationExpiresAt;
|
|
92
|
+
resourceInputs["inviterUsername"] = state?.inviterUsername;
|
|
93
|
+
resourceInputs["lastAuth"] = state?.lastAuth;
|
|
94
|
+
resourceInputs["lastName"] = state?.lastName;
|
|
95
|
+
resourceInputs["mobileNumber"] = state?.mobileNumber;
|
|
96
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
97
|
+
resourceInputs["orgMembershipStatus"] = state?.orgMembershipStatus;
|
|
98
|
+
resourceInputs["roles"] = state?.roles;
|
|
99
|
+
resourceInputs["teamIds"] = state?.teamIds;
|
|
100
|
+
resourceInputs["userId"] = state?.userId;
|
|
101
|
+
resourceInputs["username"] = state?.username;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
const args = argsOrState;
|
|
105
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'orgId'");
|
|
107
|
+
}
|
|
108
|
+
if (args?.roles === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'roles'");
|
|
110
|
+
}
|
|
111
|
+
if (args?.username === undefined && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'username'");
|
|
113
|
+
}
|
|
114
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
115
|
+
resourceInputs["roles"] = args?.roles;
|
|
116
|
+
resourceInputs["username"] = args?.username;
|
|
117
|
+
resourceInputs["country"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["firstName"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["invitationCreatedAt"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["invitationExpiresAt"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["inviterUsername"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["lastAuth"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["lastName"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["mobileNumber"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["orgMembershipStatus"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["teamIds"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["userId"] = undefined /*out*/;
|
|
129
|
+
}
|
|
130
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
131
|
+
super(CloudUserOrgAssignment.__pulumiType, name, resourceInputs, opts);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.CloudUserOrgAssignment = CloudUserOrgAssignment;
|
|
135
|
+
/** @internal */
|
|
136
|
+
CloudUserOrgAssignment.__pulumiType = 'mongodbatlas:index/cloudUserOrgAssignment:CloudUserOrgAssignment';
|
|
137
|
+
//# sourceMappingURL=cloudUserOrgAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudUserOrgAssignment.js","sourceRoot":"","sources":["../cloudUserOrgAssignment.ts"],"names":[],"mappings":";AA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