@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 3.15.0-alpha.1713461951
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessListApiKey.d.ts +4 -4
- package/accessListApiKey.js +4 -4
- package/advancedCluster.d.ts +28 -45
- package/advancedCluster.js +28 -45
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -44
- package/alertConfiguration.js +44 -44
- package/auditing.d.ts +2 -2
- package/auditing.js +2 -2
- package/backupCompliancePolicy.d.ts +85 -0
- package/backupCompliancePolicy.js +85 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -7
- package/cloudBackupSnapshot.js +7 -7
- package/cloudBackupSnapshotExportBucket.d.ts +2 -2
- package/cloudBackupSnapshotExportBucket.js +2 -2
- package/cloudBackupSnapshotExportJob.d.ts +3 -3
- package/cloudBackupSnapshotExportJob.js +3 -3
- package/cloudBackupSnapshotRestoreJob.d.ts +78 -11
- package/cloudBackupSnapshotRestoreJob.js +78 -11
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -64
- package/cluster.js +48 -64
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -2
- package/clusterOutageSimulation.js +2 -2
- package/customDbRole.d.ts +6 -6
- package/customDbRole.js +6 -6
- package/customDnsConfigurationClusterAws.d.ts +1 -1
- package/customDnsConfigurationClusterAws.js +1 -1
- package/databaseUser.d.ts +19 -19
- package/databaseUser.js +19 -19
- package/eventTrigger.d.ts +24 -20
- package/eventTrigger.js +24 -20
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -8
- package/federatedDatabaseInstance.js +10 -8
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -2
- package/federatedQueryLimit.js +2 -2
- package/federatedSettingsIdentityProvider.d.ts +6 -5
- package/federatedSettingsIdentityProvider.js +6 -5
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -2
- package/federatedSettingsOrgRoleMapping.js +2 -2
- package/get509AuthenticationDatabaseUser.d.ts +64 -0
- package/get509AuthenticationDatabaseUser.js +64 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAdvancedCluster.d.ts +60 -0
- package/getAdvancedCluster.js +60 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +202 -0
- package/getAlertConfiguration.js +202 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -2
- package/getAtlasUsers.js +2 -2
- package/getAuditing.d.ts +38 -0
- package/getAuditing.js +38 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +170 -0
- package/getBackupCompliancePolicy.js +170 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +58 -0
- package/getCloudBackupSchedule.js +58 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +42 -0
- package/getCloudBackupSnapshot.js +42 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +40 -0
- package/getCloudBackupSnapshotExportBucket.js +40 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -8
- package/getCloudBackupSnapshotExportBuckets.js +8 -8
- package/getCloudBackupSnapshotExportJob.d.ts +62 -0
- package/getCloudBackupSnapshotExportJob.js +62 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -6
- package/getCloudBackupSnapshotExportJobs.js +6 -6
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -6
- package/getCloudBackupSnapshotRestoreJobs.js +6 -6
- package/getCloudProviderAccessSetup.d.ts +4 -4
- package/getCloudProviderAccessSetup.js +4 -4
- package/getCluster.d.ts +64 -0
- package/getCluster.js +64 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -2
- package/getClusterOutageSimulation.js +2 -2
- package/getClusters.d.ts +6 -4
- package/getClusters.js +6 -4
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -2
- package/getCustomDbRole.js +2 -2
- package/getCustomDnsConfigurationClusterAws.d.ts +34 -0
- package/getCustomDnsConfigurationClusterAws.js +34 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +132 -0
- package/getDatabaseUser.js +132 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -14
- package/getDatabaseUsers.js +14 -14
- package/getFederatedDatabaseInstance.d.ts +6 -6
- package/getFederatedDatabaseInstance.js +6 -6
- package/getFederatedQueryLimit.d.ts +2 -2
- package/getFederatedQueryLimit.js +2 -2
- package/getFederatedSettingsIdentityProvider.d.ts +4 -2
- package/getFederatedSettingsIdentityProvider.js +4 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -2
- package/getFederatedSettingsIdentityProviders.js +4 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -6
- package/getFederatedSettingsOrgConfig.js +6 -6
- package/getFederatedSettingsOrgConfigs.d.ts +6 -6
- package/getFederatedSettingsOrgConfigs.js +6 -6
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -4
- package/getFederatedSettingsOrgRoleMapping.js +4 -4
- package/getGlobalClusterConfig.d.ts +114 -0
- package/getGlobalClusterConfig.js +114 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +50 -0
- package/getLdapConfiguration.js +50 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +70 -0
- package/getLdapVerify.js +70 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +68 -0
- package/getMaintenanceWindow.js +68 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +40 -0
- package/getNetworkContainer.js +40 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -4
- package/getNetworkContainers.js +4 -4
- package/getNetworkPeering.d.ts +46 -0
- package/getNetworkPeering.js +46 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -4
- package/getNetworkPeerings.js +4 -4
- package/getOrganizations.d.ts +2 -2
- package/getOrganizations.js +2 -2
- package/getPrivateLinkEndpoint.d.ts +46 -0
- package/getPrivateLinkEndpoint.js +46 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointServiceServerless.js +20 -16
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +134 -0
- package/getProject.js +134 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +40 -0
- package/getProjectApiKey.js +40 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -2
- package/getProjectApiKeys.js +2 -2
- package/getProjectInvitation.d.ts +38 -0
- package/getProjectInvitation.js +38 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +146 -0
- package/getProjectIpAccessList.js +146 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -8
- package/getProjects.js +10 -8
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +2 -2
- package/getSearchIndex.js +2 -2
- package/getThirdPartyIntegration.d.ts +2 -2
- package/getThirdPartyIntegration.js +2 -2
- package/getThirdPartyIntegrations.d.ts +4 -4
- package/getThirdPartyIntegrations.js +4 -4
- package/getX509AuthenticationDatabaseUser.d.ts +64 -0
- package/getX509AuthenticationDatabaseUser.js +64 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -2
- package/globalClusterConfig.js +4 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -6
- package/ldapConfiguration.js +12 -6
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -6
- package/ldapVerify.js +9 -6
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -2
- package/maintenanceWindow.js +2 -2
- package/networkContainer.d.ts +3 -3
- package/networkContainer.js +3 -3
- package/networkPeering.d.ts +38 -143
- package/networkPeering.js +38 -143
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -8
- package/onlineArchive.js +8 -8
- package/orgInvitation.d.ts +4 -4
- package/orgInvitation.js +4 -4
- package/organization.d.ts +2 -1
- package/organization.js +2 -1
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpointService.d.ts +95 -22
- package/privateLinkEndpointService.js +95 -22
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -2
- package/privatelinkEndpointServerless.js +3 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +54 -6
- package/privatelinkEndpointServiceServerless.js +54 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -3
- package/project.js +4 -3
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +2 -2
- package/projectInvitation.js +2 -2
- package/projectIpAccessList.d.ts +8 -8
- package/projectIpAccessList.js +8 -8
- package/searchIndex.d.ts +4 -2
- package/searchIndex.js +4 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -0
- package/serverlessInstance.js +1 -0
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -3
- package/thirdPartyIntegration.js +3 -3
package/getLdapVerify.js
CHANGED
|
@@ -9,6 +9,41 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.LdapVerify` describes a LDAP Verify.
|
|
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 testCluster = new mongodbatlas.Cluster("test", {
|
|
25
|
+
* projectId: testProject.id,
|
|
26
|
+
* name: "NAME OF THE CLUSTER",
|
|
27
|
+
* providerName: "AWS",
|
|
28
|
+
* providerRegionName: "US_EAST_2",
|
|
29
|
+
* providerInstanceSizeName: "M10",
|
|
30
|
+
* cloudBackup: true,
|
|
31
|
+
* });
|
|
32
|
+
* const testLdapVerify = new mongodbatlas.LdapVerify("test", {
|
|
33
|
+
* projectId: testProject.id,
|
|
34
|
+
* hostname: "HOSTNAME",
|
|
35
|
+
* port: 636,
|
|
36
|
+
* bindUsername: "USERNAME",
|
|
37
|
+
* bindPassword: "PASSWORD",
|
|
38
|
+
* }, {
|
|
39
|
+
* dependsOn: [testCluster],
|
|
40
|
+
* });
|
|
41
|
+
* const test = mongodbatlas.getLdapVerifyOutput({
|
|
42
|
+
* projectId: testLdapVerify.projectId,
|
|
43
|
+
* requestId: testLdapVerify.requestId,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
* <!--End PulumiCodeChooser -->
|
|
12
47
|
*/
|
|
13
48
|
function getLdapVerify(args, opts) {
|
|
14
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -22,6 +57,41 @@ exports.getLdapVerify = getLdapVerify;
|
|
|
22
57
|
* `mongodbatlas.LdapVerify` describes a LDAP Verify.
|
|
23
58
|
*
|
|
24
59
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
60
|
+
*
|
|
61
|
+
* ## Example Usage
|
|
62
|
+
*
|
|
63
|
+
* <!--Start PulumiCodeChooser -->
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
67
|
+
*
|
|
68
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
69
|
+
* name: "NAME OF THE PROJECT",
|
|
70
|
+
* orgId: "ORG ID",
|
|
71
|
+
* });
|
|
72
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
73
|
+
* projectId: testProject.id,
|
|
74
|
+
* name: "NAME OF THE CLUSTER",
|
|
75
|
+
* providerName: "AWS",
|
|
76
|
+
* providerRegionName: "US_EAST_2",
|
|
77
|
+
* providerInstanceSizeName: "M10",
|
|
78
|
+
* cloudBackup: true,
|
|
79
|
+
* });
|
|
80
|
+
* const testLdapVerify = new mongodbatlas.LdapVerify("test", {
|
|
81
|
+
* projectId: testProject.id,
|
|
82
|
+
* hostname: "HOSTNAME",
|
|
83
|
+
* port: 636,
|
|
84
|
+
* bindUsername: "USERNAME",
|
|
85
|
+
* bindPassword: "PASSWORD",
|
|
86
|
+
* }, {
|
|
87
|
+
* dependsOn: [testCluster],
|
|
88
|
+
* });
|
|
89
|
+
* const test = mongodbatlas.getLdapVerifyOutput({
|
|
90
|
+
* projectId: testLdapVerify.projectId,
|
|
91
|
+
* requestId: testLdapVerify.requestId,
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
* <!--End PulumiCodeChooser -->
|
|
25
95
|
*/
|
|
26
96
|
function getLdapVerifyOutput(args, opts) {
|
|
27
97
|
return pulumi.output(args).apply((a) => getLdapVerify(a, opts));
|
package/getLdapVerify.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLdapVerify.js","sourceRoot":"","sources":["../getLdapVerify.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getLdapVerify.js","sourceRoot":"","sources":["../getLdapVerify.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAsDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -3,6 +3,40 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
6
|
+
*
|
|
7
|
+
* ## Examples Usage
|
|
8
|
+
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
|
+
*
|
|
14
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
15
|
+
* projectId: "<your-project-id>",
|
|
16
|
+
* dayOfWeek: 3,
|
|
17
|
+
* hourOfDay: 4,
|
|
18
|
+
* autoDeferOnceEnabled: true,
|
|
19
|
+
* });
|
|
20
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
21
|
+
* projectId: testMaintenanceWindow.id,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
25
|
+
*
|
|
26
|
+
* <!--Start PulumiCodeChooser -->
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
30
|
+
*
|
|
31
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
32
|
+
* projectId: "<your-project-id>",
|
|
33
|
+
* startAsap: true,
|
|
34
|
+
* });
|
|
35
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
36
|
+
* projectId: testMaintenanceWindow.id,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
* <!--End PulumiCodeChooser -->
|
|
6
40
|
*/
|
|
7
41
|
export declare function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowResult>;
|
|
8
42
|
/**
|
|
@@ -49,6 +83,40 @@ export interface GetMaintenanceWindowResult {
|
|
|
49
83
|
* `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
|
|
50
84
|
*
|
|
51
85
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
86
|
+
*
|
|
87
|
+
* ## Examples Usage
|
|
88
|
+
*
|
|
89
|
+
* <!--Start PulumiCodeChooser -->
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
93
|
+
*
|
|
94
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
95
|
+
* projectId: "<your-project-id>",
|
|
96
|
+
* dayOfWeek: 3,
|
|
97
|
+
* hourOfDay: 4,
|
|
98
|
+
* autoDeferOnceEnabled: true,
|
|
99
|
+
* });
|
|
100
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
101
|
+
* projectId: testMaintenanceWindow.id,
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
* <!--End PulumiCodeChooser -->
|
|
105
|
+
*
|
|
106
|
+
* <!--Start PulumiCodeChooser -->
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
109
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
110
|
+
*
|
|
111
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
112
|
+
* projectId: "<your-project-id>",
|
|
113
|
+
* startAsap: true,
|
|
114
|
+
* });
|
|
115
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
116
|
+
* projectId: testMaintenanceWindow.id,
|
|
117
|
+
* });
|
|
118
|
+
* ```
|
|
119
|
+
* <!--End PulumiCodeChooser -->
|
|
52
120
|
*/
|
|
53
121
|
export declare function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMaintenanceWindowResult>;
|
|
54
122
|
/**
|
package/getMaintenanceWindow.js
CHANGED
|
@@ -9,6 +9,40 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Examples Usage
|
|
14
|
+
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
21
|
+
* projectId: "<your-project-id>",
|
|
22
|
+
* dayOfWeek: 3,
|
|
23
|
+
* hourOfDay: 4,
|
|
24
|
+
* autoDeferOnceEnabled: true,
|
|
25
|
+
* });
|
|
26
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
27
|
+
* projectId: testMaintenanceWindow.id,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
* <!--End PulumiCodeChooser -->
|
|
31
|
+
*
|
|
32
|
+
* <!--Start PulumiCodeChooser -->
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
36
|
+
*
|
|
37
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
38
|
+
* projectId: "<your-project-id>",
|
|
39
|
+
* startAsap: true,
|
|
40
|
+
* });
|
|
41
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
42
|
+
* projectId: testMaintenanceWindow.id,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
* <!--End PulumiCodeChooser -->
|
|
12
46
|
*/
|
|
13
47
|
function getMaintenanceWindow(args, opts) {
|
|
14
48
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +55,40 @@ exports.getMaintenanceWindow = getMaintenanceWindow;
|
|
|
21
55
|
* `mongodbatlas.MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.
|
|
22
56
|
*
|
|
23
57
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
58
|
+
*
|
|
59
|
+
* ## Examples Usage
|
|
60
|
+
*
|
|
61
|
+
* <!--Start PulumiCodeChooser -->
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
65
|
+
*
|
|
66
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
67
|
+
* projectId: "<your-project-id>",
|
|
68
|
+
* dayOfWeek: 3,
|
|
69
|
+
* hourOfDay: 4,
|
|
70
|
+
* autoDeferOnceEnabled: true,
|
|
71
|
+
* });
|
|
72
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
73
|
+
* projectId: testMaintenanceWindow.id,
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
* <!--End PulumiCodeChooser -->
|
|
77
|
+
*
|
|
78
|
+
* <!--Start PulumiCodeChooser -->
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
82
|
+
*
|
|
83
|
+
* const testMaintenanceWindow = new mongodbatlas.MaintenanceWindow("test", {
|
|
84
|
+
* projectId: "<your-project-id>",
|
|
85
|
+
* startAsap: true,
|
|
86
|
+
* });
|
|
87
|
+
* const test = mongodbatlas.getMaintenanceWindowOutput({
|
|
88
|
+
* projectId: testMaintenanceWindow.id,
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
* <!--End PulumiCodeChooser -->
|
|
24
92
|
*/
|
|
25
93
|
function getMaintenanceWindowOutput(args, opts) {
|
|
26
94
|
return pulumi.output(args).apply((a) => getMaintenanceWindow(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMaintenanceWindow.js","sourceRoot":"","sources":["../getMaintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getMaintenanceWindow.js","sourceRoot":"","sources":["../getMaintenanceWindow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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/getNetworkContainer.d.ts
CHANGED
|
@@ -7,6 +7,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic Example.
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
19
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
20
|
+
* atlasCidrBlock: "10.8.0.0/21",
|
|
21
|
+
* providerName: "AWS",
|
|
22
|
+
* regionName: "US_EAST_1",
|
|
23
|
+
* });
|
|
24
|
+
* const test = mongodbatlas.getNetworkContainerOutput({
|
|
25
|
+
* projectId: testNetworkContainer.projectId,
|
|
26
|
+
* containerId: testNetworkContainer.id,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
10
30
|
*/
|
|
11
31
|
export declare function getNetworkContainer(args: GetNetworkContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkContainerResult>;
|
|
12
32
|
/**
|
|
@@ -85,6 +105,26 @@ export interface GetNetworkContainerResult {
|
|
|
85
105
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
86
106
|
*
|
|
87
107
|
* ## Example Usage
|
|
108
|
+
*
|
|
109
|
+
* ### Basic Example.
|
|
110
|
+
*
|
|
111
|
+
* <!--Start PulumiCodeChooser -->
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
115
|
+
*
|
|
116
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
117
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
118
|
+
* atlasCidrBlock: "10.8.0.0/21",
|
|
119
|
+
* providerName: "AWS",
|
|
120
|
+
* regionName: "US_EAST_1",
|
|
121
|
+
* });
|
|
122
|
+
* const test = mongodbatlas.getNetworkContainerOutput({
|
|
123
|
+
* projectId: testNetworkContainer.projectId,
|
|
124
|
+
* containerId: testNetworkContainer.id,
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
* <!--End PulumiCodeChooser -->
|
|
88
128
|
*/
|
|
89
129
|
export declare function getNetworkContainerOutput(args: GetNetworkContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkContainerResult>;
|
|
90
130
|
/**
|
package/getNetworkContainer.js
CHANGED
|
@@ -13,6 +13,26 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### Basic Example.
|
|
18
|
+
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
+
*
|
|
24
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
25
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
26
|
+
* atlasCidrBlock: "10.8.0.0/21",
|
|
27
|
+
* providerName: "AWS",
|
|
28
|
+
* regionName: "US_EAST_1",
|
|
29
|
+
* });
|
|
30
|
+
* const test = mongodbatlas.getNetworkContainerOutput({
|
|
31
|
+
* projectId: testNetworkContainer.projectId,
|
|
32
|
+
* containerId: testNetworkContainer.id,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
* <!--End PulumiCodeChooser -->
|
|
16
36
|
*/
|
|
17
37
|
function getNetworkContainer(args, opts) {
|
|
18
38
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -30,6 +50,26 @@ exports.getNetworkContainer = getNetworkContainer;
|
|
|
30
50
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
31
51
|
*
|
|
32
52
|
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ### Basic Example.
|
|
55
|
+
*
|
|
56
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
60
|
+
*
|
|
61
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
62
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
63
|
+
* atlasCidrBlock: "10.8.0.0/21",
|
|
64
|
+
* providerName: "AWS",
|
|
65
|
+
* regionName: "US_EAST_1",
|
|
66
|
+
* });
|
|
67
|
+
* const test = mongodbatlas.getNetworkContainerOutput({
|
|
68
|
+
* projectId: testNetworkContainer.projectId,
|
|
69
|
+
* containerId: testNetworkContainer.id,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
* <!--End PulumiCodeChooser -->
|
|
33
73
|
*/
|
|
34
74
|
function getNetworkContainerOutput(args, opts) {
|
|
35
75
|
return pulumi.output(args).apply((a) => getNetworkContainer(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNetworkContainer.js","sourceRoot":"","sources":["../getNetworkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNetworkContainer.js","sourceRoot":"","sources":["../getNetworkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAuED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -14,13 +14,13 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
16
|
*
|
|
17
|
-
* const testNetworkContainer = new mongodbatlas.NetworkContainer("
|
|
17
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
18
18
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
19
19
|
* atlasCidrBlock: "10.8.0.0/21",
|
|
20
20
|
* providerName: "AWS",
|
|
21
21
|
* regionName: "US_EAST_1",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
|
|
24
24
|
* projectId: projectId,
|
|
25
25
|
* providerName: providerName,
|
|
26
26
|
* }));
|
|
@@ -73,13 +73,13 @@ export interface GetNetworkContainersResult {
|
|
|
73
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
74
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
75
75
|
*
|
|
76
|
-
* const testNetworkContainer = new mongodbatlas.NetworkContainer("
|
|
76
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
77
77
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
78
78
|
* atlasCidrBlock: "10.8.0.0/21",
|
|
79
79
|
* providerName: "AWS",
|
|
80
80
|
* regionName: "US_EAST_1",
|
|
81
81
|
* });
|
|
82
|
-
* const
|
|
82
|
+
* const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
|
|
83
83
|
* projectId: projectId,
|
|
84
84
|
* providerName: providerName,
|
|
85
85
|
* }));
|
package/getNetworkContainers.js
CHANGED
|
@@ -19,13 +19,13 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
21
|
*
|
|
22
|
-
* const testNetworkContainer = new mongodbatlas.NetworkContainer("
|
|
22
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
23
23
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
24
24
|
* atlasCidrBlock: "10.8.0.0/21",
|
|
25
25
|
* providerName: "AWS",
|
|
26
26
|
* regionName: "US_EAST_1",
|
|
27
27
|
* });
|
|
28
|
-
* const
|
|
28
|
+
* const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
|
|
29
29
|
* projectId: projectId,
|
|
30
30
|
* providerName: providerName,
|
|
31
31
|
* }));
|
|
@@ -54,13 +54,13 @@ exports.getNetworkContainers = getNetworkContainers;
|
|
|
54
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
55
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
56
|
*
|
|
57
|
-
* const testNetworkContainer = new mongodbatlas.NetworkContainer("
|
|
57
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
58
58
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
59
59
|
* atlasCidrBlock: "10.8.0.0/21",
|
|
60
60
|
* providerName: "AWS",
|
|
61
61
|
* regionName: "US_EAST_1",
|
|
62
62
|
* });
|
|
63
|
-
* const
|
|
63
|
+
* const test = pulumi.all([testNetworkContainer.projectId, testNetworkContainer.providerName]).apply(([projectId, providerName]) => mongodbatlas.getNetworkContainersOutput({
|
|
64
64
|
* projectId: projectId,
|
|
65
65
|
* providerName: providerName,
|
|
66
66
|
* }));
|
package/getNetworkPeering.d.ts
CHANGED
|
@@ -7,6 +7,29 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* > **NOTE:** If you need to get an existing container ID see the How-To Guide.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Basic Example (AWS).
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
19
|
+
* accepterRegionName: "us-east-1",
|
|
20
|
+
* projectId: "<YOUR-PROJEC-ID>",
|
|
21
|
+
* containerId: "507f1f77bcf86cd799439011",
|
|
22
|
+
* providerName: "AWS",
|
|
23
|
+
* routeTableCidrBlock: "192.168.0.0/24",
|
|
24
|
+
* vpcId: "vpc-abc123abc123",
|
|
25
|
+
* awsAccountId: "abc123abc123",
|
|
26
|
+
* });
|
|
27
|
+
* const test = mongodbatlas.getNetworkPeeringOutput({
|
|
28
|
+
* projectId: testNetworkPeering.projectId,
|
|
29
|
+
* peeringId: testNetworkPeering.id,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* <!--End PulumiCodeChooser -->
|
|
10
33
|
*/
|
|
11
34
|
export declare function getNetworkPeering(args: GetNetworkPeeringArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkPeeringResult>;
|
|
12
35
|
/**
|
|
@@ -112,6 +135,29 @@ export interface GetNetworkPeeringResult {
|
|
|
112
135
|
* > **NOTE:** If you need to get an existing container ID see the How-To Guide.
|
|
113
136
|
*
|
|
114
137
|
* ## Example Usage
|
|
138
|
+
*
|
|
139
|
+
* ### Basic Example (AWS).
|
|
140
|
+
*
|
|
141
|
+
* <!--Start PulumiCodeChooser -->
|
|
142
|
+
* ```typescript
|
|
143
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
144
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
145
|
+
*
|
|
146
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
147
|
+
* accepterRegionName: "us-east-1",
|
|
148
|
+
* projectId: "<YOUR-PROJEC-ID>",
|
|
149
|
+
* containerId: "507f1f77bcf86cd799439011",
|
|
150
|
+
* providerName: "AWS",
|
|
151
|
+
* routeTableCidrBlock: "192.168.0.0/24",
|
|
152
|
+
* vpcId: "vpc-abc123abc123",
|
|
153
|
+
* awsAccountId: "abc123abc123",
|
|
154
|
+
* });
|
|
155
|
+
* const test = mongodbatlas.getNetworkPeeringOutput({
|
|
156
|
+
* projectId: testNetworkPeering.projectId,
|
|
157
|
+
* peeringId: testNetworkPeering.id,
|
|
158
|
+
* });
|
|
159
|
+
* ```
|
|
160
|
+
* <!--End PulumiCodeChooser -->
|
|
115
161
|
*/
|
|
116
162
|
export declare function getNetworkPeeringOutput(args: GetNetworkPeeringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkPeeringResult>;
|
|
117
163
|
/**
|
package/getNetworkPeering.js
CHANGED
|
@@ -13,6 +13,29 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > **NOTE:** If you need to get an existing container ID see the How-To Guide.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### Basic Example (AWS).
|
|
18
|
+
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
+
*
|
|
24
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
25
|
+
* accepterRegionName: "us-east-1",
|
|
26
|
+
* projectId: "<YOUR-PROJEC-ID>",
|
|
27
|
+
* containerId: "507f1f77bcf86cd799439011",
|
|
28
|
+
* providerName: "AWS",
|
|
29
|
+
* routeTableCidrBlock: "192.168.0.0/24",
|
|
30
|
+
* vpcId: "vpc-abc123abc123",
|
|
31
|
+
* awsAccountId: "abc123abc123",
|
|
32
|
+
* });
|
|
33
|
+
* const test = mongodbatlas.getNetworkPeeringOutput({
|
|
34
|
+
* projectId: testNetworkPeering.projectId,
|
|
35
|
+
* peeringId: testNetworkPeering.id,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
* <!--End PulumiCodeChooser -->
|
|
16
39
|
*/
|
|
17
40
|
function getNetworkPeering(args, opts) {
|
|
18
41
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -30,6 +53,29 @@ exports.getNetworkPeering = getNetworkPeering;
|
|
|
30
53
|
* > **NOTE:** If you need to get an existing container ID see the How-To Guide.
|
|
31
54
|
*
|
|
32
55
|
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ### Basic Example (AWS).
|
|
58
|
+
*
|
|
59
|
+
* <!--Start PulumiCodeChooser -->
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
63
|
+
*
|
|
64
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
65
|
+
* accepterRegionName: "us-east-1",
|
|
66
|
+
* projectId: "<YOUR-PROJEC-ID>",
|
|
67
|
+
* containerId: "507f1f77bcf86cd799439011",
|
|
68
|
+
* providerName: "AWS",
|
|
69
|
+
* routeTableCidrBlock: "192.168.0.0/24",
|
|
70
|
+
* vpcId: "vpc-abc123abc123",
|
|
71
|
+
* awsAccountId: "abc123abc123",
|
|
72
|
+
* });
|
|
73
|
+
* const test = mongodbatlas.getNetworkPeeringOutput({
|
|
74
|
+
* projectId: testNetworkPeering.projectId,
|
|
75
|
+
* peeringId: testNetworkPeering.id,
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
* <!--End PulumiCodeChooser -->
|
|
33
79
|
*/
|
|
34
80
|
function getNetworkPeeringOutput(args, opts) {
|
|
35
81
|
return pulumi.output(args).apply((a) => getNetworkPeering(a, opts));
|
package/getNetworkPeering.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNetworkPeering.js","sourceRoot":"","sources":["../getNetworkPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getNetworkPeering.js","sourceRoot":"","sources":["../getNetworkPeering.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAkGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/getNetworkPeerings.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
16
|
*
|
|
17
|
-
* const testNetworkPeering = new mongodbatlas.NetworkPeering("
|
|
17
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
18
18
|
* accepterRegionName: "us-east-1",
|
|
19
19
|
* projectId: "<YOUR-PROJEC-ID>",
|
|
20
20
|
* containerId: "507f1f77bcf86cd799439011",
|
|
@@ -23,7 +23,7 @@ import * as outputs from "./types/output";
|
|
|
23
23
|
* vpcId: "vpc-abc123abc123",
|
|
24
24
|
* awsAccountId: "abc123abc123",
|
|
25
25
|
* });
|
|
26
|
-
* const
|
|
26
|
+
* const test = mongodbatlas.getNetworkPeeringsOutput({
|
|
27
27
|
* projectId: testNetworkPeering.projectId,
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
@@ -67,7 +67,7 @@ export interface GetNetworkPeeringsResult {
|
|
|
67
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
68
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
69
69
|
*
|
|
70
|
-
* const testNetworkPeering = new mongodbatlas.NetworkPeering("
|
|
70
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
71
71
|
* accepterRegionName: "us-east-1",
|
|
72
72
|
* projectId: "<YOUR-PROJEC-ID>",
|
|
73
73
|
* containerId: "507f1f77bcf86cd799439011",
|
|
@@ -76,7 +76,7 @@ export interface GetNetworkPeeringsResult {
|
|
|
76
76
|
* vpcId: "vpc-abc123abc123",
|
|
77
77
|
* awsAccountId: "abc123abc123",
|
|
78
78
|
* });
|
|
79
|
-
* const
|
|
79
|
+
* const test = mongodbatlas.getNetworkPeeringsOutput({
|
|
80
80
|
* projectId: testNetworkPeering.projectId,
|
|
81
81
|
* });
|
|
82
82
|
* ```
|
package/getNetworkPeerings.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
21
|
*
|
|
22
|
-
* const testNetworkPeering = new mongodbatlas.NetworkPeering("
|
|
22
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
23
23
|
* accepterRegionName: "us-east-1",
|
|
24
24
|
* projectId: "<YOUR-PROJEC-ID>",
|
|
25
25
|
* containerId: "507f1f77bcf86cd799439011",
|
|
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* vpcId: "vpc-abc123abc123",
|
|
29
29
|
* awsAccountId: "abc123abc123",
|
|
30
30
|
* });
|
|
31
|
-
* const
|
|
31
|
+
* const test = mongodbatlas.getNetworkPeeringsOutput({
|
|
32
32
|
* projectId: testNetworkPeering.projectId,
|
|
33
33
|
* });
|
|
34
34
|
* ```
|
|
@@ -55,7 +55,7 @@ exports.getNetworkPeerings = getNetworkPeerings;
|
|
|
55
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
56
56
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
57
57
|
*
|
|
58
|
-
* const testNetworkPeering = new mongodbatlas.NetworkPeering("
|
|
58
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
59
59
|
* accepterRegionName: "us-east-1",
|
|
60
60
|
* projectId: "<YOUR-PROJEC-ID>",
|
|
61
61
|
* containerId: "507f1f77bcf86cd799439011",
|
|
@@ -64,7 +64,7 @@ exports.getNetworkPeerings = getNetworkPeerings;
|
|
|
64
64
|
* vpcId: "vpc-abc123abc123",
|
|
65
65
|
* awsAccountId: "abc123abc123",
|
|
66
66
|
* });
|
|
67
|
-
* const
|
|
67
|
+
* const test = mongodbatlas.getNetworkPeeringsOutput({
|
|
68
68
|
* projectId: testNetworkPeering.projectId,
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
package/getOrganizations.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
12
|
*
|
|
13
13
|
* const test = mongodbatlas.getOrganizations({
|
|
14
|
-
* itemsPerPage: 5,
|
|
15
14
|
* pageNum: 1,
|
|
15
|
+
* itemsPerPage: 5,
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -68,8 +68,8 @@ export interface GetOrganizationsResult {
|
|
|
68
68
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
69
69
|
*
|
|
70
70
|
* const test = mongodbatlas.getOrganizations({
|
|
71
|
-
* itemsPerPage: 5,
|
|
72
71
|
* pageNum: 1,
|
|
72
|
+
* itemsPerPage: 5,
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
75
75
|
* <!--End PulumiCodeChooser -->
|