@pulumi/mongodbatlas 3.34.0-alpha.1750228318 → 3.34.0-alpha.1750995573
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/cluster.d.ts +3 -3
- package/getAdvancedCluster.d.ts +0 -28
- package/getAdvancedCluster.js +0 -28
- package/getAdvancedCluster.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +2 -10
- package/getCloudBackupSchedule.js +2 -10
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCluster.d.ts +0 -22
- package/getCluster.js +0 -22
- package/getCluster.js.map +1 -1
- package/getStreamConnection.d.ts +4 -0
- package/getStreamConnection.js.map +1 -1
- package/package.json +2 -2
- package/streamConnection.d.ts +19 -0
- package/streamConnection.js +18 -0
- package/streamConnection.js.map +1 -1
- package/types/output.d.ts +1 -0
package/cluster.d.ts
CHANGED
|
@@ -418,7 +418,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
418
418
|
*/
|
|
419
419
|
readonly replicationSpecs: pulumi.Output<outputs.ClusterReplicationSpec[]>;
|
|
420
420
|
/**
|
|
421
|
-
* Set to true to retain backup snapshots for the deleted cluster.
|
|
421
|
+
* - (Optional) Set to true to retain backup snapshots for the deleted cluster. This parameter applies to the Delete operation and only affects M10 and above clusters. If you encounter the `CANNOT_DELETE_SNAPSHOT_WITH_BACKUP_COMPLIANCE_POLICY` error code, see how to delete a cluster with Backup Compliance Policy.
|
|
422
422
|
*/
|
|
423
423
|
readonly retainBackupsEnabled: pulumi.Output<boolean | undefined>;
|
|
424
424
|
/**
|
|
@@ -650,7 +650,7 @@ export interface ClusterState {
|
|
|
650
650
|
*/
|
|
651
651
|
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
|
|
652
652
|
/**
|
|
653
|
-
* Set to true to retain backup snapshots for the deleted cluster.
|
|
653
|
+
* - (Optional) Set to true to retain backup snapshots for the deleted cluster. This parameter applies to the Delete operation and only affects M10 and above clusters. If you encounter the `CANNOT_DELETE_SNAPSHOT_WITH_BACKUP_COMPLIANCE_POLICY` error code, see how to delete a cluster with Backup Compliance Policy.
|
|
654
654
|
*/
|
|
655
655
|
retainBackupsEnabled?: pulumi.Input<boolean>;
|
|
656
656
|
/**
|
|
@@ -845,7 +845,7 @@ export interface ClusterArgs {
|
|
|
845
845
|
*/
|
|
846
846
|
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
|
|
847
847
|
/**
|
|
848
|
-
* Set to true to retain backup snapshots for the deleted cluster.
|
|
848
|
+
* - (Optional) Set to true to retain backup snapshots for the deleted cluster. This parameter applies to the Delete operation and only affects M10 and above clusters. If you encounter the `CANNOT_DELETE_SNAPSHOT_WITH_BACKUP_COMPLIANCE_POLICY` error code, see how to delete a cluster with Backup Compliance Policy.
|
|
849
849
|
*/
|
|
850
850
|
retainBackupsEnabled?: pulumi.Input<boolean>;
|
|
851
851
|
/**
|
package/getAdvancedCluster.d.ts
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Data Source: mongodbatlas.AdvancedCluster
|
|
5
|
-
*
|
|
6
|
-
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
7
|
-
*
|
|
8
|
-
* This page describes the current version of `mongodbatlas.AdvancedCluster`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
9
|
-
*
|
|
10
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
11
|
-
*
|
|
12
|
-
* > **IMPORTANT:**
|
|
13
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
14
|
-
* <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.
|
|
15
|
-
*
|
|
16
|
-
* **NOTE:** This data source also includes Flex clusters.
|
|
17
|
-
*
|
|
18
4
|
* ## Example Usage
|
|
19
5
|
*
|
|
20
6
|
* ```typescript
|
|
@@ -241,20 +227,6 @@ export interface GetAdvancedClusterResult {
|
|
|
241
227
|
readonly versionReleaseSystem: string;
|
|
242
228
|
}
|
|
243
229
|
/**
|
|
244
|
-
* ## # Data Source: mongodbatlas.AdvancedCluster
|
|
245
|
-
*
|
|
246
|
-
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
247
|
-
*
|
|
248
|
-
* This page describes the current version of `mongodbatlas.AdvancedCluster`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
249
|
-
*
|
|
250
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
251
|
-
*
|
|
252
|
-
* > **IMPORTANT:**
|
|
253
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
254
|
-
* <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.
|
|
255
|
-
*
|
|
256
|
-
* **NOTE:** This data source also includes Flex clusters.
|
|
257
|
-
*
|
|
258
230
|
* ## Example Usage
|
|
259
231
|
*
|
|
260
232
|
* ```typescript
|
package/getAdvancedCluster.js
CHANGED
|
@@ -6,20 +6,6 @@ exports.getAdvancedClusterOutput = exports.getAdvancedCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Data Source: mongodbatlas.AdvancedCluster
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
12
|
-
*
|
|
13
|
-
* This page describes the current version of `mongodbatlas.AdvancedCluster`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
14
|
-
*
|
|
15
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
16
|
-
*
|
|
17
|
-
* > **IMPORTANT:**
|
|
18
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
19
|
-
* <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.
|
|
20
|
-
*
|
|
21
|
-
* **NOTE:** This data source also includes Flex clusters.
|
|
22
|
-
*
|
|
23
9
|
* ## Example Usage
|
|
24
10
|
*
|
|
25
11
|
* ```typescript
|
|
@@ -129,20 +115,6 @@ function getAdvancedCluster(args, opts) {
|
|
|
129
115
|
}
|
|
130
116
|
exports.getAdvancedCluster = getAdvancedCluster;
|
|
131
117
|
/**
|
|
132
|
-
* ## # Data Source: mongodbatlas.AdvancedCluster
|
|
133
|
-
*
|
|
134
|
-
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
135
|
-
*
|
|
136
|
-
* This page describes the current version of `mongodbatlas.AdvancedCluster`, the page for the **Preview for MongoDB Atlas Provider 2.0.0** can be found here.
|
|
137
|
-
*
|
|
138
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
139
|
-
*
|
|
140
|
-
* > **IMPORTANT:**
|
|
141
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
142
|
-
* <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.
|
|
143
|
-
*
|
|
144
|
-
* **NOTE:** This data source also includes Flex clusters.
|
|
145
|
-
*
|
|
146
118
|
* ## Example Usage
|
|
147
119
|
*
|
|
148
120
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;KAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAiID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkGG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;KAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* ##
|
|
5
|
-
*
|
|
6
|
-
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
7
|
-
*
|
|
8
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
4
|
+
* ## Example Usage
|
|
9
5
|
*/
|
|
10
6
|
export declare function getCloudBackupSchedule(args: GetCloudBackupScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudBackupScheduleResult>;
|
|
11
7
|
/**
|
|
@@ -100,11 +96,7 @@ export interface GetCloudBackupScheduleResult {
|
|
|
100
96
|
readonly useZoneIdForCopySettings?: boolean;
|
|
101
97
|
}
|
|
102
98
|
/**
|
|
103
|
-
* ##
|
|
104
|
-
*
|
|
105
|
-
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
106
|
-
*
|
|
107
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
99
|
+
* ## Example Usage
|
|
108
100
|
*/
|
|
109
101
|
export declare function getCloudBackupScheduleOutput(args: GetCloudBackupScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudBackupScheduleResult>;
|
|
110
102
|
/**
|
|
@@ -6,11 +6,7 @@ exports.getCloudBackupScheduleOutput = exports.getCloudBackupSchedule = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ##
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
12
|
-
*
|
|
13
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
9
|
+
* ## Example Usage
|
|
14
10
|
*/
|
|
15
11
|
function getCloudBackupSchedule(args, opts) {
|
|
16
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -22,11 +18,7 @@ function getCloudBackupSchedule(args, opts) {
|
|
|
22
18
|
}
|
|
23
19
|
exports.getCloudBackupSchedule = getCloudBackupSchedule;
|
|
24
20
|
/**
|
|
25
|
-
* ##
|
|
26
|
-
*
|
|
27
|
-
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
28
|
-
*
|
|
29
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
21
|
+
* ## Example Usage
|
|
30
22
|
*/
|
|
31
23
|
function getCloudBackupScheduleOutput(args, opts) {
|
|
32
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AA8FD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oEAOC"}
|
package/getCluster.d.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Data Source: mongodbatlas.Cluster
|
|
5
|
-
*
|
|
6
|
-
* `mongodbatlas.Cluster` describes a Cluster. The data source requires your Project ID.
|
|
7
|
-
*
|
|
8
|
-
* > **IMPORTANT:**
|
|
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
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
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
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
14
|
-
*
|
|
15
4
|
* ## Example Usage
|
|
16
5
|
*
|
|
17
6
|
* ```typescript
|
|
@@ -240,17 +229,6 @@ export interface GetClusterResult {
|
|
|
240
229
|
readonly versionReleaseSystem: string;
|
|
241
230
|
}
|
|
242
231
|
/**
|
|
243
|
-
* ## # Data Source: mongodbatlas.Cluster
|
|
244
|
-
*
|
|
245
|
-
* `mongodbatlas.Cluster` describes a Cluster. The data source requires your Project ID.
|
|
246
|
-
*
|
|
247
|
-
* > **IMPORTANT:**
|
|
248
|
-
* <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.
|
|
249
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
250
|
-
* <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.
|
|
251
|
-
*
|
|
252
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
253
|
-
*
|
|
254
232
|
* ## Example Usage
|
|
255
233
|
*
|
|
256
234
|
* ```typescript
|
package/getCluster.js
CHANGED
|
@@ -6,17 +6,6 @@ exports.getClusterOutput = exports.getCluster = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Data Source: mongodbatlas.Cluster
|
|
10
|
-
*
|
|
11
|
-
* `mongodbatlas.Cluster` describes a Cluster. The data source requires your Project ID.
|
|
12
|
-
*
|
|
13
|
-
* > **IMPORTANT:**
|
|
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
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
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
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
19
|
-
*
|
|
20
9
|
* ## Example Usage
|
|
21
10
|
*
|
|
22
11
|
* ```typescript
|
|
@@ -56,17 +45,6 @@ function getCluster(args, opts) {
|
|
|
56
45
|
}
|
|
57
46
|
exports.getCluster = getCluster;
|
|
58
47
|
/**
|
|
59
|
-
* ## # Data Source: mongodbatlas.Cluster
|
|
60
|
-
*
|
|
61
|
-
* `mongodbatlas.Cluster` describes a Cluster. The data source requires your Project ID.
|
|
62
|
-
*
|
|
63
|
-
* > **IMPORTANT:**
|
|
64
|
-
* <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.
|
|
65
|
-
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
66
|
-
* <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.
|
|
67
|
-
*
|
|
68
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
69
|
-
*
|
|
70
48
|
* ## Example Usage
|
|
71
49
|
*
|
|
72
50
|
* ```typescript
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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;AAND,gCAMC;AAuMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/getStreamConnection.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export interface GetStreamConnectionResult {
|
|
|
56
56
|
* Name of the cluster configured for this connection.
|
|
57
57
|
*/
|
|
58
58
|
readonly clusterName: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique 24-hexadecimal digit string that identifies the project that contains the configured cluster. Required if the ID does not match the project containing the streams instance. You must first enable the organization setting.
|
|
61
|
+
*/
|
|
62
|
+
readonly clusterProjectId: string;
|
|
59
63
|
/**
|
|
60
64
|
* A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters.
|
|
61
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStreamConnection.js","sourceRoot":"","sources":["../getStreamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;
|
|
1
|
+
{"version":3,"file":"getStreamConnection.js","sourceRoot":"","sources":["../getStreamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AA6ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "3.34.0-alpha.
|
|
3
|
+
"version": "3.34.0-alpha.1750995573",
|
|
4
4
|
"description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "mongodbatlas",
|
|
26
|
-
"version": "3.34.0-alpha.
|
|
26
|
+
"version": "3.34.0-alpha.1750995573"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/streamConnection.d.ts
CHANGED
|
@@ -25,6 +25,22 @@ import * as outputs from "./types/output";
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
+
* ### Example Cross Project Cluster Connection
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
33
|
+
*
|
|
34
|
+
* const test = new mongodbatlas.StreamConnection("test", {
|
|
35
|
+
* projectId: projectId,
|
|
36
|
+
* instanceName: "InstanceName",
|
|
37
|
+
* connectionName: "ConnectionName",
|
|
38
|
+
* type: "Cluster",
|
|
39
|
+
* clusterName: "OtherCluster",
|
|
40
|
+
* clusterProjectId: otherProjectId,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
28
44
|
* ### Example Kafka SASL Plaintext Connection
|
|
29
45
|
*
|
|
30
46
|
* ```typescript
|
|
@@ -100,6 +116,7 @@ export declare class StreamConnection extends pulumi.CustomResource {
|
|
|
100
116
|
readonly aws: pulumi.Output<outputs.StreamConnectionAws | undefined>;
|
|
101
117
|
readonly bootstrapServers: pulumi.Output<string | undefined>;
|
|
102
118
|
readonly clusterName: pulumi.Output<string | undefined>;
|
|
119
|
+
readonly clusterProjectId: pulumi.Output<string | undefined>;
|
|
103
120
|
readonly config: pulumi.Output<{
|
|
104
121
|
[key: string]: string;
|
|
105
122
|
} | undefined>;
|
|
@@ -143,6 +160,7 @@ export interface StreamConnectionState {
|
|
|
143
160
|
aws?: pulumi.Input<inputs.StreamConnectionAws>;
|
|
144
161
|
bootstrapServers?: pulumi.Input<string>;
|
|
145
162
|
clusterName?: pulumi.Input<string>;
|
|
163
|
+
clusterProjectId?: pulumi.Input<string>;
|
|
146
164
|
config?: pulumi.Input<{
|
|
147
165
|
[key: string]: pulumi.Input<string>;
|
|
148
166
|
}>;
|
|
@@ -178,6 +196,7 @@ export interface StreamConnectionArgs {
|
|
|
178
196
|
aws?: pulumi.Input<inputs.StreamConnectionAws>;
|
|
179
197
|
bootstrapServers?: pulumi.Input<string>;
|
|
180
198
|
clusterName?: pulumi.Input<string>;
|
|
199
|
+
clusterProjectId?: pulumi.Input<string>;
|
|
181
200
|
config?: pulumi.Input<{
|
|
182
201
|
[key: string]: pulumi.Input<string>;
|
|
183
202
|
}>;
|
package/streamConnection.js
CHANGED
|
@@ -29,6 +29,22 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
|
+
* ### Example Cross Project Cluster Connection
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
37
|
+
*
|
|
38
|
+
* const test = new mongodbatlas.StreamConnection("test", {
|
|
39
|
+
* projectId: projectId,
|
|
40
|
+
* instanceName: "InstanceName",
|
|
41
|
+
* connectionName: "ConnectionName",
|
|
42
|
+
* type: "Cluster",
|
|
43
|
+
* clusterName: "OtherCluster",
|
|
44
|
+
* clusterProjectId: otherProjectId,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
32
48
|
* ### Example Kafka SASL Plaintext Connection
|
|
33
49
|
*
|
|
34
50
|
* ```typescript
|
|
@@ -116,6 +132,7 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
116
132
|
resourceInputs["aws"] = state ? state.aws : undefined;
|
|
117
133
|
resourceInputs["bootstrapServers"] = state ? state.bootstrapServers : undefined;
|
|
118
134
|
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
135
|
+
resourceInputs["clusterProjectId"] = state ? state.clusterProjectId : undefined;
|
|
119
136
|
resourceInputs["config"] = state ? state.config : undefined;
|
|
120
137
|
resourceInputs["connectionName"] = state ? state.connectionName : undefined;
|
|
121
138
|
resourceInputs["dbRoleToExecute"] = state ? state.dbRoleToExecute : undefined;
|
|
@@ -145,6 +162,7 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
145
162
|
resourceInputs["aws"] = args ? args.aws : undefined;
|
|
146
163
|
resourceInputs["bootstrapServers"] = args ? args.bootstrapServers : undefined;
|
|
147
164
|
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
165
|
+
resourceInputs["clusterProjectId"] = args ? args.clusterProjectId : undefined;
|
|
148
166
|
resourceInputs["config"] = args ? args.config : undefined;
|
|
149
167
|
resourceInputs["connectionName"] = args ? args.connectionName : undefined;
|
|
150
168
|
resourceInputs["dbRoleToExecute"] = args ? args.dbRoleToExecute : undefined;
|
package/streamConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamConnection.js","sourceRoot":"","sources":["../streamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamConnection.js","sourceRoot":"","sources":["../streamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAsCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CA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E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AApHL,4CAqHC;AAvGG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
package/types/output.d.ts
CHANGED
|
@@ -6830,6 +6830,7 @@ export interface GetStreamConnectionsResult {
|
|
|
6830
6830
|
* Name of the cluster configured for this connection.
|
|
6831
6831
|
*/
|
|
6832
6832
|
clusterName: string;
|
|
6833
|
+
clusterProjectId: string;
|
|
6833
6834
|
/**
|
|
6834
6835
|
* A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters.
|
|
6835
6836
|
*/
|