@pulumi/mongodbatlas 3.28.0-alpha.1740766387 → 3.28.0
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/advancedCluster.d.ts +74 -5
- package/advancedCluster.js +71 -2
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSchedule.d.ts +15 -15
- package/cloudBackupSnapshotExportBucket.d.ts +2 -0
- package/cloudBackupSnapshotExportBucket.js +2 -0
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cluster.d.ts +6 -6
- package/encryptionAtRestPrivateEndpoint.d.ts +29 -5
- package/encryptionAtRestPrivateEndpoint.js +29 -5
- package/encryptionAtRestPrivateEndpoint.js.map +1 -1
- package/flexCluster.d.ts +1 -1
- package/flexCluster.js +1 -1
- package/getAdvancedCluster.d.ts +54 -0
- package/getAdvancedCluster.js +54 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +52 -0
- package/getAdvancedClusters.js +52 -0
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +4 -4
- package/getEncryptionAtRest.d.ts +2 -2
- package/getEncryptionAtRest.js +2 -2
- package/getEncryptionAtRestPrivateEndpoint.d.ts +34 -8
- package/getEncryptionAtRestPrivateEndpoint.js +34 -8
- package/getEncryptionAtRestPrivateEndpoint.js.map +1 -1
- package/getEncryptionAtRestPrivateEndpoints.d.ts +32 -8
- package/getEncryptionAtRestPrivateEndpoints.js +32 -8
- package/getEncryptionAtRestPrivateEndpoints.js.map +1 -1
- package/getFlexCluster.d.ts +2 -2
- package/getFlexCluster.js +2 -2
- package/getFlexClusters.d.ts +2 -2
- package/getFlexClusters.js +2 -2
- package/getFlexRestoreJob.d.ts +109 -0
- package/getFlexRestoreJob.js +76 -0
- package/getFlexRestoreJob.js.map +1 -0
- package/getFlexRestoreJobs.d.ts +98 -0
- package/getFlexRestoreJobs.js +74 -0
- package/getFlexRestoreJobs.js.map +1 -0
- package/getFlexSnapshot.d.ts +105 -0
- package/getFlexSnapshot.js +76 -0
- package/getFlexSnapshot.js.map +1 -0
- package/getFlexSnapshots.d.ts +98 -0
- package/getFlexSnapshots.js +74 -0
- package/getFlexSnapshots.js.map +1 -0
- package/getServerlessInstance.d.ts +2 -2
- package/getServerlessInstance.js +2 -2
- package/getServerlessInstances.d.ts +2 -2
- package/getServerlessInstances.js +2 -2
- package/globalClusterConfig.d.ts +1 -1
- package/globalClusterConfig.js +1 -1
- package/index.d.ts +12 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/maintenanceWindow.d.ts +3 -3
- package/package.json +2 -2
- package/serverlessInstance.d.ts +1 -1
- package/serverlessInstance.js +1 -1
- package/types/input.d.ts +8 -4
- package/types/output.d.ts +104 -4
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlexSnapshotOutput = exports.getFlexSnapshot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshot
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.getFlexSnapshot` describes a flex snapshot.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### S
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
21
|
+
* projectId: projectId,
|
|
22
|
+
* name: example_cluster.name,
|
|
23
|
+
* snapshotId: snapshotId,
|
|
24
|
+
* });
|
|
25
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
26
|
+
* projectId: projectId,
|
|
27
|
+
* name: example_cluster.name,
|
|
28
|
+
* });
|
|
29
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
30
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
function getFlexSnapshot(args, opts) {
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getFlexSnapshot:getFlexSnapshot", {
|
|
36
|
+
"name": args.name,
|
|
37
|
+
"projectId": args.projectId,
|
|
38
|
+
"snapshotId": args.snapshotId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getFlexSnapshot = getFlexSnapshot;
|
|
42
|
+
/**
|
|
43
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshot
|
|
44
|
+
*
|
|
45
|
+
* `mongodbatlas.getFlexSnapshot` describes a flex snapshot.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ### S
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
53
|
+
*
|
|
54
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
55
|
+
* projectId: projectId,
|
|
56
|
+
* name: example_cluster.name,
|
|
57
|
+
* snapshotId: snapshotId,
|
|
58
|
+
* });
|
|
59
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
60
|
+
* projectId: projectId,
|
|
61
|
+
* name: example_cluster.name,
|
|
62
|
+
* });
|
|
63
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
64
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
function getFlexSnapshotOutput(args, opts) {
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getFlexSnapshot:getFlexSnapshot", {
|
|
70
|
+
"name": args.name,
|
|
71
|
+
"projectId": args.projectId,
|
|
72
|
+
"snapshotId": args.snapshotId,
|
|
73
|
+
}, opts);
|
|
74
|
+
}
|
|
75
|
+
exports.getFlexSnapshotOutput = getFlexSnapshotOutput;
|
|
76
|
+
//# sourceMappingURL=getFlexSnapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlexSnapshot.js","sourceRoot":"","sources":["../getFlexSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AAyCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshots
|
|
5
|
+
*
|
|
6
|
+
* `mongodbatlas.getFlexSnapshots` returns all snapshots of a flex cluster.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### S
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
16
|
+
* projectId: projectId,
|
|
17
|
+
* name: example_cluster.name,
|
|
18
|
+
* snapshotId: snapshotId,
|
|
19
|
+
* });
|
|
20
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
21
|
+
* projectId: projectId,
|
|
22
|
+
* name: example_cluster.name,
|
|
23
|
+
* });
|
|
24
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
25
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function getFlexSnapshots(args: GetFlexSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetFlexSnapshotsResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of arguments for invoking getFlexSnapshots.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetFlexSnapshotsArgs {
|
|
33
|
+
/**
|
|
34
|
+
* Human-readable label that identifies the flex cluster whose snapshot you want to restore.
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
39
|
+
*/
|
|
40
|
+
projectId: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getFlexSnapshots.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetFlexSnapshotsResult {
|
|
46
|
+
/**
|
|
47
|
+
* The provider-assigned unique ID for this managed resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Human-readable label that identifies the flex cluster whose snapshot you want to restore.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
56
|
+
*/
|
|
57
|
+
readonly projectId: string;
|
|
58
|
+
readonly results: outputs.GetFlexSnapshotsResult[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshots
|
|
62
|
+
*
|
|
63
|
+
* `mongodbatlas.getFlexSnapshots` returns all snapshots of a flex cluster.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ### S
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
71
|
+
*
|
|
72
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
73
|
+
* projectId: projectId,
|
|
74
|
+
* name: example_cluster.name,
|
|
75
|
+
* snapshotId: snapshotId,
|
|
76
|
+
* });
|
|
77
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
78
|
+
* projectId: projectId,
|
|
79
|
+
* name: example_cluster.name,
|
|
80
|
+
* });
|
|
81
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
82
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function getFlexSnapshotsOutput(args: GetFlexSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlexSnapshotsResult>;
|
|
86
|
+
/**
|
|
87
|
+
* A collection of arguments for invoking getFlexSnapshots.
|
|
88
|
+
*/
|
|
89
|
+
export interface GetFlexSnapshotsOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* Human-readable label that identifies the flex cluster whose snapshot you want to restore.
|
|
92
|
+
*/
|
|
93
|
+
name: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
96
|
+
*/
|
|
97
|
+
projectId: pulumi.Input<string>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFlexSnapshotsOutput = exports.getFlexSnapshots = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshots
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.getFlexSnapshots` returns all snapshots of a flex cluster.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### S
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
21
|
+
* projectId: projectId,
|
|
22
|
+
* name: example_cluster.name,
|
|
23
|
+
* snapshotId: snapshotId,
|
|
24
|
+
* });
|
|
25
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
26
|
+
* projectId: projectId,
|
|
27
|
+
* name: example_cluster.name,
|
|
28
|
+
* });
|
|
29
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
30
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
function getFlexSnapshots(args, opts) {
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
35
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getFlexSnapshots:getFlexSnapshots", {
|
|
36
|
+
"name": args.name,
|
|
37
|
+
"projectId": args.projectId,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getFlexSnapshots = getFlexSnapshots;
|
|
41
|
+
/**
|
|
42
|
+
* ## # Data Source: mongodbatlas.getFlexSnapshots
|
|
43
|
+
*
|
|
44
|
+
* `mongodbatlas.getFlexSnapshots` returns all snapshots of a flex cluster.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ### S
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
52
|
+
*
|
|
53
|
+
* const snapshot = mongodbatlas.getFlexSnapshot({
|
|
54
|
+
* projectId: projectId,
|
|
55
|
+
* name: example_cluster.name,
|
|
56
|
+
* snapshotId: snapshotId,
|
|
57
|
+
* });
|
|
58
|
+
* const snapshots = mongodbatlas.getFlexSnapshots({
|
|
59
|
+
* projectId: projectId,
|
|
60
|
+
* name: example_cluster.name,
|
|
61
|
+
* });
|
|
62
|
+
* export const mongodbatlasFlexSnapshot = snapshot.then(snapshot => snapshot.name);
|
|
63
|
+
* export const mongodbatlasFlexSnapshots = snapshots.then(snapshots => .map(snapshot => (snapshot.snapshotId)));
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function getFlexSnapshotsOutput(args, opts) {
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
68
|
+
return pulumi.runtime.invokeOutput("mongodbatlas:index/getFlexSnapshots:getFlexSnapshots", {
|
|
69
|
+
"name": args.name,
|
|
70
|
+
"projectId": args.projectId,
|
|
71
|
+
}, opts);
|
|
72
|
+
}
|
|
73
|
+
exports.getFlexSnapshotsOutput = getFlexSnapshotsOutput;
|
|
74
|
+
//# sourceMappingURL=getFlexSnapshots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlexSnapshots.js","sourceRoot":"","sources":["../getFlexSnapshots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC"}
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
6
6
|
*
|
|
7
7
|
* `mongodbatlas.ServerlessInstance` describes a single serverless instance. This represents a single serverless instance that have been created.
|
|
8
8
|
* > **NOTE:** Serverless instances do not support some Atlas features at this time.
|
|
@@ -125,7 +125,7 @@ export interface GetServerlessInstanceResult {
|
|
|
125
125
|
readonly terminationProtectionEnabled: boolean;
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
129
129
|
*
|
|
130
130
|
* `mongodbatlas.ServerlessInstance` describes a single serverless instance. This represents a single serverless instance that have been created.
|
|
131
131
|
* > **NOTE:** Serverless instances do not support some Atlas features at this time.
|
package/getServerlessInstance.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getServerlessInstanceOutput = exports.getServerlessInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.ServerlessInstance` describes a single serverless instance. This represents a single serverless instance that have been created.
|
|
12
12
|
* > **NOTE:** Serverless instances do not support some Atlas features at this time.
|
|
@@ -49,7 +49,7 @@ function getServerlessInstance(args, opts) {
|
|
|
49
49
|
}
|
|
50
50
|
exports.getServerlessInstance = getServerlessInstance;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
53
53
|
*
|
|
54
54
|
* `mongodbatlas.ServerlessInstance` describes a single serverless instance. This represents a single serverless instance that have been created.
|
|
55
55
|
* > **NOTE:** Serverless instances do not support some Atlas features at this time.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
5
5
|
*
|
|
6
6
|
* `mongodbatlas.getServerlessInstances` describes all serverless instances. This represents serverless instances that have been created for the specified group id.
|
|
7
7
|
*
|
|
@@ -46,7 +46,7 @@ export interface GetServerlessInstancesResult {
|
|
|
46
46
|
readonly results: outputs.GetServerlessInstancesResult[];
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
50
50
|
*
|
|
51
51
|
* `mongodbatlas.getServerlessInstances` describes all serverless instances. This represents serverless instances that have been created for the specified group id.
|
|
52
52
|
*
|
|
@@ -6,7 +6,7 @@ exports.getServerlessInstancesOutput = exports.getServerlessInstances = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.getServerlessInstances` describes all serverless instances. This represents serverless instances that have been created for the specified group id.
|
|
12
12
|
*
|
|
@@ -34,7 +34,7 @@ function getServerlessInstances(args, opts) {
|
|
|
34
34
|
}
|
|
35
35
|
exports.getServerlessInstances = getServerlessInstances;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* **WARNING:** This data source is deprecated and will be removed in January 2026. For more details, see Migration Guide: Transition out of Serverless Instances and Shared-tier clusters.
|
|
38
38
|
*
|
|
39
39
|
* `mongodbatlas.getServerlessInstances` describes all serverless instances. This represents serverless instances that have been created for the specified group id.
|
|
40
40
|
*
|
package/globalClusterConfig.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** This resource can only be used with Atlas-managed clusters. See doc for `globalClusterSelfManagedSharding` attribute in `mongodbatlas.AdvancedCluster` resource for more info.
|
|
12
12
|
*
|
|
13
|
-
* > **IMPORTANT:**
|
|
13
|
+
* > **IMPORTANT:** You can update a Global Cluster Configuration to add new custom zone mappings and managed namespaces. However, once configured, you can't modify or partially delete custom zone mappings (you must remove them all at once). You can add or remove, but can't modify, managed namespaces. Any update that changes an existing managed namespace results in an error. [Read more about Global Cluster Configuration](https://www.mongodb.com/docs/atlas/global-clusters/). For more details, see [Global Clusters API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters)
|
|
14
14
|
*
|
|
15
15
|
* ## Examples Usage
|
|
16
16
|
*
|
package/globalClusterConfig.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* > **NOTE:** This resource can only be used with Atlas-managed clusters. See doc for `globalClusterSelfManagedSharding` attribute in `mongodbatlas.AdvancedCluster` resource for more info.
|
|
16
16
|
*
|
|
17
|
-
* > **IMPORTANT:**
|
|
17
|
+
* > **IMPORTANT:** You can update a Global Cluster Configuration to add new custom zone mappings and managed namespaces. However, once configured, you can't modify or partially delete custom zone mappings (you must remove them all at once). You can add or remove, but can't modify, managed namespaces. Any update that changes an existing managed namespace results in an error. [Read more about Global Cluster Configuration](https://www.mongodb.com/docs/atlas/global-clusters/). For more details, see [Global Clusters API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Global-Clusters)
|
|
18
18
|
*
|
|
19
19
|
* ## Examples Usage
|
|
20
20
|
*
|
package/index.d.ts
CHANGED
|
@@ -244,6 +244,18 @@ export declare const getFlexClusterOutput: typeof import("./getFlexCluster").get
|
|
|
244
244
|
export { GetFlexClustersArgs, GetFlexClustersResult, GetFlexClustersOutputArgs } from "./getFlexClusters";
|
|
245
245
|
export declare const getFlexClusters: typeof import("./getFlexClusters").getFlexClusters;
|
|
246
246
|
export declare const getFlexClustersOutput: typeof import("./getFlexClusters").getFlexClustersOutput;
|
|
247
|
+
export { GetFlexRestoreJobArgs, GetFlexRestoreJobResult, GetFlexRestoreJobOutputArgs } from "./getFlexRestoreJob";
|
|
248
|
+
export declare const getFlexRestoreJob: typeof import("./getFlexRestoreJob").getFlexRestoreJob;
|
|
249
|
+
export declare const getFlexRestoreJobOutput: typeof import("./getFlexRestoreJob").getFlexRestoreJobOutput;
|
|
250
|
+
export { GetFlexRestoreJobsArgs, GetFlexRestoreJobsResult, GetFlexRestoreJobsOutputArgs } from "./getFlexRestoreJobs";
|
|
251
|
+
export declare const getFlexRestoreJobs: typeof import("./getFlexRestoreJobs").getFlexRestoreJobs;
|
|
252
|
+
export declare const getFlexRestoreJobsOutput: typeof import("./getFlexRestoreJobs").getFlexRestoreJobsOutput;
|
|
253
|
+
export { GetFlexSnapshotArgs, GetFlexSnapshotResult, GetFlexSnapshotOutputArgs } from "./getFlexSnapshot";
|
|
254
|
+
export declare const getFlexSnapshot: typeof import("./getFlexSnapshot").getFlexSnapshot;
|
|
255
|
+
export declare const getFlexSnapshotOutput: typeof import("./getFlexSnapshot").getFlexSnapshotOutput;
|
|
256
|
+
export { GetFlexSnapshotsArgs, GetFlexSnapshotsResult, GetFlexSnapshotsOutputArgs } from "./getFlexSnapshots";
|
|
257
|
+
export declare const getFlexSnapshots: typeof import("./getFlexSnapshots").getFlexSnapshots;
|
|
258
|
+
export declare const getFlexSnapshotsOutput: typeof import("./getFlexSnapshots").getFlexSnapshotsOutput;
|
|
247
259
|
export { GetGlobalClusterConfigArgs, GetGlobalClusterConfigResult, GetGlobalClusterConfigOutputArgs } from "./getGlobalClusterConfig";
|
|
248
260
|
export declare const getGlobalClusterConfig: typeof import("./getGlobalClusterConfig").getGlobalClusterConfig;
|
|
249
261
|
export declare const getGlobalClusterConfigOutput: typeof import("./getGlobalClusterConfig").getGlobalClusterConfigOutput;
|
package/index.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getAtlasUsersOutput = exports.getAtlasUsers = exports.getAtlasUserOutput = exports.getAtlasUser = exports.getApiKeysOutput = exports.getApiKeys = exports.getApiKeyOutput = exports.getApiKey = exports.getAlertConfigurationsOutput = exports.getAlertConfigurations = exports.getAlertConfigurationOutput = exports.getAlertConfiguration = exports.getAdvancedClustersOutput = exports.getAdvancedClusters = exports.getAdvancedClusterOutput = exports.getAdvancedCluster = exports.getAccessListApiKeysOutput = exports.getAccessListApiKeys = exports.getAccessListApiKeyOutput = exports.getAccessListApiKey = exports.get509AuthenticationDatabaseUserOutput = exports.get509AuthenticationDatabaseUser = exports.FlexCluster = exports.FederatedSettingsOrgRoleMapping = exports.FederatedSettingsOrgConfig = exports.FederatedSettingsIdentityProvider = exports.FederatedQueryLimit = exports.FederatedDatabaseInstance = exports.EventTrigger = exports.EncryptionAtRestPrivateEndpoint = exports.EncryptionAtRest = exports.DatabaseUser = exports.DataLakePipeline = exports.CustomDnsConfigurationClusterAws = exports.CustomDbRole = exports.ClusterOutageSimulation = exports.Cluster = exports.CloudProviderAccessSetup = exports.CloudProviderAccessAuthorization = exports.CloudBackupSnapshotRestoreJob = exports.CloudBackupSnapshotExportJob = exports.CloudBackupSnapshotExportBucket = exports.CloudBackupSnapshot = exports.CloudBackupSchedule = exports.BackupCompliancePolicy = exports.Auditing = exports.ApiKey = exports.AlertConfiguration = exports.AdvancedCluster = exports.AccessListApiKey = void 0;
|
|
6
6
|
exports.getDatabaseUsersOutput = exports.getDatabaseUsers = exports.getDatabaseUserOutput = exports.getDatabaseUser = exports.getDataLakePipelinesOutput = exports.getDataLakePipelines = exports.getDataLakePipelineRunsOutput = exports.getDataLakePipelineRuns = exports.getDataLakePipelineRunOutput = exports.getDataLakePipelineRun = exports.getDataLakePipelineOutput = exports.getDataLakePipeline = exports.getCustomDnsConfigurationClusterAwsOutput = exports.getCustomDnsConfigurationClusterAws = exports.getCustomDbRolesOutput = exports.getCustomDbRoles = exports.getCustomDbRoleOutput = exports.getCustomDbRole = exports.getControlPlaneIpAddressesOutput = exports.getControlPlaneIpAddresses = exports.getClustersOutput = exports.getClusters = exports.getClusterOutageSimulationOutput = exports.getClusterOutageSimulation = exports.getClusterOutput = exports.getCluster = exports.getCloudProviderAccessSetupOutput = exports.getCloudProviderAccessSetup = exports.getCloudBackupSnapshotsOutput = exports.getCloudBackupSnapshots = exports.getCloudBackupSnapshotRestoreJobsOutput = exports.getCloudBackupSnapshotRestoreJobs = exports.getCloudBackupSnapshotRestoreJobOutput = exports.getCloudBackupSnapshotRestoreJob = exports.getCloudBackupSnapshotExportJobsOutput = exports.getCloudBackupSnapshotExportJobs = exports.getCloudBackupSnapshotExportJobOutput = exports.getCloudBackupSnapshotExportJob = exports.getCloudBackupSnapshotExportBucketsOutput = exports.getCloudBackupSnapshotExportBuckets = exports.getCloudBackupSnapshotExportBucketOutput = exports.getCloudBackupSnapshotExportBucket = exports.getCloudBackupSnapshotOutput = exports.getCloudBackupSnapshot = exports.getCloudBackupScheduleOutput = exports.getCloudBackupSchedule = exports.getBackupCompliancePolicyOutput = exports.getBackupCompliancePolicy = exports.getAuditingOutput = exports.getAuditing = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.types = exports.config = exports.X509AuthenticationDatabaseUser = exports.ThirdPartyIntegration = exports.Teams = exports.Team = exports.StreamProcessor = exports.StreamPrivatelinkEndpoint = exports.StreamInstance = exports.StreamConnection = exports.ServerlessInstance = exports.SearchIndex = exports.SearchDeployment = exports.ResourcePolicy = exports.PushBasedLogExport = exports.Provider = exports.ProjectIpAccessList = exports.ProjectInvitation = exports.ProjectApiKey = exports.Project = exports.PrivatelinkEndpointServiceServerless = exports.PrivatelinkEndpointServiceDataFederationOnlineArchive = exports.PrivatelinkEndpointServerless = exports.PrivateLinkEndpointService = exports.PrivateLinkEndpoint = exports.PrivateEndpointRegionalMode = exports.Organization = exports.OrgInvitation = exports.OnlineArchive = exports.NetworkPeering = void 0;
|
|
7
|
+
exports.getLdapVerifyOutput = exports.getLdapVerify = exports.getLdapConfigurationOutput = exports.getLdapConfiguration = exports.getGlobalClusterConfigOutput = exports.getGlobalClusterConfig = exports.getFlexSnapshotsOutput = exports.getFlexSnapshots = exports.getFlexSnapshotOutput = exports.getFlexSnapshot = exports.getFlexRestoreJobsOutput = exports.getFlexRestoreJobs = exports.getFlexRestoreJobOutput = exports.getFlexRestoreJob = exports.getFlexClustersOutput = exports.getFlexClusters = exports.getFlexClusterOutput = exports.getFlexCluster = exports.getFederatedSettingsOrgRoleMappingsOutput = exports.getFederatedSettingsOrgRoleMappings = exports.getFederatedSettingsOrgRoleMappingOutput = exports.getFederatedSettingsOrgRoleMapping = exports.getFederatedSettingsOrgConfigsOutput = exports.getFederatedSettingsOrgConfigs = exports.getFederatedSettingsOrgConfigOutput = exports.getFederatedSettingsOrgConfig = exports.getFederatedSettingsIdentityProvidersOutput = exports.getFederatedSettingsIdentityProviders = exports.getFederatedSettingsIdentityProviderOutput = exports.getFederatedSettingsIdentityProvider = exports.getFederatedSettingsOutput = exports.getFederatedSettings = exports.getFederatedQueryLimitsOutput = exports.getFederatedQueryLimits = exports.getFederatedQueryLimitOutput = exports.getFederatedQueryLimit = exports.getFederatedDatabaseInstancesOutput = exports.getFederatedDatabaseInstances = exports.getFederatedDatabaseInstanceOutput = exports.getFederatedDatabaseInstance = exports.getEventTriggersOutput = exports.getEventTriggers = exports.getEventTriggerOutput = exports.getEventTrigger = exports.getEncryptionAtRestPrivateEndpointsOutput = exports.getEncryptionAtRestPrivateEndpoints = exports.getEncryptionAtRestPrivateEndpointOutput = exports.getEncryptionAtRestPrivateEndpoint = exports.getEncryptionAtRestOutput = exports.getEncryptionAtRest = void 0;
|
|
8
|
+
exports.getProjectsOutput = exports.getProjects = exports.getProjectIpAddressesOutput = exports.getProjectIpAddresses = exports.getProjectIpAccessListOutput = exports.getProjectIpAccessList = exports.getProjectInvitationOutput = exports.getProjectInvitation = exports.getProjectApiKeysOutput = exports.getProjectApiKeys = exports.getProjectApiKeyOutput = exports.getProjectApiKey = exports.getProjectOutput = exports.getProject = exports.getPrivatelinkEndpointsServiceServerlessOutput = exports.getPrivatelinkEndpointsServiceServerless = exports.getPrivatelinkEndpointServiceServerlessOutput = exports.getPrivatelinkEndpointServiceServerless = exports.getPrivatelinkEndpointServiceDataFederationOnlineArchivesOutput = exports.getPrivatelinkEndpointServiceDataFederationOnlineArchives = exports.getPrivatelinkEndpointServiceDataFederationOnlineArchiveOutput = exports.getPrivatelinkEndpointServiceDataFederationOnlineArchive = exports.getPrivateLinkEndpointServiceOutput = exports.getPrivateLinkEndpointService = exports.getPrivateLinkEndpointOutput = exports.getPrivateLinkEndpoint = exports.getPrivateEndpointRegionalModeOutput = exports.getPrivateEndpointRegionalMode = exports.getOrganizationsOutput = exports.getOrganizations = exports.getOrganizationOutput = exports.getOrganization = exports.getOrgInvitationOutput = exports.getOrgInvitation = exports.getOnlineArchivesOutput = exports.getOnlineArchives = exports.getOnlineArchiveOutput = exports.getOnlineArchive = exports.getNetworkPeeringsOutput = exports.getNetworkPeerings = exports.getNetworkPeeringOutput = exports.getNetworkPeering = exports.getNetworkContainersOutput = exports.getNetworkContainers = exports.getNetworkContainerOutput = exports.getNetworkContainer = exports.getMongodbEmployeeAccessGrantOutput = exports.getMongodbEmployeeAccessGrant = exports.getMaintenanceWindowOutput = exports.getMaintenanceWindow = void 0;
|
|
9
|
+
exports.getThirdPartyIntegrationsOutput = exports.getThirdPartyIntegrations = exports.getThirdPartyIntegrationOutput = exports.getThirdPartyIntegration = exports.getTeamsOutput = exports.getTeams = exports.getTeamOutput = exports.getTeam = exports.getStreamProcessorsOutput = exports.getStreamProcessors = exports.getStreamProcessorOutput = exports.getStreamProcessor = exports.getStreamPrivatelinkEndpointsOutput = exports.getStreamPrivatelinkEndpoints = exports.getStreamPrivatelinkEndpointOutput = exports.getStreamPrivatelinkEndpoint = exports.getStreamInstancesOutput = exports.getStreamInstances = exports.getStreamInstanceOutput = exports.getStreamInstance = exports.getStreamConnectionsOutput = exports.getStreamConnections = exports.getStreamConnectionOutput = exports.getStreamConnection = exports.getSharedTierSnapshotsOutput = exports.getSharedTierSnapshots = exports.getSharedTierSnapshotOutput = exports.getSharedTierSnapshot = exports.getSharedTierRestoreJobsOutput = exports.getSharedTierRestoreJobs = exports.getSharedTierRestoreJobOutput = exports.getSharedTierRestoreJob = exports.getServerlessInstancesOutput = exports.getServerlessInstances = exports.getServerlessInstanceOutput = exports.getServerlessInstance = exports.getSearchIndexesOutput = exports.getSearchIndexes = exports.getSearchIndexOutput = exports.getSearchIndex = exports.getSearchDeploymentOutput = exports.getSearchDeployment = exports.getRolesOrgIdOutput = exports.getRolesOrgId = exports.getResourcePolicyOutput = exports.getResourcePolicy = exports.getResourcePoliciesOutput = exports.getResourcePolicies = exports.getPushBasedLogExportOutput = exports.getPushBasedLogExport = void 0;
|
|
10
|
+
exports.types = exports.config = exports.X509AuthenticationDatabaseUser = exports.ThirdPartyIntegration = exports.Teams = exports.Team = exports.StreamProcessor = exports.StreamPrivatelinkEndpoint = exports.StreamInstance = exports.StreamConnection = exports.ServerlessInstance = exports.SearchIndex = exports.SearchDeployment = exports.ResourcePolicy = exports.PushBasedLogExport = exports.Provider = exports.ProjectIpAccessList = exports.ProjectInvitation = exports.ProjectApiKey = exports.Project = exports.PrivatelinkEndpointServiceServerless = exports.PrivatelinkEndpointServiceDataFederationOnlineArchive = exports.PrivatelinkEndpointServerless = exports.PrivateLinkEndpointService = exports.PrivateLinkEndpoint = exports.PrivateEndpointRegionalMode = exports.Organization = exports.OrgInvitation = exports.OnlineArchive = exports.NetworkPeering = exports.NetworkContainer = exports.MongodbEmployeeAccessGrant = exports.MaintenanceWindow = exports.LdapVerify = exports.LdapConfiguration = exports.GlobalClusterConfig = exports.getX509AuthenticationDatabaseUserOutput = exports.getX509AuthenticationDatabaseUser = void 0;
|
|
11
11
|
const pulumi = require("@pulumi/pulumi");
|
|
12
12
|
const utilities = require("./utilities");
|
|
13
13
|
exports.AccessListApiKey = null;
|
|
@@ -228,6 +228,18 @@ utilities.lazyLoad(exports, ["getFlexCluster", "getFlexClusterOutput"], () => re
|
|
|
228
228
|
exports.getFlexClusters = null;
|
|
229
229
|
exports.getFlexClustersOutput = null;
|
|
230
230
|
utilities.lazyLoad(exports, ["getFlexClusters", "getFlexClustersOutput"], () => require("./getFlexClusters"));
|
|
231
|
+
exports.getFlexRestoreJob = null;
|
|
232
|
+
exports.getFlexRestoreJobOutput = null;
|
|
233
|
+
utilities.lazyLoad(exports, ["getFlexRestoreJob", "getFlexRestoreJobOutput"], () => require("./getFlexRestoreJob"));
|
|
234
|
+
exports.getFlexRestoreJobs = null;
|
|
235
|
+
exports.getFlexRestoreJobsOutput = null;
|
|
236
|
+
utilities.lazyLoad(exports, ["getFlexRestoreJobs", "getFlexRestoreJobsOutput"], () => require("./getFlexRestoreJobs"));
|
|
237
|
+
exports.getFlexSnapshot = null;
|
|
238
|
+
exports.getFlexSnapshotOutput = null;
|
|
239
|
+
utilities.lazyLoad(exports, ["getFlexSnapshot", "getFlexSnapshotOutput"], () => require("./getFlexSnapshot"));
|
|
240
|
+
exports.getFlexSnapshots = null;
|
|
241
|
+
exports.getFlexSnapshotsOutput = null;
|
|
242
|
+
utilities.lazyLoad(exports, ["getFlexSnapshots", "getFlexSnapshotsOutput"], () => require("./getFlexSnapshots"));
|
|
231
243
|
exports.getGlobalClusterConfig = null;
|
|
232
244
|
exports.getGlobalClusterConfigOutput = null;
|
|
233
245
|
utilities.lazyLoad(exports, ["getGlobalClusterConfig", "getGlobalClusterConfigOutput"], () => require("./getGlobalClusterConfig"));
|