@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 3.15.0-alpha.1713899327
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 -8
- package/accessListApiKey.js +4 -8
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +28 -61
- package/advancedCluster.js +28 -61
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -50
- package/alertConfiguration.js +44 -50
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +0 -2
- package/apiKey.js +0 -2
- package/apiKey.js.map +1 -1
- package/auditing.d.ts +2 -4
- package/auditing.js +2 -4
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +83 -0
- package/backupCompliancePolicy.js +83 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -9
- package/cloudBackupSnapshot.js +7 -9
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +2 -4
- package/cloudBackupSnapshotExportBucket.js +2 -4
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -7
- package/cloudBackupSnapshotExportJob.js +3 -7
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +74 -13
- package/cloudBackupSnapshotRestoreJob.js +74 -13
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -82
- package/cluster.js +48 -82
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -4
- package/clusterOutageSimulation.js +2 -4
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +6 -10
- package/customDbRole.js +6 -10
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +1 -3
- package/customDnsConfigurationClusterAws.js +1 -3
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/databaseUser.d.ts +19 -27
- package/databaseUser.js +19 -27
- package/databaseUser.js.map +1 -1
- package/eventTrigger.d.ts +24 -28
- package/eventTrigger.js +24 -28
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -12
- package/federatedDatabaseInstance.js +10 -12
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -4
- package/federatedQueryLimit.js +2 -4
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +6 -7
- package/federatedSettingsIdentityProvider.js +6 -7
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -4
- package/federatedSettingsOrgRoleMapping.js +2 -4
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +60 -0
- package/get509AuthenticationDatabaseUser.js +60 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAccessListApiKeys.d.ts +0 -16
- package/getAccessListApiKeys.js.map +1 -1
- package/getAdvancedCluster.d.ts +56 -0
- package/getAdvancedCluster.js +56 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +190 -0
- package/getAlertConfiguration.js +190 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUser.d.ts +0 -8
- package/getAtlasUser.js +0 -8
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -14
- package/getAtlasUsers.js +2 -14
- package/getAtlasUsers.js.map +1 -1
- package/getAuditing.d.ts +34 -0
- package/getAuditing.js +34 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +166 -0
- package/getBackupCompliancePolicy.js +166 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +54 -0
- package/getCloudBackupSchedule.js +54 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +38 -0
- package/getCloudBackupSnapshot.js +38 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +36 -0
- package/getCloudBackupSnapshotExportBucket.js +36 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -12
- package/getCloudBackupSnapshotExportBuckets.js +8 -12
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +58 -0
- package/getCloudBackupSnapshotExportJob.js +58 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -10
- package/getCloudBackupSnapshotExportJobs.js +6 -10
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +4 -12
- package/getCloudProviderAccessSetup.js +4 -12
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCluster.d.ts +60 -0
- package/getCluster.js +60 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -6
- package/getClusterOutageSimulation.js +2 -6
- package/getClusterOutageSimulation.js.map +1 -1
- package/getClusters.d.ts +6 -8
- package/getClusters.js +6 -8
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -6
- package/getCustomDbRole.js +2 -6
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +30 -0
- package/getCustomDnsConfigurationClusterAws.js +30 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +124 -0
- package/getDatabaseUser.js +124 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -22
- package/getDatabaseUsers.js +14 -22
- package/getDatabaseUsers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +6 -14
- package/getFederatedDatabaseInstance.js +6 -14
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +2 -6
- package/getFederatedQueryLimit.js +2 -6
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +0 -4
- package/getFederatedQueryLimits.js +0 -4
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +0 -4
- package/getFederatedSettings.js +0 -4
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +4 -6
- package/getFederatedSettingsIdentityProvider.js +4 -6
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -6
- package/getFederatedSettingsIdentityProviders.js +4 -6
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -10
- package/getFederatedSettingsOrgConfig.js +6 -10
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +6 -10
- package/getFederatedSettingsOrgConfigs.js +6 -10
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -8
- package/getFederatedSettingsOrgRoleMapping.js +4 -8
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +110 -0
- package/getGlobalClusterConfig.js +110 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +46 -0
- package/getLdapConfiguration.js +46 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +66 -0
- package/getLdapVerify.js +66 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +60 -0
- package/getMaintenanceWindow.js +60 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +36 -0
- package/getNetworkContainer.js +36 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -8
- package/getNetworkContainers.js +4 -8
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +42 -0
- package/getNetworkPeering.js +42 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -8
- package/getNetworkPeerings.js +4 -8
- package/getNetworkPeerings.js.map +1 -1
- package/getOrganization.d.ts +0 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +2 -12
- package/getOrganizations.js +2 -6
- package/getOrganizations.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +42 -0
- package/getPrivateLinkEndpoint.js +42 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointServiceServerless.js +20 -24
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +126 -0
- package/getProject.js +126 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +36 -0
- package/getProjectApiKey.js +36 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -6
- package/getProjectApiKeys.js +2 -6
- package/getProjectApiKeys.js.map +1 -1
- package/getProjectInvitation.d.ts +34 -0
- package/getProjectInvitation.js +34 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +134 -0
- package/getProjectIpAccessList.js +134 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -12
- package/getProjects.js +10 -12
- package/getProjects.js.map +1 -1
- package/getRolesOrgId.d.ts +0 -4
- package/getRolesOrgId.js +0 -4
- package/getRolesOrgId.js.map +1 -1
- package/getSearchIndex.d.ts +2 -6
- package/getSearchIndex.js +2 -6
- package/getSearchIndex.js.map +1 -1
- package/getServerlessInstance.d.ts +0 -4
- package/getServerlessInstance.js +0 -4
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +0 -4
- package/getServerlessInstances.js +0 -4
- package/getServerlessInstances.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +2 -6
- package/getThirdPartyIntegration.js +2 -6
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +4 -8
- package/getThirdPartyIntegrations.js +4 -8
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +60 -0
- package/getX509AuthenticationDatabaseUser.js +60 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -6
- package/globalClusterConfig.js +4 -6
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -10
- package/ldapConfiguration.js +12 -10
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -8
- package/ldapVerify.js +9 -8
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -6
- package/maintenanceWindow.js +2 -6
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +3 -9
- package/networkContainer.js +3 -9
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +38 -151
- package/networkPeering.js +38 -151
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -12
- package/onlineArchive.js +8 -12
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +4 -10
- package/orgInvitation.js +4 -10
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +2 -3
- package/organization.js +2 -3
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpoint.d.ts +0 -2
- package/privateLinkEndpoint.js +0 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +93 -26
- package/privateLinkEndpointService.js +93 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -4
- package/privatelinkEndpointServerless.js +3 -4
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +52 -8
- package/privatelinkEndpointServiceServerless.js +52 -8
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -5
- package/project.js +4 -5
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +0 -4
- package/projectApiKey.js +0 -4
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +2 -6
- package/projectInvitation.js +2 -6
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +8 -14
- package/projectIpAccessList.js +8 -14
- package/projectIpAccessList.js.map +1 -1
- package/searchIndex.d.ts +7 -11
- package/searchIndex.js +7 -11
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -2
- package/serverlessInstance.js +1 -2
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -113
- package/thirdPartyIntegration.js +3 -5
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +1 -332
- package/types/output.d.ts +13 -408
|
@@ -8,6 +8,73 @@ 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
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
18
|
+
* projectId: "<PROJECT-ID>",
|
|
19
|
+
* cidrBlock: "1.2.3.4/32",
|
|
20
|
+
* comment: "cidr block for tf acc testing",
|
|
21
|
+
* });
|
|
22
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
23
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
24
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ### Using IP Address
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
32
|
+
*
|
|
33
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
34
|
+
* projectId: "<PROJECT-ID>",
|
|
35
|
+
* ipAddress: "2.3.4.5",
|
|
36
|
+
* comment: "ip address for tf acc testing",
|
|
37
|
+
* });
|
|
38
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
39
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
40
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ### Using an AWS Security Group
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
48
|
+
*
|
|
49
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
50
|
+
* projectId: "<PROJECT-ID>",
|
|
51
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
52
|
+
* providerName: "AWS",
|
|
53
|
+
* regionName: "US_EAST_1",
|
|
54
|
+
* });
|
|
55
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
56
|
+
* projectId: "<PROJECT-ID>",
|
|
57
|
+
* containerId: testNetworkContainer.containerId,
|
|
58
|
+
* accepterRegionName: "us-east-1",
|
|
59
|
+
* providerName: "AWS",
|
|
60
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
61
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
62
|
+
* awsAccountId: "232589400519",
|
|
63
|
+
* });
|
|
64
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
65
|
+
* projectId: "<PROJECT-ID>",
|
|
66
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
67
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
68
|
+
* }, {
|
|
69
|
+
* dependsOn: [testNetworkPeering],
|
|
70
|
+
* });
|
|
71
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
72
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
73
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
11
78
|
*/
|
|
12
79
|
export declare function getProjectIpAccessList(args: GetProjectIpAccessListArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectIpAccessListResult>;
|
|
13
80
|
/**
|
|
@@ -56,6 +123,73 @@ export interface GetProjectIpAccessListResult {
|
|
|
56
123
|
* 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
124
|
*
|
|
58
125
|
* ## Example Usage
|
|
126
|
+
*
|
|
127
|
+
* ### Using CIDR Block
|
|
128
|
+
* ```typescript
|
|
129
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
130
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
131
|
+
*
|
|
132
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
133
|
+
* projectId: "<PROJECT-ID>",
|
|
134
|
+
* cidrBlock: "1.2.3.4/32",
|
|
135
|
+
* comment: "cidr block for tf acc testing",
|
|
136
|
+
* });
|
|
137
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
138
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
139
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
140
|
+
* });
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* ### Using IP Address
|
|
144
|
+
* ```typescript
|
|
145
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
146
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
147
|
+
*
|
|
148
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
149
|
+
* projectId: "<PROJECT-ID>",
|
|
150
|
+
* ipAddress: "2.3.4.5",
|
|
151
|
+
* comment: "ip address for tf acc testing",
|
|
152
|
+
* });
|
|
153
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
154
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
155
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
156
|
+
* });
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
159
|
+
* ### Using an AWS Security Group
|
|
160
|
+
* ```typescript
|
|
161
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
162
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
|
+
*
|
|
164
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
165
|
+
* projectId: "<PROJECT-ID>",
|
|
166
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
167
|
+
* providerName: "AWS",
|
|
168
|
+
* regionName: "US_EAST_1",
|
|
169
|
+
* });
|
|
170
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
171
|
+
* projectId: "<PROJECT-ID>",
|
|
172
|
+
* containerId: testNetworkContainer.containerId,
|
|
173
|
+
* accepterRegionName: "us-east-1",
|
|
174
|
+
* providerName: "AWS",
|
|
175
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
176
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
177
|
+
* awsAccountId: "232589400519",
|
|
178
|
+
* });
|
|
179
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
180
|
+
* projectId: "<PROJECT-ID>",
|
|
181
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
182
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
183
|
+
* }, {
|
|
184
|
+
* dependsOn: [testNetworkPeering],
|
|
185
|
+
* });
|
|
186
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
187
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
188
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
189
|
+
* });
|
|
190
|
+
* ```
|
|
191
|
+
*
|
|
192
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
59
193
|
*/
|
|
60
194
|
export declare function getProjectIpAccessListOutput(args: GetProjectIpAccessListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectIpAccessListResult>;
|
|
61
195
|
/**
|
|
@@ -14,6 +14,73 @@ 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
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
24
|
+
* projectId: "<PROJECT-ID>",
|
|
25
|
+
* cidrBlock: "1.2.3.4/32",
|
|
26
|
+
* comment: "cidr block for tf acc testing",
|
|
27
|
+
* });
|
|
28
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
29
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
30
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ### Using IP Address
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
38
|
+
*
|
|
39
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
40
|
+
* projectId: "<PROJECT-ID>",
|
|
41
|
+
* ipAddress: "2.3.4.5",
|
|
42
|
+
* comment: "ip address for tf acc testing",
|
|
43
|
+
* });
|
|
44
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
45
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
46
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ### Using an AWS Security Group
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
+
*
|
|
55
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
56
|
+
* projectId: "<PROJECT-ID>",
|
|
57
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
58
|
+
* providerName: "AWS",
|
|
59
|
+
* regionName: "US_EAST_1",
|
|
60
|
+
* });
|
|
61
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
62
|
+
* projectId: "<PROJECT-ID>",
|
|
63
|
+
* containerId: testNetworkContainer.containerId,
|
|
64
|
+
* accepterRegionName: "us-east-1",
|
|
65
|
+
* providerName: "AWS",
|
|
66
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
67
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
68
|
+
* awsAccountId: "232589400519",
|
|
69
|
+
* });
|
|
70
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
71
|
+
* projectId: "<PROJECT-ID>",
|
|
72
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
73
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
74
|
+
* }, {
|
|
75
|
+
* dependsOn: [testNetworkPeering],
|
|
76
|
+
* });
|
|
77
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
78
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
79
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
17
84
|
*/
|
|
18
85
|
function getProjectIpAccessList(args, opts) {
|
|
19
86
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -34,6 +101,73 @@ exports.getProjectIpAccessList = getProjectIpAccessList;
|
|
|
34
101
|
* 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
102
|
*
|
|
36
103
|
* ## Example Usage
|
|
104
|
+
*
|
|
105
|
+
* ### Using CIDR Block
|
|
106
|
+
* ```typescript
|
|
107
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
108
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
109
|
+
*
|
|
110
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
111
|
+
* projectId: "<PROJECT-ID>",
|
|
112
|
+
* cidrBlock: "1.2.3.4/32",
|
|
113
|
+
* comment: "cidr block for tf acc testing",
|
|
114
|
+
* });
|
|
115
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
116
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
117
|
+
* cidrBlock: testProjectIpAccessList.cidrBlock,
|
|
118
|
+
* });
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* ### Using IP Address
|
|
122
|
+
* ```typescript
|
|
123
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
124
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
125
|
+
*
|
|
126
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
127
|
+
* projectId: "<PROJECT-ID>",
|
|
128
|
+
* ipAddress: "2.3.4.5",
|
|
129
|
+
* comment: "ip address for tf acc testing",
|
|
130
|
+
* });
|
|
131
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
132
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
133
|
+
* ipAddress: testProjectIpAccessList.ipAddress,
|
|
134
|
+
* });
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* ### Using an AWS Security Group
|
|
138
|
+
* ```typescript
|
|
139
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
140
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
141
|
+
*
|
|
142
|
+
* const testNetworkContainer = new mongodbatlas.NetworkContainer("test", {
|
|
143
|
+
* projectId: "<PROJECT-ID>",
|
|
144
|
+
* atlasCidrBlock: "192.168.208.0/21",
|
|
145
|
+
* providerName: "AWS",
|
|
146
|
+
* regionName: "US_EAST_1",
|
|
147
|
+
* });
|
|
148
|
+
* const testNetworkPeering = new mongodbatlas.NetworkPeering("test", {
|
|
149
|
+
* projectId: "<PROJECT-ID>",
|
|
150
|
+
* containerId: testNetworkContainer.containerId,
|
|
151
|
+
* accepterRegionName: "us-east-1",
|
|
152
|
+
* providerName: "AWS",
|
|
153
|
+
* routeTableCidrBlock: "172.31.0.0/16",
|
|
154
|
+
* vpcId: "vpc-0d93d6f69f1578bd8",
|
|
155
|
+
* awsAccountId: "232589400519",
|
|
156
|
+
* });
|
|
157
|
+
* const testProjectIpAccessList = new mongodbatlas.ProjectIpAccessList("test", {
|
|
158
|
+
* projectId: "<PROJECT-ID>",
|
|
159
|
+
* awsSecurityGroup: "sg-0026348ec11780bd1",
|
|
160
|
+
* comment: "TestAcc for awsSecurityGroup",
|
|
161
|
+
* }, {
|
|
162
|
+
* dependsOn: [testNetworkPeering],
|
|
163
|
+
* });
|
|
164
|
+
* const test = mongodbatlas.getProjectIpAccessListOutput({
|
|
165
|
+
* projectId: testProjectIpAccessList.projectId,
|
|
166
|
+
* awsSecurityGroup: testProjectIpAccessList.awsSecurityGroup,
|
|
167
|
+
* });
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* > **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like in the above example.
|
|
37
171
|
*/
|
|
38
172
|
function getProjectIpAccessListOutput(args, opts) {
|
|
39
173
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;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
|
@@ -7,14 +7,14 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
13
|
*
|
|
15
|
-
* const
|
|
16
|
-
* const testProject = new mongodbatlas.Project("
|
|
17
|
-
*
|
|
14
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
15
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
16
|
+
* name: "project-name",
|
|
17
|
+
* orgId: test.then(test => test.orgId),
|
|
18
18
|
* teams: [
|
|
19
19
|
* {
|
|
20
20
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -33,12 +33,11 @@ import * as outputs from "./types/output";
|
|
|
33
33
|
* value: 26,
|
|
34
34
|
* }],
|
|
35
35
|
* });
|
|
36
|
-
* const
|
|
36
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
37
37
|
* pageNum: 1,
|
|
38
38
|
* itemsPerPage: 5,
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
41
|
*/
|
|
43
42
|
export declare function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectsResult>;
|
|
44
43
|
/**
|
|
@@ -74,14 +73,14 @@ export interface GetProjectsResult {
|
|
|
74
73
|
*
|
|
75
74
|
* ## Example Usage
|
|
76
75
|
*
|
|
77
|
-
* <!--Start PulumiCodeChooser -->
|
|
78
76
|
* ```typescript
|
|
79
77
|
* import * as pulumi from "@pulumi/pulumi";
|
|
80
78
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
81
79
|
*
|
|
82
|
-
* const
|
|
83
|
-
* const testProject = new mongodbatlas.Project("
|
|
84
|
-
*
|
|
80
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
81
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
82
|
+
* name: "project-name",
|
|
83
|
+
* orgId: test.then(test => test.orgId),
|
|
85
84
|
* teams: [
|
|
86
85
|
* {
|
|
87
86
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -100,12 +99,11 @@ export interface GetProjectsResult {
|
|
|
100
99
|
* value: 26,
|
|
101
100
|
* }],
|
|
102
101
|
* });
|
|
103
|
-
* const
|
|
102
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
104
103
|
* pageNum: 1,
|
|
105
104
|
* itemsPerPage: 5,
|
|
106
105
|
* });
|
|
107
106
|
* ```
|
|
108
|
-
* <!--End PulumiCodeChooser -->
|
|
109
107
|
*/
|
|
110
108
|
export declare function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectsResult>;
|
|
111
109
|
/**
|
package/getProjects.js
CHANGED
|
@@ -12,14 +12,14 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
18
|
*
|
|
20
|
-
* const
|
|
21
|
-
* const testProject = new mongodbatlas.Project("
|
|
22
|
-
*
|
|
19
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
20
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
21
|
+
* name: "project-name",
|
|
22
|
+
* orgId: test.then(test => test.orgId),
|
|
23
23
|
* teams: [
|
|
24
24
|
* {
|
|
25
25
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -38,12 +38,11 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* value: 26,
|
|
39
39
|
* }],
|
|
40
40
|
* });
|
|
41
|
-
* const
|
|
41
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
42
42
|
* pageNum: 1,
|
|
43
43
|
* itemsPerPage: 5,
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
|
-
* <!--End PulumiCodeChooser -->
|
|
47
46
|
*/
|
|
48
47
|
function getProjects(args, opts) {
|
|
49
48
|
args = args || {};
|
|
@@ -61,14 +60,14 @@ exports.getProjects = getProjects;
|
|
|
61
60
|
*
|
|
62
61
|
* ## Example Usage
|
|
63
62
|
*
|
|
64
|
-
* <!--Start PulumiCodeChooser -->
|
|
65
63
|
* ```typescript
|
|
66
64
|
* import * as pulumi from "@pulumi/pulumi";
|
|
67
65
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
68
66
|
*
|
|
69
|
-
* const
|
|
70
|
-
* const testProject = new mongodbatlas.Project("
|
|
71
|
-
*
|
|
67
|
+
* const test = mongodbatlas.getRolesOrgId({});
|
|
68
|
+
* const testProject = new mongodbatlas.Project("test", {
|
|
69
|
+
* name: "project-name",
|
|
70
|
+
* orgId: test.then(test => test.orgId),
|
|
72
71
|
* teams: [
|
|
73
72
|
* {
|
|
74
73
|
* teamId: "5e0fa8c99ccf641c722fe645",
|
|
@@ -87,12 +86,11 @@ exports.getProjects = getProjects;
|
|
|
87
86
|
* value: 26,
|
|
88
87
|
* }],
|
|
89
88
|
* });
|
|
90
|
-
* const
|
|
89
|
+
* const testGetProjects = mongodbatlas.getProjects({
|
|
91
90
|
* pageNum: 1,
|
|
92
91
|
* itemsPerPage: 5,
|
|
93
92
|
* });
|
|
94
93
|
* ```
|
|
95
|
-
* <!--End PulumiCodeChooser -->
|
|
96
94
|
*/
|
|
97
95
|
function getProjectsOutput(args, opts) {
|
|
98
96
|
return pulumi.output(args).apply((a) => getProjects(a, opts));
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;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/getRolesOrgId.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
7
|
* ### Using data source to query
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
8
|
* ```typescript
|
|
10
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
10
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -13,7 +12,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
12
|
* const test = mongodbatlas.getRolesOrgId({});
|
|
14
13
|
* export const orgId = test.then(test => test.orgId);
|
|
15
14
|
* ```
|
|
16
|
-
* <!--End PulumiCodeChooser -->
|
|
17
15
|
*/
|
|
18
16
|
export declare function getRolesOrgId(opts?: pulumi.InvokeOptions): Promise<GetRolesOrgIdResult>;
|
|
19
17
|
/**
|
|
@@ -35,7 +33,6 @@ export interface GetRolesOrgIdResult {
|
|
|
35
33
|
* ## Example Usage
|
|
36
34
|
*
|
|
37
35
|
* ### Using data source to query
|
|
38
|
-
* <!--Start PulumiCodeChooser -->
|
|
39
36
|
* ```typescript
|
|
40
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
38
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -43,6 +40,5 @@ export interface GetRolesOrgIdResult {
|
|
|
43
40
|
* const test = mongodbatlas.getRolesOrgId({});
|
|
44
41
|
* export const orgId = test.then(test => test.orgId);
|
|
45
42
|
* ```
|
|
46
|
-
* <!--End PulumiCodeChooser -->
|
|
47
43
|
*/
|
|
48
44
|
export declare function getRolesOrgIdOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetRolesOrgIdResult>;
|
package/getRolesOrgId.js
CHANGED
|
@@ -11,7 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
13
|
* ### Using data source to query
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -19,7 +18,6 @@ const utilities = require("./utilities");
|
|
|
19
18
|
* const test = mongodbatlas.getRolesOrgId({});
|
|
20
19
|
* export const orgId = test.then(test => test.orgId);
|
|
21
20
|
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
21
|
*/
|
|
24
22
|
function getRolesOrgId(opts) {
|
|
25
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -32,7 +30,6 @@ exports.getRolesOrgId = getRolesOrgId;
|
|
|
32
30
|
* ## Example Usage
|
|
33
31
|
*
|
|
34
32
|
* ### Using data source to query
|
|
35
|
-
* <!--Start PulumiCodeChooser -->
|
|
36
33
|
* ```typescript
|
|
37
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
38
35
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -40,7 +37,6 @@ exports.getRolesOrgId = getRolesOrgId;
|
|
|
40
37
|
* const test = mongodbatlas.getRolesOrgId({});
|
|
41
38
|
* export const orgId = test.then(test => test.orgId);
|
|
42
39
|
* ```
|
|
43
|
-
* <!--End PulumiCodeChooser -->
|
|
44
40
|
*/
|
|
45
41
|
function getRolesOrgIdOutput(opts) {
|
|
46
42
|
return pulumi.output(getRolesOrgId(opts));
|
package/getRolesOrgId.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRolesOrgId.js","sourceRoot":"","sources":["../getRolesOrgId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,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,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
|
package/getSearchIndex.d.ts
CHANGED
|
@@ -7,18 +7,16 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* <!--Start PulumiCodeChooser -->
|
|
11
10
|
* ```typescript
|
|
12
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
13
|
*
|
|
15
14
|
* const test = mongodbatlas.getSearchIndex({
|
|
16
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
17
15
|
* indexId: "<INDEX_ID",
|
|
18
16
|
* projectId: "<PROJECT_ID>",
|
|
17
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
20
|
*/
|
|
23
21
|
export declare function getSearchIndex(args: GetSearchIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetSearchIndexResult>;
|
|
24
22
|
/**
|
|
@@ -136,18 +134,16 @@ export interface GetSearchIndexResult {
|
|
|
136
134
|
*
|
|
137
135
|
* ## Example Usage
|
|
138
136
|
*
|
|
139
|
-
* <!--Start PulumiCodeChooser -->
|
|
140
137
|
* ```typescript
|
|
141
138
|
* import * as pulumi from "@pulumi/pulumi";
|
|
142
139
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
143
140
|
*
|
|
144
141
|
* const test = mongodbatlas.getSearchIndex({
|
|
145
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
146
142
|
* indexId: "<INDEX_ID",
|
|
147
143
|
* projectId: "<PROJECT_ID>",
|
|
144
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
148
145
|
* });
|
|
149
146
|
* ```
|
|
150
|
-
* <!--End PulumiCodeChooser -->
|
|
151
147
|
*/
|
|
152
148
|
export declare function getSearchIndexOutput(args: GetSearchIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSearchIndexResult>;
|
|
153
149
|
/**
|
package/getSearchIndex.js
CHANGED
|
@@ -12,18 +12,16 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
18
|
*
|
|
20
19
|
* const test = mongodbatlas.getSearchIndex({
|
|
21
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
22
20
|
* indexId: "<INDEX_ID",
|
|
23
21
|
* projectId: "<PROJECT_ID>",
|
|
22
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
24
23
|
* });
|
|
25
24
|
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
25
|
*/
|
|
28
26
|
function getSearchIndex(args, opts) {
|
|
29
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -51,18 +49,16 @@ exports.getSearchIndex = getSearchIndex;
|
|
|
51
49
|
*
|
|
52
50
|
* ## Example Usage
|
|
53
51
|
*
|
|
54
|
-
* <!--Start PulumiCodeChooser -->
|
|
55
52
|
* ```typescript
|
|
56
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
57
54
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
58
55
|
*
|
|
59
56
|
* const test = mongodbatlas.getSearchIndex({
|
|
60
|
-
* clusterName: "<CLUSTER_NAME>",
|
|
61
57
|
* indexId: "<INDEX_ID",
|
|
62
58
|
* projectId: "<PROJECT_ID>",
|
|
59
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
63
60
|
* });
|
|
64
61
|
* ```
|
|
65
|
-
* <!--End PulumiCodeChooser -->
|
|
66
62
|
*/
|
|
67
63
|
function getSearchIndexOutput(args, opts) {
|
|
68
64
|
return pulumi.output(args).apply((a) => getSearchIndex(a, opts));
|
package/getSearchIndex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,wCAkBC;AA+GD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -11,7 +11,6 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
13
|
* ### Basic
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -21,7 +20,6 @@ import * as outputs from "./types/output";
|
|
|
21
20
|
* projectId: "<PROJECT_ID >",
|
|
22
21
|
* });
|
|
23
22
|
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
23
|
*
|
|
26
24
|
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
27
25
|
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
|
@@ -118,7 +116,6 @@ export interface GetServerlessInstanceResult {
|
|
|
118
116
|
* ## Example Usage
|
|
119
117
|
*
|
|
120
118
|
* ### Basic
|
|
121
|
-
* <!--Start PulumiCodeChooser -->
|
|
122
119
|
* ```typescript
|
|
123
120
|
* import * as pulumi from "@pulumi/pulumi";
|
|
124
121
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -128,7 +125,6 @@ export interface GetServerlessInstanceResult {
|
|
|
128
125
|
* projectId: "<PROJECT_ID >",
|
|
129
126
|
* });
|
|
130
127
|
* ```
|
|
131
|
-
* <!--End PulumiCodeChooser -->
|
|
132
128
|
*
|
|
133
129
|
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
134
130
|
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
package/getServerlessInstance.js
CHANGED
|
@@ -15,7 +15,6 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
17
|
* ### Basic
|
|
18
|
-
* <!--Start PulumiCodeChooser -->
|
|
19
18
|
* ```typescript
|
|
20
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -25,7 +24,6 @@ const utilities = require("./utilities");
|
|
|
25
24
|
* projectId: "<PROJECT_ID >",
|
|
26
25
|
* });
|
|
27
26
|
* ```
|
|
28
|
-
* <!--End PulumiCodeChooser -->
|
|
29
27
|
*
|
|
30
28
|
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
31
29
|
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
|
@@ -57,7 +55,6 @@ exports.getServerlessInstance = getServerlessInstance;
|
|
|
57
55
|
* ## Example Usage
|
|
58
56
|
*
|
|
59
57
|
* ### Basic
|
|
60
|
-
* <!--Start PulumiCodeChooser -->
|
|
61
58
|
* ```typescript
|
|
62
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
60
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -67,7 +64,6 @@ exports.getServerlessInstance = getServerlessInstance;
|
|
|
67
64
|
* projectId: "<PROJECT_ID >",
|
|
68
65
|
* });
|
|
69
66
|
* ```
|
|
70
|
-
* <!--End PulumiCodeChooser -->
|
|
71
67
|
*
|
|
72
68
|
* **NOTE:** `mongodbatlas.ServerlessInstance` and `mongodbatlas.PrivatelinkEndpointServiceServerless` resources have a circular dependency in some respects.\
|
|
73
69
|
* That is, the `serverlessInstance` must exist before the `privatelinkEndpointService` can be created,\
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AA8ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|