@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 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
package/getDatabaseUser.js
CHANGED
|
@@ -11,6 +11,72 @@ 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
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
|
+
*
|
|
22
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
23
|
+
* username: "test-acc-username",
|
|
24
|
+
* password: "test-acc-password",
|
|
25
|
+
* projectId: "<PROJECT-ID>",
|
|
26
|
+
* authDatabaseName: "admin",
|
|
27
|
+
* roles: [
|
|
28
|
+
* {
|
|
29
|
+
* roleName: "readWrite",
|
|
30
|
+
* databaseName: "admin",
|
|
31
|
+
* },
|
|
32
|
+
* {
|
|
33
|
+
* roleName: "atlasAdmin",
|
|
34
|
+
* databaseName: "admin",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* labels: [
|
|
38
|
+
* {
|
|
39
|
+
* key: "key 1",
|
|
40
|
+
* value: "value 1",
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* key: "key 2",
|
|
44
|
+
* value: "value 2",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* });
|
|
48
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
49
|
+
* projectId: testDatabaseUser.projectId,
|
|
50
|
+
* username: testDatabaseUser.username,
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
* <!--End PulumiCodeChooser -->
|
|
54
|
+
*
|
|
55
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
56
|
+
*
|
|
57
|
+
* <!--Start PulumiCodeChooser -->
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
61
|
+
*
|
|
62
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
63
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
64
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
65
|
+
* authDatabaseName: "admin",
|
|
66
|
+
* oidcAuthType: "IDP_GROUP",
|
|
67
|
+
* roles: [{
|
|
68
|
+
* roleName: "readWriteAnyDatabase",
|
|
69
|
+
* databaseName: "admin",
|
|
70
|
+
* }],
|
|
71
|
+
* });
|
|
72
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
73
|
+
* username: testDatabaseUser.username,
|
|
74
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
75
|
+
* authDatabaseName: "admin",
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
* <!--End PulumiCodeChooser -->
|
|
79
|
+
* 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
80
|
*/
|
|
15
81
|
function getDatabaseUser(args, opts) {
|
|
16
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,6 +93,72 @@ exports.getDatabaseUser = getDatabaseUser;
|
|
|
27
93
|
* 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
94
|
*
|
|
29
95
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
96
|
+
*
|
|
97
|
+
* ## Example Usage
|
|
98
|
+
*
|
|
99
|
+
* <!--Start PulumiCodeChooser -->
|
|
100
|
+
* ```typescript
|
|
101
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
103
|
+
*
|
|
104
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
105
|
+
* username: "test-acc-username",
|
|
106
|
+
* password: "test-acc-password",
|
|
107
|
+
* projectId: "<PROJECT-ID>",
|
|
108
|
+
* authDatabaseName: "admin",
|
|
109
|
+
* roles: [
|
|
110
|
+
* {
|
|
111
|
+
* roleName: "readWrite",
|
|
112
|
+
* databaseName: "admin",
|
|
113
|
+
* },
|
|
114
|
+
* {
|
|
115
|
+
* roleName: "atlasAdmin",
|
|
116
|
+
* databaseName: "admin",
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* labels: [
|
|
120
|
+
* {
|
|
121
|
+
* key: "key 1",
|
|
122
|
+
* value: "value 1",
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* key: "key 2",
|
|
126
|
+
* value: "value 2",
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* });
|
|
130
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
131
|
+
* projectId: testDatabaseUser.projectId,
|
|
132
|
+
* username: testDatabaseUser.username,
|
|
133
|
+
* });
|
|
134
|
+
* ```
|
|
135
|
+
* <!--End PulumiCodeChooser -->
|
|
136
|
+
*
|
|
137
|
+
* **Example of usage with a OIDC federated authentication user**
|
|
138
|
+
*
|
|
139
|
+
* <!--Start PulumiCodeChooser -->
|
|
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: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
146
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
147
|
+
* authDatabaseName: "admin",
|
|
148
|
+
* oidcAuthType: "IDP_GROUP",
|
|
149
|
+
* roles: [{
|
|
150
|
+
* roleName: "readWriteAnyDatabase",
|
|
151
|
+
* databaseName: "admin",
|
|
152
|
+
* }],
|
|
153
|
+
* });
|
|
154
|
+
* const test = mongodbatlas.getDatabaseUserOutput({
|
|
155
|
+
* username: testDatabaseUser.username,
|
|
156
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
157
|
+
* authDatabaseName: "admin",
|
|
158
|
+
* });
|
|
159
|
+
* ```
|
|
160
|
+
* <!--End PulumiCodeChooser -->
|
|
161
|
+
* 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
162
|
*/
|
|
31
163
|
function getDatabaseUserOutput(args, opts) {
|
|
32
164
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwEG;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
|
@@ -14,7 +14,7 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
16
|
*
|
|
17
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
17
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
18
18
|
* username: "test-acc-username",
|
|
19
19
|
* password: "test-acc-password",
|
|
20
20
|
* projectId: "<PROJECT-ID>",
|
|
@@ -40,7 +40,7 @@ import * as outputs from "./types/output";
|
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
42
|
* });
|
|
43
|
-
* const
|
|
43
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
44
44
|
* projectId: testDatabaseUser.projectId,
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
@@ -52,17 +52,17 @@ import * as outputs from "./types/output";
|
|
|
52
52
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
53
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
54
|
*
|
|
55
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
55
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
56
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
57
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
56
58
|
* authDatabaseName: "admin",
|
|
57
59
|
* oidcAuthType: "IDP_GROUP",
|
|
58
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
59
60
|
* roles: [{
|
|
60
|
-
* databaseName: "admin",
|
|
61
61
|
* roleName: "readWriteAnyDatabase",
|
|
62
|
+
* databaseName: "admin",
|
|
62
63
|
* }],
|
|
63
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
64
64
|
* });
|
|
65
|
-
* const
|
|
65
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
66
66
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
67
67
|
* });
|
|
68
68
|
* ```
|
|
@@ -110,7 +110,7 @@ export interface GetDatabaseUsersResult {
|
|
|
110
110
|
* import * as pulumi from "@pulumi/pulumi";
|
|
111
111
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
112
112
|
*
|
|
113
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
113
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
114
114
|
* username: "test-acc-username",
|
|
115
115
|
* password: "test-acc-password",
|
|
116
116
|
* projectId: "<PROJECT-ID>",
|
|
@@ -136,7 +136,7 @@ export interface GetDatabaseUsersResult {
|
|
|
136
136
|
* },
|
|
137
137
|
* ],
|
|
138
138
|
* });
|
|
139
|
-
* const
|
|
139
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
140
140
|
* projectId: testDatabaseUser.projectId,
|
|
141
141
|
* });
|
|
142
142
|
* ```
|
|
@@ -148,17 +148,17 @@ export interface GetDatabaseUsersResult {
|
|
|
148
148
|
* import * as pulumi from "@pulumi/pulumi";
|
|
149
149
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
150
150
|
*
|
|
151
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
151
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
152
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
153
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
152
154
|
* authDatabaseName: "admin",
|
|
153
155
|
* oidcAuthType: "IDP_GROUP",
|
|
154
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
155
156
|
* roles: [{
|
|
156
|
-
* databaseName: "admin",
|
|
157
157
|
* roleName: "readWriteAnyDatabase",
|
|
158
|
+
* databaseName: "admin",
|
|
158
159
|
* }],
|
|
159
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
160
160
|
* });
|
|
161
|
-
* const
|
|
161
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
162
162
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
163
163
|
* });
|
|
164
164
|
* ```
|
package/getDatabaseUsers.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
21
|
*
|
|
22
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
22
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
23
23
|
* username: "test-acc-username",
|
|
24
24
|
* password: "test-acc-password",
|
|
25
25
|
* projectId: "<PROJECT-ID>",
|
|
@@ -45,7 +45,7 @@ const utilities = require("./utilities");
|
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
47
|
* });
|
|
48
|
-
* const
|
|
48
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
49
49
|
* projectId: testDatabaseUser.projectId,
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
@@ -57,17 +57,17 @@ const utilities = require("./utilities");
|
|
|
57
57
|
* import * as pulumi from "@pulumi/pulumi";
|
|
58
58
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
59
59
|
*
|
|
60
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
60
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
61
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
62
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
61
63
|
* authDatabaseName: "admin",
|
|
62
64
|
* oidcAuthType: "IDP_GROUP",
|
|
63
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
64
65
|
* roles: [{
|
|
65
|
-
* databaseName: "admin",
|
|
66
66
|
* roleName: "readWriteAnyDatabase",
|
|
67
|
+
* databaseName: "admin",
|
|
67
68
|
* }],
|
|
68
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
69
69
|
* });
|
|
70
|
-
* const
|
|
70
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
71
71
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
72
72
|
* });
|
|
73
73
|
* ```
|
|
@@ -95,7 +95,7 @@ exports.getDatabaseUsers = getDatabaseUsers;
|
|
|
95
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
96
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
97
97
|
*
|
|
98
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
98
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
99
99
|
* username: "test-acc-username",
|
|
100
100
|
* password: "test-acc-password",
|
|
101
101
|
* projectId: "<PROJECT-ID>",
|
|
@@ -121,7 +121,7 @@ exports.getDatabaseUsers = getDatabaseUsers;
|
|
|
121
121
|
* },
|
|
122
122
|
* ],
|
|
123
123
|
* });
|
|
124
|
-
* const
|
|
124
|
+
* const test = mongodbatlas.getDatabaseUsersOutput({
|
|
125
125
|
* projectId: testDatabaseUser.projectId,
|
|
126
126
|
* });
|
|
127
127
|
* ```
|
|
@@ -133,17 +133,17 @@ exports.getDatabaseUsers = getDatabaseUsers;
|
|
|
133
133
|
* import * as pulumi from "@pulumi/pulumi";
|
|
134
134
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
135
135
|
*
|
|
136
|
-
* const testDatabaseUser = new mongodbatlas.DatabaseUser("
|
|
136
|
+
* const testDatabaseUser = new mongodbatlas.DatabaseUser("test", {
|
|
137
|
+
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
138
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
137
139
|
* authDatabaseName: "admin",
|
|
138
140
|
* oidcAuthType: "IDP_GROUP",
|
|
139
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
140
141
|
* roles: [{
|
|
141
|
-
* databaseName: "admin",
|
|
142
142
|
* roleName: "readWriteAnyDatabase",
|
|
143
|
+
* databaseName: "admin",
|
|
143
144
|
* }],
|
|
144
|
-
* username: "64d613677e1ad50839cce4db/testUserOrGroup",
|
|
145
145
|
* });
|
|
146
|
-
* const
|
|
146
|
+
* const test = mongodbatlas.getDatabaseUsers({
|
|
147
147
|
* projectId: "6414908c207f4d22f4d8f232",
|
|
148
148
|
* });
|
|
149
149
|
* ```
|
|
@@ -18,8 +18,8 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
20
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
21
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
22
21
|
* projectId: "PROJECT ID",
|
|
22
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
* <!--End PulumiCodeChooser -->
|
|
@@ -32,13 +32,13 @@ import * as outputs from "./types/output";
|
|
|
32
32
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
33
33
|
*
|
|
34
34
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
35
|
+
* projectId: "PROJECT ID",
|
|
36
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
35
37
|
* cloudProviderConfig: {
|
|
36
38
|
* aws: {
|
|
37
39
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
38
40
|
* },
|
|
39
41
|
* },
|
|
40
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
41
|
-
* projectId: "PROJECT ID",
|
|
42
42
|
* });
|
|
43
43
|
* ```
|
|
44
44
|
* <!--End PulumiCodeChooser -->
|
|
@@ -144,8 +144,8 @@ export interface GetFederatedDatabaseInstanceResult {
|
|
|
144
144
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
145
145
|
*
|
|
146
146
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
147
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
148
147
|
* projectId: "PROJECT ID",
|
|
148
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
149
149
|
* });
|
|
150
150
|
* ```
|
|
151
151
|
* <!--End PulumiCodeChooser -->
|
|
@@ -158,13 +158,13 @@ export interface GetFederatedDatabaseInstanceResult {
|
|
|
158
158
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
159
159
|
*
|
|
160
160
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
161
|
+
* projectId: "PROJECT ID",
|
|
162
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
161
163
|
* cloudProviderConfig: {
|
|
162
164
|
* aws: {
|
|
163
165
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
164
166
|
* },
|
|
165
167
|
* },
|
|
166
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
167
|
-
* projectId: "PROJECT ID",
|
|
168
168
|
* });
|
|
169
169
|
* ```
|
|
170
170
|
* <!--End PulumiCodeChooser -->
|
|
@@ -22,8 +22,8 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
23
|
*
|
|
24
24
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
25
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
26
25
|
* projectId: "PROJECT ID",
|
|
26
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
* <!--End PulumiCodeChooser -->
|
|
@@ -36,13 +36,13 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
37
37
|
*
|
|
38
38
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
39
|
+
* projectId: "PROJECT ID",
|
|
40
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
39
41
|
* cloudProviderConfig: {
|
|
40
42
|
* aws: {
|
|
41
43
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
42
44
|
* },
|
|
43
45
|
* },
|
|
44
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
45
|
-
* projectId: "PROJECT ID",
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
* <!--End PulumiCodeChooser -->
|
|
@@ -73,8 +73,8 @@ exports.getFederatedDatabaseInstance = getFederatedDatabaseInstance;
|
|
|
73
73
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
74
74
|
*
|
|
75
75
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
76
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
77
76
|
* projectId: "PROJECT ID",
|
|
77
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
78
78
|
* });
|
|
79
79
|
* ```
|
|
80
80
|
* <!--End PulumiCodeChooser -->
|
|
@@ -87,13 +87,13 @@ exports.getFederatedDatabaseInstance = getFederatedDatabaseInstance;
|
|
|
87
87
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
88
88
|
*
|
|
89
89
|
* const test = mongodbatlas.getFederatedDatabaseInstance({
|
|
90
|
+
* projectId: "PROJECT ID",
|
|
91
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
90
92
|
* cloudProviderConfig: {
|
|
91
93
|
* aws: {
|
|
92
94
|
* testS3Bucket: "Amazon S3 Bucket Name",
|
|
93
95
|
* },
|
|
94
96
|
* },
|
|
95
|
-
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
96
|
-
* projectId: "PROJECT ID",
|
|
97
97
|
* });
|
|
98
98
|
* ```
|
|
99
99
|
* <!--End PulumiCodeChooser -->
|
|
@@ -14,9 +14,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
15
|
*
|
|
16
16
|
* const test = mongodbatlas.getFederatedQueryLimit({
|
|
17
|
-
* limitName: "LIMIT_NAME",
|
|
18
17
|
* projectId: "PROJECT_ID",
|
|
19
18
|
* tenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
|
|
19
|
+
* limitName: "LIMIT_NAME",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
* <!--End PulumiCodeChooser -->
|
|
@@ -82,9 +82,9 @@ export interface GetFederatedQueryLimitResult {
|
|
|
82
82
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
83
83
|
*
|
|
84
84
|
* const test = mongodbatlas.getFederatedQueryLimit({
|
|
85
|
-
* limitName: "LIMIT_NAME",
|
|
86
85
|
* projectId: "PROJECT_ID",
|
|
87
86
|
* tenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
|
|
87
|
+
* limitName: "LIMIT_NAME",
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
90
|
* <!--End PulumiCodeChooser -->
|
|
@@ -20,9 +20,9 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
21
|
*
|
|
22
22
|
* const test = mongodbatlas.getFederatedQueryLimit({
|
|
23
|
-
* limitName: "LIMIT_NAME",
|
|
24
23
|
* projectId: "PROJECT_ID",
|
|
25
24
|
* tenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
|
|
25
|
+
* limitName: "LIMIT_NAME",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
* <!--End PulumiCodeChooser -->
|
|
@@ -51,9 +51,9 @@ exports.getFederatedQueryLimit = getFederatedQueryLimit;
|
|
|
51
51
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
52
52
|
*
|
|
53
53
|
* const test = mongodbatlas.getFederatedQueryLimit({
|
|
54
|
-
* limitName: "LIMIT_NAME",
|
|
55
54
|
* projectId: "PROJECT_ID",
|
|
56
55
|
* tenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
|
|
56
|
+
* limitName: "LIMIT_NAME",
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
* <!--End PulumiCodeChooser -->
|
|
@@ -12,8 +12,9 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
14
|
*
|
|
15
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
15
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
16
16
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
17
|
+
* name: "mongodb_federation_test",
|
|
17
18
|
* associatedDomains: ["yourdomain.com"],
|
|
18
19
|
* ssoDebugEnabled: true,
|
|
19
20
|
* status: "ACTIVE",
|
|
@@ -147,8 +148,9 @@ export interface GetFederatedSettingsIdentityProviderResult {
|
|
|
147
148
|
* import * as pulumi from "@pulumi/pulumi";
|
|
148
149
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
149
150
|
*
|
|
150
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
151
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
151
152
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
153
|
+
* name: "mongodb_federation_test",
|
|
152
154
|
* associatedDomains: ["yourdomain.com"],
|
|
153
155
|
* ssoDebugEnabled: true,
|
|
154
156
|
* status: "ACTIVE",
|
|
@@ -17,8 +17,9 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
20
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
21
21
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
22
|
+
* name: "mongodb_federation_test",
|
|
22
23
|
* associatedDomains: ["yourdomain.com"],
|
|
23
24
|
* ssoDebugEnabled: true,
|
|
24
25
|
* status: "ACTIVE",
|
|
@@ -54,8 +55,9 @@ exports.getFederatedSettingsIdentityProvider = getFederatedSettingsIdentityProvi
|
|
|
54
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
56
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
57
|
*
|
|
57
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
58
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
58
59
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
60
|
+
* name: "mongodb_federation_test",
|
|
59
61
|
* associatedDomains: ["yourdomain.com"],
|
|
60
62
|
* ssoDebugEnabled: true,
|
|
61
63
|
* status: "ACTIVE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFederatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFederatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAE5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8FAA8F,EAAE;QACzH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oFAOC;AA4GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAA2B;IACxI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oCAAoC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/F,CAAC;AAFD,gGAEC"}
|
|
@@ -12,8 +12,9 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
14
|
*
|
|
15
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
15
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
16
16
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
17
|
+
* name: "mongodb_federation_test",
|
|
17
18
|
* associatedDomains: ["yourdomain.com"],
|
|
18
19
|
* ssoDebugEnabled: true,
|
|
19
20
|
* status: "ACTIVE",
|
|
@@ -75,8 +76,9 @@ export interface GetFederatedSettingsIdentityProvidersResult {
|
|
|
75
76
|
* import * as pulumi from "@pulumi/pulumi";
|
|
76
77
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
77
78
|
*
|
|
78
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
79
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
79
80
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
81
|
+
* name: "mongodb_federation_test",
|
|
80
82
|
* associatedDomains: ["yourdomain.com"],
|
|
81
83
|
* ssoDebugEnabled: true,
|
|
82
84
|
* status: "ACTIVE",
|
|
@@ -17,8 +17,9 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
20
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
21
21
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
22
|
+
* name: "mongodb_federation_test",
|
|
22
23
|
* associatedDomains: ["yourdomain.com"],
|
|
23
24
|
* ssoDebugEnabled: true,
|
|
24
25
|
* status: "ACTIVE",
|
|
@@ -52,8 +53,9 @@ exports.getFederatedSettingsIdentityProviders = getFederatedSettingsIdentityProv
|
|
|
52
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
54
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
55
|
*
|
|
55
|
-
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("
|
|
56
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identity_provider", {
|
|
56
57
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
58
|
+
* name: "mongodb_federation_test",
|
|
57
59
|
* associatedDomains: ["yourdomain.com"],
|
|
58
60
|
* ssoDebugEnabled: true,
|
|
59
61
|
* status: "ACTIVE",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFederatedSettingsIdentityProviders.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getFederatedSettingsIdentityProviders.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAE9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gGAAgG,EAAE;QAC3H,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sFAQC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,2CAA2C,CAAC,IAAqD,EAAE,IAA2B;IAC1I,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qCAAqC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChG,CAAC;AAFD,kGAEC"}
|
|
@@ -10,15 +10,15 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
12
|
*
|
|
13
|
-
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("
|
|
13
|
+
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("org_connections", {
|
|
14
14
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
15
15
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
16
16
|
* domainRestrictionEnabled: false,
|
|
17
17
|
* domainAllowLists: ["mydomain.com"],
|
|
18
18
|
* postAuthRoleGrants: ["ORG_MEMBER"],
|
|
19
19
|
* });
|
|
20
|
-
* const orgConfigsDs = mongodbatlas.
|
|
21
|
-
* federationSettingsId:
|
|
20
|
+
* const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfig({
|
|
21
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
22
22
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
@@ -80,15 +80,15 @@ export interface GetFederatedSettingsOrgConfigResult {
|
|
|
80
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
81
81
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
82
82
|
*
|
|
83
|
-
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("
|
|
83
|
+
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("org_connections", {
|
|
84
84
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
85
85
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
86
86
|
* domainRestrictionEnabled: false,
|
|
87
87
|
* domainAllowLists: ["mydomain.com"],
|
|
88
88
|
* postAuthRoleGrants: ["ORG_MEMBER"],
|
|
89
89
|
* });
|
|
90
|
-
* const orgConfigsDs = mongodbatlas.
|
|
91
|
-
* federationSettingsId:
|
|
90
|
+
* const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfig({
|
|
91
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
92
92
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
93
93
|
* });
|
|
94
94
|
* ```
|
|
@@ -15,15 +15,15 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
17
|
*
|
|
18
|
-
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("
|
|
18
|
+
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("org_connections", {
|
|
19
19
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
20
20
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
21
21
|
* domainRestrictionEnabled: false,
|
|
22
22
|
* domainAllowLists: ["mydomain.com"],
|
|
23
23
|
* postAuthRoleGrants: ["ORG_MEMBER"],
|
|
24
24
|
* });
|
|
25
|
-
* const orgConfigsDs = mongodbatlas.
|
|
26
|
-
* federationSettingsId:
|
|
25
|
+
* const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfig({
|
|
26
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
27
27
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
@@ -47,15 +47,15 @@ exports.getFederatedSettingsOrgConfig = getFederatedSettingsOrgConfig;
|
|
|
47
47
|
* import * as pulumi from "@pulumi/pulumi";
|
|
48
48
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
49
49
|
*
|
|
50
|
-
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("
|
|
50
|
+
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("org_connections", {
|
|
51
51
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
52
52
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
53
53
|
* domainRestrictionEnabled: false,
|
|
54
54
|
* domainAllowLists: ["mydomain.com"],
|
|
55
55
|
* postAuthRoleGrants: ["ORG_MEMBER"],
|
|
56
56
|
* });
|
|
57
|
-
* const orgConfigsDs = mongodbatlas.
|
|
58
|
-
* federationSettingsId:
|
|
57
|
+
* const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfig({
|
|
58
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
59
59
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
60
60
|
* });
|
|
61
61
|
* ```
|