@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/accessListApiKey.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
|
+
*
|
|
4
5
|
* ### Using CIDR Block
|
|
6
|
+
* <!--Start PulumiCodeChooser -->
|
|
5
7
|
* ```typescript
|
|
6
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
9
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -12,7 +14,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
14
|
* orgId: "<ORG-ID>",
|
|
13
15
|
* });
|
|
14
16
|
* ```
|
|
17
|
+
* <!--End PulumiCodeChooser -->
|
|
18
|
+
*
|
|
15
19
|
* ### Using IP Address
|
|
20
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
21
|
* ```typescript
|
|
17
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
23
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -23,15 +28,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
28
|
* orgId: "<ORG-ID>",
|
|
24
29
|
* });
|
|
25
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
26
32
|
*
|
|
27
33
|
* ## Import
|
|
28
34
|
*
|
|
29
35
|
* IP Access List entries can be imported using the `org_id` , `api_key_id` and `cidr_block` or `ip_address`, e.g.
|
|
30
36
|
*
|
|
31
37
|
* ```sh
|
|
32
|
-
*
|
|
38
|
+
* $ pulumi import mongodbatlas:index/accessListApiKey:AccessListApiKey test 5d0f1f74cf09a29120e123cd-a29120e123cd-10.242.88.0/21
|
|
33
39
|
* ```
|
|
34
|
-
*
|
|
40
|
+
* For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList)
|
|
35
41
|
*/
|
|
36
42
|
export declare class AccessListApiKey extends pulumi.CustomResource {
|
|
37
43
|
/**
|
package/accessListApiKey.js
CHANGED
|
@@ -7,7 +7,9 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
10
11
|
* ### Using CIDR Block
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
13
|
* ```typescript
|
|
12
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
15
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -18,7 +20,10 @@ const utilities = require("./utilities");
|
|
|
18
20
|
* orgId: "<ORG-ID>",
|
|
19
21
|
* });
|
|
20
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
24
|
+
*
|
|
21
25
|
* ### Using IP Address
|
|
26
|
+
* <!--Start PulumiCodeChooser -->
|
|
22
27
|
* ```typescript
|
|
23
28
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
29
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -29,15 +34,16 @@ const utilities = require("./utilities");
|
|
|
29
34
|
* orgId: "<ORG-ID>",
|
|
30
35
|
* });
|
|
31
36
|
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
32
38
|
*
|
|
33
39
|
* ## Import
|
|
34
40
|
*
|
|
35
41
|
* IP Access List entries can be imported using the `org_id` , `api_key_id` and `cidr_block` or `ip_address`, e.g.
|
|
36
42
|
*
|
|
37
43
|
* ```sh
|
|
38
|
-
*
|
|
44
|
+
* $ pulumi import mongodbatlas:index/accessListApiKey:AccessListApiKey test 5d0f1f74cf09a29120e123cd-a29120e123cd-10.242.88.0/21
|
|
39
45
|
* ```
|
|
40
|
-
*
|
|
46
|
+
* For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList)
|
|
41
47
|
*/
|
|
42
48
|
class AccessListApiKey extends pulumi.CustomResource {
|
|
43
49
|
/**
|
package/accessListApiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessListApiKey.js","sourceRoot":"","sources":["../accessListApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accessListApiKey.js","sourceRoot":"","sources":["../accessListApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA6BD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,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gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
package/advancedCluster.d.ts
CHANGED
|
@@ -22,8 +22,10 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
* > **NOTE:** The Low-CPU instance clusters are prefixed with `R`, i.e. `R40`. For complete list of Low-CPU instance clusters see Cluster Configuration Options under each Cloud Provider (https://www.mongodb.com/docs/atlas/reference/cloud-providers/).
|
|
23
23
|
*
|
|
24
24
|
* ## Example Usage
|
|
25
|
+
*
|
|
25
26
|
* ### Example single provider and single region
|
|
26
27
|
*
|
|
28
|
+
* <!--Start PulumiCodeChooser -->
|
|
27
29
|
* ```typescript
|
|
28
30
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
31
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -48,8 +50,11 @@ import * as outputs from "./types/output";
|
|
|
48
50
|
* }],
|
|
49
51
|
* });
|
|
50
52
|
* ```
|
|
53
|
+
* <!--End PulumiCodeChooser -->
|
|
54
|
+
*
|
|
51
55
|
* ### Example Tenant Cluster
|
|
52
56
|
*
|
|
57
|
+
* <!--Start PulumiCodeChooser -->
|
|
53
58
|
* ```typescript
|
|
54
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
60
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -70,8 +75,11 @@ import * as outputs from "./types/output";
|
|
|
70
75
|
* }],
|
|
71
76
|
* });
|
|
72
77
|
* ```
|
|
78
|
+
* <!--End PulumiCodeChooser -->
|
|
79
|
+
*
|
|
73
80
|
* ### Example Tenant Cluster Upgrade
|
|
74
81
|
*
|
|
82
|
+
* <!--Start PulumiCodeChooser -->
|
|
75
83
|
* ```typescript
|
|
76
84
|
* import * as pulumi from "@pulumi/pulumi";
|
|
77
85
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -91,7 +99,10 @@ import * as outputs from "./types/output";
|
|
|
91
99
|
* }],
|
|
92
100
|
* });
|
|
93
101
|
* ```
|
|
102
|
+
* <!--End PulumiCodeChooser -->
|
|
103
|
+
*
|
|
94
104
|
* ### Example Multi-Cloud Cluster.
|
|
105
|
+
* <!--Start PulumiCodeChooser -->
|
|
95
106
|
* ```typescript
|
|
96
107
|
* import * as pulumi from "@pulumi/pulumi";
|
|
97
108
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -127,8 +138,10 @@ import * as outputs from "./types/output";
|
|
|
127
138
|
* }],
|
|
128
139
|
* });
|
|
129
140
|
* ```
|
|
141
|
+
* <!--End PulumiCodeChooser -->
|
|
130
142
|
* ### Example of a Multi-Cloud Cluster.
|
|
131
143
|
*
|
|
144
|
+
* <!--Start PulumiCodeChooser -->
|
|
132
145
|
* ```typescript
|
|
133
146
|
* import * as pulumi from "@pulumi/pulumi";
|
|
134
147
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -188,7 +201,10 @@ import * as outputs from "./types/output";
|
|
|
188
201
|
* },
|
|
189
202
|
* });
|
|
190
203
|
* ```
|
|
204
|
+
* <!--End PulumiCodeChooser -->
|
|
205
|
+
*
|
|
191
206
|
* ### Example of a Global Cluster.
|
|
207
|
+
* <!--Start PulumiCodeChooser -->
|
|
192
208
|
* ```typescript
|
|
193
209
|
* import * as pulumi from "@pulumi/pulumi";
|
|
194
210
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -296,15 +312,57 @@ import * as outputs from "./types/output";
|
|
|
296
312
|
* },
|
|
297
313
|
* });
|
|
298
314
|
* ```
|
|
315
|
+
* <!--End PulumiCodeChooser -->
|
|
316
|
+
*
|
|
317
|
+
* ### Example - Return a Connection String
|
|
318
|
+
* Standard
|
|
319
|
+
* <!--Start PulumiCodeChooser -->
|
|
320
|
+
* ```typescript
|
|
321
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
322
|
+
*
|
|
323
|
+
* export const standard = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard;
|
|
324
|
+
* ```
|
|
325
|
+
* <!--End PulumiCodeChooser -->
|
|
326
|
+
* Standard srv
|
|
327
|
+
* <!--Start PulumiCodeChooser -->
|
|
328
|
+
* ```typescript
|
|
329
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
330
|
+
*
|
|
331
|
+
* export const standardSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard_srv;
|
|
332
|
+
* ```
|
|
333
|
+
* <!--End PulumiCodeChooser -->
|
|
334
|
+
* Private with Network peering and Custom DNS AWS enabled
|
|
335
|
+
* <!--Start PulumiCodeChooser -->
|
|
336
|
+
* ```typescript
|
|
337
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
338
|
+
*
|
|
339
|
+
* export = async () => {
|
|
340
|
+
* // 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"
|
|
341
|
+
* const private = "mongodb+srv://cluster-atlas-pri.ygo1m.mongodb.net";
|
|
342
|
+
* return {
|
|
343
|
+
* "private": mongodbatlas_cluster["cluster-test"].connection_strings[0]["private"],
|
|
344
|
+
* };
|
|
345
|
+
* }
|
|
346
|
+
* ```
|
|
347
|
+
* <!--End PulumiCodeChooser -->
|
|
348
|
+
* Private srv with Network peering and Custom DNS AWS enabled
|
|
349
|
+
* <!--Start PulumiCodeChooser -->
|
|
350
|
+
* ```typescript
|
|
351
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
352
|
+
*
|
|
353
|
+
* export const privateSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].private_srv;
|
|
354
|
+
* ```
|
|
355
|
+
* <!--End PulumiCodeChooser -->
|
|
299
356
|
*
|
|
357
|
+
* By endpointServiceId
|
|
300
358
|
* ## Import
|
|
301
359
|
*
|
|
302
360
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
|
303
361
|
*
|
|
304
362
|
* ```sh
|
|
305
|
-
*
|
|
363
|
+
* $ pulumi import mongodbatlas:index/advancedCluster:AdvancedCluster my_cluster 1112222b3bf99403840e8934-Cluster0
|
|
306
364
|
* ```
|
|
307
|
-
*
|
|
365
|
+
* See detailed information for arguments and attributes: [MongoDB API Advanced Clusters](https://docs.atlas.mongodb.com/reference/api/cluster-advanced/create-one-cluster-advanced/)
|
|
308
366
|
*/
|
|
309
367
|
export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
310
368
|
/**
|
package/advancedCluster.js
CHANGED
|
@@ -26,8 +26,10 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* > **NOTE:** The Low-CPU instance clusters are prefixed with `R`, i.e. `R40`. For complete list of Low-CPU instance clusters see Cluster Configuration Options under each Cloud Provider (https://www.mongodb.com/docs/atlas/reference/cloud-providers/).
|
|
27
27
|
*
|
|
28
28
|
* ## Example Usage
|
|
29
|
+
*
|
|
29
30
|
* ### Example single provider and single region
|
|
30
31
|
*
|
|
32
|
+
* <!--Start PulumiCodeChooser -->
|
|
31
33
|
* ```typescript
|
|
32
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
35
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -52,8 +54,11 @@ const utilities = require("./utilities");
|
|
|
52
54
|
* }],
|
|
53
55
|
* });
|
|
54
56
|
* ```
|
|
57
|
+
* <!--End PulumiCodeChooser -->
|
|
58
|
+
*
|
|
55
59
|
* ### Example Tenant Cluster
|
|
56
60
|
*
|
|
61
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
62
|
* ```typescript
|
|
58
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
64
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -74,8 +79,11 @@ const utilities = require("./utilities");
|
|
|
74
79
|
* }],
|
|
75
80
|
* });
|
|
76
81
|
* ```
|
|
82
|
+
* <!--End PulumiCodeChooser -->
|
|
83
|
+
*
|
|
77
84
|
* ### Example Tenant Cluster Upgrade
|
|
78
85
|
*
|
|
86
|
+
* <!--Start PulumiCodeChooser -->
|
|
79
87
|
* ```typescript
|
|
80
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
81
89
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -95,7 +103,10 @@ const utilities = require("./utilities");
|
|
|
95
103
|
* }],
|
|
96
104
|
* });
|
|
97
105
|
* ```
|
|
106
|
+
* <!--End PulumiCodeChooser -->
|
|
107
|
+
*
|
|
98
108
|
* ### Example Multi-Cloud Cluster.
|
|
109
|
+
* <!--Start PulumiCodeChooser -->
|
|
99
110
|
* ```typescript
|
|
100
111
|
* import * as pulumi from "@pulumi/pulumi";
|
|
101
112
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -131,8 +142,10 @@ const utilities = require("./utilities");
|
|
|
131
142
|
* }],
|
|
132
143
|
* });
|
|
133
144
|
* ```
|
|
145
|
+
* <!--End PulumiCodeChooser -->
|
|
134
146
|
* ### Example of a Multi-Cloud Cluster.
|
|
135
147
|
*
|
|
148
|
+
* <!--Start PulumiCodeChooser -->
|
|
136
149
|
* ```typescript
|
|
137
150
|
* import * as pulumi from "@pulumi/pulumi";
|
|
138
151
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -192,7 +205,10 @@ const utilities = require("./utilities");
|
|
|
192
205
|
* },
|
|
193
206
|
* });
|
|
194
207
|
* ```
|
|
208
|
+
* <!--End PulumiCodeChooser -->
|
|
209
|
+
*
|
|
195
210
|
* ### Example of a Global Cluster.
|
|
211
|
+
* <!--Start PulumiCodeChooser -->
|
|
196
212
|
* ```typescript
|
|
197
213
|
* import * as pulumi from "@pulumi/pulumi";
|
|
198
214
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -300,15 +316,57 @@ const utilities = require("./utilities");
|
|
|
300
316
|
* },
|
|
301
317
|
* });
|
|
302
318
|
* ```
|
|
319
|
+
* <!--End PulumiCodeChooser -->
|
|
320
|
+
*
|
|
321
|
+
* ### Example - Return a Connection String
|
|
322
|
+
* Standard
|
|
323
|
+
* <!--Start PulumiCodeChooser -->
|
|
324
|
+
* ```typescript
|
|
325
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
326
|
+
*
|
|
327
|
+
* export const standard = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard;
|
|
328
|
+
* ```
|
|
329
|
+
* <!--End PulumiCodeChooser -->
|
|
330
|
+
* Standard srv
|
|
331
|
+
* <!--Start PulumiCodeChooser -->
|
|
332
|
+
* ```typescript
|
|
333
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
334
|
+
*
|
|
335
|
+
* export const standardSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].standard_srv;
|
|
336
|
+
* ```
|
|
337
|
+
* <!--End PulumiCodeChooser -->
|
|
338
|
+
* Private with Network peering and Custom DNS AWS enabled
|
|
339
|
+
* <!--Start PulumiCodeChooser -->
|
|
340
|
+
* ```typescript
|
|
341
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
342
|
+
*
|
|
343
|
+
* export = async () => {
|
|
344
|
+
* // 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"
|
|
345
|
+
* const private = "mongodb+srv://cluster-atlas-pri.ygo1m.mongodb.net";
|
|
346
|
+
* return {
|
|
347
|
+
* "private": mongodbatlas_cluster["cluster-test"].connection_strings[0]["private"],
|
|
348
|
+
* };
|
|
349
|
+
* }
|
|
350
|
+
* ```
|
|
351
|
+
* <!--End PulumiCodeChooser -->
|
|
352
|
+
* Private srv with Network peering and Custom DNS AWS enabled
|
|
353
|
+
* <!--Start PulumiCodeChooser -->
|
|
354
|
+
* ```typescript
|
|
355
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
356
|
+
*
|
|
357
|
+
* export const privateSrv = mongodbatlas_cluster["cluster-test"].connection_strings[0].private_srv;
|
|
358
|
+
* ```
|
|
359
|
+
* <!--End PulumiCodeChooser -->
|
|
303
360
|
*
|
|
361
|
+
* By endpointServiceId
|
|
304
362
|
* ## Import
|
|
305
363
|
*
|
|
306
364
|
* Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.
|
|
307
365
|
*
|
|
308
366
|
* ```sh
|
|
309
|
-
*
|
|
367
|
+
* $ pulumi import mongodbatlas:index/advancedCluster:AdvancedCluster my_cluster 1112222b3bf99403840e8934-Cluster0
|
|
310
368
|
* ```
|
|
311
|
-
*
|
|
369
|
+
* See detailed information for arguments and attributes: [MongoDB API Advanced Clusters](https://docs.atlas.mongodb.com/reference/api/cluster-advanced/create-one-cluster-advanced/)
|
|
312
370
|
*/
|
|
313
371
|
class AdvancedCluster extends pulumi.CustomResource {
|
|
314
372
|
/**
|
package/advancedCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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tF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhNL,0CAiNC;AAnMG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
|
package/alertConfiguration.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -41,9 +42,11 @@ import * as outputs from "./types/output";
|
|
|
41
42
|
* projectId: "<PROJECT-ID>",
|
|
42
43
|
* });
|
|
43
44
|
* ```
|
|
45
|
+
* <!--End PulumiCodeChooser -->
|
|
44
46
|
*
|
|
45
47
|
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
46
48
|
*
|
|
49
|
+
* <!--Start PulumiCodeChooser -->
|
|
47
50
|
* ```typescript
|
|
48
51
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
52
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -75,8 +78,11 @@ import * as outputs from "./types/output";
|
|
|
75
78
|
* },
|
|
76
79
|
* });
|
|
77
80
|
* ```
|
|
81
|
+
* <!--End PulumiCodeChooser -->
|
|
82
|
+
*
|
|
78
83
|
* ### Create an alert with two notifications using Email and SMS
|
|
79
84
|
*
|
|
85
|
+
* <!--Start PulumiCodeChooser -->
|
|
80
86
|
* ```typescript
|
|
81
87
|
* import * as pulumi from "@pulumi/pulumi";
|
|
82
88
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -120,15 +126,16 @@ import * as outputs from "./types/output";
|
|
|
120
126
|
* projectId: "PROJECT ID",
|
|
121
127
|
* });
|
|
122
128
|
* ```
|
|
129
|
+
* <!--End PulumiCodeChooser -->
|
|
123
130
|
*
|
|
124
131
|
* ## Import
|
|
125
132
|
*
|
|
126
133
|
* Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
|
|
127
134
|
*
|
|
128
135
|
* ```sh
|
|
129
|
-
*
|
|
136
|
+
* $ pulumi import mongodbatlas:index/alertConfiguration:AlertConfiguration test 5d0f1f74cf09a29120e123cd-5d0f1f74cf09a29120e1fscg
|
|
130
137
|
* ```
|
|
131
|
-
*
|
|
138
|
+
* __NOTE__: Third-party notifications will not contain their respective credentials as these are sensitive attributes. If you wish to perform updates on these notifications without providing the original credentials, the corresponding `notifier_id` attribute must be provided instead.
|
|
132
139
|
*
|
|
133
140
|
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/alert-configurations/)
|
|
134
141
|
*/
|
package/alertConfiguration.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -45,9 +46,11 @@ const utilities = require("./utilities");
|
|
|
45
46
|
* projectId: "<PROJECT-ID>",
|
|
46
47
|
* });
|
|
47
48
|
* ```
|
|
49
|
+
* <!--End PulumiCodeChooser -->
|
|
48
50
|
*
|
|
49
51
|
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
50
52
|
*
|
|
53
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
54
|
* ```typescript
|
|
52
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
56
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -79,8 +82,11 @@ const utilities = require("./utilities");
|
|
|
79
82
|
* },
|
|
80
83
|
* });
|
|
81
84
|
* ```
|
|
85
|
+
* <!--End PulumiCodeChooser -->
|
|
86
|
+
*
|
|
82
87
|
* ### Create an alert with two notifications using Email and SMS
|
|
83
88
|
*
|
|
89
|
+
* <!--Start PulumiCodeChooser -->
|
|
84
90
|
* ```typescript
|
|
85
91
|
* import * as pulumi from "@pulumi/pulumi";
|
|
86
92
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -124,15 +130,16 @@ const utilities = require("./utilities");
|
|
|
124
130
|
* projectId: "PROJECT ID",
|
|
125
131
|
* });
|
|
126
132
|
* ```
|
|
133
|
+
* <!--End PulumiCodeChooser -->
|
|
127
134
|
*
|
|
128
135
|
* ## Import
|
|
129
136
|
*
|
|
130
137
|
* Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
|
|
131
138
|
*
|
|
132
139
|
* ```sh
|
|
133
|
-
*
|
|
140
|
+
* $ pulumi import mongodbatlas:index/alertConfiguration:AlertConfiguration test 5d0f1f74cf09a29120e123cd-5d0f1f74cf09a29120e1fscg
|
|
134
141
|
* ```
|
|
135
|
-
*
|
|
142
|
+
* __NOTE__: Third-party notifications will not contain their respective credentials as these are sensitive attributes. If you wish to perform updates on these notifications without providing the original credentials, the corresponding `notifier_id` attribute must be provided instead.
|
|
136
143
|
*
|
|
137
144
|
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/alert-configurations/)
|
|
138
145
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyIG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA4CD,YAAY,IAAY,EAAE,WAA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S,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA1GL,gDA2GC;AA7FG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/apiKey.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* <!--Start PulumiCodeChooser -->
|
|
5
6
|
* ```typescript
|
|
6
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
8
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -12,15 +13,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
13
|
* roleNames: ["ORG_READ_ONLY"],
|
|
13
14
|
* });
|
|
14
15
|
* ```
|
|
16
|
+
* <!--End PulumiCodeChooser -->
|
|
15
17
|
*
|
|
16
18
|
* ## Import
|
|
17
19
|
*
|
|
18
20
|
* API Keys must be imported using org ID, API Key ID e.g.
|
|
19
21
|
*
|
|
20
22
|
* ```sh
|
|
21
|
-
*
|
|
23
|
+
* $ pulumi import mongodbatlas:index/apiKey:ApiKey test 5d09d6a59ccf6445652a444a-6576974933969669
|
|
22
24
|
* ```
|
|
23
|
-
*
|
|
25
|
+
* See [MongoDB Atlas API - API Key](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKey) Documentation for more information.
|
|
24
26
|
*/
|
|
25
27
|
export declare class ApiKey extends pulumi.CustomResource {
|
|
26
28
|
/**
|
package/apiKey.js
CHANGED
|
@@ -8,6 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -18,15 +19,16 @@ const utilities = require("./utilities");
|
|
|
18
19
|
* roleNames: ["ORG_READ_ONLY"],
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
21
23
|
*
|
|
22
24
|
* ## Import
|
|
23
25
|
*
|
|
24
26
|
* API Keys must be imported using org ID, API Key ID e.g.
|
|
25
27
|
*
|
|
26
28
|
* ```sh
|
|
27
|
-
*
|
|
29
|
+
* $ pulumi import mongodbatlas:index/apiKey:ApiKey test 5d09d6a59ccf6445652a444a-6576974933969669
|
|
28
30
|
* ```
|
|
29
|
-
*
|
|
31
|
+
* See [MongoDB Atlas API - API Key](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Programmatic-API-Keys/operation/createApiKey) Documentation for more information.
|
|
30
32
|
*/
|
|
31
33
|
class ApiKey extends pulumi.CustomResource {
|
|
32
34
|
/**
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,MAAO,SAAQ,MA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EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAzFL,wBA0FC;AA5EG,gBAAgB;AACO,mBAAY,GAAG,kCAAkC,CAAC"}
|
package/auditing.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -15,15 +16,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
16
|
* projectId: "<project-id>",
|
|
16
17
|
* });
|
|
17
18
|
* ```
|
|
19
|
+
* <!--End PulumiCodeChooser -->
|
|
18
20
|
*
|
|
19
21
|
* ## Import
|
|
20
22
|
*
|
|
21
23
|
* Auditing must be imported using auditing ID, e.g.
|
|
22
24
|
*
|
|
23
25
|
* ```sh
|
|
24
|
-
*
|
|
26
|
+
* $ pulumi import mongodbatlas:index/auditing:Auditing my_auditing 5d09d6a59ccf6445652a444a
|
|
25
27
|
* ```
|
|
26
|
-
*
|
|
28
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/auditing/)
|
|
27
29
|
*/
|
|
28
30
|
export declare class Auditing extends pulumi.CustomResource {
|
|
29
31
|
/**
|
package/auditing.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -21,15 +22,16 @@ const utilities = require("./utilities");
|
|
|
21
22
|
* projectId: "<project-id>",
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
24
26
|
*
|
|
25
27
|
* ## Import
|
|
26
28
|
*
|
|
27
29
|
* Auditing must be imported using auditing ID, e.g.
|
|
28
30
|
*
|
|
29
31
|
* ```sh
|
|
30
|
-
*
|
|
32
|
+
* $ pulumi import mongodbatlas:index/auditing:Auditing my_auditing 5d09d6a59ccf6445652a444a
|
|
31
33
|
* ```
|
|
32
|
-
*
|
|
34
|
+
* For more information see: [MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/auditing/)
|
|
33
35
|
*/
|
|
34
36
|
class Auditing extends pulumi.CustomResource {
|
|
35
37
|
/**
|
package/auditing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auditing.js","sourceRoot":"","sources":["../auditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"auditing.js","sourceRoot":"","sources":["../auditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,M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