@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
package/getDatabaseUser.d.ts
CHANGED
|
@@ -6,6 +6,68 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
7
7
|
*
|
|
8
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
17
|
+
* username: "test-acc-username",
|
|
18
|
+
* password: "test-acc-password",
|
|
19
|
+
* projectId: "<PROJECT-ID>",
|
|
20
|
+
* authDatabaseName: "admin",
|
|
21
|
+
* roles: [
|
|
22
|
+
* {
|
|
23
|
+
* roleName: "readWrite",
|
|
24
|
+
* databaseName: "admin",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* roleName: "atlasAdmin",
|
|
28
|
+
* databaseName: "admin",
|
|
29
|
+
* },
|
|
30
|
+
* ],
|
|
31
|
+
* labels: [
|
|
32
|
+
* {
|
|
33
|
+
* key: "key 1",
|
|
34
|
+
* value: "value 1",
|
|
35
|
+
* },
|
|
36
|
+
* {
|
|
37
|
+
* key: "key 2",
|
|
38
|
+
* value: "value 2",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* });
|
|
42
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
43
|
+
* projectId: testDatabaseUser.projectId,
|
|
44
|
+
* username: testDatabaseUser.username,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
53
|
+
*
|
|
54
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
55
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
56
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
57
|
+
* authDatabaseName: "admin",
|
|
58
|
+
* oidcAuthType: "IDP_GROUP",
|
|
59
|
+
* roles: [{
|
|
60
|
+
* roleName: "readWriteAnyDatabase",
|
|
61
|
+
* databaseName: "admin",
|
|
62
|
+
* }],
|
|
63
|
+
* });
|
|
64
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
65
|
+
* username: testDatabaseUser.username,
|
|
66
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
67
|
+
* authDatabaseName: "admin",
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
9
71
|
*/
|
|
10
72
|
export declare function getDatabaseUser(args: GetDatabaseUserArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseUserResult>;
|
|
11
73
|
/**
|
|
@@ -72,6 +134,68 @@ export interface GetDatabaseUserResult {
|
|
|
72
134
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
73
135
|
*
|
|
74
136
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
137
|
+
*
|
|
138
|
+
* ## Example Usage
|
|
139
|
+
*
|
|
140
|
+
* ```typescript
|
|
141
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
142
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
143
|
+
*
|
|
144
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
145
|
+
* username: "test-acc-username",
|
|
146
|
+
* password: "test-acc-password",
|
|
147
|
+
* projectId: "<PROJECT-ID>",
|
|
148
|
+
* authDatabaseName: "admin",
|
|
149
|
+
* roles: [
|
|
150
|
+
* {
|
|
151
|
+
* roleName: "readWrite",
|
|
152
|
+
* databaseName: "admin",
|
|
153
|
+
* },
|
|
154
|
+
* {
|
|
155
|
+
* roleName: "atlasAdmin",
|
|
156
|
+
* databaseName: "admin",
|
|
157
|
+
* },
|
|
158
|
+
* ],
|
|
159
|
+
* labels: [
|
|
160
|
+
* {
|
|
161
|
+
* key: "key 1",
|
|
162
|
+
* value: "value 1",
|
|
163
|
+
* },
|
|
164
|
+
* {
|
|
165
|
+
* key: "key 2",
|
|
166
|
+
* value: "value 2",
|
|
167
|
+
* },
|
|
168
|
+
* ],
|
|
169
|
+
* });
|
|
170
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
171
|
+
* projectId: testDatabaseUser.projectId,
|
|
172
|
+
* username: testDatabaseUser.username,
|
|
173
|
+
* });
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
176
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
177
|
+
*
|
|
178
|
+
* ```typescript
|
|
179
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
180
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
181
|
+
*
|
|
182
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
183
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
184
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
185
|
+
* authDatabaseName: "admin",
|
|
186
|
+
* oidcAuthType: "IDP_GROUP",
|
|
187
|
+
* roles: [{
|
|
188
|
+
* roleName: "readWriteAnyDatabase",
|
|
189
|
+
* databaseName: "admin",
|
|
190
|
+
* }],
|
|
191
|
+
* });
|
|
192
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
193
|
+
* username: testDatabaseUser.username,
|
|
194
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
195
|
+
* authDatabaseName: "admin",
|
|
196
|
+
* });
|
|
197
|
+
* ```
|
|
198
|
+
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
75
199
|
*/
|
|
76
200
|
export declare function getDatabaseUserOutput(args: GetDatabaseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseUserResult>;
|
|
77
201
|
/**
|
package/getDatabaseUser.js
CHANGED
|
@@ -11,6 +11,68 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
20
|
+
*
|
|
21
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
22
|
+
* username: "test-acc-username",
|
|
23
|
+
* password: "test-acc-password",
|
|
24
|
+
* projectId: "<PROJECT-ID>",
|
|
25
|
+
* authDatabaseName: "admin",
|
|
26
|
+
* roles: [
|
|
27
|
+
* {
|
|
28
|
+
* roleName: "readWrite",
|
|
29
|
+
* databaseName: "admin",
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* roleName: "atlasAdmin",
|
|
33
|
+
* databaseName: "admin",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* labels: [
|
|
37
|
+
* {
|
|
38
|
+
* key: "key 1",
|
|
39
|
+
* value: "value 1",
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* key: "key 2",
|
|
43
|
+
* value: "value 2",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* });
|
|
47
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
48
|
+
* projectId: testDatabaseUser.projectId,
|
|
49
|
+
* username: testDatabaseUser.username,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
58
|
+
*
|
|
59
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
60
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
61
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
62
|
+
* authDatabaseName: "admin",
|
|
63
|
+
* oidcAuthType: "IDP_GROUP",
|
|
64
|
+
* roles: [{
|
|
65
|
+
* roleName: "readWriteAnyDatabase",
|
|
66
|
+
* databaseName: "admin",
|
|
67
|
+
* }],
|
|
68
|
+
* });
|
|
69
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
70
|
+
* username: testDatabaseUser.username,
|
|
71
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
72
|
+
* authDatabaseName: "admin",
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
14
76
|
*/
|
|
15
77
|
function getDatabaseUser(args, opts) {
|
|
16
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,6 +89,68 @@ exports.getDatabaseUser = getDatabaseUser;
|
|
|
27
89
|
* Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.
|
|
28
90
|
*
|
|
29
91
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
92
|
+
*
|
|
93
|
+
* ## Example Usage
|
|
94
|
+
*
|
|
95
|
+
* ```typescript
|
|
96
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
97
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
98
|
+
*
|
|
99
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
100
|
+
* username: "test-acc-username",
|
|
101
|
+
* password: "test-acc-password",
|
|
102
|
+
* projectId: "<PROJECT-ID>",
|
|
103
|
+
* authDatabaseName: "admin",
|
|
104
|
+
* roles: [
|
|
105
|
+
* {
|
|
106
|
+
* roleName: "readWrite",
|
|
107
|
+
* databaseName: "admin",
|
|
108
|
+
* },
|
|
109
|
+
* {
|
|
110
|
+
* roleName: "atlasAdmin",
|
|
111
|
+
* databaseName: "admin",
|
|
112
|
+
* },
|
|
113
|
+
* ],
|
|
114
|
+
* labels: [
|
|
115
|
+
* {
|
|
116
|
+
* key: "key 1",
|
|
117
|
+
* value: "value 1",
|
|
118
|
+
* },
|
|
119
|
+
* {
|
|
120
|
+
* key: "key 2",
|
|
121
|
+
* value: "value 2",
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* });
|
|
125
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
126
|
+
* projectId: testDatabaseUser.projectId,
|
|
127
|
+
* username: testDatabaseUser.username,
|
|
128
|
+
* });
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
132
|
+
*
|
|
133
|
+
* ```typescript
|
|
134
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
135
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
136
|
+
*
|
|
137
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
138
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
139
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
140
|
+
* authDatabaseName: "admin",
|
|
141
|
+
* oidcAuthType: "IDP_GROUP",
|
|
142
|
+
* roles: [{
|
|
143
|
+
* roleName: "readWriteAnyDatabase",
|
|
144
|
+
* databaseName: "admin",
|
|
145
|
+
* }],
|
|
146
|
+
* });
|
|
147
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
148
|
+
* username: testDatabaseUser.username,
|
|
149
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
150
|
+
* authDatabaseName: "admin",
|
|
151
|
+
* });
|
|
152
|
+
* ```
|
|
153
|
+
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
30
154
|
*/
|
|
31
155
|
function getDatabaseUserOutput(args, opts) {
|
|
32
156
|
return pulumi.output(args).apply((a) => getDatabaseUser(a, opts));
|
package/getDatabaseUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseUser.js","sourceRoot":"","sources":["../getDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDatabaseUser.js","sourceRoot":"","sources":["../getDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/getDatabaseUsers.d.ts
CHANGED
|
@@ -9,12 +9,11 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
12
|
-
* <!--Start PulumiCodeChooser -->
|
|
13
12
|
* ```typescript
|
|
14
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
15
|
*
|
|
17
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
16
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
18
17
|
* username: "test-acc-username",
|
|
19
18
|
* password: "test-acc-password",
|
|
20
19
|
* projectId: "<PROJECT-ID>",
|
|
@@ -40,33 +39,30 @@ import * as outputs from "./types/output";
|
|
|
40
39
|
* },
|
|
41
40
|
* ],
|
|
42
41
|
* });
|
|
43
|
-
* const
|
|
42
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
44
43
|
* projectId: testDatabaseUser.projectId,
|
|
45
44
|
* });
|
|
46
45
|
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
46
|
* **Example of usage with a OIDC federated authentication user**
|
|
49
47
|
*
|
|
50
|
-
* <!--Start PulumiCodeChooser -->
|
|
51
48
|
* ```typescript
|
|
52
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
50
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
51
|
*
|
|
55
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
52
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
53
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
54
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
56
55
|
* authDatabaseName: "admin",
|
|
57
56
|
* oidcAuthType: "IDP_GROUP",
|
|
58
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
59
57
|
* roles: [{
|
|
60
|
-
* databaseName: "admin",
|
|
61
58
|
* roleName: "readWriteAnyDatabase",
|
|
59
|
+
* databaseName: "admin",
|
|
62
60
|
* }],
|
|
63
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
64
61
|
* });
|
|
65
|
-
* const
|
|
62
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
66
63
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
67
64
|
* });
|
|
68
65
|
* ```
|
|
69
|
-
* <!--End PulumiCodeChooser -->
|
|
70
66
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
71
67
|
*/
|
|
72
68
|
export declare function getDatabaseUsers(args: GetDatabaseUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseUsersResult>;
|
|
@@ -105,12 +101,11 @@ export interface GetDatabaseUsersResult {
|
|
|
105
101
|
*
|
|
106
102
|
* ## Example Usage
|
|
107
103
|
*
|
|
108
|
-
* <!--Start PulumiCodeChooser -->
|
|
109
104
|
* ```typescript
|
|
110
105
|
* import * as pulumi from "@pulumi/pulumi";
|
|
111
106
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
112
107
|
*
|
|
113
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
108
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
114
109
|
* username: "test-acc-username",
|
|
115
110
|
* password: "test-acc-password",
|
|
116
111
|
* projectId: "<PROJECT-ID>",
|
|
@@ -136,33 +131,30 @@ export interface GetDatabaseUsersResult {
|
|
|
136
131
|
* },
|
|
137
132
|
* ],
|
|
138
133
|
* });
|
|
139
|
-
* const
|
|
134
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
140
135
|
* projectId: testDatabaseUser.projectId,
|
|
141
136
|
* });
|
|
142
137
|
* ```
|
|
143
|
-
* <!--End PulumiCodeChooser -->
|
|
144
138
|
* **Example of usage with a OIDC federated authentication user**
|
|
145
139
|
*
|
|
146
|
-
* <!--Start PulumiCodeChooser -->
|
|
147
140
|
* ```typescript
|
|
148
141
|
* import * as pulumi from "@pulumi/pulumi";
|
|
149
142
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
150
143
|
*
|
|
151
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
144
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
145
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
146
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
152
147
|
* authDatabaseName: "admin",
|
|
153
148
|
* oidcAuthType: "IDP_GROUP",
|
|
154
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
155
149
|
* roles: [{
|
|
156
|
-
* databaseName: "admin",
|
|
157
150
|
* roleName: "readWriteAnyDatabase",
|
|
151
|
+
* databaseName: "admin",
|
|
158
152
|
* }],
|
|
159
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
160
153
|
* });
|
|
161
|
-
* const
|
|
154
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
162
155
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
163
156
|
* });
|
|
164
157
|
* ```
|
|
165
|
-
* <!--End PulumiCodeChooser -->
|
|
166
158
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
167
159
|
*/
|
|
168
160
|
export declare function getDatabaseUsersOutput(args: GetDatabaseUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDatabaseUsersResult>;
|
package/getDatabaseUsers.js
CHANGED
|
@@ -14,12 +14,11 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
-
* <!--Start PulumiCodeChooser -->
|
|
18
17
|
* ```typescript
|
|
19
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
19
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
20
|
*
|
|
22
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
21
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
23
22
|
* username: "test-acc-username",
|
|
24
23
|
* password: "test-acc-password",
|
|
25
24
|
* projectId: "<PROJECT-ID>",
|
|
@@ -45,33 +44,30 @@ const utilities = require("./utilities");
|
|
|
45
44
|
* },
|
|
46
45
|
* ],
|
|
47
46
|
* });
|
|
48
|
-
* const
|
|
47
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
49
48
|
* projectId: testDatabaseUser.projectId,
|
|
50
49
|
* });
|
|
51
50
|
* ```
|
|
52
|
-
* <!--End PulumiCodeChooser -->
|
|
53
51
|
* **Example of usage with a OIDC federated authentication user**
|
|
54
52
|
*
|
|
55
|
-
* <!--Start PulumiCodeChooser -->
|
|
56
53
|
* ```typescript
|
|
57
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
58
55
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
59
56
|
*
|
|
60
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
57
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
58
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
59
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
61
60
|
* authDatabaseName: "admin",
|
|
62
61
|
* oidcAuthType: "IDP_GROUP",
|
|
63
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
64
62
|
* roles: [{
|
|
65
|
-
* databaseName: "admin",
|
|
66
63
|
* roleName: "readWriteAnyDatabase",
|
|
64
|
+
* databaseName: "admin",
|
|
67
65
|
* }],
|
|
68
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
69
66
|
* });
|
|
70
|
-
* const
|
|
67
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
71
68
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
72
69
|
* });
|
|
73
70
|
* ```
|
|
74
|
-
* <!--End PulumiCodeChooser -->
|
|
75
71
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
76
72
|
*/
|
|
77
73
|
function getDatabaseUsers(args, opts) {
|
|
@@ -90,12 +86,11 @@ exports.getDatabaseUsers = getDatabaseUsers;
|
|
|
90
86
|
*
|
|
91
87
|
* ## Example Usage
|
|
92
88
|
*
|
|
93
|
-
* <!--Start PulumiCodeChooser -->
|
|
94
89
|
* ```typescript
|
|
95
90
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
91
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
97
92
|
*
|
|
98
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
93
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
99
94
|
* username: "test-acc-username",
|
|
100
95
|
* password: "test-acc-password",
|
|
101
96
|
* projectId: "<PROJECT-ID>",
|
|
@@ -121,33 +116,30 @@ exports.getDatabaseUsers = getDatabaseUsers;
|
|
|
121
116
|
* },
|
|
122
117
|
* ],
|
|
123
118
|
* });
|
|
124
|
-
* const
|
|
119
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
125
120
|
* projectId: testDatabaseUser.projectId,
|
|
126
121
|
* });
|
|
127
122
|
* ```
|
|
128
|
-
* <!--End PulumiCodeChooser -->
|
|
129
123
|
* **Example of usage with a OIDC federated authentication user**
|
|
130
124
|
*
|
|
131
|
-
* <!--Start PulumiCodeChooser -->
|
|
132
125
|
* ```typescript
|
|
133
126
|
* import * as pulumi from "@pulumi/pulumi";
|
|
134
127
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
135
128
|
*
|
|
136
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
129
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
130
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
131
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
137
132
|
* authDatabaseName: "admin",
|
|
138
133
|
* oidcAuthType: "IDP_GROUP",
|
|
139
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
140
134
|
* roles: [{
|
|
141
|
-
* databaseName: "admin",
|
|
142
135
|
* roleName: "readWriteAnyDatabase",
|
|
136
|
+
* databaseName: "admin",
|
|
143
137
|
* }],
|
|
144
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
145
138
|
* });
|
|
146
|
-
* const
|
|
139
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
147
140
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
148
141
|
* });
|
|
149
142
|
* ```
|
|
150
|
-
* <!--End PulumiCodeChooser -->
|
|
151
143
|
* Note: OIDC support is only avalible starting in [MongoDB 7.0](https://www.mongodb.com/evolved#mdbsevenzero) or later. To learn more, see the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
|
|
152
144
|
*/
|
|
153
145
|
function getDatabaseUsersOutput(args, opts) {
|
package/getDatabaseUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseUsers.js","sourceRoot":"","sources":["../getDatabaseUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDatabaseUsers.js","sourceRoot":"","sources":["../getDatabaseUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;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"}
|
|
@@ -12,36 +12,32 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* ### S With MongoDB Atlas Cluster As Storage Database
|
|
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
19
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
21
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
22
20
|
* projectId: "PROJECT ID",
|
|
21
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
23
22
|
* });
|
|
24
23
|
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
24
|
*
|
|
27
25
|
* ### S With Amazon S3 Bucket As Storage Database
|
|
28
26
|
*
|
|
29
|
-
* <!--Start PulumiCodeChooser -->
|
|
30
27
|
* ```typescript
|
|
31
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
32
29
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
33
30
|
*
|
|
34
31
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
32
|
+
* projectId: "PROJECT ID",
|
|
33
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
35
34
|
* cloudProviderConfig: {
|
|
36
35
|
* aws: {
|
|
37
36
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
38
37
|
* },
|
|
39
38
|
* },
|
|
40
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
41
|
-
* projectId: "PROJECT ID",
|
|
42
39
|
* });
|
|
43
40
|
* ```
|
|
44
|
-
* <!--End PulumiCodeChooser -->
|
|
45
41
|
*/
|
|
46
42
|
export declare function getFederatedDatabaseInstance(args: GetFederatedDatabaseInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedDatabaseInstanceResult>;
|
|
47
43
|
/**
|
|
@@ -138,36 +134,32 @@ export interface GetFederatedDatabaseInstanceResult {
|
|
|
138
134
|
*
|
|
139
135
|
* ### S With MongoDB Atlas Cluster As Storage Database
|
|
140
136
|
*
|
|
141
|
-
* <!--Start PulumiCodeChooser -->
|
|
142
137
|
* ```typescript
|
|
143
138
|
* import * as pulumi from "@pulumi/pulumi";
|
|
144
139
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
145
140
|
*
|
|
146
141
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
147
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
148
142
|
* projectId: "PROJECT ID",
|
|
143
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
149
144
|
* });
|
|
150
145
|
* ```
|
|
151
|
-
* <!--End PulumiCodeChooser -->
|
|
152
146
|
*
|
|
153
147
|
* ### S With Amazon S3 Bucket As Storage Database
|
|
154
148
|
*
|
|
155
|
-
* <!--Start PulumiCodeChooser -->
|
|
156
149
|
* ```typescript
|
|
157
150
|
* import * as pulumi from "@pulumi/pulumi";
|
|
158
151
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
159
152
|
*
|
|
160
153
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
154
|
+
* projectId: "PROJECT ID",
|
|
155
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
161
156
|
* cloudProviderConfig: {
|
|
162
157
|
* aws: {
|
|
163
158
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
164
159
|
* },
|
|
165
160
|
* },
|
|
166
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
167
|
-
* projectId: "PROJECT ID",
|
|
168
161
|
* });
|
|
169
162
|
* ```
|
|
170
|
-
* <!--End PulumiCodeChooser -->
|
|
171
163
|
*/
|
|
172
164
|
export declare function getFederatedDatabaseInstanceOutput(args: GetFederatedDatabaseInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedDatabaseInstanceResult>;
|
|
173
165
|
/**
|
|
@@ -16,36 +16,32 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ### S With MongoDB Atlas Cluster As Storage Database
|
|
18
18
|
*
|
|
19
|
-
* <!--Start PulumiCodeChooser -->
|
|
20
19
|
* ```typescript
|
|
21
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
21
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
22
|
*
|
|
24
23
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
25
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
26
24
|
* projectId: "PROJECT ID",
|
|
25
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
27
26
|
* });
|
|
28
27
|
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
28
|
*
|
|
31
29
|
* ### S With Amazon S3 Bucket As Storage Database
|
|
32
30
|
*
|
|
33
|
-
* <!--Start PulumiCodeChooser -->
|
|
34
31
|
* ```typescript
|
|
35
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
33
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
37
34
|
*
|
|
38
35
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
36
|
+
* projectId: "PROJECT ID",
|
|
37
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
39
38
|
* cloudProviderConfig: {
|
|
40
39
|
* aws: {
|
|
41
40
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
42
41
|
* },
|
|
43
42
|
* },
|
|
44
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
45
|
-
* projectId: "PROJECT ID",
|
|
46
43
|
* });
|
|
47
44
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
45
|
*/
|
|
50
46
|
function getFederatedDatabaseInstance(args, opts) {
|
|
51
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -67,36 +63,32 @@ exports.getFederatedDatabaseInstance = getFederatedDatabaseInstance;
|
|
|
67
63
|
*
|
|
68
64
|
* ### S With MongoDB Atlas Cluster As Storage Database
|
|
69
65
|
*
|
|
70
|
-
* <!--Start PulumiCodeChooser -->
|
|
71
66
|
* ```typescript
|
|
72
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
73
68
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
74
69
|
*
|
|
75
70
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
76
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
77
71
|
* projectId: "PROJECT ID",
|
|
72
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
78
73
|
* });
|
|
79
74
|
* ```
|
|
80
|
-
* <!--End PulumiCodeChooser -->
|
|
81
75
|
*
|
|
82
76
|
* ### S With Amazon S3 Bucket As Storage Database
|
|
83
77
|
*
|
|
84
|
-
* <!--Start PulumiCodeChooser -->
|
|
85
78
|
* ```typescript
|
|
86
79
|
* import * as pulumi from "@pulumi/pulumi";
|
|
87
80
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
88
81
|
*
|
|
89
82
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
83
|
+
* projectId: "PROJECT ID",
|
|
84
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
90
85
|
* cloudProviderConfig: {
|
|
91
86
|
* aws: {
|
|
92
87
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
93
88
|
* },
|
|
94
89
|
* },
|
|
95
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
96
|
-
* projectId: "PROJECT ID",
|
|
97
90
|
* });
|
|
98
91
|
* ```
|
|
99
|
-
* <!--End PulumiCodeChooser -->
|
|
100
92
|
*/
|
|
101
93
|
function getFederatedDatabaseInstanceOutput(args, opts) {
|
|
102
94
|
return pulumi.output(args).apply((a) => getFederatedDatabaseInstance(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFederatedDatabaseInstance.js","sourceRoot":"","sources":["../getFederatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFederatedDatabaseInstance.js","sourceRoot":"","sources":["../getFederatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8EAA8E,EAAE;QACzG,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
|