@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
package/getCluster.d.ts
CHANGED
|
@@ -9,6 +9,36 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* <br> • Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
|
|
10
10
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
11
11
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
20
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
21
|
+
* name: "cluster-test",
|
|
22
|
+
* clusterType: "REPLICASET",
|
|
23
|
+
* replicationSpecs: [{
|
|
24
|
+
* numShards: 1,
|
|
25
|
+
* regionsConfigs: [{
|
|
26
|
+
* regionName: "US_EAST_1",
|
|
27
|
+
* electableNodes: 3,
|
|
28
|
+
* priority: 7,
|
|
29
|
+
* readOnlyNodes: 0,
|
|
30
|
+
* }],
|
|
31
|
+
* }],
|
|
32
|
+
* cloudBackup: true,
|
|
33
|
+
* autoScalingDiskGbEnabled: true,
|
|
34
|
+
* providerName: "AWS",
|
|
35
|
+
* providerInstanceSizeName: "M40",
|
|
36
|
+
* });
|
|
37
|
+
* const test = mongodbatlas.getClusterOutput({
|
|
38
|
+
* projectId: testCluster.projectId,
|
|
39
|
+
* name: testCluster.name,
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
12
42
|
*/
|
|
13
43
|
export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
|
14
44
|
/**
|
|
@@ -210,6 +240,36 @@ export interface GetClusterResult {
|
|
|
210
240
|
* <br> • Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
|
|
211
241
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
212
242
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
243
|
+
*
|
|
244
|
+
* ## Example Usage
|
|
245
|
+
*
|
|
246
|
+
* ```typescript
|
|
247
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
248
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
249
|
+
*
|
|
250
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
251
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
252
|
+
* name: "cluster-test",
|
|
253
|
+
* clusterType: "REPLICASET",
|
|
254
|
+
* replicationSpecs: [{
|
|
255
|
+
* numShards: 1,
|
|
256
|
+
* regionsConfigs: [{
|
|
257
|
+
* regionName: "US_EAST_1",
|
|
258
|
+
* electableNodes: 3,
|
|
259
|
+
* priority: 7,
|
|
260
|
+
* readOnlyNodes: 0,
|
|
261
|
+
* }],
|
|
262
|
+
* }],
|
|
263
|
+
* cloudBackup: true,
|
|
264
|
+
* autoScalingDiskGbEnabled: true,
|
|
265
|
+
* providerName: "AWS",
|
|
266
|
+
* providerInstanceSizeName: "M40",
|
|
267
|
+
* });
|
|
268
|
+
* const test = mongodbatlas.getClusterOutput({
|
|
269
|
+
* projectId: testCluster.projectId,
|
|
270
|
+
* name: testCluster.name,
|
|
271
|
+
* });
|
|
272
|
+
* ```
|
|
213
273
|
*/
|
|
214
274
|
export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterResult>;
|
|
215
275
|
/**
|
package/getCluster.js
CHANGED
|
@@ -14,6 +14,36 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* <br> • Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
|
|
15
15
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
16
16
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
+
*
|
|
24
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
25
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
26
|
+
* name: "cluster-test",
|
|
27
|
+
* clusterType: "REPLICASET",
|
|
28
|
+
* replicationSpecs: [{
|
|
29
|
+
* numShards: 1,
|
|
30
|
+
* regionsConfigs: [{
|
|
31
|
+
* regionName: "US_EAST_1",
|
|
32
|
+
* electableNodes: 3,
|
|
33
|
+
* priority: 7,
|
|
34
|
+
* readOnlyNodes: 0,
|
|
35
|
+
* }],
|
|
36
|
+
* }],
|
|
37
|
+
* cloudBackup: true,
|
|
38
|
+
* autoScalingDiskGbEnabled: true,
|
|
39
|
+
* providerName: "AWS",
|
|
40
|
+
* providerInstanceSizeName: "M40",
|
|
41
|
+
* });
|
|
42
|
+
* const test = mongodbatlas.getClusterOutput({
|
|
43
|
+
* projectId: testCluster.projectId,
|
|
44
|
+
* name: testCluster.name,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
17
47
|
*/
|
|
18
48
|
function getCluster(args, opts) {
|
|
19
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -32,6 +62,36 @@ exports.getCluster = getCluster;
|
|
|
32
62
|
* <br> • Multi Region Cluster: The `mongodbatlas.Cluster` data source doesn't return the `containerId` for each region utilized by the cluster. For retrieving the `containerId`, we recommend the `mongodbatlas.AdvancedCluster` data source instead.
|
|
33
63
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
34
64
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
65
|
+
*
|
|
66
|
+
* ## Example Usage
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
71
|
+
*
|
|
72
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
73
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
74
|
+
* name: "cluster-test",
|
|
75
|
+
* clusterType: "REPLICASET",
|
|
76
|
+
* replicationSpecs: [{
|
|
77
|
+
* numShards: 1,
|
|
78
|
+
* regionsConfigs: [{
|
|
79
|
+
* regionName: "US_EAST_1",
|
|
80
|
+
* electableNodes: 3,
|
|
81
|
+
* priority: 7,
|
|
82
|
+
* readOnlyNodes: 0,
|
|
83
|
+
* }],
|
|
84
|
+
* }],
|
|
85
|
+
* cloudBackup: true,
|
|
86
|
+
* autoScalingDiskGbEnabled: true,
|
|
87
|
+
* providerName: "AWS",
|
|
88
|
+
* providerInstanceSizeName: "M40",
|
|
89
|
+
* });
|
|
90
|
+
* const test = mongodbatlas.getClusterOutput({
|
|
91
|
+
* projectId: testCluster.projectId,
|
|
92
|
+
* name: testCluster.name,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
35
95
|
*/
|
|
36
96
|
function getClusterOutput(args, opts) {
|
|
37
97
|
return pulumi.output(args).apply((a) => getCluster(a, opts));
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAiMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -5,17 +5,15 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
*
|
|
6
6
|
* ### S
|
|
7
7
|
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
8
|
* ```typescript
|
|
10
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
10
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
11
|
*
|
|
13
12
|
* const outageSimulation = mongodbatlas.getClusterOutageSimulation({
|
|
14
|
-
* clusterName: "Cluster0",
|
|
15
13
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
14
|
+
* clusterName: "Cluster0",
|
|
16
15
|
* });
|
|
17
16
|
* ```
|
|
18
|
-
* <!--End PulumiCodeChooser -->
|
|
19
17
|
*/
|
|
20
18
|
export declare function getClusterOutageSimulation(args: GetClusterOutageSimulationArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterOutageSimulationResult>;
|
|
21
19
|
/**
|
|
@@ -63,17 +61,15 @@ export interface GetClusterOutageSimulationResult {
|
|
|
63
61
|
*
|
|
64
62
|
* ### S
|
|
65
63
|
*
|
|
66
|
-
* <!--Start PulumiCodeChooser -->
|
|
67
64
|
* ```typescript
|
|
68
65
|
* import * as pulumi from "@pulumi/pulumi";
|
|
69
66
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
70
67
|
*
|
|
71
68
|
* const outageSimulation = mongodbatlas.getClusterOutageSimulation({
|
|
72
|
-
* clusterName: "Cluster0",
|
|
73
69
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
70
|
+
* clusterName: "Cluster0",
|
|
74
71
|
* });
|
|
75
72
|
* ```
|
|
76
|
-
* <!--End PulumiCodeChooser -->
|
|
77
73
|
*/
|
|
78
74
|
export declare function getClusterOutageSimulationOutput(args: GetClusterOutageSimulationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterOutageSimulationResult>;
|
|
79
75
|
/**
|
|
@@ -10,17 +10,15 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ### S
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
16
|
*
|
|
18
17
|
* const outageSimulation = mongodbatlas.getClusterOutageSimulation({
|
|
19
|
-
* clusterName: "Cluster0",
|
|
20
18
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
19
|
+
* clusterName: "Cluster0",
|
|
21
20
|
* });
|
|
22
21
|
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
22
|
*/
|
|
25
23
|
function getClusterOutageSimulation(args, opts) {
|
|
26
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -35,17 +33,15 @@ exports.getClusterOutageSimulation = getClusterOutageSimulation;
|
|
|
35
33
|
*
|
|
36
34
|
* ### S
|
|
37
35
|
*
|
|
38
|
-
* <!--Start PulumiCodeChooser -->
|
|
39
36
|
* ```typescript
|
|
40
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
38
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
42
39
|
*
|
|
43
40
|
* const outageSimulation = mongodbatlas.getClusterOutageSimulation({
|
|
44
|
-
* clusterName: "Cluster0",
|
|
45
41
|
* projectId: "64707f06c519c20c3a2b1b03",
|
|
42
|
+
* clusterName: "Cluster0",
|
|
46
43
|
* });
|
|
47
44
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
45
|
*/
|
|
50
46
|
function getClusterOutageSimulationOutput(args, opts) {
|
|
51
47
|
return pulumi.output(args).apply((a) => getClusterOutageSimulation(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterOutageSimulation.js","sourceRoot":"","sources":["../getClusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClusterOutageSimulation.js","sourceRoot":"","sources":["../getClusterOutageSimulation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AA2CD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
package/getClusters.d.ts
CHANGED
|
@@ -12,13 +12,13 @@ import * as outputs from "./types/output";
|
|
|
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 testCluster = new mongodbatlas.Cluster("
|
|
19
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
21
20
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
21
|
+
* name: "cluster-test",
|
|
22
22
|
* clusterType: "REPLICASET",
|
|
23
23
|
* replicationSpecs: [{
|
|
24
24
|
* numShards: 1,
|
|
@@ -34,11 +34,10 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
* providerName: "AWS",
|
|
35
35
|
* providerInstanceSizeName: "M40",
|
|
36
36
|
* });
|
|
37
|
-
* const
|
|
37
|
+
* const test = mongodbatlas.getClustersOutput({
|
|
38
38
|
* projectId: testCluster.projectId,
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
41
|
*/
|
|
43
42
|
export declare function getClusters(args: GetClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetClustersResult>;
|
|
44
43
|
/**
|
|
@@ -76,13 +75,13 @@ export interface GetClustersResult {
|
|
|
76
75
|
*
|
|
77
76
|
* ## Example Usage
|
|
78
77
|
*
|
|
79
|
-
* <!--Start PulumiCodeChooser -->
|
|
80
78
|
* ```typescript
|
|
81
79
|
* import * as pulumi from "@pulumi/pulumi";
|
|
82
80
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
83
81
|
*
|
|
84
|
-
* const testCluster = new mongodbatlas.Cluster("
|
|
82
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
85
83
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
84
|
+
* name: "cluster-test",
|
|
86
85
|
* clusterType: "REPLICASET",
|
|
87
86
|
* replicationSpecs: [{
|
|
88
87
|
* numShards: 1,
|
|
@@ -98,11 +97,10 @@ export interface GetClustersResult {
|
|
|
98
97
|
* providerName: "AWS",
|
|
99
98
|
* providerInstanceSizeName: "M40",
|
|
100
99
|
* });
|
|
101
|
-
* const
|
|
100
|
+
* const test = mongodbatlas.getClustersOutput({
|
|
102
101
|
* projectId: testCluster.projectId,
|
|
103
102
|
* });
|
|
104
103
|
* ```
|
|
105
|
-
* <!--End PulumiCodeChooser -->
|
|
106
104
|
*/
|
|
107
105
|
export declare function getClustersOutput(args: GetClustersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClustersResult>;
|
|
108
106
|
/**
|
package/getClusters.js
CHANGED
|
@@ -17,13 +17,13 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
19
|
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
20
|
* ```typescript
|
|
22
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
22
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
24
23
|
*
|
|
25
|
-
* const testCluster = new mongodbatlas.Cluster("
|
|
24
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
26
25
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
26
|
+
* name: "cluster-test",
|
|
27
27
|
* clusterType: "REPLICASET",
|
|
28
28
|
* replicationSpecs: [{
|
|
29
29
|
* numShards: 1,
|
|
@@ -39,11 +39,10 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* providerName: "AWS",
|
|
40
40
|
* providerInstanceSizeName: "M40",
|
|
41
41
|
* });
|
|
42
|
-
* const
|
|
42
|
+
* const test = mongodbatlas.getClustersOutput({
|
|
43
43
|
* projectId: testCluster.projectId,
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
|
-
* <!--End PulumiCodeChooser -->
|
|
47
46
|
*/
|
|
48
47
|
function getClusters(args, opts) {
|
|
49
48
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -64,13 +63,13 @@ exports.getClusters = getClusters;
|
|
|
64
63
|
*
|
|
65
64
|
* ## Example Usage
|
|
66
65
|
*
|
|
67
|
-
* <!--Start PulumiCodeChooser -->
|
|
68
66
|
* ```typescript
|
|
69
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
70
68
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
71
69
|
*
|
|
72
|
-
* const testCluster = new mongodbatlas.Cluster("
|
|
70
|
+
* const testCluster = new mongodbatlas.Cluster("test", {
|
|
73
71
|
* projectId: "<YOUR-PROJECT-ID>",
|
|
72
|
+
* name: "cluster-test",
|
|
74
73
|
* clusterType: "REPLICASET",
|
|
75
74
|
* replicationSpecs: [{
|
|
76
75
|
* numShards: 1,
|
|
@@ -86,11 +85,10 @@ exports.getClusters = getClusters;
|
|
|
86
85
|
* providerName: "AWS",
|
|
87
86
|
* providerInstanceSizeName: "M40",
|
|
88
87
|
* });
|
|
89
|
-
* const
|
|
88
|
+
* const test = mongodbatlas.getClustersOutput({
|
|
90
89
|
* projectId: testCluster.projectId,
|
|
91
90
|
* });
|
|
92
91
|
* ```
|
|
93
|
-
* <!--End PulumiCodeChooser -->
|
|
94
92
|
*/
|
|
95
93
|
function getClustersOutput(args, opts) {
|
|
96
94
|
return pulumi.output(args).apply((a) => getClusters(a, opts));
|
package/getClusters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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/getCustomDbRole.d.ts
CHANGED
|
@@ -8,12 +8,11 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
14
|
*
|
|
16
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
15
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
17
16
|
* projectId: "<PROJECT-ID>",
|
|
18
17
|
* roleName: "myCustomRole",
|
|
19
18
|
* actions: [
|
|
@@ -38,7 +37,6 @@ import * as outputs from "./types/output";
|
|
|
38
37
|
* roleName: testRole.roleName,
|
|
39
38
|
* });
|
|
40
39
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
40
|
*/
|
|
43
41
|
export declare function getCustomDbRole(args: GetCustomDbRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDbRoleResult>;
|
|
44
42
|
/**
|
|
@@ -78,12 +76,11 @@ export interface GetCustomDbRoleResult {
|
|
|
78
76
|
*
|
|
79
77
|
* ## Example Usage
|
|
80
78
|
*
|
|
81
|
-
* <!--Start PulumiCodeChooser -->
|
|
82
79
|
* ```typescript
|
|
83
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
84
81
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
85
82
|
*
|
|
86
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
83
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
87
84
|
* projectId: "<PROJECT-ID>",
|
|
88
85
|
* roleName: "myCustomRole",
|
|
89
86
|
* actions: [
|
|
@@ -108,7 +105,6 @@ export interface GetCustomDbRoleResult {
|
|
|
108
105
|
* roleName: testRole.roleName,
|
|
109
106
|
* });
|
|
110
107
|
* ```
|
|
111
|
-
* <!--End PulumiCodeChooser -->
|
|
112
108
|
*/
|
|
113
109
|
export declare function getCustomDbRoleOutput(args: GetCustomDbRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDbRoleResult>;
|
|
114
110
|
/**
|
package/getCustomDbRole.js
CHANGED
|
@@ -12,12 +12,11 @@ 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 testRole = new mongodbatlas.CustomDbRole("
|
|
19
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
21
20
|
* projectId: "<PROJECT-ID>",
|
|
22
21
|
* roleName: "myCustomRole",
|
|
23
22
|
* actions: [
|
|
@@ -42,7 +41,6 @@ const utilities = require("./utilities");
|
|
|
42
41
|
* roleName: testRole.roleName,
|
|
43
42
|
* });
|
|
44
43
|
* ```
|
|
45
|
-
* <!--End PulumiCodeChooser -->
|
|
46
44
|
*/
|
|
47
45
|
function getCustomDbRole(args, opts) {
|
|
48
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -60,12 +58,11 @@ exports.getCustomDbRole = getCustomDbRole;
|
|
|
60
58
|
*
|
|
61
59
|
* ## Example Usage
|
|
62
60
|
*
|
|
63
|
-
* <!--Start PulumiCodeChooser -->
|
|
64
61
|
* ```typescript
|
|
65
62
|
* import * as pulumi from "@pulumi/pulumi";
|
|
66
63
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
67
64
|
*
|
|
68
|
-
* const testRole = new mongodbatlas.CustomDbRole("
|
|
65
|
+
* const testRole = new mongodbatlas.CustomDbRole("test_role", {
|
|
69
66
|
* projectId: "<PROJECT-ID>",
|
|
70
67
|
* roleName: "myCustomRole",
|
|
71
68
|
* actions: [
|
|
@@ -90,7 +87,6 @@ exports.getCustomDbRole = getCustomDbRole;
|
|
|
90
87
|
* roleName: testRole.roleName,
|
|
91
88
|
* });
|
|
92
89
|
* ```
|
|
93
|
-
* <!--End PulumiCodeChooser -->
|
|
94
90
|
*/
|
|
95
91
|
function getCustomDbRoleOutput(args, opts) {
|
|
96
92
|
return pulumi.output(args).apply((a) => getCustomDbRole(a, opts));
|
package/getCustomDbRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCustomDbRole.js","sourceRoot":"","sources":["../getCustomDbRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -3,6 +3,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
|
+
*
|
|
13
|
+
* const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
14
|
+
* projectId: "<project-id>",
|
|
15
|
+
* enabled: true,
|
|
16
|
+
* });
|
|
17
|
+
* const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
|
|
18
|
+
* projectId: testCustomDnsConfigurationClusterAws.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
6
21
|
*/
|
|
7
22
|
export declare function getCustomDnsConfigurationClusterAws(args: GetCustomDnsConfigurationClusterAwsArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomDnsConfigurationClusterAwsResult>;
|
|
8
23
|
/**
|
|
@@ -32,6 +47,21 @@ export interface GetCustomDnsConfigurationClusterAwsResult {
|
|
|
32
47
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
|
|
33
48
|
*
|
|
34
49
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
50
|
+
*
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
56
|
+
*
|
|
57
|
+
* const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
58
|
+
* projectId: "<project-id>",
|
|
59
|
+
* enabled: true,
|
|
60
|
+
* });
|
|
61
|
+
* const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
|
|
62
|
+
* projectId: testCustomDnsConfigurationClusterAws.id,
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
35
65
|
*/
|
|
36
66
|
export declare function getCustomDnsConfigurationClusterAwsOutput(args: GetCustomDnsConfigurationClusterAwsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomDnsConfigurationClusterAwsResult>;
|
|
37
67
|
/**
|
|
@@ -9,6 +9,21 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
20
|
+
* projectId: "<project-id>",
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* });
|
|
23
|
+
* const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
|
|
24
|
+
* projectId: testCustomDnsConfigurationClusterAws.id,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
12
27
|
*/
|
|
13
28
|
function getCustomDnsConfigurationClusterAws(args, opts) {
|
|
14
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +36,21 @@ exports.getCustomDnsConfigurationClusterAws = getCustomDnsConfigurationClusterAw
|
|
|
21
36
|
* `mongodbatlas.CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.
|
|
22
37
|
*
|
|
23
38
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
45
|
+
*
|
|
46
|
+
* const testCustomDnsConfigurationClusterAws = new mongodbatlas.CustomDnsConfigurationClusterAws("test", {
|
|
47
|
+
* projectId: "<project-id>",
|
|
48
|
+
* enabled: true,
|
|
49
|
+
* });
|
|
50
|
+
* const test = mongodbatlas.getCustomDnsConfigurationClusterAwsOutput({
|
|
51
|
+
* projectId: testCustomDnsConfigurationClusterAws.id,
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
24
54
|
*/
|
|
25
55
|
function getCustomDnsConfigurationClusterAwsOutput(args, opts) {
|
|
26
56
|
return pulumi.output(args).apply((a) => getCustomDnsConfigurationClusterAws(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCustomDnsConfigurationClusterAws.js","sourceRoot":"","sources":["../getCustomDnsConfigurationClusterAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAE1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC;AA0BD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9F,CAAC;AAFD,8FAEC"}
|