@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
package/getProjectInvitation.js
CHANGED
|
@@ -11,6 +11,25 @@ const utilities = require("./utilities");
|
|
|
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
|
+
*
|
|
15
|
+
* ### S
|
|
16
|
+
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
|
+
*
|
|
22
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
23
|
+
* username: "test-acc-username",
|
|
24
|
+
* projectId: "<PROJECT-ID>",
|
|
25
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
26
|
+
* });
|
|
27
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
28
|
+
* projectId: testProjectInvitation.projectId,
|
|
29
|
+
* username: testProjectInvitation.username,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* <!--End PulumiCodeChooser -->
|
|
14
33
|
*/
|
|
15
34
|
function getProjectInvitation(args, opts) {
|
|
16
35
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,6 +46,25 @@ exports.getProjectInvitation = getProjectInvitation;
|
|
|
27
46
|
* > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
|
|
28
47
|
*
|
|
29
48
|
* ## Example Usage
|
|
49
|
+
*
|
|
50
|
+
* ### S
|
|
51
|
+
*
|
|
52
|
+
* <!--Start PulumiCodeChooser -->
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
|
+
*
|
|
57
|
+
* const testProjectInvitation = new mongodbatlas.ProjectInvitation("test", {
|
|
58
|
+
* username: "test-acc-username",
|
|
59
|
+
* projectId: "<PROJECT-ID>",
|
|
60
|
+
* roles: ["GROUP_DATA_ACCESS_READ_WRITE"],
|
|
61
|
+
* });
|
|
62
|
+
* const test = mongodbatlas.getProjectInvitationOutput({
|
|
63
|
+
* projectId: testProjectInvitation.projectId,
|
|
64
|
+
* username: testProjectInvitation.username,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
* <!--End PulumiCodeChooser -->
|
|
30
68
|
*/
|
|
31
69
|
function getProjectInvitationOutput(args, opts) {
|
|
32
70
|
return pulumi.output(args).apply((a) => getProjectInvitation(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectInvitation.js","sourceRoot":"","sources":["../getProjectInvitation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectInvitation.js","sourceRoot":"","sources":["../getProjectInvitation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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"}
|
|
@@ -8,6 +8,79 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ### Using CIDR Block
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
19
|
+
* projectId: "<PROJECT-ID>",
|
|
20
|
+
* cidrBlock: "1.2.3.4/32",
|
|
21
|
+
* comment: "cidr block for tf acc testing",
|
|
22
|
+
* });
|
|
23
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
24
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
25
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
29
|
+
*
|
|
30
|
+
* ### Using IP Address
|
|
31
|
+
* <!--Start PulumiCodeChooser -->
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
35
|
+
*
|
|
36
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
37
|
+
* projectId: "<PROJECT-ID>",
|
|
38
|
+
* ipAddress: "2.3.4.5",
|
|
39
|
+
* comment: "ip address for tf acc testing",
|
|
40
|
+
* });
|
|
41
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
42
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
43
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
* <!--End PulumiCodeChooser -->
|
|
47
|
+
*
|
|
48
|
+
* ### Using an AWS Security Group
|
|
49
|
+
* <!--Start PulumiCodeChooser -->
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
53
|
+
*
|
|
54
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
55
|
+
* projectId: "<PROJECT-ID>",
|
|
56
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
57
|
+
* providerName: "AWS",
|
|
58
|
+
* regionName: "US_EAST_1",
|
|
59
|
+
* });
|
|
60
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
61
|
+
* projectId: "<PROJECT-ID>",
|
|
62
|
+
* containerId: testNetworkContainer.containerId,
|
|
63
|
+
* accepterRegionName: "us-east-1",
|
|
64
|
+
* providerName: "AWS",
|
|
65
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
66
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
67
|
+
* awsAccountId: "232589400519",
|
|
68
|
+
* });
|
|
69
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
70
|
+
* projectId: "<PROJECT-ID>",
|
|
71
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
72
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
73
|
+
* }, {
|
|
74
|
+
* dependsOn: [testNetworkPeering],
|
|
75
|
+
* });
|
|
76
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
77
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
78
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
* <!--End PulumiCodeChooser -->
|
|
82
|
+
*
|
|
83
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
11
84
|
*/
|
|
12
85
|
export declare function getProjectIpAccessList(args: GetProjectIpAccessListArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIpAccessListResult>;
|
|
13
86
|
/**
|
|
@@ -56,6 +129,79 @@ export interface GetProjectIpAccessListResult {
|
|
|
56
129
|
* When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
|
|
57
130
|
*
|
|
58
131
|
* ## Example Usage
|
|
132
|
+
*
|
|
133
|
+
* ### Using CIDR Block
|
|
134
|
+
* <!--Start PulumiCodeChooser -->
|
|
135
|
+
* ```typescript
|
|
136
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
137
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
138
|
+
*
|
|
139
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
140
|
+
* projectId: "<PROJECT-ID>",
|
|
141
|
+
* cidrBlock: "1.2.3.4/32",
|
|
142
|
+
* comment: "cidr block for tf acc testing",
|
|
143
|
+
* });
|
|
144
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
145
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
146
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
147
|
+
* });
|
|
148
|
+
* ```
|
|
149
|
+
* <!--End PulumiCodeChooser -->
|
|
150
|
+
*
|
|
151
|
+
* ### Using IP Address
|
|
152
|
+
* <!--Start PulumiCodeChooser -->
|
|
153
|
+
* ```typescript
|
|
154
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
155
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
156
|
+
*
|
|
157
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
158
|
+
* projectId: "<PROJECT-ID>",
|
|
159
|
+
* ipAddress: "2.3.4.5",
|
|
160
|
+
* comment: "ip address for tf acc testing",
|
|
161
|
+
* });
|
|
162
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
163
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
164
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
165
|
+
* });
|
|
166
|
+
* ```
|
|
167
|
+
* <!--End PulumiCodeChooser -->
|
|
168
|
+
*
|
|
169
|
+
* ### Using an AWS Security Group
|
|
170
|
+
* <!--Start PulumiCodeChooser -->
|
|
171
|
+
* ```typescript
|
|
172
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
173
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
174
|
+
*
|
|
175
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
176
|
+
* projectId: "<PROJECT-ID>",
|
|
177
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
178
|
+
* providerName: "AWS",
|
|
179
|
+
* regionName: "US_EAST_1",
|
|
180
|
+
* });
|
|
181
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
182
|
+
* projectId: "<PROJECT-ID>",
|
|
183
|
+
* containerId: testNetworkContainer.containerId,
|
|
184
|
+
* accepterRegionName: "us-east-1",
|
|
185
|
+
* providerName: "AWS",
|
|
186
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
187
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
188
|
+
* awsAccountId: "232589400519",
|
|
189
|
+
* });
|
|
190
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
191
|
+
* projectId: "<PROJECT-ID>",
|
|
192
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
193
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
194
|
+
* }, {
|
|
195
|
+
* dependsOn: [testNetworkPeering],
|
|
196
|
+
* });
|
|
197
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
198
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
199
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
200
|
+
* });
|
|
201
|
+
* ```
|
|
202
|
+
* <!--End PulumiCodeChooser -->
|
|
203
|
+
*
|
|
204
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
59
205
|
*/
|
|
60
206
|
export declare function getProjectIpAccessListOutput(args: GetProjectIpAccessListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIpAccessListResult>;
|
|
61
207
|
/**
|
|
@@ -14,6 +14,79 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
|
|
15
15
|
*
|
|
16
16
|
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ### Using CIDR Block
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
+
*
|
|
24
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
25
|
+
* projectId: "<PROJECT-ID>",
|
|
26
|
+
* cidrBlock: "1.2.3.4/32",
|
|
27
|
+
* comment: "cidr block for tf acc testing",
|
|
28
|
+
* });
|
|
29
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
30
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
31
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
35
|
+
*
|
|
36
|
+
* ### Using IP Address
|
|
37
|
+
* <!--Start PulumiCodeChooser -->
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
41
|
+
*
|
|
42
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
43
|
+
* projectId: "<PROJECT-ID>",
|
|
44
|
+
* ipAddress: "2.3.4.5",
|
|
45
|
+
* comment: "ip address for tf acc testing",
|
|
46
|
+
* });
|
|
47
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
48
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
49
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
* <!--End PulumiCodeChooser -->
|
|
53
|
+
*
|
|
54
|
+
* ### Using an AWS Security Group
|
|
55
|
+
* <!--Start PulumiCodeChooser -->
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
59
|
+
*
|
|
60
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
61
|
+
* projectId: "<PROJECT-ID>",
|
|
62
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
63
|
+
* providerName: "AWS",
|
|
64
|
+
* regionName: "US_EAST_1",
|
|
65
|
+
* });
|
|
66
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
67
|
+
* projectId: "<PROJECT-ID>",
|
|
68
|
+
* containerId: testNetworkContainer.containerId,
|
|
69
|
+
* accepterRegionName: "us-east-1",
|
|
70
|
+
* providerName: "AWS",
|
|
71
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
72
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
73
|
+
* awsAccountId: "232589400519",
|
|
74
|
+
* });
|
|
75
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
76
|
+
* projectId: "<PROJECT-ID>",
|
|
77
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
78
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
79
|
+
* }, {
|
|
80
|
+
* dependsOn: [testNetworkPeering],
|
|
81
|
+
* });
|
|
82
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
83
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
84
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
* <!--End PulumiCodeChooser -->
|
|
88
|
+
*
|
|
89
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
17
90
|
*/
|
|
18
91
|
function getProjectIpAccessList(args, opts) {
|
|
19
92
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -34,6 +107,79 @@ exports.getProjectIpAccessList = getProjectIpAccessList;
|
|
|
34
107
|
* When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.
|
|
35
108
|
*
|
|
36
109
|
* ## Example Usage
|
|
110
|
+
*
|
|
111
|
+
* ### Using CIDR Block
|
|
112
|
+
* <!--Start PulumiCodeChooser -->
|
|
113
|
+
* ```typescript
|
|
114
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
115
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
116
|
+
*
|
|
117
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
118
|
+
* projectId: "<PROJECT-ID>",
|
|
119
|
+
* cidrBlock: "1.2.3.4/32",
|
|
120
|
+
* comment: "cidr block for tf acc testing",
|
|
121
|
+
* });
|
|
122
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
123
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
124
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
* <!--End PulumiCodeChooser -->
|
|
128
|
+
*
|
|
129
|
+
* ### Using IP Address
|
|
130
|
+
* <!--Start PulumiCodeChooser -->
|
|
131
|
+
* ```typescript
|
|
132
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
133
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
134
|
+
*
|
|
135
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
136
|
+
* projectId: "<PROJECT-ID>",
|
|
137
|
+
* ipAddress: "2.3.4.5",
|
|
138
|
+
* comment: "ip address for tf acc testing",
|
|
139
|
+
* });
|
|
140
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
141
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
142
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
145
|
+
* <!--End PulumiCodeChooser -->
|
|
146
|
+
*
|
|
147
|
+
* ### Using an AWS Security Group
|
|
148
|
+
* <!--Start PulumiCodeChooser -->
|
|
149
|
+
* ```typescript
|
|
150
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
151
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
152
|
+
*
|
|
153
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
154
|
+
* projectId: "<PROJECT-ID>",
|
|
155
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
156
|
+
* providerName: "AWS",
|
|
157
|
+
* regionName: "US_EAST_1",
|
|
158
|
+
* });
|
|
159
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
160
|
+
* projectId: "<PROJECT-ID>",
|
|
161
|
+
* containerId: testNetworkContainer.containerId,
|
|
162
|
+
* accepterRegionName: "us-east-1",
|
|
163
|
+
* providerName: "AWS",
|
|
164
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
165
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
166
|
+
* awsAccountId: "232589400519",
|
|
167
|
+
* });
|
|
168
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
169
|
+
* projectId: "<PROJECT-ID>",
|
|
170
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
171
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
172
|
+
* }, {
|
|
173
|
+
* dependsOn: [testNetworkPeering],
|
|
174
|
+
* });
|
|
175
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
176
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
177
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
178
|
+
* });
|
|
179
|
+
* ```
|
|
180
|
+
* <!--End PulumiCodeChooser -->
|
|
181
|
+
*
|
|
182
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
37
183
|
*/
|
|
38
184
|
function getProjectIpAccessListOutput(args, opts) {
|
|
39
185
|
return pulumi.output(args).apply((a) => getProjectIpAccessList(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectIpAccessList.js","sourceRoot":"","sources":["../getProjectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectIpAccessList.js","sourceRoot":"","sources":["../getProjectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;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,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;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"}
|
package/getProjects.d.ts
CHANGED
|
@@ -12,9 +12,10 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
16
|
-
* const testProject = new mongodbatlas.Project("
|
|
17
|
-
*
|
|
15
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
16
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
17
|
+
* name: "project-name",
|
|
18
|
+
* orgId: test.then(test => test.orgId),
|
|
18
19
|
* teams: [
|
|
19
20
|
* {
|
|
20
21
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -33,7 +34,7 @@ import * as outputs from "./types/output";
|
|
|
33
34
|
* value: 26,
|
|
34
35
|
* }],
|
|
35
36
|
* });
|
|
36
|
-
* const
|
|
37
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
37
38
|
* pageNum: 1,
|
|
38
39
|
* itemsPerPage: 5,
|
|
39
40
|
* });
|
|
@@ -79,9 +80,10 @@ export interface GetProjectsResult {
|
|
|
79
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
80
81
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
81
82
|
*
|
|
82
|
-
* const
|
|
83
|
-
* const testProject = new mongodbatlas.Project("
|
|
84
|
-
*
|
|
83
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
84
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
85
|
+
* name: "project-name",
|
|
86
|
+
* orgId: test.then(test => test.orgId),
|
|
85
87
|
* teams: [
|
|
86
88
|
* {
|
|
87
89
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -100,7 +102,7 @@ export interface GetProjectsResult {
|
|
|
100
102
|
* value: 26,
|
|
101
103
|
* }],
|
|
102
104
|
* });
|
|
103
|
-
* const
|
|
105
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
104
106
|
* pageNum: 1,
|
|
105
107
|
* itemsPerPage: 5,
|
|
106
108
|
* });
|
package/getProjects.js
CHANGED
|
@@ -17,9 +17,10 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
|
-
* const
|
|
21
|
-
* const testProject = new mongodbatlas.Project("
|
|
22
|
-
*
|
|
20
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
21
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
22
|
+
* name: "project-name",
|
|
23
|
+
* orgId: test.then(test => test.orgId),
|
|
23
24
|
* teams: [
|
|
24
25
|
* {
|
|
25
26
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -38,7 +39,7 @@ const utilities = require("./utilities");
|
|
|
38
39
|
* value: 26,
|
|
39
40
|
* }],
|
|
40
41
|
* });
|
|
41
|
-
* const
|
|
42
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
42
43
|
* pageNum: 1,
|
|
43
44
|
* itemsPerPage: 5,
|
|
44
45
|
* });
|
|
@@ -66,9 +67,10 @@ exports.getProjects = getProjects;
|
|
|
66
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
67
68
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
68
69
|
*
|
|
69
|
-
* const
|
|
70
|
-
* const testProject = new mongodbatlas.Project("
|
|
71
|
-
*
|
|
70
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
71
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
72
|
+
* name: "project-name",
|
|
73
|
+
* orgId: test.then(test => test.orgId),
|
|
72
74
|
* teams: [
|
|
73
75
|
* {
|
|
74
76
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -87,7 +89,7 @@ exports.getProjects = getProjects;
|
|
|
87
89
|
* value: 26,
|
|
88
90
|
* }],
|
|
89
91
|
* });
|
|
90
|
-
* const
|
|
92
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
91
93
|
* pageNum: 1,
|
|
92
94
|
* itemsPerPage: 5,
|
|
93
95
|
* });
|
package/getProjects.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/getSearchIndex.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
14
|
*
|
|
15
15
|
* const test = mongodbatlas.getSearchIndex({
|
|
16
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
17
16
|
* indexId: "<INDEX_ID",
|
|
18
17
|
* projectId: "<PROJECT_ID>",
|
|
18
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
* <!--End PulumiCodeChooser -->
|
|
@@ -142,9 +142,9 @@ export interface GetSearchIndexResult {
|
|
|
142
142
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
143
143
|
*
|
|
144
144
|
* const test = mongodbatlas.getSearchIndex({
|
|
145
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
146
145
|
* indexId: "<INDEX_ID",
|
|
147
146
|
* projectId: "<PROJECT_ID>",
|
|
147
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
148
148
|
* });
|
|
149
149
|
* ```
|
|
150
150
|
* <!--End PulumiCodeChooser -->
|
package/getSearchIndex.js
CHANGED
|
@@ -18,9 +18,9 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
20
|
* const test = mongodbatlas.getSearchIndex({
|
|
21
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
22
21
|
* indexId: "<INDEX_ID",
|
|
23
22
|
* projectId: "<PROJECT_ID>",
|
|
23
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
* <!--End PulumiCodeChooser -->
|
|
@@ -57,9 +57,9 @@ exports.getSearchIndex = getSearchIndex;
|
|
|
57
57
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
58
58
|
*
|
|
59
59
|
* const test = mongodbatlas.getSearchIndex({
|
|
60
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
61
60
|
* indexId: "<INDEX_ID",
|
|
62
61
|
* projectId: "<PROJECT_ID>",
|
|
62
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
63
63
|
* });
|
|
64
64
|
* ```
|
|
65
65
|
* <!--End PulumiCodeChooser -->
|
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
13
|
*
|
|
14
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
14
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
15
15
|
* projectId: "<PROJECT-ID>",
|
|
16
16
|
* type: "DATADOG",
|
|
17
17
|
* apiKey: "<API-KEY>",
|
|
@@ -137,7 +137,7 @@ export interface GetThirdPartyIntegrationResult {
|
|
|
137
137
|
* import * as pulumi from "@pulumi/pulumi";
|
|
138
138
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
139
139
|
*
|
|
140
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
140
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
141
141
|
* projectId: "<PROJECT-ID>",
|
|
142
142
|
* type: "DATADOG",
|
|
143
143
|
* apiKey: "<API-KEY>",
|
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
19
|
*
|
|
20
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
20
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
21
21
|
* projectId: "<PROJECT-ID>",
|
|
22
22
|
* type: "DATADOG",
|
|
23
23
|
* apiKey: "<API-KEY>",
|
|
@@ -54,7 +54,7 @@ exports.getThirdPartyIntegration = getThirdPartyIntegration;
|
|
|
54
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
55
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
56
|
*
|
|
57
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
57
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
58
58
|
* projectId: "<PROJECT-ID>",
|
|
59
59
|
* type: "DATADOG",
|
|
60
60
|
* apiKey: "<API-KEY>",
|
|
@@ -13,12 +13,12 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
15
|
*
|
|
16
|
-
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("
|
|
16
|
+
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("test_pager_duty", {
|
|
17
17
|
* projectId: "<PROJECT-ID>",
|
|
18
18
|
* type: "PAGER_DUTY",
|
|
19
19
|
* serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
|
|
20
20
|
* });
|
|
21
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
21
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
22
22
|
* projectId: "<PROJECT-ID>",
|
|
23
23
|
* type: "DATADOG",
|
|
24
24
|
* apiKey: "<API-KEY>",
|
|
@@ -70,12 +70,12 @@ export interface GetThirdPartyIntegrationsResult {
|
|
|
70
70
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
71
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
72
72
|
*
|
|
73
|
-
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("
|
|
73
|
+
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("test_pager_duty", {
|
|
74
74
|
* projectId: "<PROJECT-ID>",
|
|
75
75
|
* type: "PAGER_DUTY",
|
|
76
76
|
* serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
|
|
77
77
|
* });
|
|
78
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
78
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
79
79
|
* projectId: "<PROJECT-ID>",
|
|
80
80
|
* type: "DATADOG",
|
|
81
81
|
* apiKey: "<API-KEY>",
|
|
@@ -18,12 +18,12 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
20
20
|
*
|
|
21
|
-
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("
|
|
21
|
+
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("test_pager_duty", {
|
|
22
22
|
* projectId: "<PROJECT-ID>",
|
|
23
23
|
* type: "PAGER_DUTY",
|
|
24
24
|
* serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
|
|
25
25
|
* });
|
|
26
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
26
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
27
27
|
* projectId: "<PROJECT-ID>",
|
|
28
28
|
* type: "DATADOG",
|
|
29
29
|
* apiKey: "<API-KEY>",
|
|
@@ -55,12 +55,12 @@ exports.getThirdPartyIntegrations = getThirdPartyIntegrations;
|
|
|
55
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
56
56
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
57
57
|
*
|
|
58
|
-
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("
|
|
58
|
+
* const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("test_pager_duty", {
|
|
59
59
|
* projectId: "<PROJECT-ID>",
|
|
60
60
|
* type: "PAGER_DUTY",
|
|
61
61
|
* serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
|
|
62
62
|
* });
|
|
63
|
-
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("
|
|
63
|
+
* const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
|
|
64
64
|
* projectId: "<PROJECT-ID>",
|
|
65
65
|
* type: "DATADOG",
|
|
66
66
|
* apiKey: "<API-KEY>",
|