@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/streamConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamConnection.js","sourceRoot":"","sources":["../streamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamConnection.js","sourceRoot":"","sources":["../streamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC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|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: mongodbatlas.StreamInstance
|
|
6
|
-
*
|
|
7
|
-
* `mongodbatlas.StreamInstance` provides a Stream Instance resource. The resource lets you create, edit, and delete stream instances in a project.
|
|
8
|
-
*
|
|
9
5
|
* ## Example Usage
|
|
10
6
|
*
|
|
11
7
|
* ```typescript
|
|
@@ -22,6 +18,10 @@ import * as outputs from "./types/output";
|
|
|
22
18
|
* });
|
|
23
19
|
* ```
|
|
24
20
|
*
|
|
21
|
+
* ### Further Examples
|
|
22
|
+
* - Atlas Stream Instance (Deprecated)
|
|
23
|
+
* - Atlas Stream Workspace (Recommended)
|
|
24
|
+
*
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
27
|
* You can import stream instance resource using the project ID and instance name, in the format `PROJECT_ID-INSTANCE_NAME`. For example:
|
package/streamInstance.js
CHANGED
|
@@ -6,10 +6,6 @@ exports.StreamInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.StreamInstance
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.StreamInstance` provides a Stream Instance resource. The resource lets you create, edit, and delete stream instances in a project.
|
|
12
|
-
*
|
|
13
9
|
* ## Example Usage
|
|
14
10
|
*
|
|
15
11
|
* ```typescript
|
|
@@ -26,6 +22,10 @@ const utilities = require("./utilities");
|
|
|
26
22
|
* });
|
|
27
23
|
* ```
|
|
28
24
|
*
|
|
25
|
+
* ### Further Examples
|
|
26
|
+
* - Atlas Stream Instance (Deprecated)
|
|
27
|
+
* - Atlas Stream Workspace (Recommended)
|
|
28
|
+
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
31
|
* You can import stream instance resource using the project ID and instance name, in the format `PROJECT_ID-INSTANCE_NAME`. For example:
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Resource: mongodbatlas.StreamPrivatelinkEndpoint
|
|
4
|
-
*
|
|
5
3
|
* `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
@@ -113,6 +111,40 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
113
111
|
* });
|
|
114
112
|
* export const privatelinkEndpointId = _this.id;
|
|
115
113
|
* ```
|
|
114
|
+
*
|
|
115
|
+
* ### GCP Confluent Privatelink
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
118
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
119
|
+
*
|
|
120
|
+
* const gcpConfluentStreamPrivatelinkEndpoint = new mongodbatlas.StreamPrivatelinkEndpoint("gcp_confluent", {
|
|
121
|
+
* projectId: projectId,
|
|
122
|
+
* providerName: "GCP",
|
|
123
|
+
* vendor: "CONFLUENT",
|
|
124
|
+
* region: gcpRegion,
|
|
125
|
+
* dnsDomain: confluentDnsDomain,
|
|
126
|
+
* dnsSubDomains: confluentDnsSubdomains,
|
|
127
|
+
* serviceAttachmentUris: [
|
|
128
|
+
* "projects/my-project/regions/us-west1/serviceAttachments/confluent-attachment-1",
|
|
129
|
+
* "projects/my-project/regions/us-west1/serviceAttachments/confluent-attachment-2",
|
|
130
|
+
* ],
|
|
131
|
+
* });
|
|
132
|
+
* const gcpConfluent = gcpConfluentStreamPrivatelinkEndpoint.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
|
|
133
|
+
* projectId: projectId,
|
|
134
|
+
* id: id,
|
|
135
|
+
* }));
|
|
136
|
+
* export const privatelinkEndpointId = gcpConfluentStreamPrivatelinkEndpoint.id;
|
|
137
|
+
* export const privatelinkEndpointState = gcpConfluent.apply(gcpConfluent => gcpConfluent.state);
|
|
138
|
+
* export const serviceAttachmentUris = gcpConfluentStreamPrivatelinkEndpoint.serviceAttachmentUris;
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* ### Further Examples
|
|
142
|
+
* - AWS Confluent PrivateLink
|
|
143
|
+
* - Confluent Dedicated Cluster
|
|
144
|
+
* - AWS MSK PrivateLink
|
|
145
|
+
* - AWS S3 PrivateLink
|
|
146
|
+
* - GCP Confluent PrivateLink
|
|
147
|
+
* - Azure PrivateLink
|
|
116
148
|
*/
|
|
117
149
|
export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
118
150
|
/**
|
|
@@ -167,13 +199,17 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
167
199
|
*/
|
|
168
200
|
readonly providerAccountId: pulumi.Output<string>;
|
|
169
201
|
/**
|
|
170
|
-
* Provider where the endpoint is deployed. Valid values are AWS and
|
|
202
|
+
* Provider where the endpoint is deployed. Valid values are AWS, AZURE, and GCP.
|
|
171
203
|
*/
|
|
172
204
|
readonly providerName: pulumi.Output<string>;
|
|
173
205
|
/**
|
|
174
206
|
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
175
207
|
*/
|
|
176
208
|
readonly region: pulumi.Output<string>;
|
|
209
|
+
/**
|
|
210
|
+
* List of GCP service attachment URIs for Confluent vendor. Required for GCP provider with CONFLUENT vendor.
|
|
211
|
+
*/
|
|
212
|
+
readonly serviceAttachmentUris: pulumi.Output<string[] | undefined>;
|
|
177
213
|
/**
|
|
178
214
|
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
179
215
|
*/
|
|
@@ -188,6 +224,8 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
188
224
|
* * **AWS**: MSK, CONFLUENT, and S3
|
|
189
225
|
*
|
|
190
226
|
* * **Azure**: EVENTHUB and CONFLUENT
|
|
227
|
+
*
|
|
228
|
+
* * **GCP**: CONFLUENT
|
|
191
229
|
*/
|
|
192
230
|
readonly vendor: pulumi.Output<string>;
|
|
193
231
|
/**
|
|
@@ -240,13 +278,17 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
240
278
|
*/
|
|
241
279
|
providerAccountId?: pulumi.Input<string>;
|
|
242
280
|
/**
|
|
243
|
-
* Provider where the endpoint is deployed. Valid values are AWS and
|
|
281
|
+
* Provider where the endpoint is deployed. Valid values are AWS, AZURE, and GCP.
|
|
244
282
|
*/
|
|
245
283
|
providerName?: pulumi.Input<string>;
|
|
246
284
|
/**
|
|
247
285
|
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
248
286
|
*/
|
|
249
287
|
region?: pulumi.Input<string>;
|
|
288
|
+
/**
|
|
289
|
+
* List of GCP service attachment URIs for Confluent vendor. Required for GCP provider with CONFLUENT vendor.
|
|
290
|
+
*/
|
|
291
|
+
serviceAttachmentUris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
250
292
|
/**
|
|
251
293
|
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
252
294
|
*/
|
|
@@ -261,6 +303,8 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
261
303
|
* * **AWS**: MSK, CONFLUENT, and S3
|
|
262
304
|
*
|
|
263
305
|
* * **Azure**: EVENTHUB and CONFLUENT
|
|
306
|
+
*
|
|
307
|
+
* * **GCP**: CONFLUENT
|
|
264
308
|
*/
|
|
265
309
|
vendor?: pulumi.Input<string>;
|
|
266
310
|
}
|
|
@@ -289,13 +333,17 @@ export interface StreamPrivatelinkEndpointArgs {
|
|
|
289
333
|
*/
|
|
290
334
|
projectId: pulumi.Input<string>;
|
|
291
335
|
/**
|
|
292
|
-
* Provider where the endpoint is deployed. Valid values are AWS and
|
|
336
|
+
* Provider where the endpoint is deployed. Valid values are AWS, AZURE, and GCP.
|
|
293
337
|
*/
|
|
294
338
|
providerName: pulumi.Input<string>;
|
|
295
339
|
/**
|
|
296
340
|
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
297
341
|
*/
|
|
298
342
|
region?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* List of GCP service attachment URIs for Confluent vendor. Required for GCP provider with CONFLUENT vendor.
|
|
345
|
+
*/
|
|
346
|
+
serviceAttachmentUris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
299
347
|
/**
|
|
300
348
|
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
301
349
|
*/
|
|
@@ -306,6 +354,8 @@ export interface StreamPrivatelinkEndpointArgs {
|
|
|
306
354
|
* * **AWS**: MSK, CONFLUENT, and S3
|
|
307
355
|
*
|
|
308
356
|
* * **Azure**: EVENTHUB and CONFLUENT
|
|
357
|
+
*
|
|
358
|
+
* * **GCP**: CONFLUENT
|
|
309
359
|
*/
|
|
310
360
|
vendor: pulumi.Input<string>;
|
|
311
361
|
}
|
|
@@ -6,8 +6,6 @@ exports.StreamPrivatelinkEndpoint = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.StreamPrivatelinkEndpoint
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.StreamPrivatelinkEndpoint` describes a Privatelink Endpoint for Streams.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -119,6 +117,40 @@ const utilities = require("./utilities");
|
|
|
119
117
|
* });
|
|
120
118
|
* export const privatelinkEndpointId = _this.id;
|
|
121
119
|
* ```
|
|
120
|
+
*
|
|
121
|
+
* ### GCP Confluent Privatelink
|
|
122
|
+
* ```typescript
|
|
123
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
124
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
125
|
+
*
|
|
126
|
+
* const gcpConfluentStreamPrivatelinkEndpoint = new mongodbatlas.StreamPrivatelinkEndpoint("gcp_confluent", {
|
|
127
|
+
* projectId: projectId,
|
|
128
|
+
* providerName: "GCP",
|
|
129
|
+
* vendor: "CONFLUENT",
|
|
130
|
+
* region: gcpRegion,
|
|
131
|
+
* dnsDomain: confluentDnsDomain,
|
|
132
|
+
* dnsSubDomains: confluentDnsSubdomains,
|
|
133
|
+
* serviceAttachmentUris: [
|
|
134
|
+
* "projects/my-project/regions/us-west1/serviceAttachments/confluent-attachment-1",
|
|
135
|
+
* "projects/my-project/regions/us-west1/serviceAttachments/confluent-attachment-2",
|
|
136
|
+
* ],
|
|
137
|
+
* });
|
|
138
|
+
* const gcpConfluent = gcpConfluentStreamPrivatelinkEndpoint.id.apply(id => mongodbatlas.getStreamPrivatelinkEndpointOutput({
|
|
139
|
+
* projectId: projectId,
|
|
140
|
+
* id: id,
|
|
141
|
+
* }));
|
|
142
|
+
* export const privatelinkEndpointId = gcpConfluentStreamPrivatelinkEndpoint.id;
|
|
143
|
+
* export const privatelinkEndpointState = gcpConfluent.apply(gcpConfluent => gcpConfluent.state);
|
|
144
|
+
* export const serviceAttachmentUris = gcpConfluentStreamPrivatelinkEndpoint.serviceAttachmentUris;
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* ### Further Examples
|
|
148
|
+
* - AWS Confluent PrivateLink
|
|
149
|
+
* - Confluent Dedicated Cluster
|
|
150
|
+
* - AWS MSK PrivateLink
|
|
151
|
+
* - AWS S3 PrivateLink
|
|
152
|
+
* - GCP Confluent PrivateLink
|
|
153
|
+
* - Azure PrivateLink
|
|
122
154
|
*/
|
|
123
155
|
class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
124
156
|
/**
|
|
@@ -158,6 +190,7 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
158
190
|
resourceInputs["providerAccountId"] = state?.providerAccountId;
|
|
159
191
|
resourceInputs["providerName"] = state?.providerName;
|
|
160
192
|
resourceInputs["region"] = state?.region;
|
|
193
|
+
resourceInputs["serviceAttachmentUris"] = state?.serviceAttachmentUris;
|
|
161
194
|
resourceInputs["serviceEndpointId"] = state?.serviceEndpointId;
|
|
162
195
|
resourceInputs["state"] = state?.state;
|
|
163
196
|
resourceInputs["vendor"] = state?.vendor;
|
|
@@ -179,6 +212,7 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
179
212
|
resourceInputs["projectId"] = args?.projectId;
|
|
180
213
|
resourceInputs["providerName"] = args?.providerName;
|
|
181
214
|
resourceInputs["region"] = args?.region;
|
|
215
|
+
resourceInputs["serviceAttachmentUris"] = args?.serviceAttachmentUris;
|
|
182
216
|
resourceInputs["serviceEndpointId"] = args?.serviceEndpointId;
|
|
183
217
|
resourceInputs["vendor"] = args?.vendor;
|
|
184
218
|
resourceInputs["errorMessage"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkJG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA6ED,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CA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C;AAzIG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
|
package/streamProcessor.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.StreamProcessor
|
|
6
|
-
*
|
|
7
5
|
* `mongodbatlas.StreamProcessor` provides a Stream Processor resource. The resource lets you create, delete, import, start and stop a stream processor in a stream instance.
|
|
8
6
|
*
|
|
9
7
|
* **NOTE**: When updating an Atlas Stream Processor, the following behavior applies:
|
|
@@ -29,13 +27,13 @@ import * as outputs from "./types/output";
|
|
|
29
27
|
* });
|
|
30
28
|
* const example_sample = new mongodbatlas.StreamConnection("example-sample", {
|
|
31
29
|
* projectId: projectId,
|
|
32
|
-
*
|
|
30
|
+
* workspaceName: example.instanceName,
|
|
33
31
|
* connectionName: "sample_stream_solar",
|
|
34
32
|
* type: "Sample",
|
|
35
33
|
* });
|
|
36
34
|
* const example_cluster = new mongodbatlas.StreamConnection("example-cluster", {
|
|
37
35
|
* projectId: projectId,
|
|
38
|
-
*
|
|
36
|
+
* workspaceName: example.instanceName,
|
|
39
37
|
* connectionName: "ClusterConnection",
|
|
40
38
|
* type: "Cluster",
|
|
41
39
|
* clusterName: clusterName,
|
|
@@ -46,7 +44,7 @@ import * as outputs from "./types/output";
|
|
|
46
44
|
* });
|
|
47
45
|
* const example_kafka = new mongodbatlas.StreamConnection("example-kafka", {
|
|
48
46
|
* projectId: projectId,
|
|
49
|
-
*
|
|
47
|
+
* workspaceName: example.instanceName,
|
|
50
48
|
* connectionName: "KafkaPlaintextConnection",
|
|
51
49
|
* type: "Kafka",
|
|
52
50
|
* authentication: {
|
|
@@ -64,7 +62,7 @@ import * as outputs from "./types/output";
|
|
|
64
62
|
* });
|
|
65
63
|
* const stream_processor_sample_example = new mongodbatlas.StreamProcessor("stream-processor-sample-example", {
|
|
66
64
|
* projectId: projectId,
|
|
67
|
-
*
|
|
65
|
+
* workspaceName: example.instanceName,
|
|
68
66
|
* processorName: "sampleProcessorName",
|
|
69
67
|
* pipeline: JSON.stringify([
|
|
70
68
|
* {
|
|
@@ -87,7 +85,7 @@ import * as outputs from "./types/output";
|
|
|
87
85
|
* });
|
|
88
86
|
* const stream_processor_cluster_to_kafka_example = new mongodbatlas.StreamProcessor("stream-processor-cluster-to-kafka-example", {
|
|
89
87
|
* projectId: projectId,
|
|
90
|
-
*
|
|
88
|
+
* workspaceName: example.instanceName,
|
|
91
89
|
* processorName: "clusterProcessorName",
|
|
92
90
|
* pipeline: JSON.stringify([
|
|
93
91
|
* {
|
|
@@ -106,7 +104,7 @@ import * as outputs from "./types/output";
|
|
|
106
104
|
* });
|
|
107
105
|
* const stream_processor_kafka_to_cluster_example = new mongodbatlas.StreamProcessor("stream-processor-kafka-to-cluster-example", {
|
|
108
106
|
* projectId: projectId,
|
|
109
|
-
*
|
|
107
|
+
* workspaceName: example.instanceName,
|
|
110
108
|
* processorName: "kafkaProcessorName",
|
|
111
109
|
* pipeline: JSON.stringify([
|
|
112
110
|
* {
|
|
@@ -137,17 +135,20 @@ import * as outputs from "./types/output";
|
|
|
137
135
|
* });
|
|
138
136
|
* const example_stream_processors = example.instanceName.apply(instanceName => mongodbatlas.getStreamProcessorsOutput({
|
|
139
137
|
* projectId: projectId,
|
|
140
|
-
*
|
|
138
|
+
* workspaceName: instanceName,
|
|
141
139
|
* }));
|
|
142
140
|
* const example_stream_processor = pulumi.all([example.instanceName, stream_processor_sample_example.processorName]).apply(([instanceName, processorName]) => mongodbatlas.getStreamProcessorOutput({
|
|
143
141
|
* projectId: projectId,
|
|
144
|
-
*
|
|
142
|
+
* workspaceName: instanceName,
|
|
145
143
|
* processorName: processorName,
|
|
146
144
|
* }));
|
|
147
145
|
* export const streamProcessorsState = example_stream_processor.apply(example_stream_processor => example_stream_processor.state);
|
|
148
146
|
* export const streamProcessorsResults = example_stream_processors.apply(example_stream_processors => example_stream_processors.results);
|
|
149
147
|
* ```
|
|
150
148
|
*
|
|
149
|
+
* ### Further Examples
|
|
150
|
+
* - Atlas Stream Processor
|
|
151
|
+
*
|
|
151
152
|
* ## Import
|
|
152
153
|
*
|
|
153
154
|
* Stream Processor resource can be imported using the Project ID, Stream Instance name and Stream Processor name, in the format `INSTANCE_NAME-PROJECT_ID-PROCESSOR_NAME`, e.g.
|
|
@@ -171,9 +172,15 @@ export declare class StreamProcessor extends pulumi.CustomResource {
|
|
|
171
172
|
*/
|
|
172
173
|
static isInstance(obj: any): obj is StreamProcessor;
|
|
173
174
|
/**
|
|
174
|
-
*
|
|
175
|
+
* 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`.
|
|
176
|
+
*/
|
|
177
|
+
readonly deleteOnCreateTimeout: pulumi.Output<boolean>;
|
|
178
|
+
/**
|
|
179
|
+
* Label that identifies the stream processing workspace.
|
|
180
|
+
*
|
|
181
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
175
182
|
*/
|
|
176
|
-
readonly instanceName: pulumi.Output<string>;
|
|
183
|
+
readonly instanceName: pulumi.Output<string | undefined>;
|
|
177
184
|
/**
|
|
178
185
|
* Optional configuration for the stream processor.
|
|
179
186
|
*/
|
|
@@ -183,7 +190,7 @@ export declare class StreamProcessor extends pulumi.CustomResource {
|
|
|
183
190
|
*/
|
|
184
191
|
readonly pipeline: pulumi.Output<string>;
|
|
185
192
|
/**
|
|
186
|
-
*
|
|
193
|
+
* Label that identifies the stream processor.
|
|
187
194
|
*/
|
|
188
195
|
readonly processorName: pulumi.Output<string>;
|
|
189
196
|
/**
|
|
@@ -200,6 +207,11 @@ export declare class StreamProcessor extends pulumi.CustomResource {
|
|
|
200
207
|
* The stats associated with the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor) for more information.
|
|
201
208
|
*/
|
|
202
209
|
readonly stats: pulumi.Output<string>;
|
|
210
|
+
readonly timeouts: pulumi.Output<outputs.StreamProcessorTimeouts | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* Label that identifies the stream processing workspace.
|
|
213
|
+
*/
|
|
214
|
+
readonly workspaceName: pulumi.Output<string | undefined>;
|
|
203
215
|
/**
|
|
204
216
|
* Create a StreamProcessor resource with the given unique name, arguments, and options.
|
|
205
217
|
*
|
|
@@ -214,7 +226,13 @@ export declare class StreamProcessor extends pulumi.CustomResource {
|
|
|
214
226
|
*/
|
|
215
227
|
export interface StreamProcessorState {
|
|
216
228
|
/**
|
|
217
|
-
*
|
|
229
|
+
* 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`.
|
|
230
|
+
*/
|
|
231
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
232
|
+
/**
|
|
233
|
+
* Label that identifies the stream processing workspace.
|
|
234
|
+
*
|
|
235
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
218
236
|
*/
|
|
219
237
|
instanceName?: pulumi.Input<string>;
|
|
220
238
|
/**
|
|
@@ -226,7 +244,7 @@ export interface StreamProcessorState {
|
|
|
226
244
|
*/
|
|
227
245
|
pipeline?: pulumi.Input<string>;
|
|
228
246
|
/**
|
|
229
|
-
*
|
|
247
|
+
* Label that identifies the stream processor.
|
|
230
248
|
*/
|
|
231
249
|
processorName?: pulumi.Input<string>;
|
|
232
250
|
/**
|
|
@@ -243,15 +261,26 @@ export interface StreamProcessorState {
|
|
|
243
261
|
* The stats associated with the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor) for more information.
|
|
244
262
|
*/
|
|
245
263
|
stats?: pulumi.Input<string>;
|
|
264
|
+
timeouts?: pulumi.Input<inputs.StreamProcessorTimeouts>;
|
|
265
|
+
/**
|
|
266
|
+
* Label that identifies the stream processing workspace.
|
|
267
|
+
*/
|
|
268
|
+
workspaceName?: pulumi.Input<string>;
|
|
246
269
|
}
|
|
247
270
|
/**
|
|
248
271
|
* The set of arguments for constructing a StreamProcessor resource.
|
|
249
272
|
*/
|
|
250
273
|
export interface StreamProcessorArgs {
|
|
251
274
|
/**
|
|
252
|
-
*
|
|
275
|
+
* 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`.
|
|
253
276
|
*/
|
|
254
|
-
|
|
277
|
+
deleteOnCreateTimeout?: pulumi.Input<boolean>;
|
|
278
|
+
/**
|
|
279
|
+
* Label that identifies the stream processing workspace.
|
|
280
|
+
*
|
|
281
|
+
* @deprecated This parameter is deprecated. Please transition to workspace_name.
|
|
282
|
+
*/
|
|
283
|
+
instanceName?: pulumi.Input<string>;
|
|
255
284
|
/**
|
|
256
285
|
* Optional configuration for the stream processor.
|
|
257
286
|
*/
|
|
@@ -261,7 +290,7 @@ export interface StreamProcessorArgs {
|
|
|
261
290
|
*/
|
|
262
291
|
pipeline: pulumi.Input<string>;
|
|
263
292
|
/**
|
|
264
|
-
*
|
|
293
|
+
* Label that identifies the stream processor.
|
|
265
294
|
*/
|
|
266
295
|
processorName: pulumi.Input<string>;
|
|
267
296
|
/**
|
|
@@ -274,4 +303,9 @@ export interface StreamProcessorArgs {
|
|
|
274
303
|
* **NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
|
|
275
304
|
*/
|
|
276
305
|
state?: pulumi.Input<string>;
|
|
306
|
+
timeouts?: pulumi.Input<inputs.StreamProcessorTimeouts>;
|
|
307
|
+
/**
|
|
308
|
+
* Label that identifies the stream processing workspace.
|
|
309
|
+
*/
|
|
310
|
+
workspaceName?: pulumi.Input<string>;
|
|
277
311
|
}
|
package/streamProcessor.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.StreamProcessor = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: mongodbatlas.StreamProcessor
|
|
10
|
-
*
|
|
11
9
|
* `mongodbatlas.StreamProcessor` provides a Stream Processor resource. The resource lets you create, delete, import, start and stop a stream processor in a stream instance.
|
|
12
10
|
*
|
|
13
11
|
* **NOTE**: When updating an Atlas Stream Processor, the following behavior applies:
|
|
@@ -33,13 +31,13 @@ const utilities = require("./utilities");
|
|
|
33
31
|
* });
|
|
34
32
|
* const example_sample = new mongodbatlas.StreamConnection("example-sample", {
|
|
35
33
|
* projectId: projectId,
|
|
36
|
-
*
|
|
34
|
+
* workspaceName: example.instanceName,
|
|
37
35
|
* connectionName: "sample_stream_solar",
|
|
38
36
|
* type: "Sample",
|
|
39
37
|
* });
|
|
40
38
|
* const example_cluster = new mongodbatlas.StreamConnection("example-cluster", {
|
|
41
39
|
* projectId: projectId,
|
|
42
|
-
*
|
|
40
|
+
* workspaceName: example.instanceName,
|
|
43
41
|
* connectionName: "ClusterConnection",
|
|
44
42
|
* type: "Cluster",
|
|
45
43
|
* clusterName: clusterName,
|
|
@@ -50,7 +48,7 @@ const utilities = require("./utilities");
|
|
|
50
48
|
* });
|
|
51
49
|
* const example_kafka = new mongodbatlas.StreamConnection("example-kafka", {
|
|
52
50
|
* projectId: projectId,
|
|
53
|
-
*
|
|
51
|
+
* workspaceName: example.instanceName,
|
|
54
52
|
* connectionName: "KafkaPlaintextConnection",
|
|
55
53
|
* type: "Kafka",
|
|
56
54
|
* authentication: {
|
|
@@ -68,7 +66,7 @@ const utilities = require("./utilities");
|
|
|
68
66
|
* });
|
|
69
67
|
* const stream_processor_sample_example = new mongodbatlas.StreamProcessor("stream-processor-sample-example", {
|
|
70
68
|
* projectId: projectId,
|
|
71
|
-
*
|
|
69
|
+
* workspaceName: example.instanceName,
|
|
72
70
|
* processorName: "sampleProcessorName",
|
|
73
71
|
* pipeline: JSON.stringify([
|
|
74
72
|
* {
|
|
@@ -91,7 +89,7 @@ const utilities = require("./utilities");
|
|
|
91
89
|
* });
|
|
92
90
|
* const stream_processor_cluster_to_kafka_example = new mongodbatlas.StreamProcessor("stream-processor-cluster-to-kafka-example", {
|
|
93
91
|
* projectId: projectId,
|
|
94
|
-
*
|
|
92
|
+
* workspaceName: example.instanceName,
|
|
95
93
|
* processorName: "clusterProcessorName",
|
|
96
94
|
* pipeline: JSON.stringify([
|
|
97
95
|
* {
|
|
@@ -110,7 +108,7 @@ const utilities = require("./utilities");
|
|
|
110
108
|
* });
|
|
111
109
|
* const stream_processor_kafka_to_cluster_example = new mongodbatlas.StreamProcessor("stream-processor-kafka-to-cluster-example", {
|
|
112
110
|
* projectId: projectId,
|
|
113
|
-
*
|
|
111
|
+
* workspaceName: example.instanceName,
|
|
114
112
|
* processorName: "kafkaProcessorName",
|
|
115
113
|
* pipeline: JSON.stringify([
|
|
116
114
|
* {
|
|
@@ -141,17 +139,20 @@ const utilities = require("./utilities");
|
|
|
141
139
|
* });
|
|
142
140
|
* const example_stream_processors = example.instanceName.apply(instanceName => mongodbatlas.getStreamProcessorsOutput({
|
|
143
141
|
* projectId: projectId,
|
|
144
|
-
*
|
|
142
|
+
* workspaceName: instanceName,
|
|
145
143
|
* }));
|
|
146
144
|
* const example_stream_processor = pulumi.all([example.instanceName, stream_processor_sample_example.processorName]).apply(([instanceName, processorName]) => mongodbatlas.getStreamProcessorOutput({
|
|
147
145
|
* projectId: projectId,
|
|
148
|
-
*
|
|
146
|
+
* workspaceName: instanceName,
|
|
149
147
|
* processorName: processorName,
|
|
150
148
|
* }));
|
|
151
149
|
* export const streamProcessorsState = example_stream_processor.apply(example_stream_processor => example_stream_processor.state);
|
|
152
150
|
* export const streamProcessorsResults = example_stream_processors.apply(example_stream_processors => example_stream_processors.results);
|
|
153
151
|
* ```
|
|
154
152
|
*
|
|
153
|
+
* ### Further Examples
|
|
154
|
+
* - Atlas Stream Processor
|
|
155
|
+
*
|
|
155
156
|
* ## Import
|
|
156
157
|
*
|
|
157
158
|
* Stream Processor resource can be imported using the Project ID, Stream Instance name and Stream Processor name, in the format `INSTANCE_NAME-PROJECT_ID-PROCESSOR_NAME`, e.g.
|
|
@@ -186,6 +187,7 @@ class StreamProcessor extends pulumi.CustomResource {
|
|
|
186
187
|
opts = opts || {};
|
|
187
188
|
if (opts.id) {
|
|
188
189
|
const state = argsOrState;
|
|
190
|
+
resourceInputs["deleteOnCreateTimeout"] = state?.deleteOnCreateTimeout;
|
|
189
191
|
resourceInputs["instanceName"] = state?.instanceName;
|
|
190
192
|
resourceInputs["options"] = state?.options;
|
|
191
193
|
resourceInputs["pipeline"] = state?.pipeline;
|
|
@@ -193,12 +195,11 @@ class StreamProcessor extends pulumi.CustomResource {
|
|
|
193
195
|
resourceInputs["projectId"] = state?.projectId;
|
|
194
196
|
resourceInputs["state"] = state?.state;
|
|
195
197
|
resourceInputs["stats"] = state?.stats;
|
|
198
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
199
|
+
resourceInputs["workspaceName"] = state?.workspaceName;
|
|
196
200
|
}
|
|
197
201
|
else {
|
|
198
202
|
const args = argsOrState;
|
|
199
|
-
if (args?.instanceName === undefined && !opts.urn) {
|
|
200
|
-
throw new Error("Missing required property 'instanceName'");
|
|
201
|
-
}
|
|
202
203
|
if (args?.pipeline === undefined && !opts.urn) {
|
|
203
204
|
throw new Error("Missing required property 'pipeline'");
|
|
204
205
|
}
|
|
@@ -208,12 +209,15 @@ class StreamProcessor extends pulumi.CustomResource {
|
|
|
208
209
|
if (args?.projectId === undefined && !opts.urn) {
|
|
209
210
|
throw new Error("Missing required property 'projectId'");
|
|
210
211
|
}
|
|
212
|
+
resourceInputs["deleteOnCreateTimeout"] = args?.deleteOnCreateTimeout;
|
|
211
213
|
resourceInputs["instanceName"] = args?.instanceName;
|
|
212
214
|
resourceInputs["options"] = args?.options;
|
|
213
215
|
resourceInputs["pipeline"] = args?.pipeline;
|
|
214
216
|
resourceInputs["processorName"] = args?.processorName;
|
|
215
217
|
resourceInputs["projectId"] = args?.projectId;
|
|
216
218
|
resourceInputs["state"] = args?.state;
|
|
219
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
220
|
+
resourceInputs["workspaceName"] = args?.workspaceName;
|
|
217
221
|
resourceInputs["stats"] = undefined /*out*/;
|
|
218
222
|
}
|
|
219
223
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/streamProcessor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyJG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe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