@pulumi/mongodbatlas 3.5.0 → 3.5.2
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 +0 -8
- package/advancedCluster.js +0 -8
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +0 -31
- package/cloudBackupSnapshot.js +0 -31
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +28 -4
- package/cloudBackupSnapshotRestoreJob.js +1 -1
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +0 -32
- package/cloudProviderSnapshot.js +0 -32
- package/cloudProviderSnapshot.js.map +1 -1
- package/cluster.d.ts +3 -3
- package/federatedSettingsIdentityProvider.d.ts +6 -0
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/getAdvancedCluster.d.ts +1 -1
- package/getAdvancedCluster.js +1 -1
- package/getAdvancedClusters.d.ts +0 -26
- package/getAdvancedClusters.js +0 -26
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +3 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +3 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getPrivatelinkEndpointServiceAdl.d.ts +0 -17
- package/getPrivatelinkEndpointServiceAdl.js +0 -17
- package/getPrivatelinkEndpointServiceAdl.js.map +1 -1
- package/globalClusterConfig.d.ts +2 -2
- package/globalClusterConfig.js +2 -2
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/privateLinkEndpointService.d.ts +0 -32
- package/privateLinkEndpointService.js +0 -32
- package/privateLinkEndpointService.js.map +1 -1
- package/types/input.d.ts +43 -18
- package/types/output.d.ts +50 -3
package/advancedCluster.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* `mongodbatlas.AdvancedCluster` provides an Advanced Cluster resource. The resource lets you create, edit and delete advanced clusters. The resource requires your Project ID.
|
|
5
|
-
*
|
|
6
|
-
* More information on considerations for using advanced clusters please see [Considerations](https://docs.atlas.mongodb.com/reference/api/cluster-advanced/create-one-cluster-advanced/#considerations)
|
|
7
|
-
*
|
|
8
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
9
|
-
*
|
|
10
|
-
* > **NOTE:** A network container is created for a advanced cluster to reside in if one does not yet exist in the project. To use this automatically created container with another resource, such as peering, the `containerId` is exported after creation.
|
|
11
|
-
*
|
|
12
4
|
* ## Example Usage
|
|
13
5
|
* ### Example single provider and single region
|
|
14
6
|
*
|
package/advancedCluster.js
CHANGED
|
@@ -6,14 +6,6 @@ exports.AdvancedCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* `mongodbatlas.AdvancedCluster` provides an Advanced Cluster resource. The resource lets you create, edit and delete advanced clusters. The resource requires your Project ID.
|
|
10
|
-
*
|
|
11
|
-
* More information on considerations for using advanced clusters please see [Considerations](https://docs.atlas.mongodb.com/reference/api/cluster-advanced/create-one-cluster-advanced/#considerations)
|
|
12
|
-
*
|
|
13
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
14
|
-
*
|
|
15
|
-
* > **NOTE:** A network container is created for a advanced cluster to reside in if one does not yet exist in the project. To use this automatically created container with another resource, such as peering, the `containerId` is exported after creation.
|
|
16
|
-
*
|
|
17
9
|
* ## Example Usage
|
|
18
10
|
* ### Example single provider and single region
|
|
19
11
|
*
|
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;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAsHtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,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
|
@@ -6,37 +6,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
-
*
|
|
15
|
-
* const myCluster = new mongodbatlas.Cluster("myCluster", {
|
|
16
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
17
|
-
* diskSizeGb: 5,
|
|
18
|
-
* providerName: "AWS",
|
|
19
|
-
* providerRegionName: "EU_WEST_2",
|
|
20
|
-
* providerInstanceSizeName: "M10",
|
|
21
|
-
* cloudBackup: true,
|
|
22
|
-
* });
|
|
23
|
-
* // enable cloud backup snapshots
|
|
24
|
-
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("testCloudBackupSnapshot", {
|
|
25
|
-
* projectId: myCluster.projectId,
|
|
26
|
-
* clusterName: myCluster.name,
|
|
27
|
-
* description: "myDescription",
|
|
28
|
-
* retentionInDays: 1,
|
|
29
|
-
* });
|
|
30
|
-
* const testCloudBackupSnapshotRestoreJob = new mongodbatlas.CloudBackupSnapshotRestoreJob("testCloudBackupSnapshotRestoreJob", {
|
|
31
|
-
* projectId: testCloudBackupSnapshot.projectId,
|
|
32
|
-
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
33
|
-
* snapshotId: testCloudBackupSnapshot.snapshotId,
|
|
34
|
-
* deliveryType: [{
|
|
35
|
-
* download: true,
|
|
36
|
-
* }],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
9
|
* ## Import
|
|
41
10
|
*
|
|
42
11
|
* Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-SNAPSHOTID`, e.g.
|
package/cloudBackupSnapshot.js
CHANGED
|
@@ -11,37 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
13
13
|
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
-
*
|
|
20
|
-
* const myCluster = new mongodbatlas.Cluster("myCluster", {
|
|
21
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
22
|
-
* diskSizeGb: 5,
|
|
23
|
-
* providerName: "AWS",
|
|
24
|
-
* providerRegionName: "EU_WEST_2",
|
|
25
|
-
* providerInstanceSizeName: "M10",
|
|
26
|
-
* cloudBackup: true,
|
|
27
|
-
* });
|
|
28
|
-
* // enable cloud backup snapshots
|
|
29
|
-
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("testCloudBackupSnapshot", {
|
|
30
|
-
* projectId: myCluster.projectId,
|
|
31
|
-
* clusterName: myCluster.name,
|
|
32
|
-
* description: "myDescription",
|
|
33
|
-
* retentionInDays: 1,
|
|
34
|
-
* });
|
|
35
|
-
* const testCloudBackupSnapshotRestoreJob = new mongodbatlas.CloudBackupSnapshotRestoreJob("testCloudBackupSnapshotRestoreJob", {
|
|
36
|
-
* projectId: testCloudBackupSnapshot.projectId,
|
|
37
|
-
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
38
|
-
* snapshotId: testCloudBackupSnapshot.snapshotId,
|
|
39
|
-
* deliveryType: [{
|
|
40
|
-
* download: true,
|
|
41
|
-
* }],
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
14
|
* ## Import
|
|
46
15
|
*
|
|
47
16
|
* Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-SNAPSHOTID`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudBackupSnapshot.js","sourceRoot":"","sources":["../cloudBackupSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudBackupSnapshot.js","sourceRoot":"","sources":["../cloudBackupSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAyG1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe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C7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAkKC;AApJG,gBAAgB;AACO,gCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* `mongodbatlas.CloudBackupSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job
|
|
4
|
+
* `mongodbatlas.CloudBackupSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job must define one of three delivery types:
|
|
5
5
|
* * **automated:** Atlas automatically restores the snapshot with snapshotId to the Atlas cluster with name targetClusterName in the Atlas project with targetGroupId.
|
|
6
6
|
*
|
|
7
7
|
* * **download:** Atlas provides a URL to download a .tar.gz of the snapshot with snapshotId. The contents of the archive contain the data files for your Atlas cluster.
|
|
@@ -121,7 +121,15 @@ export declare class CloudBackupSnapshotRestoreJob extends pulumi.CustomResource
|
|
|
121
121
|
[key: string]: string;
|
|
122
122
|
} | undefined>;
|
|
123
123
|
/**
|
|
124
|
-
* Type of restore job to create. Possible
|
|
124
|
+
* Type of restore job to create. Possible configurations are: **download**, **automated**, or **pointInTime** only one must be set it in ``true``.
|
|
125
|
+
* * `delivery_type_config.automated` - Set to `true` to use the automated configuration.
|
|
126
|
+
* * `delivery_type_config.download` - Set to `true` to use the download configuration.
|
|
127
|
+
* * `delivery_type_config.pointInTime` - Set to `true` to use the pointInTime configuration.
|
|
128
|
+
* * `delivery_type_config.target_cluster_name` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
129
|
+
* * `delivery_type_config.target_project_id` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
130
|
+
* * `delivery_type_config.oplog_ts` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which to you want to restore this snapshot. This is the first part of an Oplog timestamp.
|
|
131
|
+
* * `delivery_type_config.oplog_inc` - Optional setting for **pointInTime** configuration. Oplog operation number from which to you want to restore this snapshot. This is the second part of an Oplog timestamp. Used in conjunction with `oplogTs`.
|
|
132
|
+
* * `delivery_type_config.point_in_time_utc_seconds` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which you want to restore this snapshot. Used instead of oplog settings.
|
|
125
133
|
*/
|
|
126
134
|
readonly deliveryTypeConfig: pulumi.Output<outputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfig | undefined>;
|
|
127
135
|
/**
|
|
@@ -188,7 +196,15 @@ export interface CloudBackupSnapshotRestoreJobState {
|
|
|
188
196
|
[key: string]: pulumi.Input<string>;
|
|
189
197
|
}>;
|
|
190
198
|
/**
|
|
191
|
-
* Type of restore job to create. Possible
|
|
199
|
+
* Type of restore job to create. Possible configurations are: **download**, **automated**, or **pointInTime** only one must be set it in ``true``.
|
|
200
|
+
* * `delivery_type_config.automated` - Set to `true` to use the automated configuration.
|
|
201
|
+
* * `delivery_type_config.download` - Set to `true` to use the download configuration.
|
|
202
|
+
* * `delivery_type_config.pointInTime` - Set to `true` to use the pointInTime configuration.
|
|
203
|
+
* * `delivery_type_config.target_cluster_name` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
204
|
+
* * `delivery_type_config.target_project_id` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
205
|
+
* * `delivery_type_config.oplog_ts` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which to you want to restore this snapshot. This is the first part of an Oplog timestamp.
|
|
206
|
+
* * `delivery_type_config.oplog_inc` - Optional setting for **pointInTime** configuration. Oplog operation number from which to you want to restore this snapshot. This is the second part of an Oplog timestamp. Used in conjunction with `oplogTs`.
|
|
207
|
+
* * `delivery_type_config.point_in_time_utc_seconds` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which you want to restore this snapshot. Used instead of oplog settings.
|
|
192
208
|
*/
|
|
193
209
|
deliveryTypeConfig?: pulumi.Input<inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfig>;
|
|
194
210
|
/**
|
|
@@ -239,7 +255,15 @@ export interface CloudBackupSnapshotRestoreJobArgs {
|
|
|
239
255
|
[key: string]: pulumi.Input<string>;
|
|
240
256
|
}>;
|
|
241
257
|
/**
|
|
242
|
-
* Type of restore job to create. Possible
|
|
258
|
+
* Type of restore job to create. Possible configurations are: **download**, **automated**, or **pointInTime** only one must be set it in ``true``.
|
|
259
|
+
* * `delivery_type_config.automated` - Set to `true` to use the automated configuration.
|
|
260
|
+
* * `delivery_type_config.download` - Set to `true` to use the download configuration.
|
|
261
|
+
* * `delivery_type_config.pointInTime` - Set to `true` to use the pointInTime configuration.
|
|
262
|
+
* * `delivery_type_config.target_cluster_name` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
263
|
+
* * `delivery_type_config.target_project_id` - Name of the target Atlas cluster to which the restore job restores the snapshot. Required for **automated** and **pointInTime**.
|
|
264
|
+
* * `delivery_type_config.oplog_ts` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which to you want to restore this snapshot. This is the first part of an Oplog timestamp.
|
|
265
|
+
* * `delivery_type_config.oplog_inc` - Optional setting for **pointInTime** configuration. Oplog operation number from which to you want to restore this snapshot. This is the second part of an Oplog timestamp. Used in conjunction with `oplogTs`.
|
|
266
|
+
* * `delivery_type_config.point_in_time_utc_seconds` - Optional setting for **pointInTime** configuration. Timestamp in the number of seconds that have elapsed since the UNIX epoch from which you want to restore this snapshot. Used instead of oplog settings.
|
|
243
267
|
*/
|
|
244
268
|
deliveryTypeConfig?: pulumi.Input<inputs.CloudBackupSnapshotRestoreJobDeliveryTypeConfig>;
|
|
245
269
|
/**
|
|
@@ -6,7 +6,7 @@ exports.CloudBackupSnapshotRestoreJob = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* `mongodbatlas.CloudBackupSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job
|
|
9
|
+
* `mongodbatlas.CloudBackupSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job must define one of three delivery types:
|
|
10
10
|
* * **automated:** Atlas automatically restores the snapshot with snapshotId to the Atlas cluster with name targetClusterName in the Atlas project with targetGroupId.
|
|
11
11
|
*
|
|
12
12
|
* * **download:** Atlas provides a URL to download a .tar.gz of the snapshot with snapshotId. The contents of the archive contain the data files for your Atlas cluster.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../cloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"cloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../cloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;;AA1BL,sEA+IC;AAjIG,gBAAgB;AACO,0CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -7,38 +7,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
9
9
|
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
-
*
|
|
16
|
-
* const myCluster = new mongodbatlas.Cluster("myCluster", {
|
|
17
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
18
|
-
* diskSizeGb: 5,
|
|
19
|
-
* providerName: "AWS",
|
|
20
|
-
* providerRegionName: "EU_WEST_2",
|
|
21
|
-
* providerInstanceSizeName: "M10",
|
|
22
|
-
* cloudBackup: true,
|
|
23
|
-
* });
|
|
24
|
-
* // enable cloud backup snapshots
|
|
25
|
-
* const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
|
|
26
|
-
* projectId: myCluster.projectId,
|
|
27
|
-
* clusterName: myCluster.name,
|
|
28
|
-
* description: "myDescription",
|
|
29
|
-
* retentionInDays: 1,
|
|
30
|
-
* timeout: "10m",
|
|
31
|
-
* });
|
|
32
|
-
* const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
|
|
33
|
-
* projectId: testCloudProviderSnapshot.projectId,
|
|
34
|
-
* clusterName: testCloudProviderSnapshot.clusterName,
|
|
35
|
-
* snapshotId: testCloudProviderSnapshot.snapshotId,
|
|
36
|
-
* deliveryType: [{
|
|
37
|
-
* download: true,
|
|
38
|
-
* }],
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
10
|
* ## Import
|
|
43
11
|
*
|
|
44
12
|
* Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-SNAPSHOTID`, e.g.
|
package/cloudProviderSnapshot.js
CHANGED
|
@@ -13,38 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
15
15
|
*
|
|
16
|
-
* ## Example Usage
|
|
17
|
-
*
|
|
18
|
-
* ```typescript
|
|
19
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
|
-
*
|
|
22
|
-
* const myCluster = new mongodbatlas.Cluster("myCluster", {
|
|
23
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
24
|
-
* diskSizeGb: 5,
|
|
25
|
-
* providerName: "AWS",
|
|
26
|
-
* providerRegionName: "EU_WEST_2",
|
|
27
|
-
* providerInstanceSizeName: "M10",
|
|
28
|
-
* cloudBackup: true,
|
|
29
|
-
* });
|
|
30
|
-
* // enable cloud backup snapshots
|
|
31
|
-
* const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
|
|
32
|
-
* projectId: myCluster.projectId,
|
|
33
|
-
* clusterName: myCluster.name,
|
|
34
|
-
* description: "myDescription",
|
|
35
|
-
* retentionInDays: 1,
|
|
36
|
-
* timeout: "10m",
|
|
37
|
-
* });
|
|
38
|
-
* const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
|
|
39
|
-
* projectId: testCloudProviderSnapshot.projectId,
|
|
40
|
-
* clusterName: testCloudProviderSnapshot.clusterName,
|
|
41
|
-
* snapshotId: testCloudProviderSnapshot.snapshotId,
|
|
42
|
-
* deliveryType: [{
|
|
43
|
-
* download: true,
|
|
44
|
-
* }],
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
16
|
* ## Import
|
|
49
17
|
*
|
|
50
18
|
* Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-SNAPSHOTID`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudProviderSnapshot.js","sourceRoot":"","sources":["../cloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudProviderSnapshot.js","sourceRoot":"","sources":["../cloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IA6F5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,C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AC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAgJC;AAlIG,gBAAgB;AACO,kCAAY,GAAG,gEAAgE,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -289,7 +289,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
289
289
|
readonly encryptionAtRestProvider: pulumi.Output<string>;
|
|
290
290
|
readonly labels: pulumi.Output<outputs.ClusterLabel[]>;
|
|
291
291
|
/**
|
|
292
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
292
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.2`, `4.4`, `5.0`, or `6.0`. If omitted, Atlas deploys a cluster that runs MongoDB 5.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
293
293
|
*/
|
|
294
294
|
readonly mongoDbMajorVersion: pulumi.Output<string>;
|
|
295
295
|
/**
|
|
@@ -489,7 +489,7 @@ export interface ClusterState {
|
|
|
489
489
|
encryptionAtRestProvider?: pulumi.Input<string>;
|
|
490
490
|
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
491
491
|
/**
|
|
492
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
492
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.2`, `4.4`, `5.0`, or `6.0`. If omitted, Atlas deploys a cluster that runs MongoDB 5.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
493
493
|
*/
|
|
494
494
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
495
495
|
/**
|
|
@@ -669,7 +669,7 @@ export interface ClusterArgs {
|
|
|
669
669
|
encryptionAtRestProvider?: pulumi.Input<string>;
|
|
670
670
|
labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
|
|
671
671
|
/**
|
|
672
|
-
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.
|
|
672
|
+
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.2`, `4.4`, `5.0`, or `6.0`. If omitted, Atlas deploys a cluster that runs MongoDB 5.0. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 5.0. Atlas always deploys the cluster with the latest stable release of the specified version. See [Release Notes](https://www.mongodb.com/docs/upcoming/release-notes/) for latest Current Stable Release.
|
|
673
673
|
*/
|
|
674
674
|
mongoDbMajorVersion?: pulumi.Input<string>;
|
|
675
675
|
/**
|
|
@@ -63,6 +63,9 @@ export declare class FederatedSettingsIdentityProvider extends pulumi.CustomReso
|
|
|
63
63
|
* Human-readable label that identifies the identity provider.
|
|
64
64
|
*/
|
|
65
65
|
readonly name: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
68
|
+
*/
|
|
66
69
|
readonly oktaIdpId: pulumi.Output<string>;
|
|
67
70
|
/**
|
|
68
71
|
* SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
|
|
@@ -115,6 +118,9 @@ export interface FederatedSettingsIdentityProviderState {
|
|
|
115
118
|
* Human-readable label that identifies the identity provider.
|
|
116
119
|
*/
|
|
117
120
|
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
123
|
+
*/
|
|
118
124
|
oktaIdpId?: pulumi.Input<string>;
|
|
119
125
|
/**
|
|
120
126
|
* SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. Atlas supports the following binding values:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../federatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"federatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../federatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IA+ExE,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,K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|
|
11
11
|
* ---
|
|
12
12
|
*
|
|
13
|
-
* # mongodbatlas.AdvancedCluster
|
|
13
|
+
* # Data Source: mongodbatlas.AdvancedCluster
|
|
14
14
|
*
|
|
15
15
|
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
16
16
|
*
|
package/getAdvancedCluster.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* Describe an Advanced Cluster.
|
|
16
16
|
* ---
|
|
17
17
|
*
|
|
18
|
-
* # mongodbatlas.AdvancedCluster
|
|
18
|
+
* # Data Source: mongodbatlas.AdvancedCluster
|
|
19
19
|
*
|
|
20
20
|
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
21
21
|
*
|
package/getAdvancedClusters.d.ts
CHANGED
|
@@ -8,32 +8,6 @@ import { output as outputs } from "./types";
|
|
|
8
8
|
* > **IMPORTANT:**
|
|
9
9
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
10
10
|
* <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.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
-
*
|
|
18
|
-
* const exampleCluster = new mongodbatlas.Cluster("exampleCluster", {
|
|
19
|
-
* projectId: "<YOUR-PROJECT-ID>",
|
|
20
|
-
* clusterType: "REPLICASET",
|
|
21
|
-
* replicationSpecs: [{
|
|
22
|
-
* regionConfigs: [{
|
|
23
|
-
* electableSpecs: [{
|
|
24
|
-
* instanceSize: "M5",
|
|
25
|
-
* }],
|
|
26
|
-
* providerName: "TENANT",
|
|
27
|
-
* backingProviderName: "AWS",
|
|
28
|
-
* regionName: "US_EAST_1",
|
|
29
|
-
* priority: 7,
|
|
30
|
-
* }],
|
|
31
|
-
* }],
|
|
32
|
-
* });
|
|
33
|
-
* const exampleClusters = mongodbatlas.getClustersOutput({
|
|
34
|
-
* projectId: exampleCluster.projectId,
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
11
|
*/
|
|
38
12
|
export declare function getAdvancedClusters(args: GetAdvancedClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetAdvancedClustersResult>;
|
|
39
13
|
/**
|
package/getAdvancedClusters.js
CHANGED
|
@@ -13,32 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > **IMPORTANT:**
|
|
14
14
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
15
15
|
* <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.
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
-
*
|
|
23
|
-
* const exampleCluster = new mongodbatlas.Cluster("exampleCluster", {
|
|
24
|
-
* projectId: "<YOUR-PROJECT-ID>",
|
|
25
|
-
* clusterType: "REPLICASET",
|
|
26
|
-
* replicationSpecs: [{
|
|
27
|
-
* regionConfigs: [{
|
|
28
|
-
* electableSpecs: [{
|
|
29
|
-
* instanceSize: "M5",
|
|
30
|
-
* }],
|
|
31
|
-
* providerName: "TENANT",
|
|
32
|
-
* backingProviderName: "AWS",
|
|
33
|
-
* regionName: "US_EAST_1",
|
|
34
|
-
* priority: 7,
|
|
35
|
-
* }],
|
|
36
|
-
* }],
|
|
37
|
-
* });
|
|
38
|
-
* const exampleClusters = mongodbatlas.getClustersOutput({
|
|
39
|
-
* projectId: exampleCluster.projectId,
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
16
|
*/
|
|
43
17
|
function getAdvancedClusters(args, opts) {
|
|
44
18
|
if (!opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAdvancedClusters.js","sourceRoot":"","sources":["../getAdvancedClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAdvancedClusters.js","sourceRoot":"","sources":["../getAdvancedClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC;AA2BD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
|
@@ -72,6 +72,9 @@ export interface GetCloudBackupSnapshotRestoreJobResult {
|
|
|
72
72
|
* Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
|
|
73
73
|
*/
|
|
74
74
|
readonly targetClusterName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
|
|
77
|
+
*/
|
|
75
78
|
readonly targetProjectId: string;
|
|
76
79
|
/**
|
|
77
80
|
* Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4EAWC;
|
|
1
|
+
{"version":3,"file":"getCloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4EAWC;AAgFD,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gCAAgC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpF,CAAC;AAFD,wFAEC"}
|
|
@@ -74,6 +74,9 @@ export interface GetCloudProviderSnapshotRestoreJobResult {
|
|
|
74
74
|
* Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
|
|
75
75
|
*/
|
|
76
76
|
readonly targetClusterName: string;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
|
|
79
|
+
*/
|
|
77
80
|
readonly targetProjectId: string;
|
|
78
81
|
/**
|
|
79
82
|
* Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gFAWC;
|
|
1
|
+
{"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gFAWC;AAgFD,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kCAAkC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,4FAEC"}
|
|
@@ -6,38 +6,6 @@ import { output as outputs } from "./types";
|
|
|
6
6
|
* `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
|
|
7
7
|
*
|
|
8
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
9
|
-
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* First create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
-
*
|
|
18
|
-
* const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
|
|
19
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
20
|
-
* clusterName: "MyCluster",
|
|
21
|
-
* description: "MyDescription",
|
|
22
|
-
* retentionInDays: 1,
|
|
23
|
-
* });
|
|
24
|
-
* const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
|
|
25
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
26
|
-
* clusterName: "MyCluster",
|
|
27
|
-
* snapshotId: testCloudProviderSnapshot.id,
|
|
28
|
-
* deliveryType: [{
|
|
29
|
-
* automated: true,
|
|
30
|
-
* targetClusterName: "MyCluster",
|
|
31
|
-
* targetProjectId: "5cf5a45a9ccf6400e60981b6",
|
|
32
|
-
* }],
|
|
33
|
-
* });
|
|
34
|
-
* const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
|
|
35
|
-
* projectId: projectId,
|
|
36
|
-
* clusterName: clusterName,
|
|
37
|
-
* pageNum: 1,
|
|
38
|
-
* itemsPerPage: 5,
|
|
39
|
-
* }));
|
|
40
|
-
* ```
|
|
41
9
|
*/
|
|
42
10
|
export declare function getCloudProviderSnapshotRestoreJobs(args: GetCloudProviderSnapshotRestoreJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudProviderSnapshotRestoreJobsResult>;
|
|
43
11
|
/**
|