@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,139 @@
|
|
|
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.CloudUserTeamAssignment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.CloudUserTeamAssignment` provides a Cloud User Team Assignment resource. It lets you manage the association between a cloud user and a team, enabling you to import, assign, remove, or update the user's membership.
|
|
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-creategroupinvite)
|
|
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-listteamusers) for details.
|
|
13
|
+
* To manage such users with this resource, refer to our Migration Guide: Team Usernames Attribute to Cloud User Team Assignment.
|
|
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.CloudUserTeamAssignment("example", {
|
|
24
|
+
* orgId: orgId,
|
|
25
|
+
* teamId: teamId,
|
|
26
|
+
* userId: userId,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleUserId = example.userId.apply(userId => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
29
|
+
* orgId: orgId,
|
|
30
|
+
* teamId: teamId,
|
|
31
|
+
* userId: userId,
|
|
32
|
+
* }));
|
|
33
|
+
* const exampleUsername = example.username.apply(username => mongodbatlas.getCloudUserTeamAssignmentOutput({
|
|
34
|
+
* orgId: orgId,
|
|
35
|
+
* teamId: teamId,
|
|
36
|
+
* username: username,
|
|
37
|
+
* }));
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ### Further Examples
|
|
41
|
+
* - Cloud User Team Assignment
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* Cloud User Team Assignment resource can be imported using the Org ID & Team ID & User ID OR Org ID & Team ID & Username, in the format `ORG_ID/TEAM_ID/USER_ID` OR `ORG_ID/TEAM_ID/USERNAME`.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import mongodbatlas:index/cloudUserTeamAssignment:CloudUserTeamAssignment test 63cfbf302333a3011d98592e/9f3c1e7a4d8b2f6051acde47/5f18367ccb7a503a2b481b7a
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* OR
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import mongodbatlas:index/cloudUserTeamAssignment:CloudUserTeamAssignment test 63cfbf302333a3011d98592e/9f3c1e7a4d8b2f6051acde47/test-user@example.com
|
|
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-addusertoteam) Documentation.
|
|
58
|
+
*/
|
|
59
|
+
class CloudUserTeamAssignment extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing CloudUserTeamAssignment 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 CloudUserTeamAssignment(name, state, { ...opts, id: id });
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of CloudUserTeamAssignment. 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'] === CloudUserTeamAssignment.__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["teamId"] = state?.teamId;
|
|
100
|
+
resourceInputs["teamIds"] = state?.teamIds;
|
|
101
|
+
resourceInputs["userId"] = state?.userId;
|
|
102
|
+
resourceInputs["username"] = state?.username;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
const args = argsOrState;
|
|
106
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'orgId'");
|
|
108
|
+
}
|
|
109
|
+
if (args?.teamId === undefined && !opts.urn) {
|
|
110
|
+
throw new Error("Missing required property 'teamId'");
|
|
111
|
+
}
|
|
112
|
+
if (args?.userId === undefined && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'userId'");
|
|
114
|
+
}
|
|
115
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
116
|
+
resourceInputs["teamId"] = args?.teamId;
|
|
117
|
+
resourceInputs["userId"] = args?.userId;
|
|
118
|
+
resourceInputs["country"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["firstName"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["invitationCreatedAt"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["invitationExpiresAt"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["inviterUsername"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["lastAuth"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["lastName"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["mobileNumber"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["orgMembershipStatus"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["roles"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["teamIds"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
131
|
+
}
|
|
132
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
133
|
+
super(CloudUserTeamAssignment.__pulumiType, name, resourceInputs, opts);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.CloudUserTeamAssignment = CloudUserTeamAssignment;
|
|
137
|
+
/** @internal */
|
|
138
|
+
CloudUserTeamAssignment.__pulumiType = 'mongodbatlas:index/cloudUserTeamAssignment:CloudUserTeamAssignment';
|
|
139
|
+
//# sourceMappingURL=cloudUserTeamAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudUserTeamAssignment.js","sourceRoot":"","sources":["../cloudUserTeamAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAA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cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAxJL,0DAyJC;AA3IG,gBAAgB;AACO,oCAAY,GAAG,oEAAoE,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -216,6 +216,10 @@ import * as outputs from "./types/output";
|
|
|
216
216
|
* * AWS, Private Endpoint
|
|
217
217
|
* * AWS, Regionalized Private Endpoints
|
|
218
218
|
*
|
|
219
|
+
* ### Further Examples
|
|
220
|
+
* - NVMe Upgrade (Dedicated Cluster)
|
|
221
|
+
* - Tenant to Dedicated Upgrade (Cluster)
|
|
222
|
+
*
|
|
219
223
|
* ## Import
|
|
220
224
|
*
|
|
221
225
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
package/cluster.js
CHANGED
|
@@ -220,6 +220,10 @@ const utilities = require("./utilities");
|
|
|
220
220
|
* * AWS, Private Endpoint
|
|
221
221
|
* * AWS, Regionalized Private Endpoints
|
|
222
222
|
*
|
|
223
|
+
* ### Further Examples
|
|
224
|
+
* - NVMe Upgrade (Dedicated Cluster)
|
|
225
|
+
* - Tenant to Dedicated Upgrade (Cluster)
|
|
226
|
+
*
|
|
223
227
|
* ## Import
|
|
224
228
|
*
|
|
225
229
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmOG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;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AAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAjXL,0BAkXC;AApWG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.ClusterOutageSimulation
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.ClusterOutageSimulation` provides a Cluster Outage Simulation resource. For more details see https://www.mongodb.com/docs/atlas/tutorial/test-resilience/simulate-regional-outage/
|
|
8
6
|
*
|
|
9
7
|
* Test Outage on Minority of Electable Nodes - Select fewer than half of your electable nodes.
|
|
@@ -41,6 +39,9 @@ import * as outputs from "./types/output";
|
|
|
41
39
|
* });
|
|
42
40
|
* ```
|
|
43
41
|
*
|
|
42
|
+
* ### Further Examples
|
|
43
|
+
* - Cluster Outage Simulation
|
|
44
|
+
*
|
|
44
45
|
* ## Import
|
|
45
46
|
*
|
|
46
47
|
* The `mongodbatlas_cluster_outage_simulation` resource does not support import operation.
|
|
@@ -67,6 +68,10 @@ export declare class ClusterOutageSimulation extends pulumi.CustomResource {
|
|
|
67
68
|
* Name of the Atlas Cluster that is/will undergoing outage simulation.
|
|
68
69
|
*/
|
|
69
70
|
readonly clusterName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* 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`.
|
|
73
|
+
*/
|
|
74
|
+
readonly deleteOnCreateTimeout: pulumi.Output<boolean | undefined>;
|
|
70
75
|
/**
|
|
71
76
|
* List of settings that specify the type of cluster outage simulation.
|
|
72
77
|
*/
|
|
@@ -110,6 +115,10 @@ export interface ClusterOutageSimulationState {
|
|
|
110
115
|
* Name of the Atlas Cluster that is/will undergoing outage simulation.
|
|
111
116
|
*/
|
|
112
117
|
clusterName?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* 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`.
|
|
120
|
+
*/
|
|
121
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
113
122
|
/**
|
|
114
123
|
* List of settings that specify the type of cluster outage simulation.
|
|
115
124
|
*/
|
|
@@ -145,6 +154,10 @@ export interface ClusterOutageSimulationArgs {
|
|
|
145
154
|
* Name of the Atlas Cluster that is/will undergoing outage simulation.
|
|
146
155
|
*/
|
|
147
156
|
clusterName: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 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`.
|
|
159
|
+
*/
|
|
160
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
148
161
|
/**
|
|
149
162
|
* List of settings that specify the type of cluster outage simulation.
|
|
150
163
|
*/
|
|
@@ -6,8 +6,6 @@ exports.ClusterOutageSimulation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.ClusterOutageSimulation
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.ClusterOutageSimulation` provides a Cluster Outage Simulation resource. For more details see https://www.mongodb.com/docs/atlas/tutorial/test-resilience/simulate-regional-outage/
|
|
12
10
|
*
|
|
13
11
|
* Test Outage on Minority of Electable Nodes - Select fewer than half of your electable nodes.
|
|
@@ -45,6 +43,9 @@ const utilities = require("./utilities");
|
|
|
45
43
|
* });
|
|
46
44
|
* ```
|
|
47
45
|
*
|
|
46
|
+
* ### Further Examples
|
|
47
|
+
* - Cluster Outage Simulation
|
|
48
|
+
*
|
|
48
49
|
* ## Import
|
|
49
50
|
*
|
|
50
51
|
* The `mongodbatlas_cluster_outage_simulation` resource does not support import operation.
|
|
@@ -80,6 +81,7 @@ class ClusterOutageSimulation extends pulumi.CustomResource {
|
|
|
80
81
|
if (opts.id) {
|
|
81
82
|
const state = argsOrState;
|
|
82
83
|
resourceInputs["clusterName"] = state?.clusterName;
|
|
84
|
+
resourceInputs["deleteOnCreateTimeout"] = state?.deleteOnCreateTimeout;
|
|
83
85
|
resourceInputs["outageFilters"] = state?.outageFilters;
|
|
84
86
|
resourceInputs["projectId"] = state?.projectId;
|
|
85
87
|
resourceInputs["simulationId"] = state?.simulationId;
|
|
@@ -98,6 +100,7 @@ class ClusterOutageSimulation extends pulumi.CustomResource {
|
|
|
98
100
|
throw new Error("Missing required property 'projectId'");
|
|
99
101
|
}
|
|
100
102
|
resourceInputs["clusterName"] = args?.clusterName;
|
|
103
|
+
resourceInputs["deleteOnCreateTimeout"] = args?.deleteOnCreateTimeout;
|
|
101
104
|
resourceInputs["outageFilters"] = args?.outageFilters;
|
|
102
105
|
resourceInputs["projectId"] = args?.projectId;
|
|
103
106
|
resourceInputs["simulationId"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterOutageSimulation.js","sourceRoot":"","sources":["../clusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterOutageSimulation.js","sourceRoot":"","sources":["../clusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UA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IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAxGL,0DAyGC;AA3FG,gBAAgB;AACO,oCAAY,GAAG,oEAAoE,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
|
+
/**
|
|
3
|
+
* MongoDB Atlas Access Token for Service Account.
|
|
4
|
+
*/
|
|
5
|
+
export declare const accessToken: string | undefined;
|
|
2
6
|
export declare const assumeRole: outputs.config.AssumeRole | undefined;
|
|
3
7
|
/**
|
|
4
8
|
* AWS API Access Key.
|
|
@@ -16,6 +20,14 @@ export declare const awsSessionToken: string | undefined;
|
|
|
16
20
|
* MongoDB Atlas Base URL
|
|
17
21
|
*/
|
|
18
22
|
export declare const baseUrl: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* MongoDB Atlas Client ID for Service Account.
|
|
25
|
+
*/
|
|
26
|
+
export declare const clientId: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* MongoDB Atlas Client Secret for Service Account.
|
|
29
|
+
*/
|
|
30
|
+
export declare const clientSecret: string | undefined;
|
|
19
31
|
/**
|
|
20
32
|
* MongoDB Atlas Base URL default to gov
|
|
21
33
|
*/
|
package/config/vars.js
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const __config = new pulumi.Config("mongodbatlas");
|
|
7
|
+
Object.defineProperty(exports, "accessToken", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.get("accessToken");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
7
13
|
Object.defineProperty(exports, "assumeRole", {
|
|
8
14
|
get() {
|
|
9
15
|
return __config.getObject("assumeRole");
|
|
@@ -34,6 +40,18 @@ Object.defineProperty(exports, "baseUrl", {
|
|
|
34
40
|
},
|
|
35
41
|
enumerable: true,
|
|
36
42
|
});
|
|
43
|
+
Object.defineProperty(exports, "clientId", {
|
|
44
|
+
get() {
|
|
45
|
+
return __config.get("clientId");
|
|
46
|
+
},
|
|
47
|
+
enumerable: true,
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "clientSecret", {
|
|
50
|
+
get() {
|
|
51
|
+
return __config.get("clientSecret");
|
|
52
|
+
},
|
|
53
|
+
enumerable: true,
|
|
54
|
+
});
|
|
37
55
|
Object.defineProperty(exports, "isMongodbgovCloud", {
|
|
38
56
|
get() {
|
|
39
57
|
return __config.getObject("isMongodbgovCloud");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAMzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC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CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/customDbRole.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.CustomDbRole
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.CustomDbRole` provides a Custom DB Role resource. The customDBRoles resource lets you retrieve, create and modify the custom MongoDB roles in your cluster. Use custom MongoDB roles to specify custom sets of actions which cannot be described by the built-in Atlas database user privileges.
|
|
8
6
|
*
|
|
9
7
|
* > **IMPORTANT** You define custom roles at the project level for all clusters in the project. The `mongodbatlas.CustomDbRole` resource supports a subset of MongoDB privilege actions. For a complete list of [privilege actions](https://docs.mongodb.com/manual/reference/privilege-actions/) available for this resource, see [Custom Role actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions/). Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version used by your project's clusters. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4.
|
package/customDbRole.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.CustomDbRole = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.CustomDbRole
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.CustomDbRole` provides a Custom DB Role resource. The customDBRoles resource lets you retrieve, create and modify the custom MongoDB roles in your cluster. Use custom MongoDB roles to specify custom sets of actions which cannot be described by the built-in Atlas database user privileges.
|
|
12
10
|
*
|
|
13
11
|
* > **IMPORTANT** You define custom roles at the project level for all clusters in the project. The `mongodbatlas.CustomDbRole` resource supports a subset of MongoDB privilege actions. For a complete list of [privilege actions](https://docs.mongodb.com/manual/reference/privilege-actions/) available for this resource, see [Custom Role actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions/). Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version used by your project's clusters. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4.
|
package/customDbRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDbRole.js","sourceRoot":"","sources":["../customDbRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDbRole.js","sourceRoot":"","sources":["../customDbRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6GG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UA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,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA9EL,oCA+EC;AAjEG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Resource: mongodbatlas.CustomDnsConfigurationClusterAws
|
|
4
|
-
*
|
|
5
3
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` provides a Custom DNS Configuration for Atlas Clusters on AWS resource. This represents a Custom DNS Configuration for Atlas Clusters on AWS that can be updated in an Atlas project.
|
|
6
4
|
*
|
|
7
5
|
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource: <br> - Organization Owner <br> - Project Owner
|
|
@@ -6,8 +6,6 @@ exports.CustomDnsConfigurationClusterAws = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.CustomDnsConfigurationClusterAws
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` provides a Custom DNS Configuration for Atlas Clusters on AWS resource. This represents a Custom DNS Configuration for Atlas Clusters on AWS that can be updated in an Atlas project.
|
|
12
10
|
*
|
|
13
11
|
* > **IMPORTANT:**You must have one of the following roles to successfully handle the resource: <br> - Organization Owner <br> - Project Owner
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../customDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDnsCon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,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AAjEL,4EAkEC;AApDG,gBAAgB;AACO,6CAAY,GAAG,sFAAsF,CAAC"}
|
package/databaseUser.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.DatabaseUser
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.DatabaseUser` provides a Database User resource. This represents a database user which will be applied to all clusters within the project.
|
|
8
6
|
*
|
|
9
7
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
@@ -123,6 +121,9 @@ import * as outputs from "./types/output";
|
|
|
123
121
|
*
|
|
124
122
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
125
123
|
*
|
|
124
|
+
* ### Further Examples
|
|
125
|
+
* - Database User
|
|
126
|
+
*
|
|
126
127
|
* ## Import
|
|
127
128
|
*
|
|
128
129
|
* Database users can be imported using project ID, username, and auth database name in the format:
|
package/databaseUser.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.DatabaseUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.DatabaseUser
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.DatabaseUser` provides a Database User resource. This represents a database user which will be applied to all clusters within the project.
|
|
12
10
|
*
|
|
13
11
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
@@ -127,6 +125,9 @@ const utilities = require("./utilities");
|
|
|
127
125
|
*
|
|
128
126
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
129
127
|
*
|
|
128
|
+
* ### Further Examples
|
|
129
|
+
* - Database User
|
|
130
|
+
*
|
|
130
131
|
* ## Import
|
|
131
132
|
*
|
|
132
133
|
* Database users can be imported using project ID, username, and auth database name in the format:
|
package/databaseUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseUser.js","sourceRoot":"","sources":["../databaseUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"databaseUser.js","sourceRoot":"","sources":["../databaseUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0IG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC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,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAtIL,oCAuIC;AAzHG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
|
-
* ## # Resource: mongodbatlas.EncryptionAtRestPrivateEndpoint
|
|
4
|
-
*
|
|
5
5
|
* `mongodbatlas.EncryptionAtRestPrivateEndpoint` provides a resource for managing a private endpoint used for encryption at rest with customer-managed keys. This ensures all traffic between Atlas and customer key management systems take place over private network interfaces.
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault or AWS KMS, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjusted by configuring to true `azure_key_vault_config.require_private_networking` or `aws_kms_config.require_private_networking`, respectively. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
@@ -88,6 +88,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
90
|
*
|
|
91
|
+
* ### Further Examples
|
|
92
|
+
* - AWS KMS Encryption at Rest Private Endpoint
|
|
93
|
+
* - Azure Key Vault Encryption at Rest Private Endpoint
|
|
94
|
+
*
|
|
91
95
|
* ## Import
|
|
92
96
|
*
|
|
93
97
|
* Encryption At Rest Private Endpoint resource can be imported using the project ID, cloud provider, and private endpoint ID. The format must be `{project_id}-{cloud_provider}-{private_endpoint_id}` e.g.
|
|
@@ -116,6 +120,10 @@ export declare class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResour
|
|
|
116
120
|
* Label that identifies the cloud provider for the Encryption At Rest private endpoint.
|
|
117
121
|
*/
|
|
118
122
|
readonly cloudProvider: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* 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`.
|
|
125
|
+
*/
|
|
126
|
+
readonly deleteOnCreateTimeout: pulumi.Output<boolean>;
|
|
119
127
|
/**
|
|
120
128
|
* Error message for failures associated with the Encryption At Rest private endpoint.
|
|
121
129
|
*/
|
|
@@ -136,6 +144,7 @@ export declare class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResour
|
|
|
136
144
|
* State of the Encryption At Rest private endpoint.
|
|
137
145
|
*/
|
|
138
146
|
readonly status: pulumi.Output<string>;
|
|
147
|
+
readonly timeouts: pulumi.Output<outputs.EncryptionAtRestPrivateEndpointTimeouts | undefined>;
|
|
139
148
|
/**
|
|
140
149
|
* Create a EncryptionAtRestPrivateEndpoint resource with the given unique name, arguments, and options.
|
|
141
150
|
*
|
|
@@ -153,6 +162,10 @@ export interface EncryptionAtRestPrivateEndpointState {
|
|
|
153
162
|
* Label that identifies the cloud provider for the Encryption At Rest private endpoint.
|
|
154
163
|
*/
|
|
155
164
|
cloudProvider?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* 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`.
|
|
167
|
+
*/
|
|
168
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
156
169
|
/**
|
|
157
170
|
* Error message for failures associated with the Encryption At Rest private endpoint.
|
|
158
171
|
*/
|
|
@@ -173,6 +186,7 @@ export interface EncryptionAtRestPrivateEndpointState {
|
|
|
173
186
|
* State of the Encryption At Rest private endpoint.
|
|
174
187
|
*/
|
|
175
188
|
status?: pulumi.Input<string>;
|
|
189
|
+
timeouts?: pulumi.Input<inputs.EncryptionAtRestPrivateEndpointTimeouts>;
|
|
176
190
|
}
|
|
177
191
|
/**
|
|
178
192
|
* The set of arguments for constructing a EncryptionAtRestPrivateEndpoint resource.
|
|
@@ -182,6 +196,10 @@ export interface EncryptionAtRestPrivateEndpointArgs {
|
|
|
182
196
|
* Label that identifies the cloud provider for the Encryption At Rest private endpoint.
|
|
183
197
|
*/
|
|
184
198
|
cloudProvider: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* 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`.
|
|
201
|
+
*/
|
|
202
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
185
203
|
/**
|
|
186
204
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
187
205
|
*/
|
|
@@ -190,4 +208,5 @@ export interface EncryptionAtRestPrivateEndpointArgs {
|
|
|
190
208
|
* Cloud provider region in which the Encryption At Rest private endpoint is located.
|
|
191
209
|
*/
|
|
192
210
|
regionName: pulumi.Input<string>;
|
|
211
|
+
timeouts?: pulumi.Input<inputs.EncryptionAtRestPrivateEndpointTimeouts>;
|
|
193
212
|
}
|
|
@@ -6,8 +6,6 @@ exports.EncryptionAtRestPrivateEndpoint = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.EncryptionAtRestPrivateEndpoint
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.EncryptionAtRestPrivateEndpoint` provides a resource for managing a private endpoint used for encryption at rest with customer-managed keys. This ensures all traffic between Atlas and customer key management systems take place over private network interfaces.
|
|
12
10
|
*
|
|
13
11
|
* > **NOTE:** As a prerequisite to configuring a private endpoint for Azure Key Vault or AWS KMS, the corresponding `mongodbatlas.EncryptionAtRest` resource has to be adjusted by configuring to true `azure_key_vault_config.require_private_networking` or `aws_kms_config.require_private_networking`, respectively. This attribute should be updated in place, ensuring the customer-managed keys encryption is never disabled.
|
|
@@ -94,6 +92,10 @@ const utilities = require("./utilities");
|
|
|
94
92
|
* });
|
|
95
93
|
* ```
|
|
96
94
|
*
|
|
95
|
+
* ### Further Examples
|
|
96
|
+
* - AWS KMS Encryption at Rest Private Endpoint
|
|
97
|
+
* - Azure Key Vault Encryption at Rest Private Endpoint
|
|
98
|
+
*
|
|
97
99
|
* ## Import
|
|
98
100
|
*
|
|
99
101
|
* Encryption At Rest Private Endpoint resource can be imported using the project ID, cloud provider, and private endpoint ID. The format must be `{project_id}-{cloud_provider}-{private_endpoint_id}` e.g.
|
|
@@ -131,11 +133,13 @@ class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResource {
|
|
|
131
133
|
if (opts.id) {
|
|
132
134
|
const state = argsOrState;
|
|
133
135
|
resourceInputs["cloudProvider"] = state?.cloudProvider;
|
|
136
|
+
resourceInputs["deleteOnCreateTimeout"] = state?.deleteOnCreateTimeout;
|
|
134
137
|
resourceInputs["errorMessage"] = state?.errorMessage;
|
|
135
138
|
resourceInputs["privateEndpointConnectionName"] = state?.privateEndpointConnectionName;
|
|
136
139
|
resourceInputs["projectId"] = state?.projectId;
|
|
137
140
|
resourceInputs["regionName"] = state?.regionName;
|
|
138
141
|
resourceInputs["status"] = state?.status;
|
|
142
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
139
143
|
}
|
|
140
144
|
else {
|
|
141
145
|
const args = argsOrState;
|
|
@@ -149,8 +153,10 @@ class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResource {
|
|
|
149
153
|
throw new Error("Missing required property 'regionName'");
|
|
150
154
|
}
|
|
151
155
|
resourceInputs["cloudProvider"] = args?.cloudProvider;
|
|
156
|
+
resourceInputs["deleteOnCreateTimeout"] = args?.deleteOnCreateTimeout;
|
|
152
157
|
resourceInputs["projectId"] = args?.projectId;
|
|
153
158
|
resourceInputs["regionName"] = args?.regionName;
|
|
159
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
154
160
|
resourceInputs["errorMessage"] = undefined /*out*/;
|
|
155
161
|
resourceInputs["privateEndpointConnectionName"] = undefined /*out*/;
|
|
156
162
|
resourceInputs["status"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,MAAa,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