@pulumi/mongodbatlas 3.15.0-alpha.1712987729 → 3.15.0-alpha.1713461951
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 -4
- package/accessListApiKey.js +4 -4
- package/advancedCluster.d.ts +28 -45
- package/advancedCluster.js +28 -45
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -44
- package/alertConfiguration.js +44 -44
- package/auditing.d.ts +2 -2
- package/auditing.js +2 -2
- package/backupCompliancePolicy.d.ts +85 -0
- package/backupCompliancePolicy.js +85 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -7
- package/cloudBackupSnapshot.js +7 -7
- package/cloudBackupSnapshotExportBucket.d.ts +2 -2
- package/cloudBackupSnapshotExportBucket.js +2 -2
- package/cloudBackupSnapshotExportJob.d.ts +3 -3
- package/cloudBackupSnapshotExportJob.js +3 -3
- package/cloudBackupSnapshotRestoreJob.d.ts +78 -11
- package/cloudBackupSnapshotRestoreJob.js +78 -11
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -64
- package/cluster.js +48 -64
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -2
- package/clusterOutageSimulation.js +2 -2
- package/customDbRole.d.ts +6 -6
- package/customDbRole.js +6 -6
- package/customDnsConfigurationClusterAws.d.ts +1 -1
- package/customDnsConfigurationClusterAws.js +1 -1
- package/databaseUser.d.ts +19 -19
- package/databaseUser.js +19 -19
- package/eventTrigger.d.ts +24 -20
- package/eventTrigger.js +24 -20
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -8
- package/federatedDatabaseInstance.js +10 -8
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -2
- package/federatedQueryLimit.js +2 -2
- package/federatedSettingsIdentityProvider.d.ts +6 -5
- package/federatedSettingsIdentityProvider.js +6 -5
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -2
- package/federatedSettingsOrgRoleMapping.js +2 -2
- package/get509AuthenticationDatabaseUser.d.ts +64 -0
- package/get509AuthenticationDatabaseUser.js +64 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAdvancedCluster.d.ts +60 -0
- package/getAdvancedCluster.js +60 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +202 -0
- package/getAlertConfiguration.js +202 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -2
- package/getAtlasUsers.js +2 -2
- package/getAuditing.d.ts +38 -0
- package/getAuditing.js +38 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +170 -0
- package/getBackupCompliancePolicy.js +170 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +58 -0
- package/getCloudBackupSchedule.js +58 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +42 -0
- package/getCloudBackupSnapshot.js +42 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +40 -0
- package/getCloudBackupSnapshotExportBucket.js +40 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -8
- package/getCloudBackupSnapshotExportBuckets.js +8 -8
- package/getCloudBackupSnapshotExportJob.d.ts +62 -0
- package/getCloudBackupSnapshotExportJob.js +62 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -6
- package/getCloudBackupSnapshotExportJobs.js +6 -6
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -6
- package/getCloudBackupSnapshotRestoreJobs.js +6 -6
- package/getCloudProviderAccessSetup.d.ts +4 -4
- package/getCloudProviderAccessSetup.js +4 -4
- package/getCluster.d.ts +64 -0
- package/getCluster.js +64 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -2
- package/getClusterOutageSimulation.js +2 -2
- package/getClusters.d.ts +6 -4
- package/getClusters.js +6 -4
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -2
- package/getCustomDbRole.js +2 -2
- package/getCustomDnsConfigurationClusterAws.d.ts +34 -0
- package/getCustomDnsConfigurationClusterAws.js +34 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +132 -0
- package/getDatabaseUser.js +132 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -14
- package/getDatabaseUsers.js +14 -14
- package/getFederatedDatabaseInstance.d.ts +6 -6
- package/getFederatedDatabaseInstance.js +6 -6
- package/getFederatedQueryLimit.d.ts +2 -2
- package/getFederatedQueryLimit.js +2 -2
- package/getFederatedSettingsIdentityProvider.d.ts +4 -2
- package/getFederatedSettingsIdentityProvider.js +4 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -2
- package/getFederatedSettingsIdentityProviders.js +4 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -6
- package/getFederatedSettingsOrgConfig.js +6 -6
- package/getFederatedSettingsOrgConfigs.d.ts +6 -6
- package/getFederatedSettingsOrgConfigs.js +6 -6
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -4
- package/getFederatedSettingsOrgRoleMapping.js +4 -4
- package/getGlobalClusterConfig.d.ts +114 -0
- package/getGlobalClusterConfig.js +114 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +50 -0
- package/getLdapConfiguration.js +50 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +70 -0
- package/getLdapVerify.js +70 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +68 -0
- package/getMaintenanceWindow.js +68 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +40 -0
- package/getNetworkContainer.js +40 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -4
- package/getNetworkContainers.js +4 -4
- package/getNetworkPeering.d.ts +46 -0
- package/getNetworkPeering.js +46 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -4
- package/getNetworkPeerings.js +4 -4
- package/getOrganizations.d.ts +2 -2
- package/getOrganizations.js +2 -2
- package/getPrivateLinkEndpoint.d.ts +46 -0
- package/getPrivateLinkEndpoint.js +46 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointServiceServerless.js +20 -16
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +134 -0
- package/getProject.js +134 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +40 -0
- package/getProjectApiKey.js +40 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -2
- package/getProjectApiKeys.js +2 -2
- package/getProjectInvitation.d.ts +38 -0
- package/getProjectInvitation.js +38 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +146 -0
- package/getProjectIpAccessList.js +146 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -8
- package/getProjects.js +10 -8
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +2 -2
- package/getSearchIndex.js +2 -2
- package/getThirdPartyIntegration.d.ts +2 -2
- package/getThirdPartyIntegration.js +2 -2
- package/getThirdPartyIntegrations.d.ts +4 -4
- package/getThirdPartyIntegrations.js +4 -4
- package/getX509AuthenticationDatabaseUser.d.ts +64 -0
- package/getX509AuthenticationDatabaseUser.js +64 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -2
- package/globalClusterConfig.js +4 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -6
- package/ldapConfiguration.js +12 -6
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -6
- package/ldapVerify.js +9 -6
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -2
- package/maintenanceWindow.js +2 -2
- package/networkContainer.d.ts +3 -3
- package/networkContainer.js +3 -3
- package/networkPeering.d.ts +38 -143
- package/networkPeering.js +38 -143
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -8
- package/onlineArchive.js +8 -8
- package/orgInvitation.d.ts +4 -4
- package/orgInvitation.js +4 -4
- package/organization.d.ts +2 -1
- package/organization.js +2 -1
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpointService.d.ts +95 -22
- package/privateLinkEndpointService.js +95 -22
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -2
- package/privatelinkEndpointServerless.js +3 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +54 -6
- package/privatelinkEndpointServiceServerless.js +54 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -3
- package/project.js +4 -3
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +2 -2
- package/projectInvitation.js +2 -2
- package/projectIpAccessList.d.ts +8 -8
- package/projectIpAccessList.js +8 -8
- package/searchIndex.d.ts +4 -2
- package/searchIndex.js +4 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -0
- package/serverlessInstance.js +1 -0
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -3
- package/thirdPartyIntegration.js +3 -3
|
@@ -17,23 +17,24 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
20
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
21
21
|
* projectId: "<PROJECT_ID>",
|
|
22
|
+
* name: "test-db",
|
|
22
23
|
* providerSettingsBackingProviderName: "AWS",
|
|
23
24
|
* providerSettingsProviderName: "SERVERLESS",
|
|
24
25
|
* providerSettingsRegionName: "US_EAST_1",
|
|
25
26
|
* continuousBackupEnabled: true,
|
|
26
27
|
* });
|
|
27
|
-
* const
|
|
28
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
28
29
|
* projectId: "<PROJECT_ID>",
|
|
29
30
|
* instanceName: testServerlessInstance.name,
|
|
30
31
|
* });
|
|
31
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
32
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
32
33
|
* projectId: "<PROJECT_ID>",
|
|
33
34
|
* instanceName: testServerlessInstance.name,
|
|
34
35
|
* providerName: "AWS",
|
|
35
36
|
* });
|
|
36
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
37
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
37
38
|
* projectId: "<PROJECT_ID>",
|
|
38
39
|
* instanceName: "test-db",
|
|
39
40
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -50,23 +51,24 @@ const utilities = require("./utilities");
|
|
|
50
51
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
52
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
52
53
|
*
|
|
53
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
54
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
54
55
|
* projectId: "<PROJECT_ID>",
|
|
56
|
+
* name: "test-db",
|
|
55
57
|
* providerSettingsBackingProviderName: "AZURE",
|
|
56
58
|
* providerSettingsProviderName: "SERVERLESS",
|
|
57
59
|
* providerSettingsRegionName: "US_EAST",
|
|
58
60
|
* continuousBackupEnabled: true,
|
|
59
61
|
* });
|
|
60
|
-
* const
|
|
62
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
61
63
|
* projectId: "<PROJECT_ID>",
|
|
62
64
|
* instanceName: testServerlessInstance.name,
|
|
63
65
|
* });
|
|
64
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
66
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
65
67
|
* projectId: "<PROJECT_ID>",
|
|
66
68
|
* instanceName: testServerlessInstance.name,
|
|
67
69
|
* providerName: "AZURE",
|
|
68
70
|
* });
|
|
69
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
71
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
70
72
|
* projectId: "<PROJECT_ID>",
|
|
71
73
|
* instanceName: "test-db",
|
|
72
74
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -98,23 +100,24 @@ exports.getPrivatelinkEndpointsServiceServerless = getPrivatelinkEndpointsServic
|
|
|
98
100
|
* import * as pulumi from "@pulumi/pulumi";
|
|
99
101
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
100
102
|
*
|
|
101
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
103
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
102
104
|
* projectId: "<PROJECT_ID>",
|
|
105
|
+
* name: "test-db",
|
|
103
106
|
* providerSettingsBackingProviderName: "AWS",
|
|
104
107
|
* providerSettingsProviderName: "SERVERLESS",
|
|
105
108
|
* providerSettingsRegionName: "US_EAST_1",
|
|
106
109
|
* continuousBackupEnabled: true,
|
|
107
110
|
* });
|
|
108
|
-
* const
|
|
111
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
109
112
|
* projectId: "<PROJECT_ID>",
|
|
110
113
|
* instanceName: testServerlessInstance.name,
|
|
111
114
|
* });
|
|
112
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
115
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
113
116
|
* projectId: "<PROJECT_ID>",
|
|
114
117
|
* instanceName: testServerlessInstance.name,
|
|
115
118
|
* providerName: "AWS",
|
|
116
119
|
* });
|
|
117
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
120
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
118
121
|
* projectId: "<PROJECT_ID>",
|
|
119
122
|
* instanceName: "test-db",
|
|
120
123
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -131,23 +134,24 @@ exports.getPrivatelinkEndpointsServiceServerless = getPrivatelinkEndpointsServic
|
|
|
131
134
|
* import * as pulumi from "@pulumi/pulumi";
|
|
132
135
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
133
136
|
*
|
|
134
|
-
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("
|
|
137
|
+
* const testServerlessInstance = new mongodbatlas.ServerlessInstance("test", {
|
|
135
138
|
* projectId: "<PROJECT_ID>",
|
|
139
|
+
* name: "test-db",
|
|
136
140
|
* providerSettingsBackingProviderName: "AZURE",
|
|
137
141
|
* providerSettingsProviderName: "SERVERLESS",
|
|
138
142
|
* providerSettingsRegionName: "US_EAST",
|
|
139
143
|
* continuousBackupEnabled: true,
|
|
140
144
|
* });
|
|
141
|
-
* const
|
|
145
|
+
* const test = mongodbatlas.getPrivatelinkEndpointsServiceServerlessOutput({
|
|
142
146
|
* projectId: "<PROJECT_ID>",
|
|
143
147
|
* instanceName: testServerlessInstance.name,
|
|
144
148
|
* });
|
|
145
|
-
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("
|
|
149
|
+
* const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("test", {
|
|
146
150
|
* projectId: "<PROJECT_ID>",
|
|
147
151
|
* instanceName: testServerlessInstance.name,
|
|
148
152
|
* providerName: "AZURE",
|
|
149
153
|
* });
|
|
150
|
-
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("
|
|
154
|
+
* const testPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("test", {
|
|
151
155
|
* projectId: "<PROJECT_ID>",
|
|
152
156
|
* instanceName: "test-db",
|
|
153
157
|
* endpointId: testPrivatelinkEndpointServerless.endpointId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrivatelinkEndpointsServiceServerless.js","sourceRoot":"","sources":["../getPrivatelinkEndpointsServiceServerless.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getPrivatelinkEndpointsServiceServerless.js","sourceRoot":"","sources":["../getPrivatelinkEndpointsServiceServerless.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IAEpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sGAAsG,EAAE;QACjI,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4FASC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;AACH,SAAgB,8CAA8C,CAAC,IAAwD,EAAE,IAA2B;IAChJ,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wCAAwC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnG,CAAC;AAFD,wGAEC"}
|
package/getProject.d.ts
CHANGED
|
@@ -6,6 +6,73 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Using projectId attribute to query
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
17
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
18
|
+
* name: "project-name",
|
|
19
|
+
* orgId: test.then(test => test.orgId),
|
|
20
|
+
* teams: [
|
|
21
|
+
* {
|
|
22
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
23
|
+
* roleNames: ["GROUP_OWNER"],
|
|
24
|
+
* },
|
|
25
|
+
* {
|
|
26
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
27
|
+
* roleNames: [
|
|
28
|
+
* "GROUP_READ_ONLY",
|
|
29
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
30
|
+
* ],
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
33
|
+
* limits: [{
|
|
34
|
+
* name: "atlas.project.deployment.clusters",
|
|
35
|
+
* value: 26,
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
39
|
+
* projectId: testProject.id,
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
43
|
+
*
|
|
44
|
+
* ### Using name attribute to query
|
|
45
|
+
* <!--Start PulumiCodeChooser -->
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
49
|
+
*
|
|
50
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
51
|
+
* name: "project-name",
|
|
52
|
+
* orgId: "<ORG_ID>",
|
|
53
|
+
* teams: [
|
|
54
|
+
* {
|
|
55
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
56
|
+
* roleNames: ["GROUP_OWNER"],
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
60
|
+
* roleNames: [
|
|
61
|
+
* "GROUP_READ_ONLY",
|
|
62
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* limits: [{
|
|
67
|
+
* name: "atlas.project.deployment.clusters",
|
|
68
|
+
* value: 26,
|
|
69
|
+
* }],
|
|
70
|
+
* });
|
|
71
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
72
|
+
* name: testProject.name,
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
* <!--End PulumiCodeChooser -->
|
|
9
76
|
*/
|
|
10
77
|
export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
|
|
11
78
|
/**
|
|
@@ -92,6 +159,73 @@ export interface GetProjectResult {
|
|
|
92
159
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
93
160
|
*
|
|
94
161
|
* ## Example Usage
|
|
162
|
+
*
|
|
163
|
+
* ### Using projectId attribute to query
|
|
164
|
+
* <!--Start PulumiCodeChooser -->
|
|
165
|
+
* ```typescript
|
|
166
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
167
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
168
|
+
*
|
|
169
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
170
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
171
|
+
* name: "project-name",
|
|
172
|
+
* orgId: test.then(test => test.orgId),
|
|
173
|
+
* teams: [
|
|
174
|
+
* {
|
|
175
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
176
|
+
* roleNames: ["GROUP_OWNER"],
|
|
177
|
+
* },
|
|
178
|
+
* {
|
|
179
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
180
|
+
* roleNames: [
|
|
181
|
+
* "GROUP_READ_ONLY",
|
|
182
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
183
|
+
* ],
|
|
184
|
+
* },
|
|
185
|
+
* ],
|
|
186
|
+
* limits: [{
|
|
187
|
+
* name: "atlas.project.deployment.clusters",
|
|
188
|
+
* value: 26,
|
|
189
|
+
* }],
|
|
190
|
+
* });
|
|
191
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
192
|
+
* projectId: testProject.id,
|
|
193
|
+
* });
|
|
194
|
+
* ```
|
|
195
|
+
* <!--End PulumiCodeChooser -->
|
|
196
|
+
*
|
|
197
|
+
* ### Using name attribute to query
|
|
198
|
+
* <!--Start PulumiCodeChooser -->
|
|
199
|
+
* ```typescript
|
|
200
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
201
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
202
|
+
*
|
|
203
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
204
|
+
* name: "project-name",
|
|
205
|
+
* orgId: "<ORG_ID>",
|
|
206
|
+
* teams: [
|
|
207
|
+
* {
|
|
208
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
209
|
+
* roleNames: ["GROUP_OWNER"],
|
|
210
|
+
* },
|
|
211
|
+
* {
|
|
212
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
213
|
+
* roleNames: [
|
|
214
|
+
* "GROUP_READ_ONLY",
|
|
215
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
216
|
+
* ],
|
|
217
|
+
* },
|
|
218
|
+
* ],
|
|
219
|
+
* limits: [{
|
|
220
|
+
* name: "atlas.project.deployment.clusters",
|
|
221
|
+
* value: 26,
|
|
222
|
+
* }],
|
|
223
|
+
* });
|
|
224
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
225
|
+
* name: testProject.name,
|
|
226
|
+
* });
|
|
227
|
+
* ```
|
|
228
|
+
* <!--End PulumiCodeChooser -->
|
|
95
229
|
*/
|
|
96
230
|
export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
|
|
97
231
|
/**
|
package/getProject.js
CHANGED
|
@@ -11,6 +11,73 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Using projectId attribute to query
|
|
16
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
20
|
+
*
|
|
21
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
22
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
23
|
+
* name: "project-name",
|
|
24
|
+
* orgId: test.then(test => test.orgId),
|
|
25
|
+
* teams: [
|
|
26
|
+
* {
|
|
27
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
28
|
+
* roleNames: ["GROUP_OWNER"],
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
32
|
+
* roleNames: [
|
|
33
|
+
* "GROUP_READ_ONLY",
|
|
34
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
35
|
+
* ],
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* limits: [{
|
|
39
|
+
* name: "atlas.project.deployment.clusters",
|
|
40
|
+
* value: 26,
|
|
41
|
+
* }],
|
|
42
|
+
* });
|
|
43
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
44
|
+
* projectId: testProject.id,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
* <!--End PulumiCodeChooser -->
|
|
48
|
+
*
|
|
49
|
+
* ### Using name attribute to query
|
|
50
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
+
*
|
|
55
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
56
|
+
* name: "project-name",
|
|
57
|
+
* orgId: "<ORG_ID>",
|
|
58
|
+
* teams: [
|
|
59
|
+
* {
|
|
60
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
61
|
+
* roleNames: ["GROUP_OWNER"],
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
65
|
+
* roleNames: [
|
|
66
|
+
* "GROUP_READ_ONLY",
|
|
67
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* limits: [{
|
|
72
|
+
* name: "atlas.project.deployment.clusters",
|
|
73
|
+
* value: 26,
|
|
74
|
+
* }],
|
|
75
|
+
* });
|
|
76
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
77
|
+
* name: testProject.name,
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
* <!--End PulumiCodeChooser -->
|
|
14
81
|
*/
|
|
15
82
|
function getProject(args, opts) {
|
|
16
83
|
args = args || {};
|
|
@@ -27,6 +94,73 @@ exports.getProject = getProject;
|
|
|
27
94
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
28
95
|
*
|
|
29
96
|
* ## Example Usage
|
|
97
|
+
*
|
|
98
|
+
* ### Using projectId attribute to query
|
|
99
|
+
* <!--Start PulumiCodeChooser -->
|
|
100
|
+
* ```typescript
|
|
101
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
103
|
+
*
|
|
104
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
105
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
106
|
+
* name: "project-name",
|
|
107
|
+
* orgId: test.then(test => test.orgId),
|
|
108
|
+
* teams: [
|
|
109
|
+
* {
|
|
110
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
111
|
+
* roleNames: ["GROUP_OWNER"],
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
115
|
+
* roleNames: [
|
|
116
|
+
* "GROUP_READ_ONLY",
|
|
117
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
118
|
+
* ],
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* limits: [{
|
|
122
|
+
* name: "atlas.project.deployment.clusters",
|
|
123
|
+
* value: 26,
|
|
124
|
+
* }],
|
|
125
|
+
* });
|
|
126
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
127
|
+
* projectId: testProject.id,
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
130
|
+
* <!--End PulumiCodeChooser -->
|
|
131
|
+
*
|
|
132
|
+
* ### Using name attribute to query
|
|
133
|
+
* <!--Start PulumiCodeChooser -->
|
|
134
|
+
* ```typescript
|
|
135
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
136
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
137
|
+
*
|
|
138
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
139
|
+
* name: "project-name",
|
|
140
|
+
* orgId: "<ORG_ID>",
|
|
141
|
+
* teams: [
|
|
142
|
+
* {
|
|
143
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
144
|
+
* roleNames: ["GROUP_OWNER"],
|
|
145
|
+
* },
|
|
146
|
+
* {
|
|
147
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
148
|
+
* roleNames: [
|
|
149
|
+
* "GROUP_READ_ONLY",
|
|
150
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* ],
|
|
154
|
+
* limits: [{
|
|
155
|
+
* name: "atlas.project.deployment.clusters",
|
|
156
|
+
* value: 26,
|
|
157
|
+
* }],
|
|
158
|
+
* });
|
|
159
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
160
|
+
* name: testProject.name,
|
|
161
|
+
* });
|
|
162
|
+
* ```
|
|
163
|
+
* <!--End PulumiCodeChooser -->
|
|
30
164
|
*/
|
|
31
165
|
function getProjectOutput(args, opts) {
|
|
32
166
|
return pulumi.output(args).apply((a) => getProject(a, opts));
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAiFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getProjectApiKey.d.ts
CHANGED
|
@@ -2,6 +2,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
|
+
*
|
|
12
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
13
|
+
* description: "Description of your API key",
|
|
14
|
+
* projectAssignments: [{
|
|
15
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
16
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
17
|
+
* }],
|
|
18
|
+
* });
|
|
19
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
20
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
21
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
5
25
|
*/
|
|
6
26
|
export declare function getProjectApiKey(args: GetProjectApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectApiKeyResult>;
|
|
7
27
|
/**
|
|
@@ -46,6 +66,26 @@ export interface GetProjectApiKeyResult {
|
|
|
46
66
|
}
|
|
47
67
|
/**
|
|
48
68
|
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
71
|
+
* <!--Start PulumiCodeChooser -->
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
75
|
+
*
|
|
76
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
77
|
+
* description: "Description of your API key",
|
|
78
|
+
* projectAssignments: [{
|
|
79
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
80
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
84
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
85
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
* <!--End PulumiCodeChooser -->
|
|
49
89
|
*/
|
|
50
90
|
export declare function getProjectApiKeyOutput(args: GetProjectApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectApiKeyResult>;
|
|
51
91
|
/**
|
package/getProjectApiKey.js
CHANGED
|
@@ -7,6 +7,26 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
18
|
+
* description: "Description of your API key",
|
|
19
|
+
* projectAssignments: [{
|
|
20
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
21
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
25
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
26
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
10
30
|
*/
|
|
11
31
|
function getProjectApiKey(args, opts) {
|
|
12
32
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +38,26 @@ function getProjectApiKey(args, opts) {
|
|
|
18
38
|
exports.getProjectApiKey = getProjectApiKey;
|
|
19
39
|
/**
|
|
20
40
|
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
43
|
+
* <!--Start PulumiCodeChooser -->
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
47
|
+
*
|
|
48
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
49
|
+
* description: "Description of your API key",
|
|
50
|
+
* projectAssignments: [{
|
|
51
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
52
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
53
|
+
* }],
|
|
54
|
+
* });
|
|
55
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
56
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
57
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
* <!--End PulumiCodeChooser -->
|
|
21
61
|
*/
|
|
22
62
|
function getProjectApiKeyOutput(args, opts) {
|
|
23
63
|
return pulumi.output(args).apply((a) => getProjectApiKey(a, opts));
|
package/getProjectApiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectApiKey.js","sourceRoot":"","sources":["../getProjectApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectApiKey.js","sourceRoot":"","sources":["../getProjectApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AA2CD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getProjectApiKeys.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
10
|
*
|
|
11
11
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
12
|
-
* itemsPerPage: 5,
|
|
13
12
|
* pageNum: 1,
|
|
13
|
+
* itemsPerPage: 5,
|
|
14
14
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
@@ -62,8 +62,8 @@ export interface GetProjectApiKeysResult {
|
|
|
62
62
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
63
63
|
*
|
|
64
64
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
65
|
-
* itemsPerPage: 5,
|
|
66
65
|
* pageNum: 1,
|
|
66
|
+
* itemsPerPage: 5,
|
|
67
67
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
68
68
|
* });
|
|
69
69
|
* ```
|
package/getProjectApiKeys.js
CHANGED
|
@@ -14,8 +14,8 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
15
|
*
|
|
16
16
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
17
|
-
* itemsPerPage: 5,
|
|
18
17
|
* pageNum: 1,
|
|
18
|
+
* itemsPerPage: 5,
|
|
19
19
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
@@ -39,8 +39,8 @@ exports.getProjectApiKeys = getProjectApiKeys;
|
|
|
39
39
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
40
40
|
*
|
|
41
41
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
42
|
-
* itemsPerPage: 5,
|
|
43
42
|
* pageNum: 1,
|
|
43
|
+
* itemsPerPage: 5,
|
|
44
44
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
@@ -5,6 +5,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### S
|
|
10
|
+
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
17
|
+
* username: "test-acc-username",
|
|
18
|
+
* projectId: "<PROJECT-ID>",
|
|
19
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
20
|
+
* });
|
|
21
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
22
|
+
* projectId: testProjectInvitation.projectId,
|
|
23
|
+
* username: testProjectInvitation.username,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
* <!--End PulumiCodeChooser -->
|
|
8
27
|
*/
|
|
9
28
|
export declare function getProjectInvitation(args: GetProjectInvitationArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectInvitationResult>;
|
|
10
29
|
/**
|
|
@@ -58,6 +77,25 @@ export interface GetProjectInvitationResult {
|
|
|
58
77
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
59
78
|
*
|
|
60
79
|
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* ### S
|
|
82
|
+
*
|
|
83
|
+
* <!--Start PulumiCodeChooser -->
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
|
+
*
|
|
88
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
89
|
+
* username: "test-acc-username",
|
|
90
|
+
* projectId: "<PROJECT-ID>",
|
|
91
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
92
|
+
* });
|
|
93
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
94
|
+
* projectId: testProjectInvitation.projectId,
|
|
95
|
+
* username: testProjectInvitation.username,
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
* <!--End PulumiCodeChooser -->
|
|
61
99
|
*/
|
|
62
100
|
export declare function getProjectInvitationOutput(args: GetProjectInvitationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectInvitationResult>;
|
|
63
101
|
/**
|