@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 3.15.0-alpha.1713899327
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 +4 -8
- package/accessListApiKey.js +4 -8
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +28 -61
- package/advancedCluster.js +28 -61
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -50
- package/alertConfiguration.js +44 -50
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +0 -2
- package/apiKey.js +0 -2
- package/apiKey.js.map +1 -1
- package/auditing.d.ts +2 -4
- package/auditing.js +2 -4
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +83 -0
- package/backupCompliancePolicy.js +83 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -9
- package/cloudBackupSnapshot.js +7 -9
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +2 -4
- package/cloudBackupSnapshotExportBucket.js +2 -4
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -7
- package/cloudBackupSnapshotExportJob.js +3 -7
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +74 -13
- package/cloudBackupSnapshotRestoreJob.js +74 -13
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -82
- package/cluster.js +48 -82
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -4
- package/clusterOutageSimulation.js +2 -4
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +6 -10
- package/customDbRole.js +6 -10
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +1 -3
- package/customDnsConfigurationClusterAws.js +1 -3
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/databaseUser.d.ts +19 -27
- package/databaseUser.js +19 -27
- package/databaseUser.js.map +1 -1
- package/eventTrigger.d.ts +24 -28
- package/eventTrigger.js +24 -28
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -12
- package/federatedDatabaseInstance.js +10 -12
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -4
- package/federatedQueryLimit.js +2 -4
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +6 -7
- package/federatedSettingsIdentityProvider.js +6 -7
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -4
- package/federatedSettingsOrgRoleMapping.js +2 -4
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +60 -0
- package/get509AuthenticationDatabaseUser.js +60 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAccessListApiKeys.d.ts +0 -16
- package/getAccessListApiKeys.js.map +1 -1
- package/getAdvancedCluster.d.ts +56 -0
- package/getAdvancedCluster.js +56 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +190 -0
- package/getAlertConfiguration.js +190 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUser.d.ts +0 -8
- package/getAtlasUser.js +0 -8
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -14
- package/getAtlasUsers.js +2 -14
- package/getAtlasUsers.js.map +1 -1
- package/getAuditing.d.ts +34 -0
- package/getAuditing.js +34 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +166 -0
- package/getBackupCompliancePolicy.js +166 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +54 -0
- package/getCloudBackupSchedule.js +54 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +38 -0
- package/getCloudBackupSnapshot.js +38 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +36 -0
- package/getCloudBackupSnapshotExportBucket.js +36 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -12
- package/getCloudBackupSnapshotExportBuckets.js +8 -12
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +58 -0
- package/getCloudBackupSnapshotExportJob.js +58 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -10
- package/getCloudBackupSnapshotExportJobs.js +6 -10
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +4 -12
- package/getCloudProviderAccessSetup.js +4 -12
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCluster.d.ts +60 -0
- package/getCluster.js +60 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -6
- package/getClusterOutageSimulation.js +2 -6
- package/getClusterOutageSimulation.js.map +1 -1
- package/getClusters.d.ts +6 -8
- package/getClusters.js +6 -8
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -6
- package/getCustomDbRole.js +2 -6
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +30 -0
- package/getCustomDnsConfigurationClusterAws.js +30 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +124 -0
- package/getDatabaseUser.js +124 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -22
- package/getDatabaseUsers.js +14 -22
- package/getDatabaseUsers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +6 -14
- package/getFederatedDatabaseInstance.js +6 -14
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +2 -6
- package/getFederatedQueryLimit.js +2 -6
- 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 +4 -6
- package/getFederatedSettingsIdentityProvider.js +4 -6
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -6
- package/getFederatedSettingsIdentityProviders.js +4 -6
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -10
- package/getFederatedSettingsOrgConfig.js +6 -10
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +6 -10
- package/getFederatedSettingsOrgConfigs.js +6 -10
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -8
- package/getFederatedSettingsOrgRoleMapping.js +4 -8
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +110 -0
- package/getGlobalClusterConfig.js +110 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +46 -0
- package/getLdapConfiguration.js +46 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +66 -0
- package/getLdapVerify.js +66 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +60 -0
- package/getMaintenanceWindow.js +60 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +36 -0
- package/getNetworkContainer.js +36 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -8
- package/getNetworkContainers.js +4 -8
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +42 -0
- package/getNetworkPeering.js +42 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -8
- package/getNetworkPeerings.js +4 -8
- package/getNetworkPeerings.js.map +1 -1
- package/getOrganization.d.ts +0 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +2 -12
- package/getOrganizations.js +2 -6
- package/getOrganizations.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +42 -0
- package/getPrivateLinkEndpoint.js +42 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointServiceServerless.js +20 -24
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +126 -0
- package/getProject.js +126 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +36 -0
- package/getProjectApiKey.js +36 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -6
- package/getProjectApiKeys.js +2 -6
- package/getProjectApiKeys.js.map +1 -1
- package/getProjectInvitation.d.ts +34 -0
- package/getProjectInvitation.js +34 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +134 -0
- package/getProjectIpAccessList.js +134 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -12
- package/getProjects.js +10 -12
- package/getProjects.js.map +1 -1
- package/getRolesOrgId.d.ts +0 -4
- package/getRolesOrgId.js +0 -4
- package/getRolesOrgId.js.map +1 -1
- package/getSearchIndex.d.ts +2 -6
- package/getSearchIndex.js +2 -6
- package/getSearchIndex.js.map +1 -1
- package/getServerlessInstance.d.ts +0 -4
- package/getServerlessInstance.js +0 -4
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +0 -4
- package/getServerlessInstances.js +0 -4
- package/getServerlessInstances.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +2 -6
- package/getThirdPartyIntegration.js +2 -6
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +4 -8
- package/getThirdPartyIntegrations.js +4 -8
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +60 -0
- package/getX509AuthenticationDatabaseUser.js +60 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -6
- package/globalClusterConfig.js +4 -6
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -10
- package/ldapConfiguration.js +12 -10
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -8
- package/ldapVerify.js +9 -8
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -6
- package/maintenanceWindow.js +2 -6
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +3 -9
- package/networkContainer.js +3 -9
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +38 -151
- package/networkPeering.js +38 -151
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -12
- package/onlineArchive.js +8 -12
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +4 -10
- package/orgInvitation.js +4 -10
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +2 -3
- package/organization.js +2 -3
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpoint.d.ts +0 -2
- package/privateLinkEndpoint.js +0 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +93 -26
- package/privateLinkEndpointService.js +93 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -4
- package/privatelinkEndpointServerless.js +3 -4
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +52 -8
- package/privatelinkEndpointServiceServerless.js +52 -8
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -5
- package/project.js +4 -5
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +0 -4
- package/projectApiKey.js +0 -4
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +2 -6
- package/projectInvitation.js +2 -6
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +8 -14
- package/projectIpAccessList.js +8 -14
- package/projectIpAccessList.js.map +1 -1
- package/searchIndex.d.ts +7 -11
- package/searchIndex.js +7 -11
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -2
- package/serverlessInstance.js +1 -2
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -113
- package/thirdPartyIntegration.js +3 -5
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +1 -332
- package/types/output.d.ts +13 -408
|
@@ -6,29 +6,29 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example with AWS
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
12
|
*
|
|
14
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
13
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
15
14
|
* projectId: "<PROJECT_ID>",
|
|
15
|
+
* name: "test-db",
|
|
16
16
|
* providerSettingsBackingProviderName: "AWS",
|
|
17
17
|
* providerSettingsProviderName: "SERVERLESS",
|
|
18
18
|
* providerSettingsRegionName: "US_EAST_1",
|
|
19
19
|
* continuousBackupEnabled: true,
|
|
20
20
|
* });
|
|
21
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
21
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
22
22
|
* projectId: "<PROJECT_ID>",
|
|
23
23
|
* instanceName: testServerlessInstance.name,
|
|
24
24
|
* providerName: "AWS",
|
|
25
25
|
* });
|
|
26
|
-
* const
|
|
26
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
27
27
|
* projectId: "<PROJECT_ID>",
|
|
28
28
|
* instanceName: testServerlessInstance.name,
|
|
29
29
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
30
30
|
* });
|
|
31
|
-
* const
|
|
31
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
32
32
|
* projectId: "<PROJECT_ID>",
|
|
33
33
|
* instanceName: "test-db",
|
|
34
34
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -36,33 +36,32 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
36
|
* comment: "New serverless endpoint",
|
|
37
37
|
* });
|
|
38
38
|
* ```
|
|
39
|
-
* <!--End PulumiCodeChooser -->
|
|
40
39
|
*
|
|
41
40
|
* ## Example with AZURE
|
|
42
41
|
*
|
|
43
|
-
* <!--Start PulumiCodeChooser -->
|
|
44
42
|
* ```typescript
|
|
45
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
44
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
47
45
|
*
|
|
48
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
46
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
49
47
|
* projectId: "<PROJECT_ID>",
|
|
48
|
+
* name: "test-db",
|
|
50
49
|
* providerSettingsBackingProviderName: "AZURE",
|
|
51
50
|
* providerSettingsProviderName: "SERVERLESS",
|
|
52
51
|
* providerSettingsRegionName: "US_EAST",
|
|
53
52
|
* continuousBackupEnabled: true,
|
|
54
53
|
* });
|
|
55
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
54
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
56
55
|
* projectId: "<PROJECT_ID>",
|
|
57
56
|
* instanceName: testServerlessInstance.name,
|
|
58
57
|
* providerName: "AZURE",
|
|
59
58
|
* });
|
|
60
|
-
* const
|
|
59
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
61
60
|
* projectId: "<PROJECT_ID>",
|
|
62
61
|
* instanceName: testServerlessInstance.name,
|
|
63
62
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
64
63
|
* });
|
|
65
|
-
* const
|
|
64
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
66
65
|
* projectId: "<PROJECT_ID>",
|
|
67
66
|
* instanceName: "test-db",
|
|
68
67
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -70,7 +69,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
70
69
|
* comment: "New serverless endpoint",
|
|
71
70
|
* });
|
|
72
71
|
* ```
|
|
73
|
-
* <!--End PulumiCodeChooser -->
|
|
74
72
|
*
|
|
75
73
|
* ### Available complete examples
|
|
76
74
|
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
@@ -131,29 +129,29 @@ export interface GetPrivatelinkEndpointServiceServerlessResult {
|
|
|
131
129
|
*
|
|
132
130
|
* ## Example with AWS
|
|
133
131
|
*
|
|
134
|
-
* <!--Start PulumiCodeChooser -->
|
|
135
132
|
* ```typescript
|
|
136
133
|
* import * as pulumi from "@pulumi/pulumi";
|
|
137
134
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
138
135
|
*
|
|
139
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
136
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
140
137
|
* projectId: "<PROJECT_ID>",
|
|
138
|
+
* name: "test-db",
|
|
141
139
|
* providerSettingsBackingProviderName: "AWS",
|
|
142
140
|
* providerSettingsProviderName: "SERVERLESS",
|
|
143
141
|
* providerSettingsRegionName: "US_EAST_1",
|
|
144
142
|
* continuousBackupEnabled: true,
|
|
145
143
|
* });
|
|
146
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
144
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
147
145
|
* projectId: "<PROJECT_ID>",
|
|
148
146
|
* instanceName: testServerlessInstance.name,
|
|
149
147
|
* providerName: "AWS",
|
|
150
148
|
* });
|
|
151
|
-
* const
|
|
149
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
152
150
|
* projectId: "<PROJECT_ID>",
|
|
153
151
|
* instanceName: testServerlessInstance.name,
|
|
154
152
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
155
153
|
* });
|
|
156
|
-
* const
|
|
154
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
157
155
|
* projectId: "<PROJECT_ID>",
|
|
158
156
|
* instanceName: "test-db",
|
|
159
157
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -161,33 +159,32 @@ export interface GetPrivatelinkEndpointServiceServerlessResult {
|
|
|
161
159
|
* comment: "New serverless endpoint",
|
|
162
160
|
* });
|
|
163
161
|
* ```
|
|
164
|
-
* <!--End PulumiCodeChooser -->
|
|
165
162
|
*
|
|
166
163
|
* ## Example with AZURE
|
|
167
164
|
*
|
|
168
|
-
* <!--Start PulumiCodeChooser -->
|
|
169
165
|
* ```typescript
|
|
170
166
|
* import * as pulumi from "@pulumi/pulumi";
|
|
171
167
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
172
168
|
*
|
|
173
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
169
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
174
170
|
* projectId: "<PROJECT_ID>",
|
|
171
|
+
* name: "test-db",
|
|
175
172
|
* providerSettingsBackingProviderName: "AZURE",
|
|
176
173
|
* providerSettingsProviderName: "SERVERLESS",
|
|
177
174
|
* providerSettingsRegionName: "US_EAST",
|
|
178
175
|
* continuousBackupEnabled: true,
|
|
179
176
|
* });
|
|
180
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
177
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
181
178
|
* projectId: "<PROJECT_ID>",
|
|
182
179
|
* instanceName: testServerlessInstance.name,
|
|
183
180
|
* providerName: "AZURE",
|
|
184
181
|
* });
|
|
185
|
-
* const
|
|
182
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
186
183
|
* projectId: "<PROJECT_ID>",
|
|
187
184
|
* instanceName: testServerlessInstance.name,
|
|
188
185
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
189
186
|
* });
|
|
190
|
-
* const
|
|
187
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
191
188
|
* projectId: "<PROJECT_ID>",
|
|
192
189
|
* instanceName: "test-db",
|
|
193
190
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -195,7 +192,6 @@ export interface GetPrivatelinkEndpointServiceServerlessResult {
|
|
|
195
192
|
* comment: "New serverless endpoint",
|
|
196
193
|
* });
|
|
197
194
|
* ```
|
|
198
|
-
* <!--End PulumiCodeChooser -->
|
|
199
195
|
*
|
|
200
196
|
* ### Available complete examples
|
|
201
197
|
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
@@ -12,29 +12,29 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example with AWS
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
18
|
*
|
|
20
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
19
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
21
20
|
* projectId: "<PROJECT_ID>",
|
|
21
|
+
* name: "test-db",
|
|
22
22
|
* providerSettingsBackingProviderName: "AWS",
|
|
23
23
|
* providerSettingsProviderName: "SERVERLESS",
|
|
24
24
|
* providerSettingsRegionName: "US_EAST_1",
|
|
25
25
|
* continuousBackupEnabled: true,
|
|
26
26
|
* });
|
|
27
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
27
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
28
28
|
* projectId: "<PROJECT_ID>",
|
|
29
29
|
* instanceName: testServerlessInstance.name,
|
|
30
30
|
* providerName: "AWS",
|
|
31
31
|
* });
|
|
32
|
-
* const
|
|
32
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
33
33
|
* projectId: "<PROJECT_ID>",
|
|
34
34
|
* instanceName: testServerlessInstance.name,
|
|
35
35
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
36
36
|
* });
|
|
37
|
-
* const
|
|
37
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
38
38
|
* projectId: "<PROJECT_ID>",
|
|
39
39
|
* instanceName: "test-db",
|
|
40
40
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -42,33 +42,32 @@ const utilities = require("./utilities");
|
|
|
42
42
|
* comment: "New serverless endpoint",
|
|
43
43
|
* });
|
|
44
44
|
* ```
|
|
45
|
-
* <!--End PulumiCodeChooser -->
|
|
46
45
|
*
|
|
47
46
|
* ## Example with AZURE
|
|
48
47
|
*
|
|
49
|
-
* <!--Start PulumiCodeChooser -->
|
|
50
48
|
* ```typescript
|
|
51
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
52
50
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
53
51
|
*
|
|
54
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
52
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
55
53
|
* projectId: "<PROJECT_ID>",
|
|
54
|
+
* name: "test-db",
|
|
56
55
|
* providerSettingsBackingProviderName: "AZURE",
|
|
57
56
|
* providerSettingsProviderName: "SERVERLESS",
|
|
58
57
|
* providerSettingsRegionName: "US_EAST",
|
|
59
58
|
* continuousBackupEnabled: true,
|
|
60
59
|
* });
|
|
61
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
60
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
62
61
|
* projectId: "<PROJECT_ID>",
|
|
63
62
|
* instanceName: testServerlessInstance.name,
|
|
64
63
|
* providerName: "AZURE",
|
|
65
64
|
* });
|
|
66
|
-
* const
|
|
65
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
67
66
|
* projectId: "<PROJECT_ID>",
|
|
68
67
|
* instanceName: testServerlessInstance.name,
|
|
69
68
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
70
69
|
* });
|
|
71
|
-
* const
|
|
70
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
72
71
|
* projectId: "<PROJECT_ID>",
|
|
73
72
|
* instanceName: "test-db",
|
|
74
73
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -76,7 +75,6 @@ const utilities = require("./utilities");
|
|
|
76
75
|
* comment: "New serverless endpoint",
|
|
77
76
|
* });
|
|
78
77
|
* ```
|
|
79
|
-
* <!--End PulumiCodeChooser -->
|
|
80
78
|
*
|
|
81
79
|
* ### Available complete examples
|
|
82
80
|
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
@@ -97,29 +95,29 @@ exports.getPrivatelinkEndpointServiceServerless = getPrivatelinkEndpointServiceS
|
|
|
97
95
|
*
|
|
98
96
|
* ## Example with AWS
|
|
99
97
|
*
|
|
100
|
-
* <!--Start PulumiCodeChooser -->
|
|
101
98
|
* ```typescript
|
|
102
99
|
* import * as pulumi from "@pulumi/pulumi";
|
|
103
100
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
104
101
|
*
|
|
105
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
102
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
106
103
|
* projectId: "<PROJECT_ID>",
|
|
104
|
+
* name: "test-db",
|
|
107
105
|
* providerSettingsBackingProviderName: "AWS",
|
|
108
106
|
* providerSettingsProviderName: "SERVERLESS",
|
|
109
107
|
* providerSettingsRegionName: "US_EAST_1",
|
|
110
108
|
* continuousBackupEnabled: true,
|
|
111
109
|
* });
|
|
112
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
110
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
113
111
|
* projectId: "<PROJECT_ID>",
|
|
114
112
|
* instanceName: testServerlessInstance.name,
|
|
115
113
|
* providerName: "AWS",
|
|
116
114
|
* });
|
|
117
|
-
* const
|
|
115
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
118
116
|
* projectId: "<PROJECT_ID>",
|
|
119
117
|
* instanceName: testServerlessInstance.name,
|
|
120
118
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
121
119
|
* });
|
|
122
|
-
* const
|
|
120
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
123
121
|
* projectId: "<PROJECT_ID>",
|
|
124
122
|
* instanceName: "test-db",
|
|
125
123
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -127,33 +125,32 @@ exports.getPrivatelinkEndpointServiceServerless = getPrivatelinkEndpointServiceS
|
|
|
127
125
|
* comment: "New serverless endpoint",
|
|
128
126
|
* });
|
|
129
127
|
* ```
|
|
130
|
-
* <!--End PulumiCodeChooser -->
|
|
131
128
|
*
|
|
132
129
|
* ## Example with AZURE
|
|
133
130
|
*
|
|
134
|
-
* <!--Start PulumiCodeChooser -->
|
|
135
131
|
* ```typescript
|
|
136
132
|
* import * as pulumi from "@pulumi/pulumi";
|
|
137
133
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
138
134
|
*
|
|
139
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
135
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
140
136
|
* projectId: "<PROJECT_ID>",
|
|
137
|
+
* name: "test-db",
|
|
141
138
|
* providerSettingsBackingProviderName: "AZURE",
|
|
142
139
|
* providerSettingsProviderName: "SERVERLESS",
|
|
143
140
|
* providerSettingsRegionName: "US_EAST",
|
|
144
141
|
* continuousBackupEnabled: true,
|
|
145
142
|
* });
|
|
146
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
143
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
147
144
|
* projectId: "<PROJECT_ID>",
|
|
148
145
|
* instanceName: testServerlessInstance.name,
|
|
149
146
|
* providerName: "AZURE",
|
|
150
147
|
* });
|
|
151
|
-
* const
|
|
148
|
+
* const test = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
|
|
152
149
|
* projectId: "<PROJECT_ID>",
|
|
153
150
|
* instanceName: testServerlessInstance.name,
|
|
154
151
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
155
152
|
* });
|
|
156
|
-
* const
|
|
153
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
157
154
|
* projectId: "<PROJECT_ID>",
|
|
158
155
|
* instanceName: "test-db",
|
|
159
156
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -161,7 +158,6 @@ exports.getPrivatelinkEndpointServiceServerless = getPrivatelinkEndpointServiceS
|
|
|
161
158
|
* comment: "New serverless endpoint",
|
|
162
159
|
* });
|
|
163
160
|
* ```
|
|
164
|
-
* <!--End PulumiCodeChooser -->
|
|
165
161
|
*
|
|
166
162
|
* ### Available complete examples
|
|
167
163
|
* - Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrivatelinkEndpointServiceServerless.js","sourceRoot":"","sources":["../getPrivatelinkEndpointServiceServerless.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPrivatelinkEndpointServiceServerless.js","sourceRoot":"","sources":["../getPrivatelinkEndpointServiceServerless.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAA2B;IAElI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oGAAoG,EAAE;QAC/H,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0FAQC;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,SAAgB,6CAA6C,CAAC,IAAuD,EAAE,IAA2B;IAC9I,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uCAAuC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClG,CAAC;AAFD,sGAEC"}
|
|
@@ -7,28 +7,28 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example with AWS
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
13
|
*
|
|
15
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
14
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
16
15
|
* projectId: "<PROJECT_ID>",
|
|
16
|
+
* name: "test-db",
|
|
17
17
|
* providerSettingsBackingProviderName: "AWS",
|
|
18
18
|
* providerSettingsProviderName: "SERVERLESS",
|
|
19
19
|
* providerSettingsRegionName: "US_EAST_1",
|
|
20
20
|
* continuousBackupEnabled: true,
|
|
21
21
|
* });
|
|
22
|
-
* const
|
|
22
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
23
23
|
* projectId: "<PROJECT_ID>",
|
|
24
24
|
* instanceName: testServerlessInstance.name,
|
|
25
25
|
* });
|
|
26
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
26
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
27
27
|
* projectId: "<PROJECT_ID>",
|
|
28
28
|
* instanceName: testServerlessInstance.name,
|
|
29
29
|
* providerName: "AWS",
|
|
30
30
|
* });
|
|
31
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
31
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
32
32
|
* projectId: "<PROJECT_ID>",
|
|
33
33
|
* instanceName: "test-db",
|
|
34
34
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -36,32 +36,31 @@ import * as outputs from "./types/output";
|
|
|
36
36
|
* comment: "New serverless endpoint",
|
|
37
37
|
* });
|
|
38
38
|
* ```
|
|
39
|
-
* <!--End PulumiCodeChooser -->
|
|
40
39
|
*
|
|
41
40
|
* ## Example with AZURE
|
|
42
41
|
*
|
|
43
|
-
* <!--Start PulumiCodeChooser -->
|
|
44
42
|
* ```typescript
|
|
45
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
44
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
47
45
|
*
|
|
48
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
46
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
49
47
|
* projectId: "<PROJECT_ID>",
|
|
48
|
+
* name: "test-db",
|
|
50
49
|
* providerSettingsBackingProviderName: "AZURE",
|
|
51
50
|
* providerSettingsProviderName: "SERVERLESS",
|
|
52
51
|
* providerSettingsRegionName: "US_EAST",
|
|
53
52
|
* continuousBackupEnabled: true,
|
|
54
53
|
* });
|
|
55
|
-
* const
|
|
54
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
56
55
|
* projectId: "<PROJECT_ID>",
|
|
57
56
|
* instanceName: testServerlessInstance.name,
|
|
58
57
|
* });
|
|
59
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
58
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
60
59
|
* projectId: "<PROJECT_ID>",
|
|
61
60
|
* instanceName: testServerlessInstance.name,
|
|
62
61
|
* providerName: "AZURE",
|
|
63
62
|
* });
|
|
64
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
63
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
65
64
|
* projectId: "<PROJECT_ID>",
|
|
66
65
|
* instanceName: "test-db",
|
|
67
66
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -69,7 +68,6 @@ import * as outputs from "./types/output";
|
|
|
69
68
|
* comment: "New serverless endpoint",
|
|
70
69
|
* });
|
|
71
70
|
* ```
|
|
72
|
-
* <!--End PulumiCodeChooser -->
|
|
73
71
|
*/
|
|
74
72
|
export declare function getPrivatelinkEndpointsServiceServerless(args: GetPrivatelinkEndpointsServiceServerlessArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivatelinkEndpointsServiceServerlessResult>;
|
|
75
73
|
/**
|
|
@@ -123,28 +121,28 @@ export interface GetPrivatelinkEndpointsServiceServerlessResult {
|
|
|
123
121
|
*
|
|
124
122
|
* ## Example with AWS
|
|
125
123
|
*
|
|
126
|
-
* <!--Start PulumiCodeChooser -->
|
|
127
124
|
* ```typescript
|
|
128
125
|
* import * as pulumi from "@pulumi/pulumi";
|
|
129
126
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
130
127
|
*
|
|
131
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
128
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
132
129
|
* projectId: "<PROJECT_ID>",
|
|
130
|
+
* name: "test-db",
|
|
133
131
|
* providerSettingsBackingProviderName: "AWS",
|
|
134
132
|
* providerSettingsProviderName: "SERVERLESS",
|
|
135
133
|
* providerSettingsRegionName: "US_EAST_1",
|
|
136
134
|
* continuousBackupEnabled: true,
|
|
137
135
|
* });
|
|
138
|
-
* const
|
|
136
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
139
137
|
* projectId: "<PROJECT_ID>",
|
|
140
138
|
* instanceName: testServerlessInstance.name,
|
|
141
139
|
* });
|
|
142
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
140
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
143
141
|
* projectId: "<PROJECT_ID>",
|
|
144
142
|
* instanceName: testServerlessInstance.name,
|
|
145
143
|
* providerName: "AWS",
|
|
146
144
|
* });
|
|
147
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
145
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
148
146
|
* projectId: "<PROJECT_ID>",
|
|
149
147
|
* instanceName: "test-db",
|
|
150
148
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -152,32 +150,31 @@ export interface GetPrivatelinkEndpointsServiceServerlessResult {
|
|
|
152
150
|
* comment: "New serverless endpoint",
|
|
153
151
|
* });
|
|
154
152
|
* ```
|
|
155
|
-
* <!--End PulumiCodeChooser -->
|
|
156
153
|
*
|
|
157
154
|
* ## Example with AZURE
|
|
158
155
|
*
|
|
159
|
-
* <!--Start PulumiCodeChooser -->
|
|
160
156
|
* ```typescript
|
|
161
157
|
* import * as pulumi from "@pulumi/pulumi";
|
|
162
158
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
159
|
*
|
|
164
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
160
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
165
161
|
* projectId: "<PROJECT_ID>",
|
|
162
|
+
* name: "test-db",
|
|
166
163
|
* providerSettingsBackingProviderName: "AZURE",
|
|
167
164
|
* providerSettingsProviderName: "SERVERLESS",
|
|
168
165
|
* providerSettingsRegionName: "US_EAST",
|
|
169
166
|
* continuousBackupEnabled: true,
|
|
170
167
|
* });
|
|
171
|
-
* const
|
|
168
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
172
169
|
* projectId: "<PROJECT_ID>",
|
|
173
170
|
* instanceName: testServerlessInstance.name,
|
|
174
171
|
* });
|
|
175
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
172
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
176
173
|
* projectId: "<PROJECT_ID>",
|
|
177
174
|
* instanceName: testServerlessInstance.name,
|
|
178
175
|
* providerName: "AZURE",
|
|
179
176
|
* });
|
|
180
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
177
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
181
178
|
* projectId: "<PROJECT_ID>",
|
|
182
179
|
* instanceName: "test-db",
|
|
183
180
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -185,7 +182,6 @@ export interface GetPrivatelinkEndpointsServiceServerlessResult {
|
|
|
185
182
|
* comment: "New serverless endpoint",
|
|
186
183
|
* });
|
|
187
184
|
* ```
|
|
188
|
-
* <!--End PulumiCodeChooser -->
|
|
189
185
|
*/
|
|
190
186
|
export declare function getPrivatelinkEndpointsServiceServerlessOutput(args: GetPrivatelinkEndpointsServiceServerlessOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrivatelinkEndpointsServiceServerlessResult>;
|
|
191
187
|
/**
|
|
@@ -12,28 +12,28 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example with AWS
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
18
|
*
|
|
20
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
19
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
21
20
|
* projectId: "<PROJECT_ID>",
|
|
21
|
+
* name: "test-db",
|
|
22
22
|
* providerSettingsBackingProviderName: "AWS",
|
|
23
23
|
* providerSettingsProviderName: "SERVERLESS",
|
|
24
24
|
* providerSettingsRegionName: "US_EAST_1",
|
|
25
25
|
* continuousBackupEnabled: true,
|
|
26
26
|
* });
|
|
27
|
-
* const
|
|
27
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
28
28
|
* projectId: "<PROJECT_ID>",
|
|
29
29
|
* instanceName: testServerlessInstance.name,
|
|
30
30
|
* });
|
|
31
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
31
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
32
32
|
* projectId: "<PROJECT_ID>",
|
|
33
33
|
* instanceName: testServerlessInstance.name,
|
|
34
34
|
* providerName: "AWS",
|
|
35
35
|
* });
|
|
36
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
36
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
37
37
|
* projectId: "<PROJECT_ID>",
|
|
38
38
|
* instanceName: "test-db",
|
|
39
39
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -41,32 +41,31 @@ const utilities = require("./utilities");
|
|
|
41
41
|
* comment: "New serverless endpoint",
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
44
|
*
|
|
46
45
|
* ## Example with AZURE
|
|
47
46
|
*
|
|
48
|
-
* <!--Start PulumiCodeChooser -->
|
|
49
47
|
* ```typescript
|
|
50
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
49
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
52
50
|
*
|
|
53
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
51
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
54
52
|
* projectId: "<PROJECT_ID>",
|
|
53
|
+
* name: "test-db",
|
|
55
54
|
* providerSettingsBackingProviderName: "AZURE",
|
|
56
55
|
* providerSettingsProviderName: "SERVERLESS",
|
|
57
56
|
* providerSettingsRegionName: "US_EAST",
|
|
58
57
|
* continuousBackupEnabled: true,
|
|
59
58
|
* });
|
|
60
|
-
* const
|
|
59
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
61
60
|
* projectId: "<PROJECT_ID>",
|
|
62
61
|
* instanceName: testServerlessInstance.name,
|
|
63
62
|
* });
|
|
64
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
63
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
65
64
|
* projectId: "<PROJECT_ID>",
|
|
66
65
|
* instanceName: testServerlessInstance.name,
|
|
67
66
|
* providerName: "AZURE",
|
|
68
67
|
* });
|
|
69
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
68
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
70
69
|
* projectId: "<PROJECT_ID>",
|
|
71
70
|
* instanceName: "test-db",
|
|
72
71
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -74,7 +73,6 @@ const utilities = require("./utilities");
|
|
|
74
73
|
* comment: "New serverless endpoint",
|
|
75
74
|
* });
|
|
76
75
|
* ```
|
|
77
|
-
* <!--End PulumiCodeChooser -->
|
|
78
76
|
*/
|
|
79
77
|
function getPrivatelinkEndpointsServiceServerless(args, opts) {
|
|
80
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -93,28 +91,28 @@ exports.getPrivatelinkEndpointsServiceServerless = getPrivatelinkEndpointsServic
|
|
|
93
91
|
*
|
|
94
92
|
* ## Example with AWS
|
|
95
93
|
*
|
|
96
|
-
* <!--Start PulumiCodeChooser -->
|
|
97
94
|
* ```typescript
|
|
98
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
99
96
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
100
97
|
*
|
|
101
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
98
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
102
99
|
* projectId: "<PROJECT_ID>",
|
|
100
|
+
* name: "test-db",
|
|
103
101
|
* providerSettingsBackingProviderName: "AWS",
|
|
104
102
|
* providerSettingsProviderName: "SERVERLESS",
|
|
105
103
|
* providerSettingsRegionName: "US_EAST_1",
|
|
106
104
|
* continuousBackupEnabled: true,
|
|
107
105
|
* });
|
|
108
|
-
* const
|
|
106
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
109
107
|
* projectId: "<PROJECT_ID>",
|
|
110
108
|
* instanceName: testServerlessInstance.name,
|
|
111
109
|
* });
|
|
112
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
110
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
113
111
|
* projectId: "<PROJECT_ID>",
|
|
114
112
|
* instanceName: testServerlessInstance.name,
|
|
115
113
|
* providerName: "AWS",
|
|
116
114
|
* });
|
|
117
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
115
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
118
116
|
* projectId: "<PROJECT_ID>",
|
|
119
117
|
* instanceName: "test-db",
|
|
120
118
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -122,32 +120,31 @@ exports.getPrivatelinkEndpointsServiceServerless = getPrivatelinkEndpointsServic
|
|
|
122
120
|
* comment: "New serverless endpoint",
|
|
123
121
|
* });
|
|
124
122
|
* ```
|
|
125
|
-
* <!--End PulumiCodeChooser -->
|
|
126
123
|
*
|
|
127
124
|
* ## Example with AZURE
|
|
128
125
|
*
|
|
129
|
-
* <!--Start PulumiCodeChooser -->
|
|
130
126
|
* ```typescript
|
|
131
127
|
* import * as pulumi from "@pulumi/pulumi";
|
|
132
128
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
133
129
|
*
|
|
134
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
130
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
135
131
|
* projectId: "<PROJECT_ID>",
|
|
132
|
+
* name: "test-db",
|
|
136
133
|
* providerSettingsBackingProviderName: "AZURE",
|
|
137
134
|
* providerSettingsProviderName: "SERVERLESS",
|
|
138
135
|
* providerSettingsRegionName: "US_EAST",
|
|
139
136
|
* continuousBackupEnabled: true,
|
|
140
137
|
* });
|
|
141
|
-
* const
|
|
138
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
142
139
|
* projectId: "<PROJECT_ID>",
|
|
143
140
|
* instanceName: testServerlessInstance.name,
|
|
144
141
|
* });
|
|
145
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
142
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
146
143
|
* projectId: "<PROJECT_ID>",
|
|
147
144
|
* instanceName: testServerlessInstance.name,
|
|
148
145
|
* providerName: "AZURE",
|
|
149
146
|
* });
|
|
150
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
147
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
151
148
|
* projectId: "<PROJECT_ID>",
|
|
152
149
|
* instanceName: "test-db",
|
|
153
150
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -155,7 +152,6 @@ exports.getPrivatelinkEndpointsServiceServerless = getPrivatelinkEndpointsServic
|
|
|
155
152
|
* comment: "New serverless endpoint",
|
|
156
153
|
* });
|
|
157
154
|
* ```
|
|
158
|
-
* <!--End PulumiCodeChooser -->
|
|
159
155
|
*/
|
|
160
156
|
function getPrivatelinkEndpointsServiceServerlessOutput(args, opts) {
|
|
161
157
|
return pulumi.output(args).apply((a) => getPrivatelinkEndpointsServiceServerless(a, opts));
|