@pulumi/mongodbatlas 3.14.1 → 3.14.3
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 +8 -2
- package/accessListApiKey.js +8 -2
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +63 -5
- package/advancedCluster.js +63 -5
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +10 -3
- package/alertConfiguration.js +10 -3
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +4 -2
- package/apiKey.js +4 -2
- package/apiKey.js.map +1 -1
- package/auditing.d.ts +4 -2
- package/auditing.js +4 -2
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +5 -5
- package/backupCompliancePolicy.js +5 -5
- package/cloudBackupSchedule.d.ts +2 -2
- package/cloudBackupSchedule.js +2 -2
- package/cloudBackupSnapshot.d.ts +4 -2
- package/cloudBackupSnapshot.js +4 -2
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +4 -2
- package/cloudBackupSnapshotExportBucket.js +4 -2
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +55 -2
- package/cloudBackupSnapshotExportJob.js +55 -2
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +12 -9
- package/cloudBackupSnapshotRestoreJob.js +7 -7
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +67 -2
- package/cluster.js +61 -2
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +6 -1
- package/clusterOutageSimulation.js +6 -1
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +7 -2
- package/customDbRole.js +7 -2
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +4 -2
- package/customDnsConfigurationClusterAws.js +4 -2
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLakePipeline.d.ts +2 -2
- package/dataLakePipeline.js +2 -2
- package/databaseUser.d.ts +14 -2
- package/databaseUser.js +14 -2
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +2 -2
- package/encryptionAtRest.js +2 -2
- package/eventTrigger.d.ts +20 -8
- package/eventTrigger.js +14 -2
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -4
- package/federatedDatabaseInstance.js +10 -4
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +7 -3
- package/federatedQueryLimit.js +7 -3
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +5 -3
- package/federatedSettingsIdentityProvider.js +5 -3
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +4 -2
- package/federatedSettingsOrgRoleMapping.js +4 -2
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/getApiKeys.d.ts +6 -0
- package/getApiKeys.js +6 -0
- package/getApiKeys.js.map +1 -1
- package/getAtlasUser.d.ts +13 -1
- package/getAtlasUser.js +12 -0
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +18 -0
- package/getAtlasUsers.js +18 -0
- package/getAtlasUsers.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +6 -0
- package/getBackupCompliancePolicy.js +6 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +4 -0
- package/getCloudBackupSnapshotExportBuckets.js +4 -0
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +4 -0
- package/getCloudBackupSnapshotExportJobs.js +4 -0
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +14 -2
- package/getCloudProviderAccessSetup.js +14 -2
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +6 -0
- package/getClusterOutageSimulation.js +6 -0
- package/getClusterOutageSimulation.js.map +1 -1
- package/getClusters.d.ts +4 -0
- package/getClusters.js +4 -0
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +4 -0
- package/getCustomDbRole.js +4 -0
- package/getCustomDbRole.js.map +1 -1
- package/getDatabaseUsers.d.ts +8 -0
- package/getDatabaseUsers.js +8 -0
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +1 -1
- package/getFederatedDatabaseInstance.d.ts +12 -0
- package/getFederatedDatabaseInstance.js +12 -0
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +4 -0
- package/getFederatedQueryLimit.js +4 -0
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +6 -0
- package/getFederatedQueryLimits.js +6 -0
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +4 -0
- package/getFederatedSettings.js +4 -0
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +4 -0
- package/getFederatedSettingsIdentityProvider.js +4 -0
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -0
- package/getFederatedSettingsIdentityProviders.js +4 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +4 -0
- package/getFederatedSettingsOrgConfig.js +4 -0
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +4 -0
- package/getFederatedSettingsOrgConfigs.js +4 -0
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -0
- package/getFederatedSettingsOrgRoleMapping.js +4 -0
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getMaintenanceWindow.d.ts +2 -2
- package/getNetworkContainers.d.ts +6 -0
- package/getNetworkContainers.js +6 -0
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeerings.d.ts +6 -0
- package/getNetworkPeerings.js +6 -0
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +0 -20
- package/getOnlineArchive.js +0 -20
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +0 -18
- package/getOnlineArchives.js +0 -18
- package/getOnlineArchives.js.map +1 -1
- package/getOrganization.d.ts +6 -0
- package/getOrganization.js +6 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +4 -0
- package/getOrganizations.js +4 -0
- package/getOrganizations.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +0 -8
- package/getPrivateLinkEndpoint.js +0 -8
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +0 -8
- package/getPrivateLinkEndpointService.js +0 -8
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +66 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +56 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +10 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +10 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +8 -0
- package/getPrivatelinkEndpointServiceServerless.js +8 -0
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +26 -0
- package/getPrivatelinkEndpointsServiceServerless.js +8 -0
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProjectApiKeys.d.ts +4 -0
- package/getProjectApiKeys.js +4 -0
- package/getProjectApiKeys.js.map +1 -1
- package/getProjects.d.ts +4 -0
- package/getProjects.js +4 -0
- package/getProjects.js.map +1 -1
- package/getRolesOrgId.d.ts +10 -4
- package/getRolesOrgId.js +10 -4
- package/getRolesOrgId.js.map +1 -1
- package/getSearchIndex.d.ts +4 -0
- package/getSearchIndex.js +4 -0
- package/getSearchIndex.js.map +1 -1
- package/getServerlessInstance.d.ts +6 -0
- package/getServerlessInstance.js +6 -0
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +4 -0
- package/getServerlessInstances.js +4 -0
- package/getServerlessInstances.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +5 -1
- package/getThirdPartyIntegration.js +4 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +4 -0
- package/getThirdPartyIntegrations.js +4 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/globalClusterConfig.d.ts +6 -2
- package/globalClusterConfig.js +6 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +7 -2
- package/ldapConfiguration.js +7 -2
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +4 -2
- package/ldapVerify.js +4 -2
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +16 -12
- package/maintenanceWindow.js +11 -4
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +11 -2
- package/networkContainer.js +11 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +28 -2
- package/networkPeering.js +28 -2
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +19 -6
- package/onlineArchive.js +16 -3
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +10 -2
- package/orgInvitation.js +10 -2
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +2 -0
- package/organization.js +2 -0
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateEndpointRegionalMode.d.ts +2 -10
- package/privateEndpointRegionalMode.js +2 -10
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +6 -3
- package/privateLinkEndpoint.js +6 -3
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +9 -8
- package/privateLinkEndpointService.js +9 -8
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +5 -2
- package/privatelinkEndpointServerless.js +5 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +36 -6
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +13 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +4 -6
- package/privatelinkEndpointServiceServerless.js +4 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -2
- package/project.js +4 -2
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +8 -2
- package/projectApiKey.js +8 -2
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +8 -2
- package/projectInvitation.js +8 -2
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +11 -2
- package/projectIpAccessList.js +11 -2
- package/projectIpAccessList.js.map +1 -1
- package/searchIndex.d.ts +81 -0
- package/searchIndex.js +9 -0
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +5 -2
- package/serverlessInstance.js +5 -2
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +7 -5
- package/thirdPartyIntegration.js +4 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +1 -0
- package/types/output.d.ts +12 -3
- package/x509authenticationDatabaseUser.d.ts +4 -4
- package/x509authenticationDatabaseUser.js +4 -4
package/ldapConfiguration.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -20,8 +21,11 @@ import * as outputs from "./types/output";
|
|
|
20
21
|
* bindPassword: "PASSWORD",
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
25
|
+
*
|
|
23
26
|
* ### LDAP With User To DN Mapping
|
|
24
27
|
*
|
|
28
|
+
* <!--Start PulumiCodeChooser -->
|
|
25
29
|
* ```typescript
|
|
26
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
31
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -42,15 +46,16 @@ import * as outputs from "./types/output";
|
|
|
42
46
|
* }],
|
|
43
47
|
* });
|
|
44
48
|
* ```
|
|
49
|
+
* <!--End PulumiCodeChooser -->
|
|
45
50
|
*
|
|
46
51
|
* ## Import
|
|
47
52
|
*
|
|
48
53
|
* LDAP Configuration must be imported using project ID, e.g.
|
|
49
54
|
*
|
|
50
55
|
* ```sh
|
|
51
|
-
*
|
|
56
|
+
* $ pulumi import mongodbatlas:index/ldapConfiguration:LdapConfiguration test 5d09d6a59ccf6445652a444a
|
|
52
57
|
* ```
|
|
53
|
-
*
|
|
58
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-save)
|
|
54
59
|
*/
|
|
55
60
|
export declare class LdapConfiguration extends pulumi.CustomResource {
|
|
56
61
|
/**
|
package/ldapConfiguration.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -24,8 +25,11 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* bindPassword: "PASSWORD",
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
29
|
+
*
|
|
27
30
|
* ### LDAP With User To DN Mapping
|
|
28
31
|
*
|
|
32
|
+
* <!--Start PulumiCodeChooser -->
|
|
29
33
|
* ```typescript
|
|
30
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
35
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -46,15 +50,16 @@ const utilities = require("./utilities");
|
|
|
46
50
|
* }],
|
|
47
51
|
* });
|
|
48
52
|
* ```
|
|
53
|
+
* <!--End PulumiCodeChooser -->
|
|
49
54
|
*
|
|
50
55
|
* ## Import
|
|
51
56
|
*
|
|
52
57
|
* LDAP Configuration must be imported using project ID, e.g.
|
|
53
58
|
*
|
|
54
59
|
* ```sh
|
|
55
|
-
*
|
|
60
|
+
* $ pulumi import mongodbatlas:index/ldapConfiguration:LdapConfiguration test 5d09d6a59ccf6445652a444a
|
|
56
61
|
* ```
|
|
57
|
-
*
|
|
62
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-save)
|
|
58
63
|
*/
|
|
59
64
|
class LdapConfiguration extends pulumi.CustomResource {
|
|
60
65
|
/**
|
package/ldapConfiguration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ldapConfiguration.js","sourceRoot":"","sources":["../ldapConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"ldapConfiguration.js","sourceRoot":"","sources":["../ldapConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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AC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA/HL,8CAgIC;AAlHG,gBAAgB;AACO,8BAAY,GAAG,wDAAwD,CAAC"}
|
package/ldapVerify.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -29,15 +30,16 @@ import * as outputs from "./types/output";
|
|
|
29
30
|
* dependsOn: [testCluster],
|
|
30
31
|
* });
|
|
31
32
|
* ```
|
|
33
|
+
* <!--End PulumiCodeChooser -->
|
|
32
34
|
*
|
|
33
35
|
* ## Import
|
|
34
36
|
*
|
|
35
37
|
* LDAP Configuration must be imported using project ID and request ID, e.g.
|
|
36
38
|
*
|
|
37
39
|
* ```sh
|
|
38
|
-
*
|
|
40
|
+
* $ pulumi import mongodbatlas:index/ldapVerify:LdapVerify test 5d09d6a59ccf6445652a444a-5d09d6a59ccf6445652a444a
|
|
39
41
|
* ```
|
|
40
|
-
*
|
|
42
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-request-verification)
|
|
41
43
|
*/
|
|
42
44
|
export declare class LdapVerify extends pulumi.CustomResource {
|
|
43
45
|
/**
|
package/ldapVerify.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -33,15 +34,16 @@ const utilities = require("./utilities");
|
|
|
33
34
|
* dependsOn: [testCluster],
|
|
34
35
|
* });
|
|
35
36
|
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
36
38
|
*
|
|
37
39
|
* ## Import
|
|
38
40
|
*
|
|
39
41
|
* LDAP Configuration must be imported using project ID and request ID, e.g.
|
|
40
42
|
*
|
|
41
43
|
* ```sh
|
|
42
|
-
*
|
|
44
|
+
* $ pulumi import mongodbatlas:index/ldapVerify:LdapVerify test 5d09d6a59ccf6445652a444a-5d09d6a59ccf6445652a444a
|
|
43
45
|
* ```
|
|
44
|
-
*
|
|
46
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-request-verification)
|
|
45
47
|
*/
|
|
46
48
|
class LdapVerify extends pulumi.CustomResource {
|
|
47
49
|
/**
|
package/ldapVerify.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ldapVerify.js","sourceRoot":"","sources":["../ldapVerify.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|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,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhIL,gCAiIC;AAnHG,gBAAgB;AACO,uBAAY,GAAG,0CAA0C,CAAC"}
|
package/maintenanceWindow.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -24,7 +25,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
25
|
* projectId: "<your-project-id>",
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*
|
|
30
|
+
* <!--Start PulumiCodeChooser -->
|
|
28
31
|
* ```typescript
|
|
29
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
30
33
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -34,15 +37,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
37
|
* projectId: "<your-project-id>",
|
|
35
38
|
* });
|
|
36
39
|
* ```
|
|
40
|
+
* <!--End PulumiCodeChooser -->
|
|
37
41
|
*
|
|
38
42
|
* ## Import
|
|
39
43
|
*
|
|
40
44
|
* Maintenance Window entries can be imported using project project_id, in the format `PROJECTID`, e.g.
|
|
41
45
|
*
|
|
42
46
|
* ```sh
|
|
43
|
-
*
|
|
47
|
+
* $ pulumi import mongodbatlas:index/maintenanceWindow:MaintenanceWindow test 5d0f1f73cf09a29120e173cf
|
|
44
48
|
* ```
|
|
45
|
-
*
|
|
49
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/maintenance-windows/)
|
|
46
50
|
*/
|
|
47
51
|
export declare class MaintenanceWindow extends pulumi.CustomResource {
|
|
48
52
|
/**
|
|
@@ -66,7 +70,7 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
66
70
|
readonly autoDefer: pulumi.Output<boolean>;
|
|
67
71
|
readonly autoDeferOnceEnabled: pulumi.Output<boolean>;
|
|
68
72
|
/**
|
|
69
|
-
* Day of the week when you would like the maintenance window to start as a 1-based integer:
|
|
73
|
+
* Day of the week when you would like the maintenance window to start as a 1-based integer: Su=1, M=2, T=3, W=4, T=5, F=6, Sa=7.
|
|
70
74
|
*/
|
|
71
75
|
readonly dayOfWeek: pulumi.Output<number>;
|
|
72
76
|
/**
|
|
@@ -78,7 +82,7 @@ export declare class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
78
82
|
*/
|
|
79
83
|
readonly hourOfDay: pulumi.Output<number>;
|
|
80
84
|
/**
|
|
81
|
-
* Number of times the current maintenance event for this project has been deferred,
|
|
85
|
+
* Number of times the current maintenance event for this project has been deferred, there can be a maximum of 2 deferrals.
|
|
82
86
|
*/
|
|
83
87
|
readonly numberOfDeferrals: pulumi.Output<number>;
|
|
84
88
|
/**
|
|
@@ -108,7 +112,7 @@ export interface MaintenanceWindowState {
|
|
|
108
112
|
autoDefer?: pulumi.Input<boolean>;
|
|
109
113
|
autoDeferOnceEnabled?: pulumi.Input<boolean>;
|
|
110
114
|
/**
|
|
111
|
-
* Day of the week when you would like the maintenance window to start as a 1-based integer:
|
|
115
|
+
* Day of the week when you would like the maintenance window to start as a 1-based integer: Su=1, M=2, T=3, W=4, T=5, F=6, Sa=7.
|
|
112
116
|
*/
|
|
113
117
|
dayOfWeek?: pulumi.Input<number>;
|
|
114
118
|
/**
|
|
@@ -120,7 +124,7 @@ export interface MaintenanceWindowState {
|
|
|
120
124
|
*/
|
|
121
125
|
hourOfDay?: pulumi.Input<number>;
|
|
122
126
|
/**
|
|
123
|
-
* Number of times the current maintenance event for this project has been deferred,
|
|
127
|
+
* Number of times the current maintenance event for this project has been deferred, there can be a maximum of 2 deferrals.
|
|
124
128
|
*/
|
|
125
129
|
numberOfDeferrals?: pulumi.Input<number>;
|
|
126
130
|
/**
|
|
@@ -142,9 +146,9 @@ export interface MaintenanceWindowArgs {
|
|
|
142
146
|
autoDefer?: pulumi.Input<boolean>;
|
|
143
147
|
autoDeferOnceEnabled?: pulumi.Input<boolean>;
|
|
144
148
|
/**
|
|
145
|
-
* Day of the week when you would like the maintenance window to start as a 1-based integer:
|
|
149
|
+
* Day of the week when you would like the maintenance window to start as a 1-based integer: Su=1, M=2, T=3, W=4, T=5, F=6, Sa=7.
|
|
146
150
|
*/
|
|
147
|
-
dayOfWeek
|
|
151
|
+
dayOfWeek: pulumi.Input<number>;
|
|
148
152
|
/**
|
|
149
153
|
* Defer the next scheduled maintenance for the given project for one week.
|
|
150
154
|
*/
|
|
@@ -153,12 +157,12 @@ export interface MaintenanceWindowArgs {
|
|
|
153
157
|
* Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12 (Time zone is UTC).
|
|
154
158
|
*/
|
|
155
159
|
hourOfDay?: pulumi.Input<number>;
|
|
156
|
-
/**
|
|
157
|
-
* Number of times the current maintenance event for this project has been deferred, you can set a maximum of 2 deferrals.
|
|
158
|
-
*/
|
|
159
|
-
numberOfDeferrals?: pulumi.Input<number>;
|
|
160
160
|
/**
|
|
161
161
|
* The unique identifier of the project for the Maintenance Window.
|
|
162
162
|
*/
|
|
163
163
|
projectId: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Flag indicating whether project maintenance has been directed to start immediately. If you request that maintenance begin immediately, this field returns true from the time the request was made until the time the maintenance event completes.
|
|
166
|
+
*/
|
|
167
|
+
startAsap?: pulumi.Input<boolean>;
|
|
164
168
|
}
|
package/maintenanceWindow.js
CHANGED
|
@@ -20,6 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* ## Example Usage
|
|
22
22
|
*
|
|
23
|
+
* <!--Start PulumiCodeChooser -->
|
|
23
24
|
* ```typescript
|
|
24
25
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
26
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -30,7 +31,9 @@ const utilities = require("./utilities");
|
|
|
30
31
|
* projectId: "<your-project-id>",
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
33
35
|
*
|
|
36
|
+
* <!--Start PulumiCodeChooser -->
|
|
34
37
|
* ```typescript
|
|
35
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
39
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -40,15 +43,16 @@ const utilities = require("./utilities");
|
|
|
40
43
|
* projectId: "<your-project-id>",
|
|
41
44
|
* });
|
|
42
45
|
* ```
|
|
46
|
+
* <!--End PulumiCodeChooser -->
|
|
43
47
|
*
|
|
44
48
|
* ## Import
|
|
45
49
|
*
|
|
46
50
|
* Maintenance Window entries can be imported using project project_id, in the format `PROJECTID`, e.g.
|
|
47
51
|
*
|
|
48
52
|
* ```sh
|
|
49
|
-
*
|
|
53
|
+
* $ pulumi import mongodbatlas:index/maintenanceWindow:MaintenanceWindow test 5d0f1f73cf09a29120e173cf
|
|
50
54
|
* ```
|
|
51
|
-
*
|
|
55
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/maintenance-windows/)
|
|
52
56
|
*/
|
|
53
57
|
class MaintenanceWindow extends pulumi.CustomResource {
|
|
54
58
|
/**
|
|
@@ -89,6 +93,9 @@ class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
89
93
|
}
|
|
90
94
|
else {
|
|
91
95
|
const args = argsOrState;
|
|
96
|
+
if ((!args || args.dayOfWeek === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'dayOfWeek'");
|
|
98
|
+
}
|
|
92
99
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
93
100
|
throw new Error("Missing required property 'projectId'");
|
|
94
101
|
}
|
|
@@ -97,9 +104,9 @@ class MaintenanceWindow extends pulumi.CustomResource {
|
|
|
97
104
|
resourceInputs["dayOfWeek"] = args ? args.dayOfWeek : undefined;
|
|
98
105
|
resourceInputs["defer"] = args ? args.defer : undefined;
|
|
99
106
|
resourceInputs["hourOfDay"] = args ? args.hourOfDay : undefined;
|
|
100
|
-
resourceInputs["numberOfDeferrals"] = args ? args.numberOfDeferrals : undefined;
|
|
101
107
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
102
|
-
resourceInputs["startAsap"] = undefined
|
|
108
|
+
resourceInputs["startAsap"] = args ? args.startAsap : undefined;
|
|
109
|
+
resourceInputs["numberOfDeferrals"] = undefined /*out*/;
|
|
103
110
|
}
|
|
104
111
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
112
|
super(MaintenanceWindow.__pulumiType, name, resourceInputs, opts);
|
package/maintenanceWindow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceWindow.js","sourceRoot":"","sources":["../maintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"maintenanceWindow.js","sourceRoot":"","sources":["../maintenanceWindow.ts"],"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IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAlGL,8CAmGC;AArFG,gBAAgB;AACO,8BAAY,GAAG,wDAAwD,CAAC"}
|
package/networkContainer.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
*
|
|
14
15
|
* ### Example with AWS
|
|
15
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
18
|
* ```typescript
|
|
17
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -24,8 +26,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
26
|
* regionName: "US_EAST_1",
|
|
25
27
|
* });
|
|
26
28
|
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
30
|
+
*
|
|
27
31
|
* ### Example with GCP
|
|
28
32
|
*
|
|
33
|
+
* <!--Start PulumiCodeChooser -->
|
|
29
34
|
* ```typescript
|
|
30
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
36
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -40,8 +45,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
45
|
* ],
|
|
41
46
|
* });
|
|
42
47
|
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
49
|
+
*
|
|
43
50
|
* ### Example with Azure
|
|
44
51
|
*
|
|
52
|
+
* <!--Start PulumiCodeChooser -->
|
|
45
53
|
* ```typescript
|
|
46
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
55
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -53,15 +61,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
53
61
|
* region: "US_EAST_2",
|
|
54
62
|
* });
|
|
55
63
|
* ```
|
|
64
|
+
* <!--End PulumiCodeChooser -->
|
|
56
65
|
*
|
|
57
66
|
* ## Import
|
|
58
67
|
*
|
|
59
68
|
* Network Peering Containers can be imported using project ID and network peering container id, in the format `PROJECTID-CONTAINER-ID`, e.g.
|
|
60
69
|
*
|
|
61
70
|
* ```sh
|
|
62
|
-
*
|
|
71
|
+
* $ pulumi import mongodbatlas:index/networkContainer:NetworkContainer my_container 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a
|
|
63
72
|
* ```
|
|
64
|
-
*
|
|
73
|
+
* See detailed information for arguments and attributes: [MongoDB API Network Peering Container](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/)
|
|
65
74
|
*
|
|
66
75
|
* -> __NOTE:__ If you need to get an existing container ID see the How-To Guide.
|
|
67
76
|
*/
|
package/networkContainer.js
CHANGED
|
@@ -17,8 +17,10 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
18
18
|
*
|
|
19
19
|
* ## Example Usage
|
|
20
|
+
*
|
|
20
21
|
* ### Example with AWS
|
|
21
22
|
*
|
|
23
|
+
* <!--Start PulumiCodeChooser -->
|
|
22
24
|
* ```typescript
|
|
23
25
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
26
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -30,8 +32,11 @@ const utilities = require("./utilities");
|
|
|
30
32
|
* regionName: "US_EAST_1",
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
35
|
+
* <!--End PulumiCodeChooser -->
|
|
36
|
+
*
|
|
33
37
|
* ### Example with GCP
|
|
34
38
|
*
|
|
39
|
+
* <!--Start PulumiCodeChooser -->
|
|
35
40
|
* ```typescript
|
|
36
41
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
42
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -46,8 +51,11 @@ const utilities = require("./utilities");
|
|
|
46
51
|
* ],
|
|
47
52
|
* });
|
|
48
53
|
* ```
|
|
54
|
+
* <!--End PulumiCodeChooser -->
|
|
55
|
+
*
|
|
49
56
|
* ### Example with Azure
|
|
50
57
|
*
|
|
58
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
59
|
* ```typescript
|
|
52
60
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
61
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -59,15 +67,16 @@ const utilities = require("./utilities");
|
|
|
59
67
|
* region: "US_EAST_2",
|
|
60
68
|
* });
|
|
61
69
|
* ```
|
|
70
|
+
* <!--End PulumiCodeChooser -->
|
|
62
71
|
*
|
|
63
72
|
* ## Import
|
|
64
73
|
*
|
|
65
74
|
* Network Peering Containers can be imported using project ID and network peering container id, in the format `PROJECTID-CONTAINER-ID`, e.g.
|
|
66
75
|
*
|
|
67
76
|
* ```sh
|
|
68
|
-
*
|
|
77
|
+
* $ pulumi import mongodbatlas:index/networkContainer:NetworkContainer my_container 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a
|
|
69
78
|
* ```
|
|
70
|
-
*
|
|
79
|
+
* See detailed information for arguments and attributes: [MongoDB API Network Peering Container](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/)
|
|
71
80
|
*
|
|
72
81
|
* -> __NOTE:__ If you need to get an existing container ID see the How-To Guide.
|
|
73
82
|
*/
|
package/networkContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkContainer.js","sourceRoot":"","sources":["../networkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"networkContainer.js","sourceRoot":"","sources":["../networkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAsED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IA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SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA1IL,4CA2IC;AA7HG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
package/networkPeering.d.ts
CHANGED
|
@@ -20,8 +20,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* ## Example Usage
|
|
21
21
|
*
|
|
22
22
|
* ### Container & Peering Connection
|
|
23
|
+
*
|
|
23
24
|
* ### Example with AWS
|
|
24
25
|
*
|
|
26
|
+
* <!--Start PulumiCodeChooser -->
|
|
25
27
|
* ```typescript
|
|
26
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
29
|
* import * as aws from "@pulumi/aws";
|
|
@@ -52,8 +54,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
54
|
* autoAccept: true,
|
|
53
55
|
* });
|
|
54
56
|
* ```
|
|
57
|
+
* <!--End PulumiCodeChooser -->
|
|
58
|
+
*
|
|
55
59
|
* ### Example with GCP
|
|
56
60
|
*
|
|
61
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
62
|
* ```typescript
|
|
58
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
64
|
* import * as gcp from "@pulumi/gcp";
|
|
@@ -103,9 +108,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
103
108
|
* }, {
|
|
104
109
|
* dependsOn: ["google_compute_network_peering.peering"],
|
|
105
110
|
* });
|
|
111
|
+
* // Private connection strings are not available w/ GCP until the reciprocal
|
|
112
|
+
* // connection changes to available (i.e. when the status attribute changes
|
|
113
|
+
* // to AVAILABLE on the 'mongodbatlas_network_peering' resource, which
|
|
114
|
+
* // happens when the google_compute_network_peering and and
|
|
115
|
+
* // mongodbatlas_network_peering make a reciprocal connection). Hence
|
|
116
|
+
* // since the cluster can be created before this connection completes
|
|
117
|
+
* // you may need to run `terraform refresh` to obtain the private connection strings.
|
|
106
118
|
* ```
|
|
119
|
+
* <!--End PulumiCodeChooser -->
|
|
120
|
+
*
|
|
107
121
|
* ### Example with Azure
|
|
108
122
|
*
|
|
123
|
+
* <!--Start PulumiCodeChooser -->
|
|
109
124
|
* ```typescript
|
|
110
125
|
* import * as pulumi from "@pulumi/pulumi";
|
|
111
126
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -152,9 +167,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
152
167
|
* dependsOn: ["mongodbatlas_network_peering.test"],
|
|
153
168
|
* });
|
|
154
169
|
* ```
|
|
170
|
+
* <!--End PulumiCodeChooser -->
|
|
171
|
+
*
|
|
155
172
|
* ### Peering Connection Only, Container Exists
|
|
156
173
|
* You can create a peering connection if an appropriate container for your cloud provider already exists in your project (see the networkContainer resource for more information). A container may already exist if you have already created a cluster in your project, if so you may obtain the `containerId` from the cluster resource as shown in the examples below.
|
|
174
|
+
*
|
|
157
175
|
* ### Example with AWS
|
|
176
|
+
* <!--Start PulumiCodeChooser -->
|
|
158
177
|
* ```typescript
|
|
159
178
|
* import * as pulumi from "@pulumi/pulumi";
|
|
160
179
|
* import * as aws from "@pulumi/aws";
|
|
@@ -202,7 +221,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
202
221
|
* },
|
|
203
222
|
* });
|
|
204
223
|
* ```
|
|
224
|
+
* <!--End PulumiCodeChooser -->
|
|
225
|
+
*
|
|
205
226
|
* ### Example with GCP
|
|
227
|
+
* <!--Start PulumiCodeChooser -->
|
|
206
228
|
* ```typescript
|
|
207
229
|
* import * as pulumi from "@pulumi/pulumi";
|
|
208
230
|
* import * as gcp from "@pulumi/gcp";
|
|
@@ -245,8 +267,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
245
267
|
* peerNetwork: pulumi.interpolate`https://www.googleapis.com/compute/v1/projects/${testNetworkPeering.atlasGcpProjectId}/global/networks/${testNetworkPeering.atlasVpcName}`,
|
|
246
268
|
* });
|
|
247
269
|
* ```
|
|
270
|
+
* <!--End PulumiCodeChooser -->
|
|
271
|
+
*
|
|
248
272
|
* ### Example with Azure
|
|
249
273
|
*
|
|
274
|
+
* <!--Start PulumiCodeChooser -->
|
|
250
275
|
* ```typescript
|
|
251
276
|
* import * as pulumi from "@pulumi/pulumi";
|
|
252
277
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -283,15 +308,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
283
308
|
* vnetName: local.AZURE_VNET_NAME,
|
|
284
309
|
* });
|
|
285
310
|
* ```
|
|
311
|
+
* <!--End PulumiCodeChooser -->
|
|
286
312
|
*
|
|
287
313
|
* ## Import
|
|
288
314
|
*
|
|
289
315
|
* Network Peering Connections can be imported using project ID and network peering id, in the format `PROJECTID-PEERID-PROVIDERNAME`, e.g.
|
|
290
316
|
*
|
|
291
317
|
* ```sh
|
|
292
|
-
*
|
|
318
|
+
* $ pulumi import mongodbatlas:index/networkPeering:NetworkPeering my_peering 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a-AWS
|
|
293
319
|
* ```
|
|
294
|
-
*
|
|
320
|
+
* See detailed information for arguments and attributes: [MongoDB API Network Peering Connection](https://docs.atlas.mongodb.com/reference/api/vpc-create-peering-connection/)
|
|
295
321
|
*
|
|
296
322
|
* -> __NOTE:__ If you need to get an existing container ID see the How-To Guide.
|
|
297
323
|
*/
|