@pulumi/mongodbatlas 3.15.0-alpha.1709365305 → 3.15.0-alpha.1710779134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessListApiKey.d.ts +8 -2
- package/accessListApiKey.js +8 -2
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +60 -2
- package/advancedCluster.js +60 -2
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +9 -2
- package/alertConfiguration.js +9 -2
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +4 -2
- package/apiKey.js +4 -2
- package/apiKey.js.map +1 -1
- package/auditing.d.ts +4 -2
- package/auditing.js +4 -2
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +5 -5
- package/backupCompliancePolicy.js +5 -5
- package/cloudBackupSchedule.d.ts +2 -2
- package/cloudBackupSchedule.js +2 -2
- package/cloudBackupSnapshot.d.ts +4 -2
- package/cloudBackupSnapshot.js +4 -2
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +4 -2
- package/cloudBackupSnapshotExportBucket.js +4 -2
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +55 -2
- package/cloudBackupSnapshotExportJob.js +55 -2
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +12 -9
- package/cloudBackupSnapshotRestoreJob.js +7 -7
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +67 -2
- package/cluster.js +61 -2
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +4 -1
- package/clusterOutageSimulation.js +4 -1
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +7 -2
- package/customDbRole.js +7 -2
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +4 -2
- package/customDnsConfigurationClusterAws.js +4 -2
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLakePipeline.d.ts +2 -2
- package/dataLakePipeline.js +2 -2
- package/databaseUser.d.ts +14 -2
- package/databaseUser.js +14 -2
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +2 -2
- package/encryptionAtRest.js +2 -2
- package/eventTrigger.d.ts +20 -8
- package/eventTrigger.js +14 -2
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +8 -2
- package/federatedDatabaseInstance.js +8 -2
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +7 -3
- package/federatedQueryLimit.js +7 -3
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +4 -2
- package/federatedSettingsIdentityProvider.js +4 -2
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +4 -2
- package/federatedSettingsOrgRoleMapping.js +4 -2
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/getApiKeys.d.ts +6 -0
- package/getApiKeys.js +6 -0
- package/getApiKeys.js.map +1 -1
- package/getAtlasUser.d.ts +12 -0
- package/getAtlasUser.js +12 -0
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +18 -0
- package/getAtlasUsers.js +18 -0
- package/getAtlasUsers.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +6 -0
- package/getBackupCompliancePolicy.js +6 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +4 -0
- package/getCloudBackupSnapshotExportBuckets.js +4 -0
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +4 -0
- package/getCloudBackupSnapshotExportJobs.js +4 -0
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js +4 -0
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +14 -2
- package/getCloudProviderAccessSetup.js +14 -2
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +6 -0
- package/getClusterOutageSimulation.js +6 -0
- package/getClusterOutageSimulation.js.map +1 -1
- package/getClusters.d.ts +4 -0
- package/getClusters.js +4 -0
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +4 -0
- package/getCustomDbRole.js +4 -0
- package/getCustomDbRole.js.map +1 -1
- package/getDatabaseUsers.d.ts +8 -0
- package/getDatabaseUsers.js +8 -0
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +1 -1
- package/getFederatedDatabaseInstance.d.ts +12 -0
- package/getFederatedDatabaseInstance.js +12 -0
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +4 -0
- package/getFederatedQueryLimit.js +4 -0
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +6 -0
- package/getFederatedQueryLimits.js +6 -0
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +4 -0
- package/getFederatedSettings.js +4 -0
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +4 -0
- package/getFederatedSettingsIdentityProvider.js +4 -0
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -0
- package/getFederatedSettingsIdentityProviders.js +4 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +4 -0
- package/getFederatedSettingsOrgConfig.js +4 -0
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +4 -0
- package/getFederatedSettingsOrgConfigs.js +4 -0
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -0
- package/getFederatedSettingsOrgRoleMapping.js +4 -0
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getMaintenanceWindow.d.ts +2 -2
- package/getNetworkContainers.d.ts +6 -0
- package/getNetworkContainers.js +6 -0
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeerings.d.ts +6 -0
- package/getNetworkPeerings.js +6 -0
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +0 -20
- package/getOnlineArchive.js +0 -20
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +0 -18
- package/getOnlineArchives.js +0 -18
- package/getOnlineArchives.js.map +1 -1
- package/getOrganization.d.ts +6 -0
- package/getOrganization.js +6 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +4 -0
- package/getOrganizations.js +4 -0
- package/getOrganizations.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +0 -8
- package/getPrivateLinkEndpoint.js +0 -8
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +0 -8
- package/getPrivateLinkEndpointService.js +0 -8
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +66 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +56 -0
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +10 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +10 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +8 -0
- package/getPrivatelinkEndpointServiceServerless.js +8 -0
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +26 -0
- package/getPrivatelinkEndpointsServiceServerless.js +8 -0
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProjectApiKeys.d.ts +4 -0
- package/getProjectApiKeys.js +4 -0
- package/getProjectApiKeys.js.map +1 -1
- package/getProjects.d.ts +4 -0
- package/getProjects.js +4 -0
- package/getProjects.js.map +1 -1
- package/getRolesOrgId.d.ts +10 -4
- package/getRolesOrgId.js +10 -4
- package/getRolesOrgId.js.map +1 -1
- package/getSearchIndex.d.ts +4 -0
- package/getSearchIndex.js +4 -0
- package/getSearchIndex.js.map +1 -1
- package/getServerlessInstance.d.ts +6 -0
- package/getServerlessInstance.js +6 -0
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +4 -0
- package/getServerlessInstances.js +4 -0
- package/getServerlessInstances.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +5 -1
- package/getThirdPartyIntegration.js +4 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +4 -0
- package/getThirdPartyIntegrations.js +4 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/globalClusterConfig.d.ts +6 -2
- package/globalClusterConfig.js +6 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +7 -2
- package/ldapConfiguration.js +7 -2
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +4 -2
- package/ldapVerify.js +4 -2
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +16 -12
- package/maintenanceWindow.js +11 -4
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +11 -2
- package/networkContainer.js +11 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +28 -2
- package/networkPeering.js +28 -2
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +9 -0
- package/onlineArchive.js +9 -0
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +10 -2
- package/orgInvitation.js +10 -2
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +2 -0
- package/organization.js +2 -0
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateEndpointRegionalMode.d.ts +2 -10
- package/privateEndpointRegionalMode.js +2 -10
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +5 -2
- package/privateLinkEndpoint.js +5 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +6 -6
- package/privateLinkEndpointService.js +6 -6
- package/privatelinkEndpointServerless.d.ts +5 -2
- package/privatelinkEndpointServerless.js +5 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +36 -6
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +13 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +4 -6
- package/privatelinkEndpointServiceServerless.js +4 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -2
- package/project.js +4 -2
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +8 -2
- package/projectApiKey.js +8 -2
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +8 -2
- package/projectInvitation.js +8 -2
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +11 -2
- package/projectIpAccessList.js +11 -2
- package/projectIpAccessList.js.map +1 -1
- package/searchIndex.d.ts +81 -0
- package/searchIndex.js +9 -0
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +4 -1
- package/serverlessInstance.js +4 -1
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +7 -5
- package/thirdPartyIntegration.js +4 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/output.d.ts +11 -3
- package/x509authenticationDatabaseUser.d.ts +4 -4
- package/x509authenticationDatabaseUser.js +4 -4
package/cluster.d.ts
CHANGED
|
@@ -3,8 +3,10 @@ import * as inputs from "./types/input";
|
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
|
+
*
|
|
6
7
|
* ### Example AWS cluster
|
|
7
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
10
|
* ```typescript
|
|
9
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -28,8 +30,11 @@ import * as outputs from "./types/output";
|
|
|
28
30
|
* }],
|
|
29
31
|
* });
|
|
30
32
|
* ```
|
|
33
|
+
* <!--End PulumiCodeChooser -->
|
|
34
|
+
*
|
|
31
35
|
* ### Example Azure cluster.
|
|
32
36
|
*
|
|
37
|
+
* <!--Start PulumiCodeChooser -->
|
|
33
38
|
* ```typescript
|
|
34
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
40
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -54,8 +59,11 @@ import * as outputs from "./types/output";
|
|
|
54
59
|
* }],
|
|
55
60
|
* });
|
|
56
61
|
* ```
|
|
62
|
+
* <!--End PulumiCodeChooser -->
|
|
63
|
+
*
|
|
57
64
|
* ### Example GCP cluster
|
|
58
65
|
*
|
|
66
|
+
* <!--Start PulumiCodeChooser -->
|
|
59
67
|
* ```typescript
|
|
60
68
|
* import * as pulumi from "@pulumi/pulumi";
|
|
61
69
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -79,8 +87,11 @@ import * as outputs from "./types/output";
|
|
|
79
87
|
* }],
|
|
80
88
|
* });
|
|
81
89
|
* ```
|
|
90
|
+
* <!--End PulumiCodeChooser -->
|
|
91
|
+
*
|
|
82
92
|
* ### Example Multi Region cluster
|
|
83
93
|
*
|
|
94
|
+
* <!--Start PulumiCodeChooser -->
|
|
84
95
|
* ```typescript
|
|
85
96
|
* import * as pulumi from "@pulumi/pulumi";
|
|
86
97
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -117,8 +128,11 @@ import * as outputs from "./types/output";
|
|
|
117
128
|
* }],
|
|
118
129
|
* });
|
|
119
130
|
* ```
|
|
131
|
+
* <!--End PulumiCodeChooser -->
|
|
132
|
+
*
|
|
120
133
|
* ### Example Global cluster
|
|
121
134
|
*
|
|
135
|
+
* <!--Start PulumiCodeChooser -->
|
|
122
136
|
* ```typescript
|
|
123
137
|
* import * as pulumi from "@pulumi/pulumi";
|
|
124
138
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -154,7 +168,9 @@ import * as outputs from "./types/output";
|
|
|
154
168
|
* ],
|
|
155
169
|
* });
|
|
156
170
|
* ```
|
|
171
|
+
* <!--End PulumiCodeChooser -->
|
|
157
172
|
* ### Example AWS Shared Tier (M2/M5) cluster
|
|
173
|
+
* <!--Start PulumiCodeChooser -->
|
|
158
174
|
* ```typescript
|
|
159
175
|
* import * as pulumi from "@pulumi/pulumi";
|
|
160
176
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -167,7 +183,9 @@ import * as outputs from "./types/output";
|
|
|
167
183
|
* providerRegionName: "US_EAST_1",
|
|
168
184
|
* });
|
|
169
185
|
* ```
|
|
186
|
+
* <!--End PulumiCodeChooser -->
|
|
170
187
|
* ### Example AWS Free Tier cluster
|
|
188
|
+
* <!--Start PulumiCodeChooser -->
|
|
171
189
|
* ```typescript
|
|
172
190
|
* import * as pulumi from "@pulumi/pulumi";
|
|
173
191
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -180,15 +198,56 @@ import * as outputs from "./types/output";
|
|
|
180
198
|
* providerRegionName: "US_EAST_1",
|
|
181
199
|
* });
|
|
182
200
|
* ```
|
|
201
|
+
* <!--End PulumiCodeChooser -->
|
|
202
|
+
* ### Example - Return a Connection String
|
|
203
|
+
* Standard
|
|
204
|
+
* <!--Start PulumiCodeChooser -->
|
|
205
|
+
* ```typescript
|
|
206
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
207
|
+
*
|
|
208
|
+
* export const standard = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard;
|
|
209
|
+
* ```
|
|
210
|
+
* <!--End PulumiCodeChooser -->
|
|
211
|
+
* Standard srv
|
|
212
|
+
* <!--Start PulumiCodeChooser -->
|
|
213
|
+
* ```typescript
|
|
214
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
215
|
+
*
|
|
216
|
+
* export const standardSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard_srv;
|
|
217
|
+
* ```
|
|
218
|
+
* <!--End PulumiCodeChooser -->
|
|
219
|
+
* Private with Network peering and Custom DNS AWS enabled
|
|
220
|
+
* <!--Start PulumiCodeChooser -->
|
|
221
|
+
* ```typescript
|
|
222
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
223
|
+
*
|
|
224
|
+
* export = async () => {
|
|
225
|
+
* // Example return string: private = "mongodb://cluster-atlas-shard-00-00-pri.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-01-pri.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-02-pri.ygo1m.mongodb.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-12diht-shard-0"
|
|
226
|
+
* const private = "mongodb+srv://cluster-atlas-pri.ygo1m.mongodb.net";
|
|
227
|
+
* return {
|
|
228
|
+
* "private": mongodbatlas_cluster["cluster-test"].connection_strings[0]["private"],
|
|
229
|
+
* };
|
|
230
|
+
* }
|
|
231
|
+
* ```
|
|
232
|
+
* <!--End PulumiCodeChooser -->
|
|
233
|
+
* Private srv with Network peering and Custom DNS AWS enabled
|
|
234
|
+
* <!--Start PulumiCodeChooser -->
|
|
235
|
+
* ```typescript
|
|
236
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
237
|
+
*
|
|
238
|
+
* export const privateSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].private_srv;
|
|
239
|
+
* ```
|
|
240
|
+
* <!--End PulumiCodeChooser -->
|
|
183
241
|
*
|
|
242
|
+
* By endpointServiceId
|
|
184
243
|
* ## Import
|
|
185
244
|
*
|
|
186
245
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
|
187
246
|
*
|
|
188
247
|
* ```sh
|
|
189
|
-
*
|
|
248
|
+
* $ pulumi import mongodbatlas:index/cluster:Cluster my_cluster 1112222b3bf99403840e8934-Cluster0
|
|
190
249
|
* ```
|
|
191
|
-
*
|
|
250
|
+
* See detailed information for arguments and attributes: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
|
|
192
251
|
*/
|
|
193
252
|
export declare class Cluster extends pulumi.CustomResource {
|
|
194
253
|
/**
|
|
@@ -235,9 +294,11 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
235
294
|
* **Important** - MongoDB deprecated the Legacy Backup feature. Clusters that use Legacy Backup can continue to use it. MongoDB recommends using [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/).
|
|
236
295
|
* * New Atlas clusters of any type do not support this parameter. These clusters must use Cloud Backup, `cloudBackup`, to enable Cloud Backup. If you create a new Atlas cluster and set `backupEnabled` to true, the Provider will respond with an error. This change doesn’t affect existing clusters that use legacy backups.
|
|
237
296
|
* * Setting this value to false to disable legacy backups for the cluster will let Atlas delete any stored snapshots. In order to preserve the legacy backups snapshots, disable the legacy backups and enable the cloud backups in the single **pulumi up** action.
|
|
297
|
+
* <!--Start PulumiCodeChooser -->
|
|
238
298
|
* ```typescript
|
|
239
299
|
* import * as pulumi from "@pulumi/pulumi";
|
|
240
300
|
* ```
|
|
301
|
+
* <!--End PulumiCodeChooser -->
|
|
241
302
|
* * The default value is false. M10 and above only.
|
|
242
303
|
*/
|
|
243
304
|
readonly backupEnabled: pulumi.Output<boolean>;
|
|
@@ -450,9 +511,11 @@ export interface ClusterState {
|
|
|
450
511
|
* **Important** - MongoDB deprecated the Legacy Backup feature. Clusters that use Legacy Backup can continue to use it. MongoDB recommends using [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/).
|
|
451
512
|
* * New Atlas clusters of any type do not support this parameter. These clusters must use Cloud Backup, `cloudBackup`, to enable Cloud Backup. If you create a new Atlas cluster and set `backupEnabled` to true, the Provider will respond with an error. This change doesn’t affect existing clusters that use legacy backups.
|
|
452
513
|
* * Setting this value to false to disable legacy backups for the cluster will let Atlas delete any stored snapshots. In order to preserve the legacy backups snapshots, disable the legacy backups and enable the cloud backups in the single **pulumi up** action.
|
|
514
|
+
* <!--Start PulumiCodeChooser -->
|
|
453
515
|
* ```typescript
|
|
454
516
|
* import * as pulumi from "@pulumi/pulumi";
|
|
455
517
|
* ```
|
|
518
|
+
* <!--End PulumiCodeChooser -->
|
|
456
519
|
* * The default value is false. M10 and above only.
|
|
457
520
|
*/
|
|
458
521
|
backupEnabled?: pulumi.Input<boolean>;
|
|
@@ -657,9 +720,11 @@ export interface ClusterArgs {
|
|
|
657
720
|
* **Important** - MongoDB deprecated the Legacy Backup feature. Clusters that use Legacy Backup can continue to use it. MongoDB recommends using [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/).
|
|
658
721
|
* * New Atlas clusters of any type do not support this parameter. These clusters must use Cloud Backup, `cloudBackup`, to enable Cloud Backup. If you create a new Atlas cluster and set `backupEnabled` to true, the Provider will respond with an error. This change doesn’t affect existing clusters that use legacy backups.
|
|
659
722
|
* * Setting this value to false to disable legacy backups for the cluster will let Atlas delete any stored snapshots. In order to preserve the legacy backups snapshots, disable the legacy backups and enable the cloud backups in the single **pulumi up** action.
|
|
723
|
+
* <!--Start PulumiCodeChooser -->
|
|
660
724
|
* ```typescript
|
|
661
725
|
* import * as pulumi from "@pulumi/pulumi";
|
|
662
726
|
* ```
|
|
727
|
+
* <!--End PulumiCodeChooser -->
|
|
663
728
|
* * The default value is false. M10 and above only.
|
|
664
729
|
*/
|
|
665
730
|
backupEnabled?: pulumi.Input<boolean>;
|
package/cluster.js
CHANGED
|
@@ -7,8 +7,10 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
10
11
|
* ### Example AWS cluster
|
|
11
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
14
|
* ```typescript
|
|
13
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -32,8 +34,11 @@ const utilities = require("./utilities");
|
|
|
32
34
|
* }],
|
|
33
35
|
* });
|
|
34
36
|
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
38
|
+
*
|
|
35
39
|
* ### Example Azure cluster.
|
|
36
40
|
*
|
|
41
|
+
* <!--Start PulumiCodeChooser -->
|
|
37
42
|
* ```typescript
|
|
38
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
44
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -58,8 +63,11 @@ const utilities = require("./utilities");
|
|
|
58
63
|
* }],
|
|
59
64
|
* });
|
|
60
65
|
* ```
|
|
66
|
+
* <!--End PulumiCodeChooser -->
|
|
67
|
+
*
|
|
61
68
|
* ### Example GCP cluster
|
|
62
69
|
*
|
|
70
|
+
* <!--Start PulumiCodeChooser -->
|
|
63
71
|
* ```typescript
|
|
64
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
73
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -83,8 +91,11 @@ const utilities = require("./utilities");
|
|
|
83
91
|
* }],
|
|
84
92
|
* });
|
|
85
93
|
* ```
|
|
94
|
+
* <!--End PulumiCodeChooser -->
|
|
95
|
+
*
|
|
86
96
|
* ### Example Multi Region cluster
|
|
87
97
|
*
|
|
98
|
+
* <!--Start PulumiCodeChooser -->
|
|
88
99
|
* ```typescript
|
|
89
100
|
* import * as pulumi from "@pulumi/pulumi";
|
|
90
101
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -121,8 +132,11 @@ const utilities = require("./utilities");
|
|
|
121
132
|
* }],
|
|
122
133
|
* });
|
|
123
134
|
* ```
|
|
135
|
+
* <!--End PulumiCodeChooser -->
|
|
136
|
+
*
|
|
124
137
|
* ### Example Global cluster
|
|
125
138
|
*
|
|
139
|
+
* <!--Start PulumiCodeChooser -->
|
|
126
140
|
* ```typescript
|
|
127
141
|
* import * as pulumi from "@pulumi/pulumi";
|
|
128
142
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -158,7 +172,9 @@ const utilities = require("./utilities");
|
|
|
158
172
|
* ],
|
|
159
173
|
* });
|
|
160
174
|
* ```
|
|
175
|
+
* <!--End PulumiCodeChooser -->
|
|
161
176
|
* ### Example AWS Shared Tier (M2/M5) cluster
|
|
177
|
+
* <!--Start PulumiCodeChooser -->
|
|
162
178
|
* ```typescript
|
|
163
179
|
* import * as pulumi from "@pulumi/pulumi";
|
|
164
180
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -171,7 +187,9 @@ const utilities = require("./utilities");
|
|
|
171
187
|
* providerRegionName: "US_EAST_1",
|
|
172
188
|
* });
|
|
173
189
|
* ```
|
|
190
|
+
* <!--End PulumiCodeChooser -->
|
|
174
191
|
* ### Example AWS Free Tier cluster
|
|
192
|
+
* <!--Start PulumiCodeChooser -->
|
|
175
193
|
* ```typescript
|
|
176
194
|
* import * as pulumi from "@pulumi/pulumi";
|
|
177
195
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -184,15 +202,56 @@ const utilities = require("./utilities");
|
|
|
184
202
|
* providerRegionName: "US_EAST_1",
|
|
185
203
|
* });
|
|
186
204
|
* ```
|
|
205
|
+
* <!--End PulumiCodeChooser -->
|
|
206
|
+
* ### Example - Return a Connection String
|
|
207
|
+
* Standard
|
|
208
|
+
* <!--Start PulumiCodeChooser -->
|
|
209
|
+
* ```typescript
|
|
210
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
211
|
+
*
|
|
212
|
+
* export const standard = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard;
|
|
213
|
+
* ```
|
|
214
|
+
* <!--End PulumiCodeChooser -->
|
|
215
|
+
* Standard srv
|
|
216
|
+
* <!--Start PulumiCodeChooser -->
|
|
217
|
+
* ```typescript
|
|
218
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
219
|
+
*
|
|
220
|
+
* export const standardSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard_srv;
|
|
221
|
+
* ```
|
|
222
|
+
* <!--End PulumiCodeChooser -->
|
|
223
|
+
* Private with Network peering and Custom DNS AWS enabled
|
|
224
|
+
* <!--Start PulumiCodeChooser -->
|
|
225
|
+
* ```typescript
|
|
226
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
227
|
+
*
|
|
228
|
+
* export = async () => {
|
|
229
|
+
* // Example return string: private = "mongodb://cluster-atlas-shard-00-00-pri.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-01-pri.ygo1m.mongodb.net:27017,cluster-atlas-shard-00-02-pri.ygo1m.mongodb.net:27017/?ssl=true&authSource=admin&replicaSet=atlas-12diht-shard-0"
|
|
230
|
+
* const private = "mongodb+srv://cluster-atlas-pri.ygo1m.mongodb.net";
|
|
231
|
+
* return {
|
|
232
|
+
* "private": mongodbatlas_cluster["cluster-test"].connection_strings[0]["private"],
|
|
233
|
+
* };
|
|
234
|
+
* }
|
|
235
|
+
* ```
|
|
236
|
+
* <!--End PulumiCodeChooser -->
|
|
237
|
+
* Private srv with Network peering and Custom DNS AWS enabled
|
|
238
|
+
* <!--Start PulumiCodeChooser -->
|
|
239
|
+
* ```typescript
|
|
240
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
241
|
+
*
|
|
242
|
+
* export const privateSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].private_srv;
|
|
243
|
+
* ```
|
|
244
|
+
* <!--End PulumiCodeChooser -->
|
|
187
245
|
*
|
|
246
|
+
* By endpointServiceId
|
|
188
247
|
* ## Import
|
|
189
248
|
*
|
|
190
249
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
|
191
250
|
*
|
|
192
251
|
* ```sh
|
|
193
|
-
*
|
|
252
|
+
* $ pulumi import mongodbatlas:index/cluster:Cluster my_cluster 1112222b3bf99403840e8934-Cluster0
|
|
194
253
|
* ```
|
|
195
|
-
*
|
|
254
|
+
* See detailed information for arguments and attributes: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
|
|
196
255
|
*/
|
|
197
256
|
class Cluster extends pulumi.CustomResource {
|
|
198
257
|
/**
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuPG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC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AC,OAAO,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9VL,0BA+VC;AAjVG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -16,8 +16,10 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
* **IMPORTANT:** An existing Cluster Outage Simulation cannot be imported as this resource does not support import operation.
|
|
17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
|
+
*
|
|
19
20
|
* ### S
|
|
20
21
|
*
|
|
22
|
+
* <!--Start PulumiCodeChooser -->
|
|
21
23
|
* ```typescript
|
|
22
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
25
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -37,12 +39,13 @@ import * as outputs from "./types/output";
|
|
|
37
39
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
38
40
|
* });
|
|
39
41
|
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
40
43
|
*
|
|
41
44
|
* ## Import
|
|
42
45
|
*
|
|
43
46
|
* The `mongodbatlas_cluster_outage_simulation` resource does not support import operation.
|
|
44
47
|
*
|
|
45
|
-
*
|
|
48
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Cluster-Outage-Simulation) Documentation for more information.
|
|
46
49
|
*/
|
|
47
50
|
export declare class ClusterOutageSimulation extends pulumi.CustomResource {
|
|
48
51
|
/**
|
|
@@ -20,8 +20,10 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* **IMPORTANT:** An existing Cluster Outage Simulation cannot be imported as this resource does not support import operation.
|
|
21
21
|
*
|
|
22
22
|
* ## Example Usage
|
|
23
|
+
*
|
|
23
24
|
* ### S
|
|
24
25
|
*
|
|
26
|
+
* <!--Start PulumiCodeChooser -->
|
|
25
27
|
* ```typescript
|
|
26
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
29
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -41,12 +43,13 @@ const utilities = require("./utilities");
|
|
|
41
43
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
42
44
|
* });
|
|
43
45
|
* ```
|
|
46
|
+
* <!--End PulumiCodeChooser -->
|
|
44
47
|
*
|
|
45
48
|
* ## Import
|
|
46
49
|
*
|
|
47
50
|
* The `mongodbatlas_cluster_outage_simulation` resource does not support import operation.
|
|
48
51
|
*
|
|
49
|
-
*
|
|
52
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Cluster-Outage-Simulation) Documentation for more information.
|
|
50
53
|
*/
|
|
51
54
|
class ClusterOutageSimulation extends pulumi.CustomResource {
|
|
52
55
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterOutageSimulation.js","sourceRoot":"","sources":["../clusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterOutageSimulation.js","sourceRoot":"","sources":["../clusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,C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AAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5FL,0DA6FC;AA/EG,gBAAgB;AACO,oCAAY,GAAG,oEAAoE,CAAC"}
|
package/customDbRole.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -42,8 +43,11 @@ import * as outputs from "./types/output";
|
|
|
42
43
|
* roleName: "myCustomRole",
|
|
43
44
|
* });
|
|
44
45
|
* ```
|
|
46
|
+
* <!--End PulumiCodeChooser -->
|
|
47
|
+
*
|
|
45
48
|
* ### With Inherited Roles
|
|
46
49
|
*
|
|
50
|
+
* <!--Start PulumiCodeChooser -->
|
|
47
51
|
* ```typescript
|
|
48
52
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
53
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -100,15 +104,16 @@ import * as outputs from "./types/output";
|
|
|
100
104
|
* ],
|
|
101
105
|
* });
|
|
102
106
|
* ```
|
|
107
|
+
* <!--End PulumiCodeChooser -->
|
|
103
108
|
*
|
|
104
109
|
* ## Import
|
|
105
110
|
*
|
|
106
111
|
* Database users can be imported using project ID and username, in the format `PROJECTID-ROLENAME`, e.g.
|
|
107
112
|
*
|
|
108
113
|
* ```sh
|
|
109
|
-
*
|
|
114
|
+
* $ pulumi import mongodbatlas:index/customDbRole:CustomDbRole my_role 1112222b3bf99403840e8934-MyCustomRole
|
|
110
115
|
* ```
|
|
111
|
-
*
|
|
116
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/custom-roles/)
|
|
112
117
|
*/
|
|
113
118
|
export declare class CustomDbRole extends pulumi.CustomResource {
|
|
114
119
|
/**
|
package/customDbRole.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -46,8 +47,11 @@ const utilities = require("./utilities");
|
|
|
46
47
|
* roleName: "myCustomRole",
|
|
47
48
|
* });
|
|
48
49
|
* ```
|
|
50
|
+
* <!--End PulumiCodeChooser -->
|
|
51
|
+
*
|
|
49
52
|
* ### With Inherited Roles
|
|
50
53
|
*
|
|
54
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
55
|
* ```typescript
|
|
52
56
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
57
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -104,15 +108,16 @@ const utilities = require("./utilities");
|
|
|
104
108
|
* ],
|
|
105
109
|
* });
|
|
106
110
|
* ```
|
|
111
|
+
* <!--End PulumiCodeChooser -->
|
|
107
112
|
*
|
|
108
113
|
* ## Import
|
|
109
114
|
*
|
|
110
115
|
* Database users can be imported using project ID and username, in the format `PROJECTID-ROLENAME`, e.g.
|
|
111
116
|
*
|
|
112
117
|
* ```sh
|
|
113
|
-
*
|
|
118
|
+
* $ pulumi import mongodbatlas:index/customDbRole:CustomDbRole my_role 1112222b3bf99403840e8934-MyCustomRole
|
|
114
119
|
* ```
|
|
115
|
-
*
|
|
120
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/custom-roles/)
|
|
116
121
|
*/
|
|
117
122
|
class CustomDbRole extends pulumi.CustomResource {
|
|
118
123
|
/**
|
package/customDbRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDbRole.js","sourceRoot":"","sources":["../customDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDbRole.js","sourceRoot":"","sources":["../customDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiHG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;I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C,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA9EL,oCA+EC;AAjEG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -10,6 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -19,15 +20,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
20
|
* projectId: "<PROJECT-ID>",
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
22
24
|
*
|
|
23
25
|
* ## Import
|
|
24
26
|
*
|
|
25
27
|
* Custom DNS Configuration for Atlas Clusters on AWS must be imported using Project ID, e.g.
|
|
26
28
|
*
|
|
27
29
|
* ```sh
|
|
28
|
-
*
|
|
30
|
+
* $ pulumi import mongodbatlas:index/customDnsConfigurationClusterAws:CustomDnsConfigurationClusterAws test 1112222b3bf99403840e8934
|
|
29
31
|
* ```
|
|
30
|
-
*
|
|
32
|
+
* See detailed information for arguments and attributes: [MongoDB API Custom DNS Configuration for Atlas Clusters on AWS](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/AWS-Clusters-DNS/operation/getAWSCustomDNS).
|
|
31
33
|
*/
|
|
32
34
|
export declare class CustomDnsConfigurationClusterAws extends pulumi.CustomResource {
|
|
33
35
|
/**
|
|
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
19
20
|
* ```typescript
|
|
20
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
22
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -25,15 +26,16 @@ const utilities = require("./utilities");
|
|
|
25
26
|
* projectId: "<PROJECT-ID>",
|
|
26
27
|
* });
|
|
27
28
|
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
28
30
|
*
|
|
29
31
|
* ## Import
|
|
30
32
|
*
|
|
31
33
|
* Custom DNS Configuration for Atlas Clusters on AWS must be imported using Project ID, e.g.
|
|
32
34
|
*
|
|
33
35
|
* ```sh
|
|
34
|
-
*
|
|
36
|
+
* $ pulumi import mongodbatlas:index/customDnsConfigurationClusterAws:CustomDnsConfigurationClusterAws test 1112222b3bf99403840e8934
|
|
35
37
|
* ```
|
|
36
|
-
*
|
|
38
|
+
* See detailed information for arguments and attributes: [MongoDB API Custom DNS Configuration for Atlas Clusters on AWS](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/AWS-Clusters-DNS/operation/getAWSCustomDNS).
|
|
37
39
|
*/
|
|
38
40
|
class CustomDnsConfigurationClusterAws extends pulumi.CustomResource {
|
|
39
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../customDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1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I,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AAjEL,4EAkEC;AApDG,gBAAgB;AACO,6CAAY,GAAG,sFAAsF,CAAC"}
|
package/dataLakePipeline.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
|
14
14
|
*
|
|
15
15
|
* ```sh
|
|
16
|
-
*
|
|
16
|
+
* $ pulumi import mongodbatlas:index/dataLakePipeline:DataLakePipeline example 1112222b3bf99403840e8934--test-data-lake-pipeline-test
|
|
17
17
|
* ```
|
|
18
|
-
*
|
|
18
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Lake-Pipelines) Documentation for more information.
|
|
19
19
|
*/
|
|
20
20
|
export declare class DataLakePipeline extends pulumi.CustomResource {
|
|
21
21
|
/**
|
package/dataLakePipeline.js
CHANGED
|
@@ -17,9 +17,9 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
|
18
18
|
*
|
|
19
19
|
* ```sh
|
|
20
|
-
*
|
|
20
|
+
* $ pulumi import mongodbatlas:index/dataLakePipeline:DataLakePipeline example 1112222b3bf99403840e8934--test-data-lake-pipeline-test
|
|
21
21
|
* ```
|
|
22
|
-
*
|
|
22
|
+
* See [MongoDB Atlas API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Data-Lake-Pipelines) Documentation for more information.
|
|
23
23
|
*/
|
|
24
24
|
class DataLakePipeline extends pulumi.CustomResource {
|
|
25
25
|
/**
|