@pulumi/mongodbatlas 3.39.0-alpha.1766556689 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessListApiKey.d.ts +3 -0
- package/accessListApiKey.js +3 -0
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +85 -40
- package/advancedCluster.js +4 -2
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +15 -2
- package/alertConfiguration.js +5 -2
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +3 -0
- package/apiKey.js +3 -0
- package/apiKey.js.map +1 -1
- package/apiKeyProjectAssignment.d.ts +3 -2
- package/apiKeyProjectAssignment.js +3 -2
- package/apiKeyProjectAssignment.js.map +1 -1
- package/auditing.d.ts +0 -2
- package/auditing.js +0 -2
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +3 -0
- package/backupCompliancePolicy.js +3 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSchedule.d.ts +8 -8
- package/cloudBackupSnapshot.d.ts +16 -2
- package/cloudBackupSnapshot.js +6 -2
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +4 -2
- package/cloudBackupSnapshotExportBucket.js +4 -2
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -2
- package/cloudBackupSnapshotExportJob.js +3 -2
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +3 -3
- package/cloudBackupSnapshotRestoreJob.js +3 -3
- package/cloudProviderAccessAuthorization.d.ts +36 -0
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +126 -0
- package/cloudProviderAccessSetup.js +59 -0
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cloudUserOrgAssignment.d.ts +221 -0
- package/cloudUserOrgAssignment.js +137 -0
- package/cloudUserOrgAssignment.js.map +1 -0
- package/cloudUserProjectAssignment.d.ts +217 -0
- package/cloudUserProjectAssignment.js +141 -0
- package/cloudUserProjectAssignment.js.map +1 -0
- package/cloudUserTeamAssignment.d.ts +229 -0
- package/cloudUserTeamAssignment.js +139 -0
- package/cloudUserTeamAssignment.js.map +1 -0
- package/cluster.d.ts +4 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +15 -2
- package/clusterOutageSimulation.js +5 -2
- package/clusterOutageSimulation.js.map +1 -1
- package/config/vars.d.ts +12 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/customDbRole.d.ts +0 -2
- package/customDbRole.js +0 -2
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +0 -2
- package/customDnsConfigurationClusterAws.js +0 -2
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/databaseUser.d.ts +3 -2
- package/databaseUser.js +3 -2
- package/databaseUser.js.map +1 -1
- package/encryptionAtRestPrivateEndpoint.d.ts +21 -2
- package/encryptionAtRestPrivateEndpoint.js +8 -2
- package/encryptionAtRestPrivateEndpoint.js.map +1 -1
- package/eventTrigger.d.ts +15 -130
- package/eventTrigger.js +0 -115
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +16 -14
- package/federatedDatabaseInstance.js +4 -2
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +3 -2
- package/federatedQueryLimit.js +3 -2
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +2 -2
- package/federatedSettingsIdentityProvider.js +2 -2
- package/federatedSettingsOrgConfig.d.ts +4 -2
- package/federatedSettingsOrgConfig.js +4 -2
- package/federatedSettingsOrgConfig.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +3 -2
- package/federatedSettingsOrgRoleMapping.js +3 -2
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/flexCluster.d.ts +18 -2
- package/flexCluster.js +7 -2
- package/flexCluster.js.map +1 -1
- package/getAdvancedCluster.d.ts +122 -52
- package/getAdvancedCluster.js +104 -30
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +153 -35
- package/getAdvancedClusters.js +150 -32
- package/getAdvancedClusters.js.map +1 -1
- package/getAlertConfiguration.d.ts +4 -4
- package/getAlertConfiguration.js +0 -4
- package/getAlertConfiguration.js.map +1 -1
- package/getAlertConfigurations.d.ts +0 -4
- package/getAlertConfigurations.js +0 -4
- package/getAlertConfigurations.js.map +1 -1
- package/getApiKeyProjectAssignment.d.ts +0 -4
- package/getApiKeyProjectAssignment.js +0 -4
- package/getApiKeyProjectAssignment.js.map +1 -1
- package/getApiKeyProjectAssignments.d.ts +0 -4
- package/getApiKeyProjectAssignments.js +0 -4
- package/getApiKeyProjectAssignments.js.map +1 -1
- package/getAtlasUser.d.ts +9 -7
- package/getAtlasUser.js +4 -4
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +4 -4
- package/getAtlasUsers.js +4 -4
- package/getAuditing.d.ts +0 -4
- package/getAuditing.js +0 -4
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +3 -3
- package/getCloudBackupSchedule.d.ts +0 -11
- package/getCloudBackupSchedule.js +0 -4
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +0 -4
- package/getCloudBackupSnapshot.js +0 -4
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +0 -4
- package/getCloudBackupSnapshotExportBucket.js +0 -4
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +0 -4
- package/getCloudBackupSnapshotExportBuckets.js +0 -4
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +0 -4
- package/getCloudBackupSnapshotExportJob.js +0 -4
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +0 -4
- package/getCloudBackupSnapshotExportJobs.js +0 -4
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +0 -4
- package/getCloudBackupSnapshotRestoreJob.js +0 -4
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +0 -4
- package/getCloudBackupSnapshotRestoreJobs.js +0 -4
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudBackupSnapshots.d.ts +0 -4
- package/getCloudBackupSnapshots.js +0 -4
- package/getCloudBackupSnapshots.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +0 -4
- package/getCloudProviderAccessSetup.js +0 -4
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCloudUserOrgAssignment.d.ts +171 -0
- package/getCloudUserOrgAssignment.js +90 -0
- package/getCloudUserOrgAssignment.js.map +1 -0
- package/getCloudUserProjectAssignment.d.ts +117 -0
- package/getCloudUserProjectAssignment.js +92 -0
- package/getCloudUserProjectAssignment.js.map +1 -0
- package/getCloudUserTeamAssignment.d.ts +183 -0
- package/getCloudUserTeamAssignment.js +92 -0
- package/getCloudUserTeamAssignment.js.map +1 -0
- package/getClusters.d.ts +4 -4
- package/getClusters.js +4 -4
- package/getControlPlaneIpAddresses.d.ts +0 -4
- package/getControlPlaneIpAddresses.js +0 -4
- package/getControlPlaneIpAddresses.js.map +1 -1
- package/getCustomDbRole.d.ts +0 -4
- package/getCustomDbRole.js +0 -4
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +0 -4
- package/getCustomDbRoles.js +0 -4
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +0 -4
- package/getCustomDnsConfigurationClusterAws.js +0 -4
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +1 -5
- package/getDatabaseUser.js +0 -4
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +0 -4
- package/getDatabaseUsers.js +0 -4
- package/getDatabaseUsers.js.map +1 -1
- package/getEncryptionAtRest.d.ts +0 -4
- package/getEncryptionAtRest.js +0 -4
- package/getEncryptionAtRest.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoint.d.ts +0 -4
- package/getEncryptionAtRestPrivateEndpoint.js +0 -4
- package/getEncryptionAtRestPrivateEndpoint.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoints.d.ts +0 -4
- package/getEncryptionAtRestPrivateEndpoints.js +0 -4
- package/getEncryptionAtRestPrivateEndpoints.js.map +1 -1
- package/getEventTrigger.d.ts +0 -4
- package/getEventTrigger.js +0 -4
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +0 -4
- package/getEventTriggers.js +0 -4
- package/getEventTriggers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +45 -15
- package/getFederatedDatabaseInstance.js +40 -10
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedDatabaseInstances.d.ts +0 -4
- package/getFederatedDatabaseInstances.js +0 -4
- package/getFederatedDatabaseInstances.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +0 -4
- package/getFederatedQueryLimit.js +0 -4
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +0 -4
- package/getFederatedQueryLimits.js +0 -4
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +0 -4
- package/getFederatedSettings.js +0 -4
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +0 -4
- package/getFederatedSettingsIdentityProvider.js +0 -4
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +0 -4
- package/getFederatedSettingsIdentityProviders.js +0 -4
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +0 -4
- package/getFederatedSettingsOrgConfig.js +0 -4
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +0 -4
- package/getFederatedSettingsOrgConfigs.js +0 -4
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +0 -4
- package/getFederatedSettingsOrgRoleMapping.js +0 -4
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getFederatedSettingsOrgRoleMappings.d.ts +0 -4
- package/getFederatedSettingsOrgRoleMappings.js +0 -4
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
- package/getFlexCluster.d.ts +0 -4
- package/getFlexCluster.js +0 -4
- package/getFlexCluster.js.map +1 -1
- package/getFlexClusters.d.ts +0 -4
- package/getFlexClusters.js +0 -4
- package/getFlexClusters.js.map +1 -1
- package/getFlexRestoreJob.d.ts +0 -4
- package/getFlexRestoreJob.js +0 -4
- package/getFlexRestoreJob.js.map +1 -1
- package/getFlexRestoreJobs.d.ts +0 -4
- package/getFlexRestoreJobs.js +0 -4
- package/getFlexRestoreJobs.js.map +1 -1
- package/getFlexSnapshot.d.ts +0 -4
- package/getFlexSnapshot.js +0 -4
- package/getFlexSnapshot.js.map +1 -1
- package/getFlexSnapshots.d.ts +0 -4
- package/getFlexSnapshots.js +0 -4
- package/getFlexSnapshots.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +0 -12
- package/getGlobalClusterConfig.js +0 -4
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +0 -4
- package/getLdapConfiguration.js +0 -4
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +0 -4
- package/getLdapVerify.js +0 -4
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +6 -6
- package/getMaintenanceWindow.js +4 -4
- package/getMongodbEmployeeAccessGrant.d.ts +0 -4
- package/getMongodbEmployeeAccessGrant.js +0 -4
- package/getMongodbEmployeeAccessGrant.js.map +1 -1
- package/getNetworkContainer.d.ts +0 -4
- package/getNetworkContainer.js +0 -4
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +0 -4
- package/getNetworkContainers.js +0 -4
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +0 -4
- package/getNetworkPeering.js +0 -4
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +0 -4
- package/getNetworkPeerings.js +0 -4
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +2 -6
- package/getOnlineArchive.js +2 -6
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +2 -6
- package/getOnlineArchives.js +2 -6
- package/getOnlineArchives.js.map +1 -1
- package/getOrgInvitation.d.ts +4 -4
- package/getOrgInvitation.js +4 -4
- package/getOrganization.d.ts +4 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +0 -4
- package/getOrganizations.js +0 -4
- package/getOrganizations.js.map +1 -1
- package/getPrivateEndpointRegionalMode.d.ts +0 -4
- package/getPrivateEndpointRegionalMode.js +0 -4
- package/getPrivateEndpointRegionalMode.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +0 -4
- package/getPrivateLinkEndpoint.js +0 -4
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +0 -4
- package/getPrivateLinkEndpointService.js +0 -4
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +2 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +0 -4
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getProject.d.ts +11 -57
- package/getProject.js +0 -56
- package/getProject.js.map +1 -1
- package/getProjectInvitation.d.ts +4 -4
- package/getProjectInvitation.js +4 -4
- package/getProjectIpAccessList.d.ts +0 -4
- package/getProjectIpAccessList.js +0 -4
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjectIpAddresses.d.ts +0 -4
- package/getProjectIpAddresses.js +0 -4
- package/getProjectIpAddresses.js.map +1 -1
- package/getProjects.d.ts +1 -31
- package/getProjects.js +0 -30
- package/getProjects.js.map +1 -1
- package/getPushBasedLogExport.d.ts +0 -4
- package/getPushBasedLogExport.js +0 -4
- package/getPushBasedLogExport.js.map +1 -1
- package/getResourcePolicies.d.ts +0 -4
- package/getResourcePolicies.js +0 -4
- package/getResourcePolicies.js.map +1 -1
- package/getResourcePolicy.d.ts +0 -4
- package/getResourcePolicy.js +0 -4
- package/getResourcePolicy.js.map +1 -1
- package/getRolesOrgId.d.ts +3 -7
- package/getRolesOrgId.js +2 -6
- package/getRolesOrgId.js.map +1 -1
- package/getSearchDeployment.d.ts +0 -4
- package/getSearchDeployment.js +0 -4
- package/getSearchDeployment.js.map +1 -1
- package/getSearchIndex.d.ts +9 -5
- package/getSearchIndex.js +0 -4
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +0 -4
- package/getSearchIndexes.js +0 -4
- package/getSearchIndexes.js.map +1 -1
- package/getServerlessInstance.d.ts +2 -20
- package/getServerlessInstance.js +2 -20
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +2 -2
- package/getServerlessInstances.js +2 -2
- package/getStreamAccountDetails.d.ts +0 -4
- package/getStreamAccountDetails.js +0 -4
- package/getStreamAccountDetails.js.map +1 -1
- package/getStreamConnection.d.ts +55 -13
- package/getStreamConnection.js +30 -6
- package/getStreamConnection.js.map +1 -1
- package/getStreamConnections.d.ts +28 -12
- package/getStreamConnections.js +4 -6
- package/getStreamConnections.js.map +1 -1
- package/getStreamInstance.d.ts +42 -2
- package/getStreamInstance.js +42 -2
- package/getStreamInstance.js.map +1 -1
- package/getStreamInstances.d.ts +38 -2
- package/getStreamInstances.js +38 -2
- package/getStreamInstances.js.map +1 -1
- package/getStreamPrivatelinkEndpoint.d.ts +53 -4
- package/getStreamPrivatelinkEndpoint.js +52 -4
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +52 -4
- package/getStreamPrivatelinkEndpoints.js +52 -4
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/getStreamProcessor.d.ts +28 -29
- package/getStreamProcessor.js +18 -20
- package/getStreamProcessor.js.map +1 -1
- package/getStreamProcessors.d.ts +25 -26
- package/getStreamProcessors.js +18 -20
- package/getStreamProcessors.js.map +1 -1
- package/getStreamWorkspace.d.ts +92 -0
- package/getStreamWorkspace.js +66 -0
- package/getStreamWorkspace.js.map +1 -0
- package/getStreamWorkspaces.d.ts +101 -0
- package/getStreamWorkspaces.js +66 -0
- package/getStreamWorkspaces.js.map +1 -0
- package/getTeam.d.ts +8 -5
- package/getTeam.js +0 -4
- package/getTeam.js.map +1 -1
- package/getTeamProjectAssignment.d.ts +88 -0
- package/getTeamProjectAssignment.js +74 -0
- package/getTeamProjectAssignment.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +0 -4
- package/getThirdPartyIntegration.js +0 -4
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +0 -4
- package/getThirdPartyIntegrations.js +0 -4
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +0 -4
- package/getX509AuthenticationDatabaseUser.js +0 -4
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +0 -18
- package/globalClusterConfig.js +0 -4
- package/globalClusterConfig.js.map +1 -1
- package/index.d.ts +33 -36
- package/index.js +49 -50
- package/index.js.map +1 -1
- package/ldapConfiguration.d.ts +0 -2
- package/ldapConfiguration.js +0 -2
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +0 -2
- package/ldapVerify.js +0 -2
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +19 -11
- package/maintenanceWindow.js +9 -3
- package/maintenanceWindow.js.map +1 -1
- package/mongodbEmployeeAccessGrant.d.ts +3 -2
- package/mongodbEmployeeAccessGrant.js +3 -2
- package/mongodbEmployeeAccessGrant.js.map +1 -1
- package/networkContainer.d.ts +3 -2
- package/networkContainer.js +3 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +18 -8
- package/networkPeering.js +2 -2
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +17 -5
- package/onlineArchive.js +4 -2
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +3 -0
- package/orgInvitation.js +3 -0
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +5 -2
- package/organization.js +5 -2
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/privateEndpointRegionalMode.d.ts +0 -2
- package/privateEndpointRegionalMode.js +0 -2
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +16 -2
- package/privateLinkEndpoint.js +6 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +12 -0
- package/privateLinkEndpointService.js +2 -0
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +6 -5
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +3 -2
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/project.d.ts +12 -15
- package/project.js +3 -15
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +3 -0
- package/projectApiKey.js +3 -0
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +3 -0
- package/projectInvitation.js +3 -0
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +5 -2
- package/projectIpAccessList.js +5 -2
- package/projectIpAccessList.js.map +1 -1
- package/provider.d.ts +24 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/pushBasedLogExport.d.ts +15 -0
- package/pushBasedLogExport.js +5 -0
- package/pushBasedLogExport.js.map +1 -1
- package/resourcePolicy.d.ts +0 -2
- package/resourcePolicy.js +0 -2
- package/resourcePolicy.js.map +1 -1
- package/searchDeployment.d.ts +7 -6
- package/searchDeployment.js +3 -2
- package/searchDeployment.js.map +1 -1
- package/searchIndex.d.ts +50 -5
- package/searchIndex.js +27 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -10
- package/serverlessInstance.js +1 -10
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.d.ts +77 -17
- package/streamConnection.js +47 -12
- package/streamConnection.js.map +1 -1
- package/streamInstance.d.ts +4 -4
- package/streamInstance.js +4 -4
- package/streamPrivatelinkEndpoint.d.ts +55 -5
- package/streamPrivatelinkEndpoint.js +36 -2
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/streamProcessor.d.ts +52 -18
- package/streamProcessor.js +17 -13
- package/streamProcessor.js.map +1 -1
- package/streamWorkspace.d.ts +144 -0
- package/streamWorkspace.js +116 -0
- package/streamWorkspace.js.map +1 -0
- package/team.d.ts +14 -6
- package/team.js +4 -5
- package/team.js.map +1 -1
- package/teamProjectAssignment.d.ts +108 -0
- package/teamProjectAssignment.js +98 -0
- package/teamProjectAssignment.js.map +1 -0
- package/thirdPartyIntegration.d.ts +3 -2
- package/thirdPartyIntegration.js +3 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +252 -249
- package/types/output.d.ts +1078 -751
- package/x509authenticationDatabaseUser.d.ts +0 -2
- package/x509authenticationDatabaseUser.js +0 -2
- package/x509authenticationDatabaseUser.js.map +1 -1
- package/dataLakePipeline.d.ts +0 -239
- package/dataLakePipeline.js +0 -145
- package/dataLakePipeline.js.map +0 -1
- package/get509AuthenticationDatabaseUser.d.ts +0 -190
- package/get509AuthenticationDatabaseUser.js +0 -170
- package/get509AuthenticationDatabaseUser.js.map +0 -1
- package/getDataLakePipeline.d.ts +0 -230
- package/getDataLakePipeline.js +0 -162
- package/getDataLakePipeline.js.map +0 -1
- package/getDataLakePipelineRun.d.ts +0 -104
- package/getDataLakePipelineRun.js +0 -44
- package/getDataLakePipelineRun.js.map +0 -1
- package/getDataLakePipelineRuns.d.ts +0 -137
- package/getDataLakePipelineRuns.js +0 -116
- package/getDataLakePipelineRuns.js.map +0 -1
- package/getDataLakePipelines.d.ts +0 -58
- package/getDataLakePipelines.js +0 -40
- package/getDataLakePipelines.js.map +0 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +0 -220
- package/getPrivatelinkEndpointServiceServerless.js +0 -178
- package/getPrivatelinkEndpointServiceServerless.js.map +0 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +0 -187
- package/getPrivatelinkEndpointsServiceServerless.js +0 -166
- package/getPrivatelinkEndpointsServiceServerless.js.map +0 -1
- package/getTeams.d.ts +0 -46
- package/getTeams.js +0 -40
- package/getTeams.js.map +0 -1
- package/privatelinkEndpointServerless.d.ts +0 -143
- package/privatelinkEndpointServerless.js +0 -109
- package/privatelinkEndpointServerless.js.map +0 -1
- package/privatelinkEndpointServiceServerless.d.ts +0 -236
- package/privatelinkEndpointServiceServerless.js +0 -177
- package/privatelinkEndpointServiceServerless.js.map +0 -1
- package/teams.d.ts +0 -52
- package/teams.js +0 -66
- package/teams.js.map +0 -1
package/getAdvancedCluster.js
CHANGED
|
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
15
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
16
16
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
17
17
|
* name: "cluster-test",
|
|
18
18
|
* clusterType: "REPLICASET",
|
|
@@ -28,19 +28,58 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* }],
|
|
29
29
|
* }],
|
|
30
30
|
* });
|
|
31
|
-
* const
|
|
32
|
-
* projectId:
|
|
33
|
-
* name:
|
|
31
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
32
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
33
|
+
* name: thisAdvancedCluster.name,
|
|
34
34
|
* });
|
|
35
35
|
* ```
|
|
36
36
|
*
|
|
37
|
+
* ## Example using effective fields with auto-scaling
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
42
|
+
*
|
|
43
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
44
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
45
|
+
* name: "auto-scale-cluster",
|
|
46
|
+
* clusterType: "REPLICASET",
|
|
47
|
+
* useEffectiveFields: true,
|
|
48
|
+
* replicationSpecs: [{
|
|
49
|
+
* regionConfigs: [{
|
|
50
|
+
* electableSpecs: {
|
|
51
|
+
* instanceSize: "M10",
|
|
52
|
+
* nodeCount: 3,
|
|
53
|
+
* },
|
|
54
|
+
* autoScaling: {
|
|
55
|
+
* computeEnabled: true,
|
|
56
|
+
* computeScaleDownEnabled: true,
|
|
57
|
+
* computeMinInstanceSize: "M10",
|
|
58
|
+
* computeMaxInstanceSize: "M30",
|
|
59
|
+
* },
|
|
60
|
+
* providerName: "AWS",
|
|
61
|
+
* priority: 7,
|
|
62
|
+
* regionName: "US_EAST_1",
|
|
63
|
+
* }],
|
|
64
|
+
* }],
|
|
65
|
+
* });
|
|
66
|
+
* // Read effective values after Atlas auto-scales the cluster
|
|
67
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
68
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
69
|
+
* name: thisAdvancedCluster.name,
|
|
70
|
+
* useEffectiveFields: true,
|
|
71
|
+
* });
|
|
72
|
+
* export const configuredInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize);
|
|
73
|
+
* export const actualInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize);
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
37
76
|
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
38
77
|
*
|
|
39
78
|
* ```typescript
|
|
40
79
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
80
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
42
81
|
*
|
|
43
|
-
* const
|
|
82
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
44
83
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
45
84
|
* name: "cluster-test",
|
|
46
85
|
* backupEnabled: false,
|
|
@@ -72,10 +111,9 @@ const utilities = require("./utilities");
|
|
|
72
111
|
* },
|
|
73
112
|
* ],
|
|
74
113
|
* });
|
|
75
|
-
* const
|
|
76
|
-
* projectId:
|
|
77
|
-
* name:
|
|
78
|
-
* useReplicationSpecPerShard: true,
|
|
114
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
115
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
116
|
+
* name: thisAdvancedCluster.name,
|
|
79
117
|
* });
|
|
80
118
|
* ```
|
|
81
119
|
*
|
|
@@ -85,7 +123,7 @@ const utilities = require("./utilities");
|
|
|
85
123
|
* import * as pulumi from "@pulumi/pulumi";
|
|
86
124
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
125
|
*
|
|
88
|
-
* const
|
|
126
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
89
127
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
90
128
|
* name: "flex-cluster",
|
|
91
129
|
* clusterType: "REPLICASET",
|
|
@@ -98,9 +136,9 @@ const utilities = require("./utilities");
|
|
|
98
136
|
* }],
|
|
99
137
|
* }],
|
|
100
138
|
* });
|
|
101
|
-
* const
|
|
102
|
-
* projectId:
|
|
103
|
-
* name:
|
|
139
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
140
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
141
|
+
* name: thisAdvancedCluster.name,
|
|
104
142
|
* });
|
|
105
143
|
* ```
|
|
106
144
|
*/
|
|
@@ -108,9 +146,8 @@ function getAdvancedCluster(args, opts) {
|
|
|
108
146
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
109
147
|
return pulumi.runtime.invoke("mongodbatlas:index/getAdvancedCluster:getAdvancedCluster", {
|
|
110
148
|
"name": args.name,
|
|
111
|
-
"pitEnabled": args.pitEnabled,
|
|
112
149
|
"projectId": args.projectId,
|
|
113
|
-
"
|
|
150
|
+
"useEffectiveFields": args.useEffectiveFields,
|
|
114
151
|
}, opts);
|
|
115
152
|
}
|
|
116
153
|
exports.getAdvancedCluster = getAdvancedCluster;
|
|
@@ -121,7 +158,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
121
158
|
* import * as pulumi from "@pulumi/pulumi";
|
|
122
159
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
123
160
|
*
|
|
124
|
-
* const
|
|
161
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
125
162
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
126
163
|
* name: "cluster-test",
|
|
127
164
|
* clusterType: "REPLICASET",
|
|
@@ -137,10 +174,49 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
137
174
|
* }],
|
|
138
175
|
* }],
|
|
139
176
|
* });
|
|
140
|
-
* const
|
|
141
|
-
* projectId:
|
|
142
|
-
* name:
|
|
177
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
178
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
179
|
+
* name: thisAdvancedCluster.name,
|
|
180
|
+
* });
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* ## Example using effective fields with auto-scaling
|
|
184
|
+
*
|
|
185
|
+
* ```typescript
|
|
186
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
187
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
188
|
+
*
|
|
189
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
190
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
191
|
+
* name: "auto-scale-cluster",
|
|
192
|
+
* clusterType: "REPLICASET",
|
|
193
|
+
* useEffectiveFields: true,
|
|
194
|
+
* replicationSpecs: [{
|
|
195
|
+
* regionConfigs: [{
|
|
196
|
+
* electableSpecs: {
|
|
197
|
+
* instanceSize: "M10",
|
|
198
|
+
* nodeCount: 3,
|
|
199
|
+
* },
|
|
200
|
+
* autoScaling: {
|
|
201
|
+
* computeEnabled: true,
|
|
202
|
+
* computeScaleDownEnabled: true,
|
|
203
|
+
* computeMinInstanceSize: "M10",
|
|
204
|
+
* computeMaxInstanceSize: "M30",
|
|
205
|
+
* },
|
|
206
|
+
* providerName: "AWS",
|
|
207
|
+
* priority: 7,
|
|
208
|
+
* regionName: "US_EAST_1",
|
|
209
|
+
* }],
|
|
210
|
+
* }],
|
|
211
|
+
* });
|
|
212
|
+
* // Read effective values after Atlas auto-scales the cluster
|
|
213
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
214
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
215
|
+
* name: thisAdvancedCluster.name,
|
|
216
|
+
* useEffectiveFields: true,
|
|
143
217
|
* });
|
|
218
|
+
* export const configuredInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize);
|
|
219
|
+
* export const actualInstanceSize = _this.apply(_this => _this.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize);
|
|
144
220
|
* ```
|
|
145
221
|
*
|
|
146
222
|
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
@@ -149,7 +225,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
149
225
|
* import * as pulumi from "@pulumi/pulumi";
|
|
150
226
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
151
227
|
*
|
|
152
|
-
* const
|
|
228
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
153
229
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
154
230
|
* name: "cluster-test",
|
|
155
231
|
* backupEnabled: false,
|
|
@@ -181,10 +257,9 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
181
257
|
* },
|
|
182
258
|
* ],
|
|
183
259
|
* });
|
|
184
|
-
* const
|
|
185
|
-
* projectId:
|
|
186
|
-
* name:
|
|
187
|
-
* useReplicationSpecPerShard: true,
|
|
260
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
261
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
262
|
+
* name: thisAdvancedCluster.name,
|
|
188
263
|
* });
|
|
189
264
|
* ```
|
|
190
265
|
*
|
|
@@ -194,7 +269,7 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
194
269
|
* import * as pulumi from "@pulumi/pulumi";
|
|
195
270
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
196
271
|
*
|
|
197
|
-
* const
|
|
272
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
198
273
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
199
274
|
* name: "flex-cluster",
|
|
200
275
|
* clusterType: "REPLICASET",
|
|
@@ -207,9 +282,9 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
207
282
|
* }],
|
|
208
283
|
* }],
|
|
209
284
|
* });
|
|
210
|
-
* const
|
|
211
|
-
* projectId:
|
|
212
|
-
* name:
|
|
285
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
286
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
287
|
+
* name: thisAdvancedCluster.name,
|
|
213
288
|
* });
|
|
214
289
|
* ```
|
|
215
290
|
*/
|
|
@@ -217,9 +292,8 @@ function getAdvancedClusterOutput(args, opts) {
|
|
|
217
292
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
218
293
|
return pulumi.runtime.invokeOutput("mongodbatlas:index/getAdvancedCluster:getAdvancedCluster", {
|
|
219
294
|
"name": args.name,
|
|
220
|
-
"pitEnabled": args.pitEnabled,
|
|
221
295
|
"projectId": args.projectId,
|
|
222
|
-
"
|
|
296
|
+
"useEffectiveFields": args.useEffectiveFields,
|
|
223
297
|
}, opts);
|
|
224
298
|
}
|
|
225
299
|
exports.getAdvancedClusterOutput = getAdvancedClusterOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AA2HD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwIG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
|
package/getAdvancedClusters.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Data Source: mongodbatlas.getAdvancedClusters
|
|
5
|
-
*
|
|
6
4
|
* `mongodbatlas.getAdvancedClusters` returns all Advanced Clusters for a project_id.
|
|
7
5
|
*
|
|
8
|
-
* This page describes the current version of `mongodbatlas.getAdvancedClusters`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
9
|
-
*
|
|
10
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
11
7
|
*
|
|
12
8
|
* > **IMPORTANT:**
|
|
@@ -21,7 +17,7 @@ import * as outputs from "./types/output";
|
|
|
21
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
19
|
*
|
|
24
|
-
* const
|
|
20
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
25
21
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
26
22
|
* name: "cluster-test",
|
|
27
23
|
* clusterType: "REPLICASET",
|
|
@@ -37,9 +33,73 @@ import * as outputs from "./types/output";
|
|
|
37
33
|
* }],
|
|
38
34
|
* }],
|
|
39
35
|
* });
|
|
40
|
-
* const
|
|
41
|
-
* projectId:
|
|
36
|
+
* const _this = mongodbatlas.getAdvancedClustersOutput({
|
|
37
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Example using effective fields with auto-scaling
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
46
|
+
*
|
|
47
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
48
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
49
|
+
* name: "auto-scale-cluster-1",
|
|
50
|
+
* clusterType: "REPLICASET",
|
|
51
|
+
* useEffectiveFields: true,
|
|
52
|
+
* replicationSpecs: [{
|
|
53
|
+
* regionConfigs: [{
|
|
54
|
+
* electableSpecs: {
|
|
55
|
+
* instanceSize: "M10",
|
|
56
|
+
* nodeCount: 3,
|
|
57
|
+
* },
|
|
58
|
+
* autoScaling: {
|
|
59
|
+
* computeEnabled: true,
|
|
60
|
+
* computeScaleDownEnabled: true,
|
|
61
|
+
* computeMinInstanceSize: "M10",
|
|
62
|
+
* computeMaxInstanceSize: "M30",
|
|
63
|
+
* },
|
|
64
|
+
* providerName: "AWS",
|
|
65
|
+
* priority: 7,
|
|
66
|
+
* regionName: "US_EAST_1",
|
|
67
|
+
* }],
|
|
68
|
+
* }],
|
|
69
|
+
* });
|
|
70
|
+
* const this2 = new mongodbatlas.AdvancedCluster("this_2", {
|
|
71
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
72
|
+
* name: "auto-scale-cluster-2",
|
|
73
|
+
* clusterType: "REPLICASET",
|
|
74
|
+
* useEffectiveFields: true,
|
|
75
|
+
* replicationSpecs: [{
|
|
76
|
+
* regionConfigs: [{
|
|
77
|
+
* electableSpecs: {
|
|
78
|
+
* instanceSize: "M20",
|
|
79
|
+
* nodeCount: 3,
|
|
80
|
+
* },
|
|
81
|
+
* autoScaling: {
|
|
82
|
+
* computeEnabled: true,
|
|
83
|
+
* computeScaleDownEnabled: true,
|
|
84
|
+
* computeMinInstanceSize: "M20",
|
|
85
|
+
* computeMaxInstanceSize: "M40",
|
|
86
|
+
* },
|
|
87
|
+
* providerName: "AWS",
|
|
88
|
+
* priority: 7,
|
|
89
|
+
* regionName: "US_WEST_2",
|
|
90
|
+
* }],
|
|
91
|
+
* }],
|
|
92
|
+
* });
|
|
93
|
+
* // Read effective values for all clusters in the project
|
|
94
|
+
* const _this = mongodbatlas.getAdvancedClusters({
|
|
95
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
96
|
+
* useEffectiveFields: true,
|
|
42
97
|
* });
|
|
98
|
+
* export const allClusterNamesAndSizes = _this.then(_this => .map(cluster => ({
|
|
99
|
+
* name: cluster.name,
|
|
100
|
+
* configuredSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize,
|
|
101
|
+
* actualSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize,
|
|
102
|
+
* })));
|
|
43
103
|
* ```
|
|
44
104
|
*
|
|
45
105
|
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
@@ -48,7 +108,7 @@ import * as outputs from "./types/output";
|
|
|
48
108
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
109
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
50
110
|
*
|
|
51
|
-
* const
|
|
111
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
52
112
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
53
113
|
* name: "cluster-test",
|
|
54
114
|
* backupEnabled: false,
|
|
@@ -80,10 +140,9 @@ import * as outputs from "./types/output";
|
|
|
80
140
|
* },
|
|
81
141
|
* ],
|
|
82
142
|
* });
|
|
83
|
-
* const
|
|
84
|
-
* projectId:
|
|
85
|
-
* name:
|
|
86
|
-
* useReplicationSpecPerShard: true,
|
|
143
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
144
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
145
|
+
* name: thisAdvancedCluster.name,
|
|
87
146
|
* });
|
|
88
147
|
* ```
|
|
89
148
|
*
|
|
@@ -93,7 +152,7 @@ import * as outputs from "./types/output";
|
|
|
93
152
|
* import * as pulumi from "@pulumi/pulumi";
|
|
94
153
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
95
154
|
*
|
|
96
|
-
* const
|
|
155
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
97
156
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
98
157
|
* name: "flex-cluster",
|
|
99
158
|
* clusterType: "REPLICASET",
|
|
@@ -106,8 +165,8 @@ import * as outputs from "./types/output";
|
|
|
106
165
|
* }],
|
|
107
166
|
* }],
|
|
108
167
|
* });
|
|
109
|
-
* const
|
|
110
|
-
* projectId:
|
|
168
|
+
* const _this = mongodbatlas.getAdvancedClustersOutput({
|
|
169
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
111
170
|
* });
|
|
112
171
|
* ```
|
|
113
172
|
*/
|
|
@@ -121,9 +180,9 @@ export interface GetAdvancedClustersArgs {
|
|
|
121
180
|
*/
|
|
122
181
|
projectId: string;
|
|
123
182
|
/**
|
|
124
|
-
*
|
|
183
|
+
* Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This attribute applies to dedicated clusters, not to tenant or flex clusters. **Note:** Effective specs (`effectiveElectableSpecs`, `effectiveReadOnlySpecs`, `effectiveAnalyticsSpecs`) are always returned for dedicated clusters regardless of the flag value and always report the **current** hardware specifications. See the resource documentation for Auto-Scaling with Effective Fields for more details.
|
|
125
184
|
*/
|
|
126
|
-
|
|
185
|
+
useEffectiveFields?: boolean;
|
|
127
186
|
}
|
|
128
187
|
/**
|
|
129
188
|
* A collection of values returned by getAdvancedClusters.
|
|
@@ -138,15 +197,11 @@ export interface GetAdvancedClustersResult {
|
|
|
138
197
|
* A list where each represents a Cluster. See below for more details.
|
|
139
198
|
*/
|
|
140
199
|
readonly results: outputs.GetAdvancedClustersResult[];
|
|
141
|
-
readonly
|
|
200
|
+
readonly useEffectiveFields?: boolean;
|
|
142
201
|
}
|
|
143
202
|
/**
|
|
144
|
-
* ## # Data Source: mongodbatlas.getAdvancedClusters
|
|
145
|
-
*
|
|
146
203
|
* `mongodbatlas.getAdvancedClusters` returns all Advanced Clusters for a project_id.
|
|
147
204
|
*
|
|
148
|
-
* This page describes the current version of `mongodbatlas.getAdvancedClusters`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
149
|
-
*
|
|
150
205
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
151
206
|
*
|
|
152
207
|
* > **IMPORTANT:**
|
|
@@ -161,7 +216,7 @@ export interface GetAdvancedClustersResult {
|
|
|
161
216
|
* import * as pulumi from "@pulumi/pulumi";
|
|
162
217
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
218
|
*
|
|
164
|
-
* const
|
|
219
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
165
220
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
166
221
|
* name: "cluster-test",
|
|
167
222
|
* clusterType: "REPLICASET",
|
|
@@ -177,9 +232,73 @@ export interface GetAdvancedClustersResult {
|
|
|
177
232
|
* }],
|
|
178
233
|
* }],
|
|
179
234
|
* });
|
|
180
|
-
* const
|
|
181
|
-
* projectId:
|
|
235
|
+
* const _this = mongodbatlas.getAdvancedClustersOutput({
|
|
236
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
237
|
+
* });
|
|
238
|
+
* ```
|
|
239
|
+
*
|
|
240
|
+
* ## Example using effective fields with auto-scaling
|
|
241
|
+
*
|
|
242
|
+
* ```typescript
|
|
243
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
244
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
245
|
+
*
|
|
246
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
247
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
248
|
+
* name: "auto-scale-cluster-1",
|
|
249
|
+
* clusterType: "REPLICASET",
|
|
250
|
+
* useEffectiveFields: true,
|
|
251
|
+
* replicationSpecs: [{
|
|
252
|
+
* regionConfigs: [{
|
|
253
|
+
* electableSpecs: {
|
|
254
|
+
* instanceSize: "M10",
|
|
255
|
+
* nodeCount: 3,
|
|
256
|
+
* },
|
|
257
|
+
* autoScaling: {
|
|
258
|
+
* computeEnabled: true,
|
|
259
|
+
* computeScaleDownEnabled: true,
|
|
260
|
+
* computeMinInstanceSize: "M10",
|
|
261
|
+
* computeMaxInstanceSize: "M30",
|
|
262
|
+
* },
|
|
263
|
+
* providerName: "AWS",
|
|
264
|
+
* priority: 7,
|
|
265
|
+
* regionName: "US_EAST_1",
|
|
266
|
+
* }],
|
|
267
|
+
* }],
|
|
268
|
+
* });
|
|
269
|
+
* const this2 = new mongodbatlas.AdvancedCluster("this_2", {
|
|
270
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
271
|
+
* name: "auto-scale-cluster-2",
|
|
272
|
+
* clusterType: "REPLICASET",
|
|
273
|
+
* useEffectiveFields: true,
|
|
274
|
+
* replicationSpecs: [{
|
|
275
|
+
* regionConfigs: [{
|
|
276
|
+
* electableSpecs: {
|
|
277
|
+
* instanceSize: "M20",
|
|
278
|
+
* nodeCount: 3,
|
|
279
|
+
* },
|
|
280
|
+
* autoScaling: {
|
|
281
|
+
* computeEnabled: true,
|
|
282
|
+
* computeScaleDownEnabled: true,
|
|
283
|
+
* computeMinInstanceSize: "M20",
|
|
284
|
+
* computeMaxInstanceSize: "M40",
|
|
285
|
+
* },
|
|
286
|
+
* providerName: "AWS",
|
|
287
|
+
* priority: 7,
|
|
288
|
+
* regionName: "US_WEST_2",
|
|
289
|
+
* }],
|
|
290
|
+
* }],
|
|
291
|
+
* });
|
|
292
|
+
* // Read effective values for all clusters in the project
|
|
293
|
+
* const _this = mongodbatlas.getAdvancedClusters({
|
|
294
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
295
|
+
* useEffectiveFields: true,
|
|
182
296
|
* });
|
|
297
|
+
* export const allClusterNamesAndSizes = _this.then(_this => .map(cluster => ({
|
|
298
|
+
* name: cluster.name,
|
|
299
|
+
* configuredSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.electableSpecs?.instanceSize,
|
|
300
|
+
* actualSize: cluster.replicationSpecs?.[0]?.regionConfigs?.[0]?.effectiveElectableSpecs?.instanceSize,
|
|
301
|
+
* })));
|
|
183
302
|
* ```
|
|
184
303
|
*
|
|
185
304
|
* ## Example using latest sharding configurations with independent shard scaling in the cluster
|
|
@@ -188,7 +307,7 @@ export interface GetAdvancedClustersResult {
|
|
|
188
307
|
* import * as pulumi from "@pulumi/pulumi";
|
|
189
308
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
190
309
|
*
|
|
191
|
-
* const
|
|
310
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
192
311
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
193
312
|
* name: "cluster-test",
|
|
194
313
|
* backupEnabled: false,
|
|
@@ -220,10 +339,9 @@ export interface GetAdvancedClustersResult {
|
|
|
220
339
|
* },
|
|
221
340
|
* ],
|
|
222
341
|
* });
|
|
223
|
-
* const
|
|
224
|
-
* projectId:
|
|
225
|
-
* name:
|
|
226
|
-
* useReplicationSpecPerShard: true,
|
|
342
|
+
* const _this = mongodbatlas.getAdvancedClusterOutput({
|
|
343
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
344
|
+
* name: thisAdvancedCluster.name,
|
|
227
345
|
* });
|
|
228
346
|
* ```
|
|
229
347
|
*
|
|
@@ -233,7 +351,7 @@ export interface GetAdvancedClustersResult {
|
|
|
233
351
|
* import * as pulumi from "@pulumi/pulumi";
|
|
234
352
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
235
353
|
*
|
|
236
|
-
* const
|
|
354
|
+
* const thisAdvancedCluster = new mongodbatlas.AdvancedCluster("this", {
|
|
237
355
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
238
356
|
* name: "flex-cluster",
|
|
239
357
|
* clusterType: "REPLICASET",
|
|
@@ -246,8 +364,8 @@ export interface GetAdvancedClustersResult {
|
|
|
246
364
|
* }],
|
|
247
365
|
* }],
|
|
248
366
|
* });
|
|
249
|
-
* const
|
|
250
|
-
* projectId:
|
|
367
|
+
* const _this = mongodbatlas.getAdvancedClustersOutput({
|
|
368
|
+
* projectId: thisAdvancedCluster.projectId,
|
|
251
369
|
* });
|
|
252
370
|
* ```
|
|
253
371
|
*/
|
|
@@ -261,7 +379,7 @@ export interface GetAdvancedClustersOutputArgs {
|
|
|
261
379
|
*/
|
|
262
380
|
projectId: pulumi.Input<string>;
|
|
263
381
|
/**
|
|
264
|
-
*
|
|
382
|
+
* Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This attribute applies to dedicated clusters, not to tenant or flex clusters. **Note:** Effective specs (`effectiveElectableSpecs`, `effectiveReadOnlySpecs`, `effectiveAnalyticsSpecs`) are always returned for dedicated clusters regardless of the flag value and always report the **current** hardware specifications. See the resource documentation for Auto-Scaling with Effective Fields for more details.
|
|
265
383
|
*/
|
|
266
|
-
|
|
384
|
+
useEffectiveFields?: pulumi.Input<boolean>;
|
|
267
385
|
}
|