@pulumi/mongodbatlas 3.15.0-alpha.1712987729 → 3.15.0-alpha.1713461951
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessListApiKey.d.ts +4 -4
- package/accessListApiKey.js +4 -4
- package/advancedCluster.d.ts +28 -45
- package/advancedCluster.js +28 -45
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -44
- package/alertConfiguration.js +44 -44
- package/auditing.d.ts +2 -2
- package/auditing.js +2 -2
- package/backupCompliancePolicy.d.ts +85 -0
- package/backupCompliancePolicy.js +85 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -7
- package/cloudBackupSnapshot.js +7 -7
- package/cloudBackupSnapshotExportBucket.d.ts +2 -2
- package/cloudBackupSnapshotExportBucket.js +2 -2
- package/cloudBackupSnapshotExportJob.d.ts +3 -3
- package/cloudBackupSnapshotExportJob.js +3 -3
- package/cloudBackupSnapshotRestoreJob.d.ts +78 -11
- package/cloudBackupSnapshotRestoreJob.js +78 -11
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -64
- package/cluster.js +48 -64
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -2
- package/clusterOutageSimulation.js +2 -2
- package/customDbRole.d.ts +6 -6
- package/customDbRole.js +6 -6
- package/customDnsConfigurationClusterAws.d.ts +1 -1
- package/customDnsConfigurationClusterAws.js +1 -1
- package/databaseUser.d.ts +19 -19
- package/databaseUser.js +19 -19
- package/eventTrigger.d.ts +24 -20
- package/eventTrigger.js +24 -20
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -8
- package/federatedDatabaseInstance.js +10 -8
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -2
- package/federatedQueryLimit.js +2 -2
- package/federatedSettingsIdentityProvider.d.ts +6 -5
- package/federatedSettingsIdentityProvider.js +6 -5
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -2
- package/federatedSettingsOrgRoleMapping.js +2 -2
- package/get509AuthenticationDatabaseUser.d.ts +64 -0
- package/get509AuthenticationDatabaseUser.js +64 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAdvancedCluster.d.ts +60 -0
- package/getAdvancedCluster.js +60 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +202 -0
- package/getAlertConfiguration.js +202 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -2
- package/getAtlasUsers.js +2 -2
- package/getAuditing.d.ts +38 -0
- package/getAuditing.js +38 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +170 -0
- package/getBackupCompliancePolicy.js +170 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +58 -0
- package/getCloudBackupSchedule.js +58 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +42 -0
- package/getCloudBackupSnapshot.js +42 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +40 -0
- package/getCloudBackupSnapshotExportBucket.js +40 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -8
- package/getCloudBackupSnapshotExportBuckets.js +8 -8
- package/getCloudBackupSnapshotExportJob.d.ts +62 -0
- package/getCloudBackupSnapshotExportJob.js +62 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -6
- package/getCloudBackupSnapshotExportJobs.js +6 -6
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -6
- package/getCloudBackupSnapshotRestoreJobs.js +6 -6
- package/getCloudProviderAccessSetup.d.ts +4 -4
- package/getCloudProviderAccessSetup.js +4 -4
- package/getCluster.d.ts +64 -0
- package/getCluster.js +64 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -2
- package/getClusterOutageSimulation.js +2 -2
- package/getClusters.d.ts +6 -4
- package/getClusters.js +6 -4
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -2
- package/getCustomDbRole.js +2 -2
- package/getCustomDnsConfigurationClusterAws.d.ts +34 -0
- package/getCustomDnsConfigurationClusterAws.js +34 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +132 -0
- package/getDatabaseUser.js +132 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -14
- package/getDatabaseUsers.js +14 -14
- package/getFederatedDatabaseInstance.d.ts +6 -6
- package/getFederatedDatabaseInstance.js +6 -6
- package/getFederatedQueryLimit.d.ts +2 -2
- package/getFederatedQueryLimit.js +2 -2
- package/getFederatedSettingsIdentityProvider.d.ts +4 -2
- package/getFederatedSettingsIdentityProvider.js +4 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -2
- package/getFederatedSettingsIdentityProviders.js +4 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -6
- package/getFederatedSettingsOrgConfig.js +6 -6
- package/getFederatedSettingsOrgConfigs.d.ts +6 -6
- package/getFederatedSettingsOrgConfigs.js +6 -6
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -4
- package/getFederatedSettingsOrgRoleMapping.js +4 -4
- package/getGlobalClusterConfig.d.ts +114 -0
- package/getGlobalClusterConfig.js +114 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +50 -0
- package/getLdapConfiguration.js +50 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +70 -0
- package/getLdapVerify.js +70 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +68 -0
- package/getMaintenanceWindow.js +68 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +40 -0
- package/getNetworkContainer.js +40 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -4
- package/getNetworkContainers.js +4 -4
- package/getNetworkPeering.d.ts +46 -0
- package/getNetworkPeering.js +46 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -4
- package/getNetworkPeerings.js +4 -4
- package/getOrganizations.d.ts +2 -2
- package/getOrganizations.js +2 -2
- package/getPrivateLinkEndpoint.d.ts +46 -0
- package/getPrivateLinkEndpoint.js +46 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointServiceServerless.js +20 -16
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +134 -0
- package/getProject.js +134 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +40 -0
- package/getProjectApiKey.js +40 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -2
- package/getProjectApiKeys.js +2 -2
- package/getProjectInvitation.d.ts +38 -0
- package/getProjectInvitation.js +38 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +146 -0
- package/getProjectIpAccessList.js +146 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -8
- package/getProjects.js +10 -8
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +2 -2
- package/getSearchIndex.js +2 -2
- package/getThirdPartyIntegration.d.ts +2 -2
- package/getThirdPartyIntegration.js +2 -2
- package/getThirdPartyIntegrations.d.ts +4 -4
- package/getThirdPartyIntegrations.js +4 -4
- package/getX509AuthenticationDatabaseUser.d.ts +64 -0
- package/getX509AuthenticationDatabaseUser.js +64 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -2
- package/globalClusterConfig.js +4 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -6
- package/ldapConfiguration.js +12 -6
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -6
- package/ldapVerify.js +9 -6
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -2
- package/maintenanceWindow.js +2 -2
- package/networkContainer.d.ts +3 -3
- package/networkContainer.js +3 -3
- package/networkPeering.d.ts +38 -143
- package/networkPeering.js +38 -143
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -8
- package/onlineArchive.js +8 -8
- package/orgInvitation.d.ts +4 -4
- package/orgInvitation.js +4 -4
- package/organization.d.ts +2 -1
- package/organization.js +2 -1
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpointService.d.ts +95 -22
- package/privateLinkEndpointService.js +95 -22
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -2
- package/privatelinkEndpointServerless.js +3 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +54 -6
- package/privatelinkEndpointServiceServerless.js +54 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -3
- package/project.js +4 -3
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +2 -2
- package/projectInvitation.js +2 -2
- package/projectIpAccessList.d.ts +8 -8
- package/projectIpAccessList.js +8 -8
- package/searchIndex.d.ts +4 -2
- package/searchIndex.js +4 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -0
- package/serverlessInstance.js +1 -0
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -3
- package/thirdPartyIntegration.js +3 -3
|
@@ -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.getFederatedSettingsOrgConfigs({
|
|
21
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
* <!--End PulumiCodeChooser -->
|
|
@@ -70,15 +70,15 @@ export interface GetFederatedSettingsOrgConfigsResult {
|
|
|
70
70
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
71
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
72
72
|
*
|
|
73
|
-
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("
|
|
73
|
+
* const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("org_connections", {
|
|
74
74
|
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
75
75
|
* orgId: "627a9683ea7ff7f74de306f14",
|
|
76
76
|
* domainRestrictionEnabled: false,
|
|
77
77
|
* domainAllowLists: ["mydomain.com"],
|
|
78
78
|
* postAuthRoleGrants: ["ORG_MEMBER"],
|
|
79
79
|
* });
|
|
80
|
-
* const orgConfigsDs = mongodbatlas.
|
|
81
|
-
* federationSettingsId:
|
|
80
|
+
* const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigs({
|
|
81
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
82
82
|
* });
|
|
83
83
|
* ```
|
|
84
84
|
* <!--End PulumiCodeChooser -->
|
|
@@ -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.getFederatedSettingsOrgConfigs({
|
|
26
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
* <!--End PulumiCodeChooser -->
|
|
@@ -47,15 +47,15 @@ exports.getFederatedSettingsOrgConfigs = getFederatedSettingsOrgConfigs;
|
|
|
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.getFederatedSettingsOrgConfigs({
|
|
58
|
+
* federationSettingsId: orgConnectionsMongodbatlasFederatedSettingsOrgConfig.id,
|
|
59
59
|
* });
|
|
60
60
|
* ```
|
|
61
61
|
* <!--End PulumiCodeChooser -->
|
|
@@ -10,8 +10,8 @@ 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 orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("
|
|
14
|
-
* federationSettingsId:
|
|
13
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
14
|
+
* federationSettingsId: federatedSettings.id,
|
|
15
15
|
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
16
16
|
* externalGroupName: "myGrouptest",
|
|
17
17
|
* roleAssignments: [
|
|
@@ -97,8 +97,8 @@ export interface GetFederatedSettingsOrgRoleMappingResult {
|
|
|
97
97
|
* import * as pulumi from "@pulumi/pulumi";
|
|
98
98
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
99
99
|
*
|
|
100
|
-
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("
|
|
101
|
-
* federationSettingsId:
|
|
100
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
101
|
+
* federationSettingsId: federatedSettings.id,
|
|
102
102
|
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
103
103
|
* externalGroupName: "myGrouptest",
|
|
104
104
|
* roleAssignments: [
|
|
@@ -15,8 +15,8 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
17
|
*
|
|
18
|
-
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("
|
|
19
|
-
* federationSettingsId:
|
|
18
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
19
|
+
* federationSettingsId: federatedSettings.id,
|
|
20
20
|
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
21
21
|
* externalGroupName: "myGrouptest",
|
|
22
22
|
* roleAssignments: [
|
|
@@ -76,8 +76,8 @@ exports.getFederatedSettingsOrgRoleMapping = getFederatedSettingsOrgRoleMapping;
|
|
|
76
76
|
* import * as pulumi from "@pulumi/pulumi";
|
|
77
77
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
78
78
|
*
|
|
79
|
-
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("
|
|
80
|
-
* federationSettingsId:
|
|
79
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
80
|
+
* federationSettingsId: federatedSettings.id,
|
|
81
81
|
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
82
82
|
* externalGroupName: "myGrouptest",
|
|
83
83
|
* roleAssignments: [
|
|
@@ -5,6 +5,63 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* `mongodbatlas.GlobalClusterConfig` describes all managed namespaces and custom zone mappings associated with the specified Global Cluster.
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const test = new mongodbatlas.Cluster("test", {
|
|
17
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
18
|
+
* name: "<CLUSTER-NAME>",
|
|
19
|
+
* cloudBackup: true,
|
|
20
|
+
* clusterType: "GEOSHARDED",
|
|
21
|
+
* providerName: "AWS",
|
|
22
|
+
* providerInstanceSizeName: "M30",
|
|
23
|
+
* replicationSpecs: [
|
|
24
|
+
* {
|
|
25
|
+
* zoneName: "Zone 1",
|
|
26
|
+
* numShards: 2,
|
|
27
|
+
* regionsConfigs: [{
|
|
28
|
+
* regionName: "EU_CENTRAL_1",
|
|
29
|
+
* electableNodes: 3,
|
|
30
|
+
* priority: 7,
|
|
31
|
+
* readOnlyNodes: 0,
|
|
32
|
+
* }],
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* zoneName: "Zone 2",
|
|
36
|
+
* numShards: 2,
|
|
37
|
+
* regionsConfigs: [{
|
|
38
|
+
* regionName: "US_EAST_2",
|
|
39
|
+
* electableNodes: 3,
|
|
40
|
+
* priority: 7,
|
|
41
|
+
* readOnlyNodes: 0,
|
|
42
|
+
* }],
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* const configGlobalClusterConfig = new mongodbatlas.GlobalClusterConfig("config", {
|
|
47
|
+
* projectId: test.projectId,
|
|
48
|
+
* clusterName: test.name,
|
|
49
|
+
* managedNamespaces: [{
|
|
50
|
+
* db: "mydata",
|
|
51
|
+
* collection: "publishers",
|
|
52
|
+
* customShardKey: "city",
|
|
53
|
+
* }],
|
|
54
|
+
* customZoneMappings: [{
|
|
55
|
+
* location: "CA",
|
|
56
|
+
* zone: "Zone 1",
|
|
57
|
+
* }],
|
|
58
|
+
* });
|
|
59
|
+
* const config = mongodbatlas.getGlobalClusterConfigOutput({
|
|
60
|
+
* projectId: configGlobalClusterConfig.projectId,
|
|
61
|
+
* clusterName: configGlobalClusterConfig.clusterName,
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
* <!--End PulumiCodeChooser -->
|
|
8
65
|
*/
|
|
9
66
|
export declare function getGlobalClusterConfig(args: GetGlobalClusterConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalClusterConfigResult>;
|
|
10
67
|
/**
|
|
@@ -47,6 +104,63 @@ export interface GetGlobalClusterConfigResult {
|
|
|
47
104
|
* `mongodbatlas.GlobalClusterConfig` describes all managed namespaces and custom zone mappings associated with the specified Global Cluster.
|
|
48
105
|
*
|
|
49
106
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
107
|
+
*
|
|
108
|
+
* ## Example Usage
|
|
109
|
+
*
|
|
110
|
+
* <!--Start PulumiCodeChooser -->
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
113
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
114
|
+
*
|
|
115
|
+
* const test = new mongodbatlas.Cluster("test", {
|
|
116
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
117
|
+
* name: "<CLUSTER-NAME>",
|
|
118
|
+
* cloudBackup: true,
|
|
119
|
+
* clusterType: "GEOSHARDED",
|
|
120
|
+
* providerName: "AWS",
|
|
121
|
+
* providerInstanceSizeName: "M30",
|
|
122
|
+
* replicationSpecs: [
|
|
123
|
+
* {
|
|
124
|
+
* zoneName: "Zone 1",
|
|
125
|
+
* numShards: 2,
|
|
126
|
+
* regionsConfigs: [{
|
|
127
|
+
* regionName: "EU_CENTRAL_1",
|
|
128
|
+
* electableNodes: 3,
|
|
129
|
+
* priority: 7,
|
|
130
|
+
* readOnlyNodes: 0,
|
|
131
|
+
* }],
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* zoneName: "Zone 2",
|
|
135
|
+
* numShards: 2,
|
|
136
|
+
* regionsConfigs: [{
|
|
137
|
+
* regionName: "US_EAST_2",
|
|
138
|
+
* electableNodes: 3,
|
|
139
|
+
* priority: 7,
|
|
140
|
+
* readOnlyNodes: 0,
|
|
141
|
+
* }],
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* });
|
|
145
|
+
* const configGlobalClusterConfig = new mongodbatlas.GlobalClusterConfig("config", {
|
|
146
|
+
* projectId: test.projectId,
|
|
147
|
+
* clusterName: test.name,
|
|
148
|
+
* managedNamespaces: [{
|
|
149
|
+
* db: "mydata",
|
|
150
|
+
* collection: "publishers",
|
|
151
|
+
* customShardKey: "city",
|
|
152
|
+
* }],
|
|
153
|
+
* customZoneMappings: [{
|
|
154
|
+
* location: "CA",
|
|
155
|
+
* zone: "Zone 1",
|
|
156
|
+
* }],
|
|
157
|
+
* });
|
|
158
|
+
* const config = mongodbatlas.getGlobalClusterConfigOutput({
|
|
159
|
+
* projectId: configGlobalClusterConfig.projectId,
|
|
160
|
+
* clusterName: configGlobalClusterConfig.clusterName,
|
|
161
|
+
* });
|
|
162
|
+
* ```
|
|
163
|
+
* <!--End PulumiCodeChooser -->
|
|
50
164
|
*/
|
|
51
165
|
export declare function getGlobalClusterConfigOutput(args: GetGlobalClusterConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalClusterConfigResult>;
|
|
52
166
|
/**
|
|
@@ -9,6 +9,63 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.GlobalClusterConfig` describes all managed namespaces and custom zone mappings associated with the specified Global Cluster.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const test = new mongodbatlas.Cluster("test", {
|
|
21
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
22
|
+
* name: "<CLUSTER-NAME>",
|
|
23
|
+
* cloudBackup: true,
|
|
24
|
+
* clusterType: "GEOSHARDED",
|
|
25
|
+
* providerName: "AWS",
|
|
26
|
+
* providerInstanceSizeName: "M30",
|
|
27
|
+
* replicationSpecs: [
|
|
28
|
+
* {
|
|
29
|
+
* zoneName: "Zone 1",
|
|
30
|
+
* numShards: 2,
|
|
31
|
+
* regionsConfigs: [{
|
|
32
|
+
* regionName: "EU_CENTRAL_1",
|
|
33
|
+
* electableNodes: 3,
|
|
34
|
+
* priority: 7,
|
|
35
|
+
* readOnlyNodes: 0,
|
|
36
|
+
* }],
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* zoneName: "Zone 2",
|
|
40
|
+
* numShards: 2,
|
|
41
|
+
* regionsConfigs: [{
|
|
42
|
+
* regionName: "US_EAST_2",
|
|
43
|
+
* electableNodes: 3,
|
|
44
|
+
* priority: 7,
|
|
45
|
+
* readOnlyNodes: 0,
|
|
46
|
+
* }],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* const configGlobalClusterConfig = new mongodbatlas.GlobalClusterConfig("config", {
|
|
51
|
+
* projectId: test.projectId,
|
|
52
|
+
* clusterName: test.name,
|
|
53
|
+
* managedNamespaces: [{
|
|
54
|
+
* db: "mydata",
|
|
55
|
+
* collection: "publishers",
|
|
56
|
+
* customShardKey: "city",
|
|
57
|
+
* }],
|
|
58
|
+
* customZoneMappings: [{
|
|
59
|
+
* location: "CA",
|
|
60
|
+
* zone: "Zone 1",
|
|
61
|
+
* }],
|
|
62
|
+
* });
|
|
63
|
+
* const config = mongodbatlas.getGlobalClusterConfigOutput({
|
|
64
|
+
* projectId: configGlobalClusterConfig.projectId,
|
|
65
|
+
* clusterName: configGlobalClusterConfig.clusterName,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* <!--End PulumiCodeChooser -->
|
|
12
69
|
*/
|
|
13
70
|
function getGlobalClusterConfig(args, opts) {
|
|
14
71
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +80,63 @@ exports.getGlobalClusterConfig = getGlobalClusterConfig;
|
|
|
23
80
|
* `mongodbatlas.GlobalClusterConfig` describes all managed namespaces and custom zone mappings associated with the specified Global Cluster.
|
|
24
81
|
*
|
|
25
82
|
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
83
|
+
*
|
|
84
|
+
* ## Example Usage
|
|
85
|
+
*
|
|
86
|
+
* <!--Start PulumiCodeChooser -->
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
90
|
+
*
|
|
91
|
+
* const test = new mongodbatlas.Cluster("test", {
|
|
92
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
93
|
+
* name: "<CLUSTER-NAME>",
|
|
94
|
+
* cloudBackup: true,
|
|
95
|
+
* clusterType: "GEOSHARDED",
|
|
96
|
+
* providerName: "AWS",
|
|
97
|
+
* providerInstanceSizeName: "M30",
|
|
98
|
+
* replicationSpecs: [
|
|
99
|
+
* {
|
|
100
|
+
* zoneName: "Zone 1",
|
|
101
|
+
* numShards: 2,
|
|
102
|
+
* regionsConfigs: [{
|
|
103
|
+
* regionName: "EU_CENTRAL_1",
|
|
104
|
+
* electableNodes: 3,
|
|
105
|
+
* priority: 7,
|
|
106
|
+
* readOnlyNodes: 0,
|
|
107
|
+
* }],
|
|
108
|
+
* },
|
|
109
|
+
* {
|
|
110
|
+
* zoneName: "Zone 2",
|
|
111
|
+
* numShards: 2,
|
|
112
|
+
* regionsConfigs: [{
|
|
113
|
+
* regionName: "US_EAST_2",
|
|
114
|
+
* electableNodes: 3,
|
|
115
|
+
* priority: 7,
|
|
116
|
+
* readOnlyNodes: 0,
|
|
117
|
+
* }],
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* });
|
|
121
|
+
* const configGlobalClusterConfig = new mongodbatlas.GlobalClusterConfig("config", {
|
|
122
|
+
* projectId: test.projectId,
|
|
123
|
+
* clusterName: test.name,
|
|
124
|
+
* managedNamespaces: [{
|
|
125
|
+
* db: "mydata",
|
|
126
|
+
* collection: "publishers",
|
|
127
|
+
* customShardKey: "city",
|
|
128
|
+
* }],
|
|
129
|
+
* customZoneMappings: [{
|
|
130
|
+
* location: "CA",
|
|
131
|
+
* zone: "Zone 1",
|
|
132
|
+
* }],
|
|
133
|
+
* });
|
|
134
|
+
* const config = mongodbatlas.getGlobalClusterConfigOutput({
|
|
135
|
+
* projectId: configGlobalClusterConfig.projectId,
|
|
136
|
+
* clusterName: configGlobalClusterConfig.clusterName,
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
139
|
+
* <!--End PulumiCodeChooser -->
|
|
26
140
|
*/
|
|
27
141
|
function getGlobalClusterConfigOutput(args, opts) {
|
|
28
142
|
return pulumi.output(args).apply((a) => getGlobalClusterConfig(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGlobalClusterConfig.js","sourceRoot":"","sources":["../getGlobalClusterConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGlobalClusterConfig.js","sourceRoot":"","sources":["../getGlobalClusterConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -4,6 +4,31 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
* `mongodbatlas.LdapConfiguration` describes a LDAP Configuration.
|
|
5
5
|
*
|
|
6
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
16
|
+
* name: "NAME OF THE PROJECT",
|
|
17
|
+
* orgId: "ORG ID",
|
|
18
|
+
* });
|
|
19
|
+
* const testLdapConfiguration = new mongodbatlas.LdapConfiguration("test", {
|
|
20
|
+
* projectId: testProject.id,
|
|
21
|
+
* authenticationEnabled: true,
|
|
22
|
+
* hostname: "HOSTNAME",
|
|
23
|
+
* port: 636,
|
|
24
|
+
* bindUsername: "USERNAME",
|
|
25
|
+
* bindPassword: "PASSWORD",
|
|
26
|
+
* });
|
|
27
|
+
* const test = mongodbatlas.getLdapConfigurationOutput({
|
|
28
|
+
* projectId: testLdapConfiguration.id,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
7
32
|
*/
|
|
8
33
|
export declare function getLdapConfiguration(args: GetLdapConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetLdapConfigurationResult>;
|
|
9
34
|
/**
|
|
@@ -65,6 +90,31 @@ export interface GetLdapConfigurationResult {
|
|
|
65
90
|
* `mongodbatlas.LdapConfiguration` describes a LDAP Configuration.
|
|
66
91
|
*
|
|
67
92
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
93
|
+
*
|
|
94
|
+
* ## Example Usage
|
|
95
|
+
*
|
|
96
|
+
* <!--Start PulumiCodeChooser -->
|
|
97
|
+
* ```typescript
|
|
98
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
99
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
100
|
+
*
|
|
101
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
102
|
+
* name: "NAME OF THE PROJECT",
|
|
103
|
+
* orgId: "ORG ID",
|
|
104
|
+
* });
|
|
105
|
+
* const testLdapConfiguration = new mongodbatlas.LdapConfiguration("test", {
|
|
106
|
+
* projectId: testProject.id,
|
|
107
|
+
* authenticationEnabled: true,
|
|
108
|
+
* hostname: "HOSTNAME",
|
|
109
|
+
* port: 636,
|
|
110
|
+
* bindUsername: "USERNAME",
|
|
111
|
+
* bindPassword: "PASSWORD",
|
|
112
|
+
* });
|
|
113
|
+
* const test = mongodbatlas.getLdapConfigurationOutput({
|
|
114
|
+
* projectId: testLdapConfiguration.id,
|
|
115
|
+
* });
|
|
116
|
+
* ```
|
|
117
|
+
* <!--End PulumiCodeChooser -->
|
|
68
118
|
*/
|
|
69
119
|
export declare function getLdapConfigurationOutput(args: GetLdapConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLdapConfigurationResult>;
|
|
70
120
|
/**
|
package/getLdapConfiguration.js
CHANGED
|
@@ -9,6 +9,31 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.LdapConfiguration` describes a LDAP Configuration.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
21
|
+
* name: "NAME OF THE PROJECT",
|
|
22
|
+
* orgId: "ORG ID",
|
|
23
|
+
* });
|
|
24
|
+
* const testLdapConfiguration = new mongodbatlas.LdapConfiguration("test", {
|
|
25
|
+
* projectId: testProject.id,
|
|
26
|
+
* authenticationEnabled: true,
|
|
27
|
+
* hostname: "HOSTNAME",
|
|
28
|
+
* port: 636,
|
|
29
|
+
* bindUsername: "USERNAME",
|
|
30
|
+
* bindPassword: "PASSWORD",
|
|
31
|
+
* });
|
|
32
|
+
* const test = mongodbatlas.getLdapConfigurationOutput({
|
|
33
|
+
* projectId: testLdapConfiguration.id,
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
* <!--End PulumiCodeChooser -->
|
|
12
37
|
*/
|
|
13
38
|
function getLdapConfiguration(args, opts) {
|
|
14
39
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +46,31 @@ exports.getLdapConfiguration = getLdapConfiguration;
|
|
|
21
46
|
* `mongodbatlas.LdapConfiguration` describes a LDAP Configuration.
|
|
22
47
|
*
|
|
23
48
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* <!--Start PulumiCodeChooser -->
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
|
+
*
|
|
57
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
58
|
+
* name: "NAME OF THE PROJECT",
|
|
59
|
+
* orgId: "ORG ID",
|
|
60
|
+
* });
|
|
61
|
+
* const testLdapConfiguration = new mongodbatlas.LdapConfiguration("test", {
|
|
62
|
+
* projectId: testProject.id,
|
|
63
|
+
* authenticationEnabled: true,
|
|
64
|
+
* hostname: "HOSTNAME",
|
|
65
|
+
* port: 636,
|
|
66
|
+
* bindUsername: "USERNAME",
|
|
67
|
+
* bindPassword: "PASSWORD",
|
|
68
|
+
* });
|
|
69
|
+
* const test = mongodbatlas.getLdapConfigurationOutput({
|
|
70
|
+
* projectId: testLdapConfiguration.id,
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
* <!--End PulumiCodeChooser -->
|
|
24
74
|
*/
|
|
25
75
|
function getLdapConfigurationOutput(args, opts) {
|
|
26
76
|
return pulumi.output(args).apply((a) => getLdapConfiguration(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLdapConfiguration.js","sourceRoot":"","sources":["../getLdapConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getLdapConfiguration.js","sourceRoot":"","sources":["../getLdapConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA0DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/getLdapVerify.d.ts
CHANGED
|
@@ -4,6 +4,41 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
* `mongodbatlas.LdapVerify` describes a LDAP Verify.
|
|
5
5
|
*
|
|
6
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
16
|
+
* name: "NAME OF THE PROJECT",
|
|
17
|
+
* orgId: "ORG ID",
|
|
18
|
+
* });
|
|
19
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
20
|
+
* projectId: testProject.id,
|
|
21
|
+
* name: "NAME OF THE CLUSTER",
|
|
22
|
+
* providerName: "AWS",
|
|
23
|
+
* providerRegionName: "US_EAST_2",
|
|
24
|
+
* providerInstanceSizeName: "M10",
|
|
25
|
+
* cloudBackup: true,
|
|
26
|
+
* });
|
|
27
|
+
* const testLdapVerify = new mongodbatlas.LdapVerify("test", {
|
|
28
|
+
* projectId: testProject.id,
|
|
29
|
+
* hostname: "HOSTNAME",
|
|
30
|
+
* port: 636,
|
|
31
|
+
* bindUsername: "USERNAME",
|
|
32
|
+
* bindPassword: "PASSWORD",
|
|
33
|
+
* }, {
|
|
34
|
+
* dependsOn: [testCluster],
|
|
35
|
+
* });
|
|
36
|
+
* const test = mongodbatlas.getLdapVerifyOutput({
|
|
37
|
+
* projectId: testLdapVerify.projectId,
|
|
38
|
+
* requestId: testLdapVerify.requestId,
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
* <!--End PulumiCodeChooser -->
|
|
7
42
|
*/
|
|
8
43
|
export declare function getLdapVerify(args: GetLdapVerifyArgs, opts?: pulumi.InvokeOptions): Promise<GetLdapVerifyResult>;
|
|
9
44
|
/**
|
|
@@ -61,6 +96,41 @@ export interface GetLdapVerifyResult {
|
|
|
61
96
|
* `mongodbatlas.LdapVerify` describes a LDAP Verify.
|
|
62
97
|
*
|
|
63
98
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
99
|
+
*
|
|
100
|
+
* ## Example Usage
|
|
101
|
+
*
|
|
102
|
+
* <!--Start PulumiCodeChooser -->
|
|
103
|
+
* ```typescript
|
|
104
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
105
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
106
|
+
*
|
|
107
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
108
|
+
* name: "NAME OF THE PROJECT",
|
|
109
|
+
* orgId: "ORG ID",
|
|
110
|
+
* });
|
|
111
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
112
|
+
* projectId: testProject.id,
|
|
113
|
+
* name: "NAME OF THE CLUSTER",
|
|
114
|
+
* providerName: "AWS",
|
|
115
|
+
* providerRegionName: "US_EAST_2",
|
|
116
|
+
* providerInstanceSizeName: "M10",
|
|
117
|
+
* cloudBackup: true,
|
|
118
|
+
* });
|
|
119
|
+
* const testLdapVerify = new mongodbatlas.LdapVerify("test", {
|
|
120
|
+
* projectId: testProject.id,
|
|
121
|
+
* hostname: "HOSTNAME",
|
|
122
|
+
* port: 636,
|
|
123
|
+
* bindUsername: "USERNAME",
|
|
124
|
+
* bindPassword: "PASSWORD",
|
|
125
|
+
* }, {
|
|
126
|
+
* dependsOn: [testCluster],
|
|
127
|
+
* });
|
|
128
|
+
* const test = mongodbatlas.getLdapVerifyOutput({
|
|
129
|
+
* projectId: testLdapVerify.projectId,
|
|
130
|
+
* requestId: testLdapVerify.requestId,
|
|
131
|
+
* });
|
|
132
|
+
* ```
|
|
133
|
+
* <!--End PulumiCodeChooser -->
|
|
64
134
|
*/
|
|
65
135
|
export declare function getLdapVerifyOutput(args: GetLdapVerifyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLdapVerifyResult>;
|
|
66
136
|
/**
|