@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
|
@@ -24,7 +24,8 @@ import * as outputs from "./types/output";
|
|
|
24
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
25
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
26
26
|
*
|
|
27
|
-
* const outageSimulation = new mongodbatlas.ClusterOutageSimulation("
|
|
27
|
+
* const outageSimulation = new mongodbatlas.ClusterOutageSimulation("outage_simulation", {
|
|
28
|
+
* projectId: "64707f06c519c20c3a2b1b03",
|
|
28
29
|
* clusterName: "Cluster0",
|
|
29
30
|
* outageFilters: [
|
|
30
31
|
* {
|
|
@@ -36,7 +37,6 @@ import * as outputs from "./types/output";
|
|
|
36
37
|
* regionName: "US_EAST_2",
|
|
37
38
|
* },
|
|
38
39
|
* ],
|
|
39
|
-
* projectId: "64707f06c519c20c3a2b1b03",
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
* <!--End PulumiCodeChooser -->
|
|
@@ -28,7 +28,8 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
29
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
30
30
|
*
|
|
31
|
-
* const outageSimulation = new mongodbatlas.ClusterOutageSimulation("
|
|
31
|
+
* const outageSimulation = new mongodbatlas.ClusterOutageSimulation("outage_simulation", {
|
|
32
|
+
* projectId: "64707f06c519c20c3a2b1b03",
|
|
32
33
|
* clusterName: "Cluster0",
|
|
33
34
|
* outageFilters: [
|
|
34
35
|
* {
|
|
@@ -40,7 +41,6 @@ const utilities = require("./utilities");
|
|
|
40
41
|
* regionName: "US_EAST_2",
|
|
41
42
|
* },
|
|
42
43
|
* ],
|
|
43
|
-
* projectId: "64707f06c519c20c3a2b1b03",
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
* <!--End PulumiCodeChooser -->
|
package/customDbRole.d.ts
CHANGED
|
@@ -15,7 +15,9 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
17
|
*
|
|
18
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
18
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
19
|
+
* projectId: "<PROJECT-ID>",
|
|
20
|
+
* roleName: "myCustomRole",
|
|
19
21
|
* actions: [
|
|
20
22
|
* {
|
|
21
23
|
* action: "UPDATE",
|
|
@@ -39,8 +41,6 @@ import * as outputs from "./types/output";
|
|
|
39
41
|
* }],
|
|
40
42
|
* },
|
|
41
43
|
* ],
|
|
42
|
-
* projectId: "<PROJECT-ID>",
|
|
43
|
-
* roleName: "myCustomRole",
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
* <!--End PulumiCodeChooser -->
|
|
@@ -52,7 +52,7 @@ 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 inheritedRoleOne = new mongodbatlas.CustomDbRole("
|
|
55
|
+
* const inheritedRoleOne = new mongodbatlas.CustomDbRole("inherited_role_one", {
|
|
56
56
|
* projectId: "<PROJECT-ID>",
|
|
57
57
|
* roleName: "insertRole",
|
|
58
58
|
* actions: [{
|
|
@@ -63,7 +63,7 @@ import * as outputs from "./types/output";
|
|
|
63
63
|
* }],
|
|
64
64
|
* }],
|
|
65
65
|
* });
|
|
66
|
-
* const inheritedRoleTwo = new mongodbatlas.CustomDbRole("
|
|
66
|
+
* const inheritedRoleTwo = new mongodbatlas.CustomDbRole("inherited_role_two", {
|
|
67
67
|
* projectId: inheritedRoleOne.projectId,
|
|
68
68
|
* roleName: "statusServerRole",
|
|
69
69
|
* actions: [{
|
|
@@ -73,7 +73,7 @@ import * as outputs from "./types/output";
|
|
|
73
73
|
* }],
|
|
74
74
|
* }],
|
|
75
75
|
* });
|
|
76
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
76
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
77
77
|
* projectId: inheritedRoleOne.projectId,
|
|
78
78
|
* roleName: "myCustomRole",
|
|
79
79
|
* actions: [
|
package/customDbRole.js
CHANGED
|
@@ -19,7 +19,9 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
21
|
*
|
|
22
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
22
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
23
|
+
* projectId: "<PROJECT-ID>",
|
|
24
|
+
* roleName: "myCustomRole",
|
|
23
25
|
* actions: [
|
|
24
26
|
* {
|
|
25
27
|
* action: "UPDATE",
|
|
@@ -43,8 +45,6 @@ const utilities = require("./utilities");
|
|
|
43
45
|
* }],
|
|
44
46
|
* },
|
|
45
47
|
* ],
|
|
46
|
-
* projectId: "<PROJECT-ID>",
|
|
47
|
-
* roleName: "myCustomRole",
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
50
|
* <!--End PulumiCodeChooser -->
|
|
@@ -56,7 +56,7 @@ const utilities = require("./utilities");
|
|
|
56
56
|
* import * as pulumi from "@pulumi/pulumi";
|
|
57
57
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
58
58
|
*
|
|
59
|
-
* const inheritedRoleOne = new mongodbatlas.CustomDbRole("
|
|
59
|
+
* const inheritedRoleOne = new mongodbatlas.CustomDbRole("inherited_role_one", {
|
|
60
60
|
* projectId: "<PROJECT-ID>",
|
|
61
61
|
* roleName: "insertRole",
|
|
62
62
|
* actions: [{
|
|
@@ -67,7 +67,7 @@ const utilities = require("./utilities");
|
|
|
67
67
|
* }],
|
|
68
68
|
* }],
|
|
69
69
|
* });
|
|
70
|
-
* const inheritedRoleTwo = new mongodbatlas.CustomDbRole("
|
|
70
|
+
* const inheritedRoleTwo = new mongodbatlas.CustomDbRole("inherited_role_two", {
|
|
71
71
|
* projectId: inheritedRoleOne.projectId,
|
|
72
72
|
* roleName: "statusServerRole",
|
|
73
73
|
* actions: [{
|
|
@@ -77,7 +77,7 @@ const utilities = require("./utilities");
|
|
|
77
77
|
* }],
|
|
78
78
|
* }],
|
|
79
79
|
* });
|
|
80
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
80
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
81
81
|
* projectId: inheritedRoleOne.projectId,
|
|
82
82
|
* roleName: "myCustomRole",
|
|
83
83
|
* actions: [
|
|
@@ -16,8 +16,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
17
|
*
|
|
18
18
|
* const test = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
19
|
-
* enabled: true,
|
|
20
19
|
* projectId: "<PROJECT-ID>",
|
|
20
|
+
* enabled: true,
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
|
@@ -22,8 +22,8 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
23
|
*
|
|
24
24
|
* const test = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
25
|
-
* enabled: true,
|
|
26
25
|
* projectId: "<PROJECT-ID>",
|
|
26
|
+
* enabled: true,
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
* <!--End PulumiCodeChooser -->
|
package/databaseUser.d.ts
CHANGED
|
@@ -22,23 +22,24 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
23
|
*
|
|
24
24
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
25
|
-
*
|
|
26
|
-
* labels: [{
|
|
27
|
-
* key: "My Key",
|
|
28
|
-
* value: "My Value",
|
|
29
|
-
* }],
|
|
25
|
+
* username: "test-acc-username",
|
|
30
26
|
* password: "test-acc-password",
|
|
31
27
|
* projectId: "<PROJECT-ID>",
|
|
28
|
+
* authDatabaseName: "admin",
|
|
32
29
|
* roles: [
|
|
33
30
|
* {
|
|
34
|
-
* databaseName: "dbforApp",
|
|
35
31
|
* roleName: "readWrite",
|
|
32
|
+
* databaseName: "dbforApp",
|
|
36
33
|
* },
|
|
37
34
|
* {
|
|
38
|
-
* databaseName: "admin",
|
|
39
35
|
* roleName: "readAnyDatabase",
|
|
36
|
+
* databaseName: "admin",
|
|
40
37
|
* },
|
|
41
38
|
* ],
|
|
39
|
+
* labels: [{
|
|
40
|
+
* key: "My Key",
|
|
41
|
+
* value: "My Value",
|
|
42
|
+
* }],
|
|
42
43
|
* scopes: [
|
|
43
44
|
* {
|
|
44
45
|
* name: "My cluster name",
|
|
@@ -49,7 +50,6 @@ import * as outputs from "./types/output";
|
|
|
49
50
|
* type: "CLUSTER",
|
|
50
51
|
* },
|
|
51
52
|
* ],
|
|
52
|
-
* username: "test-acc-username",
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
55
55
|
* <!--End PulumiCodeChooser -->
|
|
@@ -60,22 +60,22 @@ import * as outputs from "./types/output";
|
|
|
60
60
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
61
61
|
*
|
|
62
62
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
63
|
+
* username: "test-acc-username",
|
|
64
|
+
* x509Type: "MANAGED",
|
|
65
|
+
* projectId: "<PROJECT-ID>",
|
|
63
66
|
* authDatabaseName: "$external",
|
|
67
|
+
* roles: [{
|
|
68
|
+
* roleName: "readAnyDatabase",
|
|
69
|
+
* databaseName: "admin",
|
|
70
|
+
* }],
|
|
64
71
|
* labels: [{
|
|
65
72
|
* key: "%s",
|
|
66
73
|
* value: "%s",
|
|
67
74
|
* }],
|
|
68
|
-
* projectId: "<PROJECT-ID>",
|
|
69
|
-
* roles: [{
|
|
70
|
-
* databaseName: "admin",
|
|
71
|
-
* roleName: "readAnyDatabase",
|
|
72
|
-
* }],
|
|
73
75
|
* scopes: [{
|
|
74
76
|
* name: "My cluster name",
|
|
75
77
|
* type: "CLUSTER",
|
|
76
78
|
* }],
|
|
77
|
-
* username: "test-acc-username",
|
|
78
|
-
* x509Type: "MANAGED",
|
|
79
79
|
* });
|
|
80
80
|
* ```
|
|
81
81
|
* <!--End PulumiCodeChooser -->
|
|
@@ -86,7 +86,7 @@ import * as outputs from "./types/output";
|
|
|
86
86
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
87
|
*
|
|
88
88
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
89
|
-
* username:
|
|
89
|
+
* username: testAwsIamRole.arn,
|
|
90
90
|
* projectId: "<PROJECT-ID>",
|
|
91
91
|
* authDatabaseName: "$external",
|
|
92
92
|
* awsIamType: "ROLE",
|
|
@@ -114,14 +114,14 @@ import * as outputs from "./types/output";
|
|
|
114
114
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
115
115
|
*
|
|
116
116
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
117
|
+
* username: "64d613677e1ad50839cce4db/testUserOr",
|
|
118
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
117
119
|
* authDatabaseName: "admin",
|
|
118
120
|
* oidcAuthType: "IDP_GROUP",
|
|
119
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
120
121
|
* roles: [{
|
|
121
|
-
* databaseName: "admin",
|
|
122
122
|
* roleName: "readWriteAnyDatabase",
|
|
123
|
+
* databaseName: "admin",
|
|
123
124
|
* }],
|
|
124
|
-
* username: "64d613677e1ad50839cce4db/testUserOr",
|
|
125
125
|
* });
|
|
126
126
|
* ```
|
|
127
127
|
* <!--End PulumiCodeChooser -->
|
package/databaseUser.js
CHANGED
|
@@ -26,23 +26,24 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
27
27
|
*
|
|
28
28
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
29
|
-
*
|
|
30
|
-
* labels: [{
|
|
31
|
-
* key: "My Key",
|
|
32
|
-
* value: "My Value",
|
|
33
|
-
* }],
|
|
29
|
+
* username: "test-acc-username",
|
|
34
30
|
* password: "test-acc-password",
|
|
35
31
|
* projectId: "<PROJECT-ID>",
|
|
32
|
+
* authDatabaseName: "admin",
|
|
36
33
|
* roles: [
|
|
37
34
|
* {
|
|
38
|
-
* databaseName: "dbforApp",
|
|
39
35
|
* roleName: "readWrite",
|
|
36
|
+
* databaseName: "dbforApp",
|
|
40
37
|
* },
|
|
41
38
|
* {
|
|
42
|
-
* databaseName: "admin",
|
|
43
39
|
* roleName: "readAnyDatabase",
|
|
40
|
+
* databaseName: "admin",
|
|
44
41
|
* },
|
|
45
42
|
* ],
|
|
43
|
+
* labels: [{
|
|
44
|
+
* key: "My Key",
|
|
45
|
+
* value: "My Value",
|
|
46
|
+
* }],
|
|
46
47
|
* scopes: [
|
|
47
48
|
* {
|
|
48
49
|
* name: "My cluster name",
|
|
@@ -53,7 +54,6 @@ const utilities = require("./utilities");
|
|
|
53
54
|
* type: "CLUSTER",
|
|
54
55
|
* },
|
|
55
56
|
* ],
|
|
56
|
-
* username: "test-acc-username",
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
59
|
* <!--End PulumiCodeChooser -->
|
|
@@ -64,22 +64,22 @@ const utilities = require("./utilities");
|
|
|
64
64
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
65
65
|
*
|
|
66
66
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
67
|
+
* username: "test-acc-username",
|
|
68
|
+
* x509Type: "MANAGED",
|
|
69
|
+
* projectId: "<PROJECT-ID>",
|
|
67
70
|
* authDatabaseName: "$external",
|
|
71
|
+
* roles: [{
|
|
72
|
+
* roleName: "readAnyDatabase",
|
|
73
|
+
* databaseName: "admin",
|
|
74
|
+
* }],
|
|
68
75
|
* labels: [{
|
|
69
76
|
* key: "%s",
|
|
70
77
|
* value: "%s",
|
|
71
78
|
* }],
|
|
72
|
-
* projectId: "<PROJECT-ID>",
|
|
73
|
-
* roles: [{
|
|
74
|
-
* databaseName: "admin",
|
|
75
|
-
* roleName: "readAnyDatabase",
|
|
76
|
-
* }],
|
|
77
79
|
* scopes: [{
|
|
78
80
|
* name: "My cluster name",
|
|
79
81
|
* type: "CLUSTER",
|
|
80
82
|
* }],
|
|
81
|
-
* username: "test-acc-username",
|
|
82
|
-
* x509Type: "MANAGED",
|
|
83
83
|
* });
|
|
84
84
|
* ```
|
|
85
85
|
* <!--End PulumiCodeChooser -->
|
|
@@ -90,7 +90,7 @@ const utilities = require("./utilities");
|
|
|
90
90
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
91
91
|
*
|
|
92
92
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
93
|
-
* username:
|
|
93
|
+
* username: testAwsIamRole.arn,
|
|
94
94
|
* projectId: "<PROJECT-ID>",
|
|
95
95
|
* authDatabaseName: "$external",
|
|
96
96
|
* awsIamType: "ROLE",
|
|
@@ -118,14 +118,14 @@ const utilities = require("./utilities");
|
|
|
118
118
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
119
119
|
*
|
|
120
120
|
* const test = new mongodbatlas.DatabaseUser("test", {
|
|
121
|
+
* username: "64d613677e1ad50839cce4db/testUserOr",
|
|
122
|
+
* projectId: "6414908c207f4d22f4d8f232",
|
|
121
123
|
* authDatabaseName: "admin",
|
|
122
124
|
* oidcAuthType: "IDP_GROUP",
|
|
123
|
-
* projectId: "6414908c207f4d22f4d8f232",
|
|
124
125
|
* roles: [{
|
|
125
|
-
* databaseName: "admin",
|
|
126
126
|
* roleName: "readWriteAnyDatabase",
|
|
127
|
+
* databaseName: "admin",
|
|
127
128
|
* }],
|
|
128
|
-
* username: "64d613677e1ad50839cce4db/testUserOr",
|
|
129
129
|
* });
|
|
130
130
|
* ```
|
|
131
131
|
* <!--End PulumiCodeChooser -->
|
package/eventTrigger.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
20
20
|
* projectId: "PROJECT ID",
|
|
21
21
|
* appId: "APPLICATION ID",
|
|
22
|
+
* name: "NAME OF THE TRIGGER",
|
|
22
23
|
* type: "DATABASE",
|
|
23
24
|
* functionId: "FUNCTION ID",
|
|
24
25
|
* disabled: false,
|
|
@@ -55,31 +56,32 @@ import * as outputs from "./types/output";
|
|
|
55
56
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
57
|
*
|
|
57
58
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
59
|
+
* projectId: "PROJECT ID",
|
|
58
60
|
* appId: "APPLICATION ID",
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* configMatch: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
64
|
-
* configOperationType: "LOGIN",
|
|
61
|
+
* name: "NAME OF THE TRIGGER",
|
|
62
|
+
* type: "DATABASE",
|
|
63
|
+
* disabled: false,
|
|
64
|
+
* unordered: false,
|
|
65
65
|
* configOperationTypes: [
|
|
66
66
|
* "INSERT",
|
|
67
67
|
* "UPDATE",
|
|
68
68
|
* ],
|
|
69
|
-
*
|
|
69
|
+
* configOperationType: "LOGIN",
|
|
70
70
|
* configProviders: ["anon-user"],
|
|
71
|
-
*
|
|
71
|
+
* configDatabase: "DATABASE NAME",
|
|
72
|
+
* configCollection: "COLLECTION NAME",
|
|
72
73
|
* configServiceId: "1",
|
|
73
|
-
*
|
|
74
|
+
* configMatch: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
75
|
+
* configProject: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
76
|
+
* configFullDocument: false,
|
|
77
|
+
* configFullDocumentBefore: false,
|
|
78
|
+
* configSchedule: "*",
|
|
74
79
|
* eventProcessors: {
|
|
75
80
|
* awsEventbridge: {
|
|
76
81
|
* configAccountId: "AWS ACCOUNT ID",
|
|
77
82
|
* configRegion: "AWS REGIOn",
|
|
78
83
|
* },
|
|
79
84
|
* },
|
|
80
|
-
* projectId: "PROJECT ID",
|
|
81
|
-
* type: "DATABASE",
|
|
82
|
-
* unordered: false,
|
|
83
85
|
* });
|
|
84
86
|
* ```
|
|
85
87
|
* <!--End PulumiCodeChooser -->
|
|
@@ -91,13 +93,14 @@ import * as outputs from "./types/output";
|
|
|
91
93
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
92
94
|
*
|
|
93
95
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
96
|
+
* projectId: "PROJECT ID",
|
|
94
97
|
* appId: "APPLICATION ID",
|
|
98
|
+
* name: "NAME OF THE TRIGGER",
|
|
99
|
+
* type: "AUTHENTICATION",
|
|
100
|
+
* functionId: "1",
|
|
101
|
+
* disabled: false,
|
|
95
102
|
* configOperationType: "LOGIN",
|
|
96
103
|
* configProviders: ["anon-user"],
|
|
97
|
-
* disabled: false,
|
|
98
|
-
* functionId: "1",
|
|
99
|
-
* projectId: "PROJECT ID",
|
|
100
|
-
* type: "AUTHENTICATION",
|
|
101
104
|
* });
|
|
102
105
|
* ```
|
|
103
106
|
* <!--End PulumiCodeChooser -->
|
|
@@ -109,12 +112,13 @@ import * as outputs from "./types/output";
|
|
|
109
112
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
110
113
|
*
|
|
111
114
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
112
|
-
* appId: "APPLICATION ID",
|
|
113
|
-
* configSchedule: "*",
|
|
114
|
-
* disabled: false,
|
|
115
|
-
* functionId: "1",
|
|
116
115
|
* projectId: "PROJECT ID",
|
|
116
|
+
* appId: "APPLICATION ID",
|
|
117
|
+
* name: "NAME OF THE TRIGGER",
|
|
117
118
|
* type: "SCHEDULED",
|
|
119
|
+
* functionId: "1",
|
|
120
|
+
* disabled: false,
|
|
121
|
+
* configSchedule: "*",
|
|
118
122
|
* });
|
|
119
123
|
* ```
|
|
120
124
|
* <!--End PulumiCodeChooser -->
|
package/eventTrigger.js
CHANGED
|
@@ -23,6 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
24
24
|
* projectId: "PROJECT ID",
|
|
25
25
|
* appId: "APPLICATION ID",
|
|
26
|
+
* name: "NAME OF THE TRIGGER",
|
|
26
27
|
* type: "DATABASE",
|
|
27
28
|
* functionId: "FUNCTION ID",
|
|
28
29
|
* disabled: false,
|
|
@@ -59,31 +60,32 @@ const utilities = require("./utilities");
|
|
|
59
60
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
60
61
|
*
|
|
61
62
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
63
|
+
* projectId: "PROJECT ID",
|
|
62
64
|
* appId: "APPLICATION ID",
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* configMatch: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
68
|
-
* configOperationType: "LOGIN",
|
|
65
|
+
* name: "NAME OF THE TRIGGER",
|
|
66
|
+
* type: "DATABASE",
|
|
67
|
+
* disabled: false,
|
|
68
|
+
* unordered: false,
|
|
69
69
|
* configOperationTypes: [
|
|
70
70
|
* "INSERT",
|
|
71
71
|
* "UPDATE",
|
|
72
72
|
* ],
|
|
73
|
-
*
|
|
73
|
+
* configOperationType: "LOGIN",
|
|
74
74
|
* configProviders: ["anon-user"],
|
|
75
|
-
*
|
|
75
|
+
* configDatabase: "DATABASE NAME",
|
|
76
|
+
* configCollection: "COLLECTION NAME",
|
|
76
77
|
* configServiceId: "1",
|
|
77
|
-
*
|
|
78
|
+
* configMatch: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
79
|
+
* configProject: "{\"updateDescription.updatedFields\":{\"status\":\"blocked\"}}",
|
|
80
|
+
* configFullDocument: false,
|
|
81
|
+
* configFullDocumentBefore: false,
|
|
82
|
+
* configSchedule: "*",
|
|
78
83
|
* eventProcessors: {
|
|
79
84
|
* awsEventbridge: {
|
|
80
85
|
* configAccountId: "AWS ACCOUNT ID",
|
|
81
86
|
* configRegion: "AWS REGIOn",
|
|
82
87
|
* },
|
|
83
88
|
* },
|
|
84
|
-
* projectId: "PROJECT ID",
|
|
85
|
-
* type: "DATABASE",
|
|
86
|
-
* unordered: false,
|
|
87
89
|
* });
|
|
88
90
|
* ```
|
|
89
91
|
* <!--End PulumiCodeChooser -->
|
|
@@ -95,13 +97,14 @@ const utilities = require("./utilities");
|
|
|
95
97
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
96
98
|
*
|
|
97
99
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
100
|
+
* projectId: "PROJECT ID",
|
|
98
101
|
* appId: "APPLICATION ID",
|
|
102
|
+
* name: "NAME OF THE TRIGGER",
|
|
103
|
+
* type: "AUTHENTICATION",
|
|
104
|
+
* functionId: "1",
|
|
105
|
+
* disabled: false,
|
|
99
106
|
* configOperationType: "LOGIN",
|
|
100
107
|
* configProviders: ["anon-user"],
|
|
101
|
-
* disabled: false,
|
|
102
|
-
* functionId: "1",
|
|
103
|
-
* projectId: "PROJECT ID",
|
|
104
|
-
* type: "AUTHENTICATION",
|
|
105
108
|
* });
|
|
106
109
|
* ```
|
|
107
110
|
* <!--End PulumiCodeChooser -->
|
|
@@ -113,12 +116,13 @@ const utilities = require("./utilities");
|
|
|
113
116
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
114
117
|
*
|
|
115
118
|
* const test = new mongodbatlas.EventTrigger("test", {
|
|
116
|
-
* appId: "APPLICATION ID",
|
|
117
|
-
* configSchedule: "*",
|
|
118
|
-
* disabled: false,
|
|
119
|
-
* functionId: "1",
|
|
120
119
|
* projectId: "PROJECT ID",
|
|
120
|
+
* appId: "APPLICATION ID",
|
|
121
|
+
* name: "NAME OF THE TRIGGER",
|
|
121
122
|
* type: "SCHEDULED",
|
|
123
|
+
* functionId: "1",
|
|
124
|
+
* disabled: false,
|
|
125
|
+
* configSchedule: "*",
|
|
122
126
|
* });
|
|
123
127
|
* ```
|
|
124
128
|
* <!--End PulumiCodeChooser -->
|
package/eventTrigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkIG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc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17,20 +17,21 @@ import * as outputs from "./types/output";
|
|
|
17
17
|
*
|
|
18
18
|
* const test = new mongodbatlas.FederatedDatabaseInstance("test", {
|
|
19
19
|
* projectId: "PROJECT ID",
|
|
20
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
20
21
|
* storageDatabases: [{
|
|
22
|
+
* name: "VirtualDatabase0",
|
|
21
23
|
* collections: [{
|
|
24
|
+
* name: "NAME OF THE COLLECTION",
|
|
22
25
|
* dataSources: [{
|
|
23
26
|
* collection: "COLLECTION IN THE CLUSTER",
|
|
24
27
|
* database: "DB IN THE CLUSTER",
|
|
25
28
|
* storeName: "CLUSTER NAME",
|
|
26
29
|
* }],
|
|
27
|
-
* name: "NAME OF THE COLLECTION",
|
|
28
30
|
* }],
|
|
29
|
-
* name: "VirtualDatabase0",
|
|
30
31
|
* }],
|
|
31
32
|
* storageStores: [{
|
|
32
|
-
* clusterName: "CLUSTER NAME",
|
|
33
33
|
* name: "STORE 1 NAME",
|
|
34
|
+
* clusterName: "CLUSTER NAME",
|
|
34
35
|
* projectId: "PROJECT ID",
|
|
35
36
|
* provider: "atlas",
|
|
36
37
|
* readPreference: {
|
|
@@ -49,15 +50,18 @@ import * as outputs from "./types/output";
|
|
|
49
50
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
50
51
|
*
|
|
51
52
|
* const test = new mongodbatlas.FederatedDatabaseInstance("test", {
|
|
53
|
+
* projectId: "PROJECT ID",
|
|
54
|
+
* name: "TENANT NAME OF THE FEDERATED DATABASE INSTANCE",
|
|
52
55
|
* cloudProviderConfig: {
|
|
53
56
|
* aws: {
|
|
54
57
|
* roleId: "AWS ROLE ID",
|
|
55
58
|
* testS3Bucket: "S3 BUCKET NAME",
|
|
56
59
|
* },
|
|
57
60
|
* },
|
|
58
|
-
* projectId: "PROJECT ID",
|
|
59
61
|
* storageDatabases: [{
|
|
62
|
+
* name: "VirtualDatabase0",
|
|
60
63
|
* collections: [{
|
|
64
|
+
* name: "NAME OF THE COLLECTION",
|
|
61
65
|
* dataSources: [
|
|
62
66
|
* {
|
|
63
67
|
* collection: "COLLECTION IN THE CLUSTER",
|
|
@@ -65,18 +69,16 @@ import * as outputs from "./types/output";
|
|
|
65
69
|
* storeName: "CLUSTER NAME",
|
|
66
70
|
* },
|
|
67
71
|
* {
|
|
68
|
-
* path: "S3 BUCKET PATH",
|
|
69
72
|
* storeName: "S3 BUCKET NAME",
|
|
73
|
+
* path: "S3 BUCKET PATH",
|
|
70
74
|
* },
|
|
71
75
|
* ],
|
|
72
|
-
* name: "NAME OF THE COLLECTION",
|
|
73
76
|
* }],
|
|
74
|
-
* name: "VirtualDatabase0",
|
|
75
77
|
* }],
|
|
76
78
|
* storageStores: [
|
|
77
79
|
* {
|
|
78
|
-
* clusterName: "CLUSTER NAME",
|
|
79
80
|
* name: "STORE 1 NAME",
|
|
81
|
+
* clusterName: "CLUSTER NAME",
|
|
80
82
|
* projectId: "PROJECT ID",
|
|
81
83
|
* provider: "atlas",
|
|
82
84
|
* readPreference: {
|