@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
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;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,69 @@ 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
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
16
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
17
|
+
* name: "project-name",
|
|
18
|
+
* orgId: test.then(test => test.orgId),
|
|
19
|
+
* teams: [
|
|
20
|
+
* {
|
|
21
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
22
|
+
* roleNames: ["GROUP_OWNER"],
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
26
|
+
* roleNames: [
|
|
27
|
+
* "GROUP_READ_ONLY",
|
|
28
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
29
|
+
* ],
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* limits: [{
|
|
33
|
+
* name: "atlas.project.deployment.clusters",
|
|
34
|
+
* value: 26,
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
38
|
+
* projectId: testProject.id,
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ### Using name attribute to query
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
46
|
+
*
|
|
47
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
48
|
+
* name: "project-name",
|
|
49
|
+
* orgId: "<ORG_ID>",
|
|
50
|
+
* teams: [
|
|
51
|
+
* {
|
|
52
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
53
|
+
* roleNames: ["GROUP_OWNER"],
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
57
|
+
* roleNames: [
|
|
58
|
+
* "GROUP_READ_ONLY",
|
|
59
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* limits: [{
|
|
64
|
+
* name: "atlas.project.deployment.clusters",
|
|
65
|
+
* value: 26,
|
|
66
|
+
* }],
|
|
67
|
+
* });
|
|
68
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
69
|
+
* name: testProject.name,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
9
72
|
*/
|
|
10
73
|
export declare function getProject(args?: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
|
|
11
74
|
/**
|
|
@@ -92,6 +155,69 @@ export interface GetProjectResult {
|
|
|
92
155
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
93
156
|
*
|
|
94
157
|
* ## Example Usage
|
|
158
|
+
*
|
|
159
|
+
* ### Using projectId attribute to query
|
|
160
|
+
* ```typescript
|
|
161
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
162
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
|
+
*
|
|
164
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
165
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
166
|
+
* name: "project-name",
|
|
167
|
+
* orgId: test.then(test => test.orgId),
|
|
168
|
+
* teams: [
|
|
169
|
+
* {
|
|
170
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
171
|
+
* roleNames: ["GROUP_OWNER"],
|
|
172
|
+
* },
|
|
173
|
+
* {
|
|
174
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
175
|
+
* roleNames: [
|
|
176
|
+
* "GROUP_READ_ONLY",
|
|
177
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
178
|
+
* ],
|
|
179
|
+
* },
|
|
180
|
+
* ],
|
|
181
|
+
* limits: [{
|
|
182
|
+
* name: "atlas.project.deployment.clusters",
|
|
183
|
+
* value: 26,
|
|
184
|
+
* }],
|
|
185
|
+
* });
|
|
186
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
187
|
+
* projectId: testProject.id,
|
|
188
|
+
* });
|
|
189
|
+
* ```
|
|
190
|
+
*
|
|
191
|
+
* ### Using name attribute to query
|
|
192
|
+
* ```typescript
|
|
193
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
194
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
195
|
+
*
|
|
196
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
197
|
+
* name: "project-name",
|
|
198
|
+
* orgId: "<ORG_ID>",
|
|
199
|
+
* teams: [
|
|
200
|
+
* {
|
|
201
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
202
|
+
* roleNames: ["GROUP_OWNER"],
|
|
203
|
+
* },
|
|
204
|
+
* {
|
|
205
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
206
|
+
* roleNames: [
|
|
207
|
+
* "GROUP_READ_ONLY",
|
|
208
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
209
|
+
* ],
|
|
210
|
+
* },
|
|
211
|
+
* ],
|
|
212
|
+
* limits: [{
|
|
213
|
+
* name: "atlas.project.deployment.clusters",
|
|
214
|
+
* value: 26,
|
|
215
|
+
* }],
|
|
216
|
+
* });
|
|
217
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
218
|
+
* name: testProject.name,
|
|
219
|
+
* });
|
|
220
|
+
* ```
|
|
95
221
|
*/
|
|
96
222
|
export declare function getProjectOutput(args?: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
|
|
97
223
|
/**
|
package/getProject.js
CHANGED
|
@@ -11,6 +11,69 @@ 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
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
21
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
22
|
+
* name: "project-name",
|
|
23
|
+
* orgId: test.then(test => test.orgId),
|
|
24
|
+
* teams: [
|
|
25
|
+
* {
|
|
26
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
27
|
+
* roleNames: ["GROUP_OWNER"],
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
31
|
+
* roleNames: [
|
|
32
|
+
* "GROUP_READ_ONLY",
|
|
33
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
34
|
+
* ],
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* limits: [{
|
|
38
|
+
* name: "atlas.project.deployment.clusters",
|
|
39
|
+
* value: 26,
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
43
|
+
* projectId: testProject.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ### Using name attribute to query
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
51
|
+
*
|
|
52
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
53
|
+
* name: "project-name",
|
|
54
|
+
* orgId: "<ORG_ID>",
|
|
55
|
+
* teams: [
|
|
56
|
+
* {
|
|
57
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
58
|
+
* roleNames: ["GROUP_OWNER"],
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
62
|
+
* roleNames: [
|
|
63
|
+
* "GROUP_READ_ONLY",
|
|
64
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* limits: [{
|
|
69
|
+
* name: "atlas.project.deployment.clusters",
|
|
70
|
+
* value: 26,
|
|
71
|
+
* }],
|
|
72
|
+
* });
|
|
73
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
74
|
+
* name: testProject.name,
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
14
77
|
*/
|
|
15
78
|
function getProject(args, opts) {
|
|
16
79
|
args = args || {};
|
|
@@ -27,6 +90,69 @@ exports.getProject = getProject;
|
|
|
27
90
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
28
91
|
*
|
|
29
92
|
* ## Example Usage
|
|
93
|
+
*
|
|
94
|
+
* ### Using projectId attribute to query
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
98
|
+
*
|
|
99
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
100
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
101
|
+
* name: "project-name",
|
|
102
|
+
* orgId: test.then(test => test.orgId),
|
|
103
|
+
* teams: [
|
|
104
|
+
* {
|
|
105
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
106
|
+
* roleNames: ["GROUP_OWNER"],
|
|
107
|
+
* },
|
|
108
|
+
* {
|
|
109
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
110
|
+
* roleNames: [
|
|
111
|
+
* "GROUP_READ_ONLY",
|
|
112
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
113
|
+
* ],
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* limits: [{
|
|
117
|
+
* name: "atlas.project.deployment.clusters",
|
|
118
|
+
* value: 26,
|
|
119
|
+
* }],
|
|
120
|
+
* });
|
|
121
|
+
* const testGetProject = mongodbatlas.getProjectOutput({
|
|
122
|
+
* projectId: testProject.id,
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* ### Using name attribute to query
|
|
127
|
+
* ```typescript
|
|
128
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
129
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
130
|
+
*
|
|
131
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
132
|
+
* name: "project-name",
|
|
133
|
+
* orgId: "<ORG_ID>",
|
|
134
|
+
* teams: [
|
|
135
|
+
* {
|
|
136
|
+
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
137
|
+
* roleNames: ["GROUP_OWNER"],
|
|
138
|
+
* },
|
|
139
|
+
* {
|
|
140
|
+
* teamId: "5e1dd7b4f2a30ba80a70cd4rw",
|
|
141
|
+
* roleNames: [
|
|
142
|
+
* "GROUP_READ_ONLY",
|
|
143
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
144
|
+
* ],
|
|
145
|
+
* },
|
|
146
|
+
* ],
|
|
147
|
+
* limits: [{
|
|
148
|
+
* name: "atlas.project.deployment.clusters",
|
|
149
|
+
* value: 26,
|
|
150
|
+
* }],
|
|
151
|
+
* });
|
|
152
|
+
* const test = mongodbatlas.getProjectOutput({
|
|
153
|
+
* name: testProject.name,
|
|
154
|
+
* });
|
|
155
|
+
* ```
|
|
30
156
|
*/
|
|
31
157
|
function getProjectOutput(args, opts) {
|
|
32
158
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;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,24 @@ 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
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
|
+
*
|
|
11
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
12
|
+
* description: "Description of your API key",
|
|
13
|
+
* projectAssignments: [{
|
|
14
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
15
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
16
|
+
* }],
|
|
17
|
+
* });
|
|
18
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
19
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
20
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
5
23
|
*/
|
|
6
24
|
export declare function getProjectApiKey(args: GetProjectApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectApiKeyResult>;
|
|
7
25
|
/**
|
|
@@ -46,6 +64,24 @@ export interface GetProjectApiKeyResult {
|
|
|
46
64
|
}
|
|
47
65
|
/**
|
|
48
66
|
* ## Example Usage
|
|
67
|
+
*
|
|
68
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
72
|
+
*
|
|
73
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
74
|
+
* description: "Description of your API key",
|
|
75
|
+
* projectAssignments: [{
|
|
76
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
77
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
78
|
+
* }],
|
|
79
|
+
* });
|
|
80
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
81
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
82
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
49
85
|
*/
|
|
50
86
|
export declare function getProjectApiKeyOutput(args: GetProjectApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectApiKeyResult>;
|
|
51
87
|
/**
|
package/getProjectApiKey.js
CHANGED
|
@@ -7,6 +7,24 @@ 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
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
17
|
+
* description: "Description of your API key",
|
|
18
|
+
* projectAssignments: [{
|
|
19
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
20
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
24
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
25
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
10
28
|
*/
|
|
11
29
|
function getProjectApiKey(args, opts) {
|
|
12
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +36,24 @@ function getProjectApiKey(args, opts) {
|
|
|
18
36
|
exports.getProjectApiKey = getProjectApiKey;
|
|
19
37
|
/**
|
|
20
38
|
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### Using projectId and apiKeyId attribute to query
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
44
|
+
*
|
|
45
|
+
* const testProjectApiKey = new mongodbatlas.ProjectApiKey("test", {
|
|
46
|
+
* description: "Description of your API key",
|
|
47
|
+
* projectAssignments: [{
|
|
48
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
49
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
50
|
+
* }],
|
|
51
|
+
* });
|
|
52
|
+
* const test = mongodbatlas.getProjectApiKey({
|
|
53
|
+
* projectId: "64259ee860c43338194b0f8e",
|
|
54
|
+
* apiKeyId: testMongodbatlasApiKey.apiKeyId,
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
21
57
|
*/
|
|
22
58
|
function getProjectApiKeyOutput(args, opts) {
|
|
23
59
|
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;;;;;;;;;;;;;;;;;;;;GAoBG;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;;;;;;;;;;;;;;;;;;;;GAoBG;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
|
@@ -3,18 +3,16 @@ import * as outputs from "./types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
5
|
*
|
|
6
|
-
* <!--Start PulumiCodeChooser -->
|
|
7
6
|
* ```typescript
|
|
8
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
8
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
9
|
*
|
|
11
10
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
12
|
-
* itemsPerPage: 5,
|
|
13
11
|
* pageNum: 1,
|
|
12
|
+
* itemsPerPage: 5,
|
|
14
13
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
15
14
|
* });
|
|
16
15
|
* ```
|
|
17
|
-
* <!--End PulumiCodeChooser -->
|
|
18
16
|
*/
|
|
19
17
|
export declare function getProjectApiKeys(args: GetProjectApiKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectApiKeysResult>;
|
|
20
18
|
/**
|
|
@@ -56,18 +54,16 @@ export interface GetProjectApiKeysResult {
|
|
|
56
54
|
/**
|
|
57
55
|
* ## Example Usage
|
|
58
56
|
*
|
|
59
|
-
* <!--Start PulumiCodeChooser -->
|
|
60
57
|
* ```typescript
|
|
61
58
|
* import * as pulumi from "@pulumi/pulumi";
|
|
62
59
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
63
60
|
*
|
|
64
61
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
65
|
-
* itemsPerPage: 5,
|
|
66
62
|
* pageNum: 1,
|
|
63
|
+
* itemsPerPage: 5,
|
|
67
64
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
68
65
|
* });
|
|
69
66
|
* ```
|
|
70
|
-
* <!--End PulumiCodeChooser -->
|
|
71
67
|
*/
|
|
72
68
|
export declare function getProjectApiKeysOutput(args: GetProjectApiKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectApiKeysResult>;
|
|
73
69
|
/**
|
package/getProjectApiKeys.js
CHANGED
|
@@ -8,18 +8,16 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
14
|
*
|
|
16
15
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
17
|
-
* itemsPerPage: 5,
|
|
18
16
|
* pageNum: 1,
|
|
17
|
+
* itemsPerPage: 5,
|
|
19
18
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
20
19
|
* });
|
|
21
20
|
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
21
|
*/
|
|
24
22
|
function getProjectApiKeys(args, opts) {
|
|
25
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -33,18 +31,16 @@ exports.getProjectApiKeys = getProjectApiKeys;
|
|
|
33
31
|
/**
|
|
34
32
|
* ## Example Usage
|
|
35
33
|
*
|
|
36
|
-
* <!--Start PulumiCodeChooser -->
|
|
37
34
|
* ```typescript
|
|
38
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
36
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
40
37
|
*
|
|
41
38
|
* const test = mongodbatlas.getProjectApiKeys({
|
|
42
|
-
* itemsPerPage: 5,
|
|
43
39
|
* pageNum: 1,
|
|
40
|
+
* itemsPerPage: 5,
|
|
44
41
|
* projectId: "32b6e34b3d91647abb20e7b8",
|
|
45
42
|
* });
|
|
46
43
|
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
44
|
*/
|
|
49
45
|
function getProjectApiKeysOutput(args, opts) {
|
|
50
46
|
return pulumi.output(args).apply((a) => getProjectApiKeys(a, opts));
|
package/getProjectApiKeys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectApiKeys.js","sourceRoot":"","sources":["../getProjectApiKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectApiKeys.js","sourceRoot":"","sources":["../getProjectApiKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAuCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -5,6 +5,23 @@ 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
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
16
|
+
* username: "test-acc-username",
|
|
17
|
+
* projectId: "<PROJECT-ID>",
|
|
18
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
19
|
+
* });
|
|
20
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
21
|
+
* projectId: testProjectInvitation.projectId,
|
|
22
|
+
* username: testProjectInvitation.username,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
8
25
|
*/
|
|
9
26
|
export declare function getProjectInvitation(args: GetProjectInvitationArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectInvitationResult>;
|
|
10
27
|
/**
|
|
@@ -58,6 +75,23 @@ export interface GetProjectInvitationResult {
|
|
|
58
75
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
59
76
|
*
|
|
60
77
|
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ### S
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
84
|
+
*
|
|
85
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
86
|
+
* username: "test-acc-username",
|
|
87
|
+
* projectId: "<PROJECT-ID>",
|
|
88
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
89
|
+
* });
|
|
90
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
91
|
+
* projectId: testProjectInvitation.projectId,
|
|
92
|
+
* username: testProjectInvitation.username,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
61
95
|
*/
|
|
62
96
|
export declare function getProjectInvitationOutput(args: GetProjectInvitationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectInvitationResult>;
|
|
63
97
|
/**
|
package/getProjectInvitation.js
CHANGED
|
@@ -11,6 +11,23 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### S
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
20
|
+
*
|
|
21
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
22
|
+
* username: "test-acc-username",
|
|
23
|
+
* projectId: "<PROJECT-ID>",
|
|
24
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
25
|
+
* });
|
|
26
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
27
|
+
* projectId: testProjectInvitation.projectId,
|
|
28
|
+
* username: testProjectInvitation.username,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
14
31
|
*/
|
|
15
32
|
function getProjectInvitation(args, opts) {
|
|
16
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,6 +44,23 @@ exports.getProjectInvitation = getProjectInvitation;
|
|
|
27
44
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
28
45
|
*
|
|
29
46
|
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ### S
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
53
|
+
*
|
|
54
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
55
|
+
* username: "test-acc-username",
|
|
56
|
+
* projectId: "<PROJECT-ID>",
|
|
57
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
58
|
+
* });
|
|
59
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
60
|
+
* projectId: testProjectInvitation.projectId,
|
|
61
|
+
* username: testProjectInvitation.username,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
30
64
|
*/
|
|
31
65
|
function getProjectInvitationOutput(args, opts) {
|
|
32
66
|
return pulumi.output(args).apply((a) => getProjectInvitation(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectInvitation.js","sourceRoot":"","sources":["../getProjectInvitation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectInvitation.js","sourceRoot":"","sources":["../getProjectInvitation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAgDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|