@pulumi/mongodbatlas 3.2.0-alpha.1641575509 → 3.3.0-alpha.1643219481
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/alertConfiguration.d.ts +45 -0
- package/alertConfiguration.js +45 -0
- package/alertConfiguration.js.map +1 -1
- package/cluster.d.ts +20 -7
- package/cluster.js +3 -1
- package/cluster.js.map +1 -1
- package/getCluster.d.ts +12 -4
- package/getCluster.js.map +1 -1
- package/getProject.d.ts +10 -0
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +4 -0
- package/getProjects.js +4 -0
- package/getProjects.js.map +1 -1
- package/networkContainer.d.ts +6 -8
- package/networkContainer.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/project.d.ts +3 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/types/input.d.ts +29 -4
- package/types/output.d.ts +144 -10
package/alertConfiguration.d.ts
CHANGED
|
@@ -74,6 +74,51 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
74
74
|
* },
|
|
75
75
|
* });
|
|
76
76
|
* ```
|
|
77
|
+
* ### Create an alert with two notifications using Email and SMS
|
|
78
|
+
*
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
82
|
+
*
|
|
83
|
+
* const test = new mongodbatlas.AlertConfiguration("test", {
|
|
84
|
+
* enabled: true,
|
|
85
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
86
|
+
* matchers: [{
|
|
87
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
88
|
+
* operator: "EQUALS",
|
|
89
|
+
* value: "SECONDARY",
|
|
90
|
+
* }],
|
|
91
|
+
* metricThresholdConfig: {
|
|
92
|
+
* metricName: "ASSERT_REGULAR",
|
|
93
|
+
* mode: "AVERAGE",
|
|
94
|
+
* operator: "LESS_THAN",
|
|
95
|
+
* threshold: 99,
|
|
96
|
+
* units: "RAW",
|
|
97
|
+
* },
|
|
98
|
+
* notifications: [
|
|
99
|
+
* {
|
|
100
|
+
* delayMin: 0,
|
|
101
|
+
* emailEnabled: true,
|
|
102
|
+
* intervalMin: 5,
|
|
103
|
+
* roles: [
|
|
104
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
105
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
106
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
107
|
+
* ],
|
|
108
|
+
* smsEnabled: false,
|
|
109
|
+
* typeName: "GROUP",
|
|
110
|
+
* },
|
|
111
|
+
* {
|
|
112
|
+
* delayMin: 0,
|
|
113
|
+
* emailEnabled: false,
|
|
114
|
+
* intervalMin: 5,
|
|
115
|
+
* smsEnabled: true,
|
|
116
|
+
* typeName: "ORG",
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* projectId: "PROJECT ID",
|
|
120
|
+
* });
|
|
121
|
+
* ```
|
|
77
122
|
*
|
|
78
123
|
* ## Import
|
|
79
124
|
*
|
package/alertConfiguration.js
CHANGED
|
@@ -79,6 +79,51 @@ const utilities = require("./utilities");
|
|
|
79
79
|
* },
|
|
80
80
|
* });
|
|
81
81
|
* ```
|
|
82
|
+
* ### Create an alert with two notifications using Email and SMS
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
|
+
*
|
|
88
|
+
* const test = new mongodbatlas.AlertConfiguration("test", {
|
|
89
|
+
* enabled: true,
|
|
90
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
91
|
+
* matchers: [{
|
|
92
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
93
|
+
* operator: "EQUALS",
|
|
94
|
+
* value: "SECONDARY",
|
|
95
|
+
* }],
|
|
96
|
+
* metricThresholdConfig: {
|
|
97
|
+
* metricName: "ASSERT_REGULAR",
|
|
98
|
+
* mode: "AVERAGE",
|
|
99
|
+
* operator: "LESS_THAN",
|
|
100
|
+
* threshold: 99,
|
|
101
|
+
* units: "RAW",
|
|
102
|
+
* },
|
|
103
|
+
* notifications: [
|
|
104
|
+
* {
|
|
105
|
+
* delayMin: 0,
|
|
106
|
+
* emailEnabled: true,
|
|
107
|
+
* intervalMin: 5,
|
|
108
|
+
* roles: [
|
|
109
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
110
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
111
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
112
|
+
* ],
|
|
113
|
+
* smsEnabled: false,
|
|
114
|
+
* typeName: "GROUP",
|
|
115
|
+
* },
|
|
116
|
+
* {
|
|
117
|
+
* delayMin: 0,
|
|
118
|
+
* emailEnabled: false,
|
|
119
|
+
* intervalMin: 5,
|
|
120
|
+
* smsEnabled: true,
|
|
121
|
+
* typeName: "ORG",
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* projectId: "PROJECT ID",
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
82
127
|
*
|
|
83
128
|
* ## Import
|
|
84
129
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertConfiguration.js","sourceRoot":"","sources":["../alertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAyHC;AA3GG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -126,10 +126,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
126
126
|
* Number of shards to deploy in the specified zone, minimum 1.
|
|
127
127
|
*/
|
|
128
128
|
readonly numShards: pulumi.Output<number | undefined>;
|
|
129
|
-
|
|
130
|
-
* Flag that indicates whether the cluster is paused or not.
|
|
131
|
-
*/
|
|
132
|
-
readonly paused: pulumi.Output<boolean>;
|
|
129
|
+
readonly paused: pulumi.Output<boolean | undefined>;
|
|
133
130
|
/**
|
|
134
131
|
* - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
135
132
|
*/
|
|
@@ -211,6 +208,12 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
211
208
|
* - REPAIRING
|
|
212
209
|
*/
|
|
213
210
|
readonly stateName: pulumi.Output<string>;
|
|
211
|
+
/**
|
|
212
|
+
* - Release cadence that Atlas uses for this cluster. This parameter defaults to `LTS`. If you set this field to `CONTINUOUS`, you must omit the `mongoDbMajorVersion` field. Atlas accepts:
|
|
213
|
+
* - `CONTINUOUS`: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
|
|
214
|
+
* - `LTS`: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
|
|
215
|
+
*/
|
|
216
|
+
readonly versionReleaseSystem: pulumi.Output<string | undefined>;
|
|
214
217
|
/**
|
|
215
218
|
* Create a Cluster resource with the given unique name, arguments, and options.
|
|
216
219
|
*
|
|
@@ -323,9 +326,6 @@ export interface ClusterState {
|
|
|
323
326
|
* Number of shards to deploy in the specified zone, minimum 1.
|
|
324
327
|
*/
|
|
325
328
|
numShards?: pulumi.Input<number>;
|
|
326
|
-
/**
|
|
327
|
-
* Flag that indicates whether the cluster is paused or not.
|
|
328
|
-
*/
|
|
329
329
|
paused?: pulumi.Input<boolean>;
|
|
330
330
|
/**
|
|
331
331
|
* - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
@@ -408,6 +408,12 @@ export interface ClusterState {
|
|
|
408
408
|
* - REPAIRING
|
|
409
409
|
*/
|
|
410
410
|
stateName?: pulumi.Input<string>;
|
|
411
|
+
/**
|
|
412
|
+
* - Release cadence that Atlas uses for this cluster. This parameter defaults to `LTS`. If you set this field to `CONTINUOUS`, you must omit the `mongoDbMajorVersion` field. Atlas accepts:
|
|
413
|
+
* - `CONTINUOUS`: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
|
|
414
|
+
* - `LTS`: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
|
|
415
|
+
*/
|
|
416
|
+
versionReleaseSystem?: pulumi.Input<string>;
|
|
411
417
|
}
|
|
412
418
|
/**
|
|
413
419
|
* The set of arguments for constructing a Cluster resource.
|
|
@@ -484,6 +490,7 @@ export interface ClusterArgs {
|
|
|
484
490
|
* Number of shards to deploy in the specified zone, minimum 1.
|
|
485
491
|
*/
|
|
486
492
|
numShards?: pulumi.Input<number>;
|
|
493
|
+
paused?: pulumi.Input<boolean>;
|
|
487
494
|
/**
|
|
488
495
|
* - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
489
496
|
*/
|
|
@@ -546,4 +553,10 @@ export interface ClusterArgs {
|
|
|
546
553
|
* Configuration for cluster regions. See Replication Spec below for more details.
|
|
547
554
|
*/
|
|
548
555
|
replicationSpecs?: pulumi.Input<pulumi.Input<inputs.ClusterReplicationSpec>[]>;
|
|
556
|
+
/**
|
|
557
|
+
* - Release cadence that Atlas uses for this cluster. This parameter defaults to `LTS`. If you set this field to `CONTINUOUS`, you must omit the `mongoDbMajorVersion` field. Atlas accepts:
|
|
558
|
+
* - `CONTINUOUS`: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
|
|
559
|
+
* - `LTS`: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
|
|
560
|
+
*/
|
|
561
|
+
versionReleaseSystem?: pulumi.Input<string>;
|
|
549
562
|
}
|
package/cluster.js
CHANGED
|
@@ -64,6 +64,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
64
64
|
resourceInputs["snapshotBackupPolicies"] = state ? state.snapshotBackupPolicies : undefined;
|
|
65
65
|
resourceInputs["srvAddress"] = state ? state.srvAddress : undefined;
|
|
66
66
|
resourceInputs["stateName"] = state ? state.stateName : undefined;
|
|
67
|
+
resourceInputs["versionReleaseSystem"] = state ? state.versionReleaseSystem : undefined;
|
|
67
68
|
}
|
|
68
69
|
else {
|
|
69
70
|
const args = argsOrState;
|
|
@@ -92,6 +93,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
92
93
|
resourceInputs["mongoDbMajorVersion"] = args ? args.mongoDbMajorVersion : undefined;
|
|
93
94
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
94
95
|
resourceInputs["numShards"] = args ? args.numShards : undefined;
|
|
96
|
+
resourceInputs["paused"] = args ? args.paused : undefined;
|
|
95
97
|
resourceInputs["pitEnabled"] = args ? args.pitEnabled : undefined;
|
|
96
98
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
97
99
|
resourceInputs["providerAutoScalingComputeMaxInstanceSize"] = args ? args.providerAutoScalingComputeMaxInstanceSize : undefined;
|
|
@@ -106,6 +108,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
106
108
|
resourceInputs["providerVolumeType"] = args ? args.providerVolumeType : undefined;
|
|
107
109
|
resourceInputs["replicationFactor"] = args ? args.replicationFactor : undefined;
|
|
108
110
|
resourceInputs["replicationSpecs"] = args ? args.replicationSpecs : undefined;
|
|
111
|
+
resourceInputs["versionReleaseSystem"] = args ? args.versionReleaseSystem : undefined;
|
|
109
112
|
resourceInputs["clusterId"] = undefined /*out*/;
|
|
110
113
|
resourceInputs["connectionStrings"] = undefined /*out*/;
|
|
111
114
|
resourceInputs["containerId"] = undefined /*out*/;
|
|
@@ -113,7 +116,6 @@ class Cluster extends pulumi.CustomResource {
|
|
|
113
116
|
resourceInputs["mongoUri"] = undefined /*out*/;
|
|
114
117
|
resourceInputs["mongoUriUpdated"] = undefined /*out*/;
|
|
115
118
|
resourceInputs["mongoUriWithOptions"] = undefined /*out*/;
|
|
116
|
-
resourceInputs["paused"] = undefined /*out*/;
|
|
117
119
|
resourceInputs["providerEncryptEbsVolumeFlag"] = undefined /*out*/;
|
|
118
120
|
resourceInputs["snapshotBackupPolicies"] = undefined /*out*/;
|
|
119
121
|
resourceInputs["srvAddress"] = undefined /*out*/;
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GA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YACnE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAxUD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA0UC;AA5TG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
package/getCluster.d.ts
CHANGED
|
@@ -28,11 +28,15 @@ export interface GetClusterArgs {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface GetClusterResult {
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Get the advanced configuration options. See Advanced Configuration below for more details.
|
|
32
|
+
*/
|
|
33
|
+
readonly advancedConfigurations: outputs.GetClusterAdvancedConfiguration[];
|
|
34
|
+
/**
|
|
35
|
+
* Specifies whether cluster tier auto-scaling is enabled. The default is false.
|
|
32
36
|
*/
|
|
33
37
|
readonly autoScalingComputeEnabled: boolean;
|
|
34
38
|
/**
|
|
35
|
-
*
|
|
39
|
+
* Specifies whether cluster tier auto-down-scaling is enabled.
|
|
36
40
|
*/
|
|
37
41
|
readonly autoScalingComputeScaleDownEnabled: boolean;
|
|
38
42
|
/**
|
|
@@ -135,11 +139,11 @@ export interface GetClusterResult {
|
|
|
135
139
|
readonly pitEnabled: boolean;
|
|
136
140
|
readonly projectId: string;
|
|
137
141
|
/**
|
|
138
|
-
*
|
|
142
|
+
* Maximum instance size to which your cluster can automatically scale.
|
|
139
143
|
*/
|
|
140
144
|
readonly providerAutoScalingComputeMaxInstanceSize: string;
|
|
141
145
|
/**
|
|
142
|
-
*
|
|
146
|
+
* Minimum instance size to which your cluster can automatically scale.
|
|
143
147
|
*/
|
|
144
148
|
readonly providerAutoScalingComputeMinInstanceSize: string;
|
|
145
149
|
/**
|
|
@@ -201,6 +205,10 @@ export interface GetClusterResult {
|
|
|
201
205
|
* - REPAIRING
|
|
202
206
|
*/
|
|
203
207
|
readonly stateName: string;
|
|
208
|
+
/**
|
|
209
|
+
* Release cadence that Atlas uses for this cluster.
|
|
210
|
+
*/
|
|
211
|
+
readonly versionReleaseSystem: string;
|
|
204
212
|
}
|
|
205
213
|
export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterResult>;
|
|
206
214
|
/**
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,gCAYC;
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,gCAYC;AA0MD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getProject.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface GetProjectArgs {
|
|
|
50
50
|
* A collection of values returned by getProject.
|
|
51
51
|
*/
|
|
52
52
|
export interface GetProjectResult {
|
|
53
|
+
readonly apiKeys: outputs.GetProjectApiKey[];
|
|
53
54
|
readonly clusterCount: number;
|
|
54
55
|
readonly created: string;
|
|
55
56
|
/**
|
|
@@ -73,6 +74,15 @@ export interface GetProjectResult {
|
|
|
73
74
|
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
74
75
|
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
75
76
|
* * `GROUP_CLUSTER_MANAGER`
|
|
77
|
+
* * `api_keys.#.api_key_id` - The unique identifier of the programmatic API key you want to associate with the project. The programmatic API key and project must share the same parent organization.
|
|
78
|
+
* * `api_keys.#.role_names` - Each string in the array represents a project role assigned to the programmatic API key.
|
|
79
|
+
* The following are valid roles:
|
|
80
|
+
* * `GROUP_OWNER`
|
|
81
|
+
* * `GROUP_READ_ONLY`
|
|
82
|
+
* * `GROUP_DATA_ACCESS_ADMIN`
|
|
83
|
+
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
84
|
+
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
85
|
+
* * `GROUP_CLUSTER_MANAGER`
|
|
76
86
|
*/
|
|
77
87
|
readonly orgId: string;
|
|
78
88
|
readonly projectId?: string;
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAbD,gCAaC;
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAbD,gCAaC;AA2DD,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getProjects.d.ts
CHANGED
|
@@ -12,6 +12,10 @@ import { output as outputs } from "./types";
|
|
|
12
12
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
13
|
*
|
|
14
14
|
* const testMongodbatlasProject = new mongodbatlas.Project("test", {
|
|
15
|
+
* apiKeys: [{
|
|
16
|
+
* apiKeyId: "61003b299dda8d54a9d7d10c",
|
|
17
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
18
|
+
* }],
|
|
15
19
|
* orgId: "<ORG_ID>",
|
|
16
20
|
* teams: [
|
|
17
21
|
* {
|
package/getProjects.js
CHANGED
|
@@ -17,6 +17,10 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
18
|
*
|
|
19
19
|
* const testMongodbatlasProject = new mongodbatlas.Project("test", {
|
|
20
|
+
* apiKeys: [{
|
|
21
|
+
* apiKeyId: "61003b299dda8d54a9d7d10c",
|
|
22
|
+
* roleNames: ["GROUP_READ_ONLY"],
|
|
23
|
+
* }],
|
|
20
24
|
* orgId: "<ORG_ID>",
|
|
21
25
|
* teams: [
|
|
22
26
|
* {
|
package/getProjects.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjects.js","sourceRoot":"","sources":["../getProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kCAaC;AA8BD,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/networkContainer.d.ts
CHANGED
|
@@ -89,7 +89,6 @@ export declare class NetworkContainer extends pulumi.CustomResource {
|
|
|
89
89
|
readonly atlasCidrBlock: pulumi.Output<string>;
|
|
90
90
|
/**
|
|
91
91
|
* Unique identifier of the Azure subscription in which the VNet resides.
|
|
92
|
-
* * * `vnetName` - The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
93
92
|
*/
|
|
94
93
|
readonly azureSubscriptionId: pulumi.Output<string>;
|
|
95
94
|
/**
|
|
@@ -102,7 +101,6 @@ export declare class NetworkContainer extends pulumi.CustomResource {
|
|
|
102
101
|
readonly gcpProjectId: pulumi.Output<string>;
|
|
103
102
|
/**
|
|
104
103
|
* Unique identifier of the Network Peering connection in the Atlas project. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
105
|
-
* **AZURE ONLY:**
|
|
106
104
|
*/
|
|
107
105
|
readonly networkName: pulumi.Output<string>;
|
|
108
106
|
/**
|
|
@@ -115,7 +113,6 @@ export declare class NetworkContainer extends pulumi.CustomResource {
|
|
|
115
113
|
readonly providerName: pulumi.Output<string | undefined>;
|
|
116
114
|
/**
|
|
117
115
|
* Indicates whether the project has Network Peering connections deployed in the container.
|
|
118
|
-
* **AWS ONLY:**
|
|
119
116
|
*/
|
|
120
117
|
readonly provisioned: pulumi.Output<boolean>;
|
|
121
118
|
/**
|
|
@@ -130,10 +127,12 @@ export declare class NetworkContainer extends pulumi.CustomResource {
|
|
|
130
127
|
* Atlas regions where the container resides. Provide this field only if you provide an `atlasCidrBlock` smaller than `/18`. [GCP Regions values](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/#request-body-parameters).
|
|
131
128
|
*/
|
|
132
129
|
readonly regions: pulumi.Output<string[] | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
132
|
+
*/
|
|
133
133
|
readonly vnetName: pulumi.Output<string>;
|
|
134
134
|
/**
|
|
135
135
|
* Unique identifier of Atlas' AWS VPC.
|
|
136
|
-
* **CGP ONLY:**
|
|
137
136
|
*/
|
|
138
137
|
readonly vpcId: pulumi.Output<string>;
|
|
139
138
|
/**
|
|
@@ -158,7 +157,6 @@ export interface NetworkContainerState {
|
|
|
158
157
|
atlasCidrBlock?: pulumi.Input<string>;
|
|
159
158
|
/**
|
|
160
159
|
* Unique identifier of the Azure subscription in which the VNet resides.
|
|
161
|
-
* * * `vnetName` - The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
162
160
|
*/
|
|
163
161
|
azureSubscriptionId?: pulumi.Input<string>;
|
|
164
162
|
/**
|
|
@@ -171,7 +169,6 @@ export interface NetworkContainerState {
|
|
|
171
169
|
gcpProjectId?: pulumi.Input<string>;
|
|
172
170
|
/**
|
|
173
171
|
* Unique identifier of the Network Peering connection in the Atlas project. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
174
|
-
* **AZURE ONLY:**
|
|
175
172
|
*/
|
|
176
173
|
networkName?: pulumi.Input<string>;
|
|
177
174
|
/**
|
|
@@ -184,7 +181,6 @@ export interface NetworkContainerState {
|
|
|
184
181
|
providerName?: pulumi.Input<string>;
|
|
185
182
|
/**
|
|
186
183
|
* Indicates whether the project has Network Peering connections deployed in the container.
|
|
187
|
-
* **AWS ONLY:**
|
|
188
184
|
*/
|
|
189
185
|
provisioned?: pulumi.Input<boolean>;
|
|
190
186
|
/**
|
|
@@ -199,10 +195,12 @@ export interface NetworkContainerState {
|
|
|
199
195
|
* Atlas regions where the container resides. Provide this field only if you provide an `atlasCidrBlock` smaller than `/18`. [GCP Regions values](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/#request-body-parameters).
|
|
200
196
|
*/
|
|
201
197
|
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
198
|
+
/**
|
|
199
|
+
* The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
|
|
200
|
+
*/
|
|
202
201
|
vnetName?: pulumi.Input<string>;
|
|
203
202
|
/**
|
|
204
203
|
* Unique identifier of Atlas' AWS VPC.
|
|
205
|
-
* **CGP ONLY:**
|
|
206
204
|
*/
|
|
207
205
|
vpcId?: pulumi.Input<string>;
|
|
208
206
|
}
|
package/networkContainer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkContainer.js","sourceRoot":"","sources":["../networkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"networkContainer.js","sourceRoot":"","sources":["../networkContainer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA4FvD,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,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|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.3.0-alpha.1643219481+e9c776f2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource mongodbatlas v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource mongodbatlas v3.3.0-alpha.1643219481+e9c776f2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/project.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
27
27
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
28
|
*/
|
|
29
29
|
static isInstance(obj: any): obj is Project;
|
|
30
|
+
readonly apiKeys: pulumi.Output<outputs.ProjectApiKey[]>;
|
|
30
31
|
/**
|
|
31
32
|
* The number of Atlas clusters deployed in the project..
|
|
32
33
|
*/
|
|
@@ -65,6 +66,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
65
66
|
* Input properties used for looking up and filtering Project resources.
|
|
66
67
|
*/
|
|
67
68
|
export interface ProjectState {
|
|
69
|
+
apiKeys?: pulumi.Input<pulumi.Input<inputs.ProjectApiKey>[]>;
|
|
68
70
|
/**
|
|
69
71
|
* The number of Atlas clusters deployed in the project..
|
|
70
72
|
*/
|
|
@@ -95,6 +97,7 @@ export interface ProjectState {
|
|
|
95
97
|
* The set of arguments for constructing a Project resource.
|
|
96
98
|
*/
|
|
97
99
|
export interface ProjectArgs {
|
|
100
|
+
apiKeys?: pulumi.Input<pulumi.Input<inputs.ProjectApiKey>[]>;
|
|
98
101
|
/**
|
|
99
102
|
* The name of the project you want to create. (Cannot be changed via this Provider after creation.)
|
|
100
103
|
*/
|
package/project.js
CHANGED
|
@@ -22,6 +22,7 @@ class Project extends pulumi.CustomResource {
|
|
|
22
22
|
opts = opts || {};
|
|
23
23
|
if (opts.id) {
|
|
24
24
|
const state = argsOrState;
|
|
25
|
+
resourceInputs["apiKeys"] = state ? state.apiKeys : undefined;
|
|
25
26
|
resourceInputs["clusterCount"] = state ? state.clusterCount : undefined;
|
|
26
27
|
resourceInputs["created"] = state ? state.created : undefined;
|
|
27
28
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -35,6 +36,7 @@ class Project extends pulumi.CustomResource {
|
|
|
35
36
|
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
36
37
|
throw new Error("Missing required property 'orgId'");
|
|
37
38
|
}
|
|
39
|
+
resourceInputs["apiKeys"] = args ? args.apiKeys : undefined;
|
|
38
40
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
39
41
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
40
42
|
resourceInputs["projectOwnerId"] = args ? args.projectOwnerId : undefined;
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA+D9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE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AKD;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA+FC;AAjFG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface AlertConfigurationNotification {
|
|
|
90
90
|
*/
|
|
91
91
|
emailAddress?: pulumi.Input<string>;
|
|
92
92
|
/**
|
|
93
|
-
* Flag indicating
|
|
93
|
+
* Flag indicating email notifications should be sent. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
94
94
|
*/
|
|
95
95
|
emailEnabled?: pulumi.Input<boolean>;
|
|
96
96
|
/**
|
|
@@ -102,7 +102,7 @@ export interface AlertConfigurationNotification {
|
|
|
102
102
|
*/
|
|
103
103
|
flowdockApiToken?: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
|
-
* Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5. **
|
|
105
|
+
* Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5. **NOTE** `PAGER_DUTY`, `VICTOR_OPS`, and `OPS_GENIE` notifications do not return this value. The notification interval must be configured and managed within each external service.
|
|
106
106
|
*/
|
|
107
107
|
intervalMin?: pulumi.Input<number>;
|
|
108
108
|
/**
|
|
@@ -121,19 +121,27 @@ export interface AlertConfigurationNotification {
|
|
|
121
121
|
* Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
|
|
122
122
|
*/
|
|
123
123
|
orgName?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
126
|
+
* Accepted values are:
|
|
127
|
+
*/
|
|
124
128
|
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
125
129
|
/**
|
|
126
130
|
* PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
127
131
|
*/
|
|
128
132
|
serviceKey?: pulumi.Input<string>;
|
|
129
133
|
/**
|
|
130
|
-
* Flag indicating if text message notifications should be sent.
|
|
134
|
+
* Flag indicating if text message notifications should be sent to this user's mobile phone. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
131
135
|
*/
|
|
132
136
|
smsEnabled?: pulumi.Input<boolean>;
|
|
133
137
|
/**
|
|
134
138
|
* Unique identifier of a team.
|
|
135
139
|
*/
|
|
136
140
|
teamId?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Label for the team that receives this notification.
|
|
143
|
+
*/
|
|
144
|
+
teamName?: pulumi.Input<string>;
|
|
137
145
|
/**
|
|
138
146
|
* Type of alert notification.
|
|
139
147
|
* Accepted values are:
|
|
@@ -797,9 +805,26 @@ export interface PrivateLinkEndpointServiceEndpoint {
|
|
|
797
805
|
*/
|
|
798
806
|
status?: pulumi.Input<string>;
|
|
799
807
|
}
|
|
808
|
+
export interface ProjectApiKey {
|
|
809
|
+
/**
|
|
810
|
+
* The unique identifier of the Programmatic API key you want to associate with the Project. The Programmatic API key and Project must share the same parent organization. Note: this is not the `publicKey` of the Programmatic API key but the `id` of the key. See [Programmatic API Keys](https://docs.atlas.mongodb.com/reference/api/apiKeys/) for more.
|
|
811
|
+
*/
|
|
812
|
+
apiKeyId: pulumi.Input<string>;
|
|
813
|
+
/**
|
|
814
|
+
* List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project. You must specify an array even if you are only associating a single role with the Programmatic API key.
|
|
815
|
+
* The following are valid roles:
|
|
816
|
+
* * `GROUP_OWNER`
|
|
817
|
+
* * `GROUP_READ_ONLY`
|
|
818
|
+
* * `GROUP_DATA_ACCESS_ADMIN`
|
|
819
|
+
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
820
|
+
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
821
|
+
* * `GROUP_CLUSTER_MANAGER`
|
|
822
|
+
*/
|
|
823
|
+
roleNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
824
|
+
}
|
|
800
825
|
export interface ProjectTeam {
|
|
801
826
|
/**
|
|
802
|
-
*
|
|
827
|
+
* List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project. You must specify an array even if you are only associating a single role with the Programmatic API key.
|
|
803
828
|
* The following are valid roles:
|
|
804
829
|
* * `GROUP_OWNER`
|
|
805
830
|
* * `GROUP_READ_ONLY`
|
package/types/output.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface AlertConfigurationNotification {
|
|
|
89
89
|
*/
|
|
90
90
|
emailAddress?: string;
|
|
91
91
|
/**
|
|
92
|
-
* Flag indicating
|
|
92
|
+
* Flag indicating email notifications should be sent. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
93
93
|
*/
|
|
94
94
|
emailEnabled?: boolean;
|
|
95
95
|
/**
|
|
@@ -101,7 +101,7 @@ export interface AlertConfigurationNotification {
|
|
|
101
101
|
*/
|
|
102
102
|
flowdockApiToken?: string;
|
|
103
103
|
/**
|
|
104
|
-
* Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5. **
|
|
104
|
+
* Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5. **NOTE** `PAGER_DUTY`, `VICTOR_OPS`, and `OPS_GENIE` notifications do not return this value. The notification interval must be configured and managed within each external service.
|
|
105
105
|
*/
|
|
106
106
|
intervalMin?: number;
|
|
107
107
|
/**
|
|
@@ -120,19 +120,27 @@ export interface AlertConfigurationNotification {
|
|
|
120
120
|
* Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
|
|
121
121
|
*/
|
|
122
122
|
orgName?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
125
|
+
* Accepted values are:
|
|
126
|
+
*/
|
|
123
127
|
roles?: string[];
|
|
124
128
|
/**
|
|
125
129
|
* PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
126
130
|
*/
|
|
127
131
|
serviceKey?: string;
|
|
128
132
|
/**
|
|
129
|
-
* Flag indicating if text message notifications should be sent.
|
|
133
|
+
* Flag indicating if text message notifications should be sent to this user's mobile phone. This flag is only valid if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
130
134
|
*/
|
|
131
135
|
smsEnabled?: boolean;
|
|
132
136
|
/**
|
|
133
137
|
* Unique identifier of a team.
|
|
134
138
|
*/
|
|
135
139
|
teamId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Label for the team that receives this notification.
|
|
142
|
+
*/
|
|
143
|
+
teamName: string;
|
|
136
144
|
/**
|
|
137
145
|
* Type of alert notification.
|
|
138
146
|
* Accepted values are:
|
|
@@ -757,7 +765,7 @@ export interface GetAlertConfigurationNotification {
|
|
|
757
765
|
*/
|
|
758
766
|
emailAddress: string;
|
|
759
767
|
/**
|
|
760
|
-
* Flag indicating
|
|
768
|
+
* Flag indicating email notifications should be sent. Atlas returns this value if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
761
769
|
*/
|
|
762
770
|
emailEnabled: boolean;
|
|
763
771
|
/**
|
|
@@ -788,19 +796,26 @@ export interface GetAlertConfigurationNotification {
|
|
|
788
796
|
* Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
|
|
789
797
|
*/
|
|
790
798
|
orgName: string;
|
|
799
|
+
/**
|
|
800
|
+
* Atlas role in current Project or Organization. Atlas returns this value if you set `typeName` to `ORG` or `GROUP`.
|
|
801
|
+
*/
|
|
791
802
|
roles?: string[];
|
|
792
803
|
/**
|
|
793
804
|
* PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
|
|
794
805
|
*/
|
|
795
806
|
serviceKey: string;
|
|
796
807
|
/**
|
|
797
|
-
* Flag indicating
|
|
808
|
+
* Flag indicating text notifications should be sent. Atlas returns this value if `typeName` is set to `ORG`, `GROUP`, or `USER`.
|
|
798
809
|
*/
|
|
799
810
|
smsEnabled: boolean;
|
|
800
811
|
/**
|
|
801
812
|
* Unique identifier of a team.
|
|
802
813
|
*/
|
|
803
814
|
teamId: string;
|
|
815
|
+
/**
|
|
816
|
+
* Label for the team that receives this notification.
|
|
817
|
+
*/
|
|
818
|
+
teamName: string;
|
|
804
819
|
/**
|
|
805
820
|
* Type of alert notification.
|
|
806
821
|
* Accepted values are:
|
|
@@ -1107,6 +1122,44 @@ export interface GetCloudProviderSnapshotsResult {
|
|
|
1107
1122
|
*/
|
|
1108
1123
|
type: string;
|
|
1109
1124
|
}
|
|
1125
|
+
export interface GetClusterAdvancedConfiguration {
|
|
1126
|
+
/**
|
|
1127
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
1128
|
+
*/
|
|
1129
|
+
defaultReadConcern: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
1132
|
+
*/
|
|
1133
|
+
defaultWriteConcern: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
1136
|
+
*/
|
|
1137
|
+
failIndexKeyTooLong: boolean;
|
|
1138
|
+
/**
|
|
1139
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
1140
|
+
*/
|
|
1141
|
+
javascriptEnabled: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
1144
|
+
*/
|
|
1145
|
+
minimumEnabledTlsProtocol: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
|
|
1148
|
+
*/
|
|
1149
|
+
noTableScan: boolean;
|
|
1150
|
+
/**
|
|
1151
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
1152
|
+
*/
|
|
1153
|
+
oplogSizeMb: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
1156
|
+
*/
|
|
1157
|
+
sampleRefreshIntervalBiConnector: number;
|
|
1158
|
+
/**
|
|
1159
|
+
* Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
1160
|
+
*/
|
|
1161
|
+
sampleSizeBiConnector: number;
|
|
1162
|
+
}
|
|
1110
1163
|
export interface GetClusterBiConnectorConfig {
|
|
1111
1164
|
/**
|
|
1112
1165
|
* Indicates whether or not BI Connector for Atlas is enabled on the cluster.
|
|
@@ -1223,11 +1276,15 @@ export interface GetClusterSnapshotBackupPolicyPolicyPolicyItem {
|
|
|
1223
1276
|
}
|
|
1224
1277
|
export interface GetClustersResult {
|
|
1225
1278
|
/**
|
|
1226
|
-
*
|
|
1279
|
+
* Get the advanced configuration options. See Advanced Configuration below for more details.
|
|
1280
|
+
*/
|
|
1281
|
+
advancedConfigurations: outputs.GetClustersResultAdvancedConfiguration[];
|
|
1282
|
+
/**
|
|
1283
|
+
* Specifies whether cluster tier auto-scaling is enabled. The default is false.
|
|
1227
1284
|
*/
|
|
1228
1285
|
autoScalingComputeEnabled: boolean;
|
|
1229
1286
|
/**
|
|
1230
|
-
*
|
|
1287
|
+
* * `autoScalingComputeScaleDownEnabled` - Specifies whether cluster tier auto-down-scaling is enabled.
|
|
1231
1288
|
*/
|
|
1232
1289
|
autoScalingComputeScaleDownEnabled: boolean;
|
|
1233
1290
|
/**
|
|
@@ -1325,11 +1382,11 @@ export interface GetClustersResult {
|
|
|
1325
1382
|
*/
|
|
1326
1383
|
pitEnabled: boolean;
|
|
1327
1384
|
/**
|
|
1328
|
-
*
|
|
1385
|
+
* Maximum instance size to which your cluster can automatically scale.
|
|
1329
1386
|
*/
|
|
1330
1387
|
providerAutoScalingComputeMaxInstanceSize: string;
|
|
1331
1388
|
/**
|
|
1332
|
-
*
|
|
1389
|
+
* Minimum instance size to which your cluster can automatically scale.
|
|
1333
1390
|
*/
|
|
1334
1391
|
providerAutoScalingComputeMinInstanceSize: string;
|
|
1335
1392
|
/**
|
|
@@ -1390,6 +1447,48 @@ export interface GetClustersResult {
|
|
|
1390
1447
|
* - REPAIRING
|
|
1391
1448
|
*/
|
|
1392
1449
|
stateName: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Release cadence that Atlas uses for this cluster.
|
|
1452
|
+
*/
|
|
1453
|
+
versionReleaseSystem: string;
|
|
1454
|
+
}
|
|
1455
|
+
export interface GetClustersResultAdvancedConfiguration {
|
|
1456
|
+
/**
|
|
1457
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
1458
|
+
*/
|
|
1459
|
+
defaultReadConcern: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
1462
|
+
*/
|
|
1463
|
+
defaultWriteConcern: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
1466
|
+
*/
|
|
1467
|
+
failIndexKeyTooLong: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
|
|
1470
|
+
*/
|
|
1471
|
+
javascriptEnabled: boolean;
|
|
1472
|
+
/**
|
|
1473
|
+
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
|
|
1474
|
+
*/
|
|
1475
|
+
minimumEnabledTlsProtocol: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
|
|
1478
|
+
*/
|
|
1479
|
+
noTableScan: boolean;
|
|
1480
|
+
/**
|
|
1481
|
+
* The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
|
|
1482
|
+
*/
|
|
1483
|
+
oplogSizeMb: number;
|
|
1484
|
+
/**
|
|
1485
|
+
* Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
1486
|
+
*/
|
|
1487
|
+
sampleRefreshIntervalBiConnector: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
|
|
1490
|
+
*/
|
|
1491
|
+
sampleSizeBiConnector: number;
|
|
1393
1492
|
}
|
|
1394
1493
|
export interface GetClustersResultBiConnectorConfig {
|
|
1395
1494
|
/**
|
|
@@ -2103,11 +2202,16 @@ export interface GetPrivateLinkEndpointServiceEndpoint {
|
|
|
2103
2202
|
*/
|
|
2104
2203
|
status: string;
|
|
2105
2204
|
}
|
|
2205
|
+
export interface GetProjectApiKey {
|
|
2206
|
+
apiKeyId: string;
|
|
2207
|
+
roleNames: string[];
|
|
2208
|
+
}
|
|
2106
2209
|
export interface GetProjectTeam {
|
|
2107
2210
|
roleNames: string[];
|
|
2108
2211
|
teamId: string;
|
|
2109
2212
|
}
|
|
2110
2213
|
export interface GetProjectsResult {
|
|
2214
|
+
apiKeys: outputs.GetProjectsResultApiKey[];
|
|
2111
2215
|
clusterCount: number;
|
|
2112
2216
|
created: string;
|
|
2113
2217
|
/**
|
|
@@ -2131,10 +2235,23 @@ export interface GetProjectsResult {
|
|
|
2131
2235
|
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
2132
2236
|
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
2133
2237
|
* * `GROUP_CLUSTER_MANAGER`
|
|
2238
|
+
* * `api_keys.#.api_key_id` - The unique identifier of the Organization Programmatic API key assigned to the Project.
|
|
2239
|
+
* * `api_keys.#.role_names` - List of roles that the Organization Programmatic API key has been assigned.
|
|
2240
|
+
* The following are valid roles:
|
|
2241
|
+
* * `GROUP_OWNER`
|
|
2242
|
+
* * `GROUP_READ_ONLY`
|
|
2243
|
+
* * `GROUP_DATA_ACCESS_ADMIN`
|
|
2244
|
+
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
2245
|
+
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
2246
|
+
* * `GROUP_CLUSTER_MANAGER`
|
|
2134
2247
|
*/
|
|
2135
2248
|
orgId: string;
|
|
2136
2249
|
teams: outputs.GetProjectsResultTeam[];
|
|
2137
2250
|
}
|
|
2251
|
+
export interface GetProjectsResultApiKey {
|
|
2252
|
+
apiKeyId: string;
|
|
2253
|
+
roleNames: string[];
|
|
2254
|
+
}
|
|
2138
2255
|
export interface GetProjectsResultTeam {
|
|
2139
2256
|
roleNames: string[];
|
|
2140
2257
|
teamId: string;
|
|
@@ -2359,9 +2476,26 @@ export interface PrivateLinkEndpointServiceEndpoint {
|
|
|
2359
2476
|
*/
|
|
2360
2477
|
status: string;
|
|
2361
2478
|
}
|
|
2479
|
+
export interface ProjectApiKey {
|
|
2480
|
+
/**
|
|
2481
|
+
* The unique identifier of the Programmatic API key you want to associate with the Project. The Programmatic API key and Project must share the same parent organization. Note: this is not the `publicKey` of the Programmatic API key but the `id` of the key. See [Programmatic API Keys](https://docs.atlas.mongodb.com/reference/api/apiKeys/) for more.
|
|
2482
|
+
*/
|
|
2483
|
+
apiKeyId: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project. You must specify an array even if you are only associating a single role with the Programmatic API key.
|
|
2486
|
+
* The following are valid roles:
|
|
2487
|
+
* * `GROUP_OWNER`
|
|
2488
|
+
* * `GROUP_READ_ONLY`
|
|
2489
|
+
* * `GROUP_DATA_ACCESS_ADMIN`
|
|
2490
|
+
* * `GROUP_DATA_ACCESS_READ_WRITE`
|
|
2491
|
+
* * `GROUP_DATA_ACCESS_READ_ONLY`
|
|
2492
|
+
* * `GROUP_CLUSTER_MANAGER`
|
|
2493
|
+
*/
|
|
2494
|
+
roleNames: string[];
|
|
2495
|
+
}
|
|
2362
2496
|
export interface ProjectTeam {
|
|
2363
2497
|
/**
|
|
2364
|
-
*
|
|
2498
|
+
* List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project. You must specify an array even if you are only associating a single role with the Programmatic API key.
|
|
2365
2499
|
* The following are valid roles:
|
|
2366
2500
|
* * `GROUP_OWNER`
|
|
2367
2501
|
* * `GROUP_READ_ONLY`
|