@pulumi/mongodbatlas 3.11.1 → 3.11.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 +15 -3
- package/advancedCluster.js +2 -0
- package/advancedCluster.js.map +1 -1
- package/cluster.d.ts +17 -5
- package/cluster.js +2 -0
- package/cluster.js.map +1 -1
- package/getSearchIndexes.d.ts +18 -4
- package/getSearchIndexes.js.map +1 -1
- package/package.json +1 -1
- package/projectApiKey.d.ts +1 -1
- package/projectApiKey.js +1 -1
- package/searchIndex.d.ts +6 -6
- package/searchIndex.js +6 -6
- package/types/output.d.ts +4 -4
package/advancedCluster.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ export declare class AdvancedCluster 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 AdvancedCluster;
|
|
30
|
+
/**
|
|
31
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
32
|
+
*/
|
|
33
|
+
readonly acceptDataRisksAndForceReplicaSetReconfig: pulumi.Output<string | undefined>;
|
|
30
34
|
readonly advancedConfiguration: pulumi.Output<outputs.AdvancedClusterAdvancedConfiguration>;
|
|
31
35
|
/**
|
|
32
36
|
* Flag that indicates whether the cluster can perform backups.
|
|
@@ -71,7 +75,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
71
75
|
*
|
|
72
76
|
* @deprecated this parameter is deprecated and will be removed by September 2024, please transition to tags
|
|
73
77
|
*/
|
|
74
|
-
readonly labels: pulumi.Output<outputs.AdvancedClusterLabel[]>;
|
|
78
|
+
readonly labels: pulumi.Output<outputs.AdvancedClusterLabel[] | undefined>;
|
|
75
79
|
/**
|
|
76
80
|
* Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `replication_specs#.region_configs#.<type>Specs.instance_size`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set `versionReleaseSystem` `CONTINUOUS`, the resource returns an error. Either clear this parameter or set `versionReleaseSystem`: `LTS`.
|
|
77
81
|
*/
|
|
@@ -84,7 +88,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
84
88
|
* Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. **WARNING** Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
|
|
85
89
|
*/
|
|
86
90
|
readonly name: pulumi.Output<string>;
|
|
87
|
-
readonly paused: pulumi.Output<boolean
|
|
91
|
+
readonly paused: pulumi.Output<boolean>;
|
|
88
92
|
/**
|
|
89
93
|
* Flag that indicates if the cluster uses Continuous Cloud Backup.
|
|
90
94
|
*/
|
|
@@ -126,7 +130,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
126
130
|
/**
|
|
127
131
|
* 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:
|
|
128
132
|
*/
|
|
129
|
-
readonly versionReleaseSystem: pulumi.Output<string
|
|
133
|
+
readonly versionReleaseSystem: pulumi.Output<string>;
|
|
130
134
|
/**
|
|
131
135
|
* Create a AdvancedCluster resource with the given unique name, arguments, and options.
|
|
132
136
|
*
|
|
@@ -140,6 +144,10 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
|
|
|
140
144
|
* Input properties used for looking up and filtering AdvancedCluster resources.
|
|
141
145
|
*/
|
|
142
146
|
export interface AdvancedClusterState {
|
|
147
|
+
/**
|
|
148
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
149
|
+
*/
|
|
150
|
+
acceptDataRisksAndForceReplicaSetReconfig?: pulumi.Input<string>;
|
|
143
151
|
advancedConfiguration?: pulumi.Input<inputs.AdvancedClusterAdvancedConfiguration>;
|
|
144
152
|
/**
|
|
145
153
|
* Flag that indicates whether the cluster can perform backups.
|
|
@@ -245,6 +253,10 @@ export interface AdvancedClusterState {
|
|
|
245
253
|
* The set of arguments for constructing a AdvancedCluster resource.
|
|
246
254
|
*/
|
|
247
255
|
export interface AdvancedClusterArgs {
|
|
256
|
+
/**
|
|
257
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
258
|
+
*/
|
|
259
|
+
acceptDataRisksAndForceReplicaSetReconfig?: pulumi.Input<string>;
|
|
248
260
|
advancedConfiguration?: pulumi.Input<inputs.AdvancedClusterAdvancedConfiguration>;
|
|
249
261
|
/**
|
|
250
262
|
* Flag that indicates whether the cluster can perform backups.
|
package/advancedCluster.js
CHANGED
|
@@ -43,6 +43,7 @@ class AdvancedCluster extends pulumi.CustomResource {
|
|
|
43
43
|
opts = opts || {};
|
|
44
44
|
if (opts.id) {
|
|
45
45
|
const state = argsOrState;
|
|
46
|
+
resourceInputs["acceptDataRisksAndForceReplicaSetReconfig"] = state ? state.acceptDataRisksAndForceReplicaSetReconfig : undefined;
|
|
46
47
|
resourceInputs["advancedConfiguration"] = state ? state.advancedConfiguration : undefined;
|
|
47
48
|
resourceInputs["backupEnabled"] = state ? state.backupEnabled : undefined;
|
|
48
49
|
resourceInputs["biConnectorConfig"] = state ? state.biConnectorConfig : undefined;
|
|
@@ -78,6 +79,7 @@ class AdvancedCluster extends pulumi.CustomResource {
|
|
|
78
79
|
if ((!args || args.replicationSpecs === undefined) && !opts.urn) {
|
|
79
80
|
throw new Error("Missing required property 'replicationSpecs'");
|
|
80
81
|
}
|
|
82
|
+
resourceInputs["acceptDataRisksAndForceReplicaSetReconfig"] = args ? args.acceptDataRisksAndForceReplicaSetReconfig : undefined;
|
|
81
83
|
resourceInputs["advancedConfiguration"] = args ? args.advancedConfiguration : undefined;
|
|
82
84
|
resourceInputs["backupEnabled"] = args ? args.backupEnabled : undefined;
|
|
83
85
|
resourceInputs["biConnectorConfig"] = args ? args.biConnectorConfig : undefined;
|
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;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG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ACtD,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhNL,0CAiNC;AAnMG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
|
package/cluster.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ export declare class Cluster 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 Cluster;
|
|
30
|
+
/**
|
|
31
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
32
|
+
*/
|
|
33
|
+
readonly acceptDataRisksAndForceReplicaSetReconfig: pulumi.Output<string | undefined>;
|
|
30
34
|
readonly advancedConfiguration: pulumi.Output<outputs.ClusterAdvancedConfiguration>;
|
|
31
35
|
readonly autoScalingComputeEnabled: pulumi.Output<boolean>;
|
|
32
36
|
/**
|
|
@@ -57,7 +61,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
57
61
|
* ```
|
|
58
62
|
* * The default value is false. M10 and above only.
|
|
59
63
|
*/
|
|
60
|
-
readonly backupEnabled: pulumi.Output<boolean
|
|
64
|
+
readonly backupEnabled: pulumi.Output<boolean>;
|
|
61
65
|
/**
|
|
62
66
|
* Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
|
|
63
67
|
*/
|
|
@@ -101,7 +105,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
101
105
|
*
|
|
102
106
|
* @deprecated this parameter is deprecated and will be removed by September 2024, please transition to tags
|
|
103
107
|
*/
|
|
104
|
-
readonly labels: pulumi.Output<outputs.ClusterLabel[]>;
|
|
108
|
+
readonly labels: pulumi.Output<outputs.ClusterLabel[] | undefined>;
|
|
105
109
|
/**
|
|
106
110
|
* 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.
|
|
107
111
|
*/
|
|
@@ -129,8 +133,8 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
129
133
|
/**
|
|
130
134
|
* Selects whether the cluster is a replica set or a sharded cluster. If you use the replicationSpecs parameter, you must set num_shards.
|
|
131
135
|
*/
|
|
132
|
-
readonly numShards: pulumi.Output<number
|
|
133
|
-
readonly paused: pulumi.Output<boolean
|
|
136
|
+
readonly numShards: pulumi.Output<number>;
|
|
137
|
+
readonly paused: pulumi.Output<boolean>;
|
|
134
138
|
/**
|
|
135
139
|
* Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, cloudBackup must also be set to true.
|
|
136
140
|
*/
|
|
@@ -224,7 +228,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
224
228
|
/**
|
|
225
229
|
* 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:
|
|
226
230
|
*/
|
|
227
|
-
readonly versionReleaseSystem: pulumi.Output<string
|
|
231
|
+
readonly versionReleaseSystem: pulumi.Output<string>;
|
|
228
232
|
/**
|
|
229
233
|
* Create a Cluster resource with the given unique name, arguments, and options.
|
|
230
234
|
*
|
|
@@ -238,6 +242,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
238
242
|
* Input properties used for looking up and filtering Cluster resources.
|
|
239
243
|
*/
|
|
240
244
|
export interface ClusterState {
|
|
245
|
+
/**
|
|
246
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
247
|
+
*/
|
|
248
|
+
acceptDataRisksAndForceReplicaSetReconfig?: pulumi.Input<string>;
|
|
241
249
|
advancedConfiguration?: pulumi.Input<inputs.ClusterAdvancedConfiguration>;
|
|
242
250
|
autoScalingComputeEnabled?: pulumi.Input<boolean>;
|
|
243
251
|
/**
|
|
@@ -441,6 +449,10 @@ export interface ClusterState {
|
|
|
441
449
|
* The set of arguments for constructing a Cluster resource.
|
|
442
450
|
*/
|
|
443
451
|
export interface ClusterArgs {
|
|
452
|
+
/**
|
|
453
|
+
* If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig` to the current date. Learn more about Reconfiguring a Replica Set during a regional outage [here](https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set).
|
|
454
|
+
*/
|
|
455
|
+
acceptDataRisksAndForceReplicaSetReconfig?: pulumi.Input<string>;
|
|
444
456
|
advancedConfiguration?: pulumi.Input<inputs.ClusterAdvancedConfiguration>;
|
|
445
457
|
autoScalingComputeEnabled?: pulumi.Input<boolean>;
|
|
446
458
|
/**
|
package/cluster.js
CHANGED
|
@@ -43,6 +43,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
43
43
|
opts = opts || {};
|
|
44
44
|
if (opts.id) {
|
|
45
45
|
const state = argsOrState;
|
|
46
|
+
resourceInputs["acceptDataRisksAndForceReplicaSetReconfig"] = state ? state.acceptDataRisksAndForceReplicaSetReconfig : undefined;
|
|
46
47
|
resourceInputs["advancedConfiguration"] = state ? state.advancedConfiguration : undefined;
|
|
47
48
|
resourceInputs["autoScalingComputeEnabled"] = state ? state.autoScalingComputeEnabled : undefined;
|
|
48
49
|
resourceInputs["autoScalingComputeScaleDownEnabled"] = state ? state.autoScalingComputeScaleDownEnabled : undefined;
|
|
@@ -99,6 +100,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
99
100
|
if ((!args || args.providerName === undefined) && !opts.urn) {
|
|
100
101
|
throw new Error("Missing required property 'providerName'");
|
|
101
102
|
}
|
|
103
|
+
resourceInputs["acceptDataRisksAndForceReplicaSetReconfig"] = args ? args.acceptDataRisksAndForceReplicaSetReconfig : undefined;
|
|
102
104
|
resourceInputs["advancedConfiguration"] = args ? args.advancedConfiguration : undefined;
|
|
103
105
|
resourceInputs["autoScalingComputeEnabled"] = args ? args.autoScalingComputeEnabled : undefined;
|
|
104
106
|
resourceInputs["autoScalingComputeScaleDownEnabled"] = args ? args.autoScalingComputeScaleDownEnabled : undefined;
|
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;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;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;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,I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C;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA5VL,0BA6VC;AA/UG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
package/getSearchIndexes.d.ts
CHANGED
|
@@ -23,11 +23,15 @@ export interface GetSearchIndexesArgs {
|
|
|
23
23
|
*/
|
|
24
24
|
database: string;
|
|
25
25
|
/**
|
|
26
|
-
* Number of items that Atlas returns per page, up to a maximum of 500.
|
|
26
|
+
* Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
|
|
27
|
+
*
|
|
28
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
27
29
|
*/
|
|
28
30
|
itemsPerPage?: number;
|
|
29
31
|
/**
|
|
30
|
-
* Page number, starting with one, that Atlas returns of the total number of objects.
|
|
32
|
+
* Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
|
|
33
|
+
*
|
|
34
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
31
35
|
*/
|
|
32
36
|
pageNum?: number;
|
|
33
37
|
/**
|
|
@@ -52,7 +56,13 @@ export interface GetSearchIndexesResult {
|
|
|
52
56
|
* The provider-assigned unique ID for this managed resource.
|
|
53
57
|
*/
|
|
54
58
|
readonly id: string;
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
61
|
+
*/
|
|
55
62
|
readonly itemsPerPage?: number;
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
65
|
+
*/
|
|
56
66
|
readonly pageNum?: number;
|
|
57
67
|
readonly projectId: string;
|
|
58
68
|
/**
|
|
@@ -87,11 +97,15 @@ export interface GetSearchIndexesOutputArgs {
|
|
|
87
97
|
*/
|
|
88
98
|
database: pulumi.Input<string>;
|
|
89
99
|
/**
|
|
90
|
-
* Number of items that Atlas returns per page, up to a maximum of 500.
|
|
100
|
+
* Number of items that Atlas returns per page, up to a maximum of 500. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
|
|
101
|
+
*
|
|
102
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
91
103
|
*/
|
|
92
104
|
itemsPerPage?: pulumi.Input<number>;
|
|
93
105
|
/**
|
|
94
|
-
* Page number, starting with one, that Atlas returns of the total number of objects.
|
|
106
|
+
* Page number, starting with one, that Atlas returns of the total number of objects. **WARNING:** this parameter is deprecated and will be removed in version 1.15.0
|
|
107
|
+
*
|
|
108
|
+
* @deprecated this parameter is deprecated and will be removed in version 1.15.0
|
|
95
109
|
*/
|
|
96
110
|
pageNum?: pulumi.Input<number>;
|
|
97
111
|
/**
|
package/getSearchIndexes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchIndexes.js","sourceRoot":"","sources":["../getSearchIndexes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;
|
|
1
|
+
{"version":3,"file":"getSearchIndexes.js","sourceRoot":"","sources":["../getSearchIndexes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AAuED;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/package.json
CHANGED
package/projectApiKey.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import * as outputs from "./types/output";
|
|
|
45
45
|
*
|
|
46
46
|
* ## Import
|
|
47
47
|
*
|
|
48
|
-
* API Keys must be imported using
|
|
48
|
+
* API Keys must be imported using project ID, API Key ID e.g.
|
|
49
49
|
*
|
|
50
50
|
* ```sh
|
|
51
51
|
* $ pulumi import mongodbatlas:index/projectApiKey:ProjectApiKey test 5d09d6a59ccf6445652a444a-6576974933969669
|
package/projectApiKey.js
CHANGED
|
@@ -49,7 +49,7 @@ const utilities = require("./utilities");
|
|
|
49
49
|
*
|
|
50
50
|
* ## Import
|
|
51
51
|
*
|
|
52
|
-
* API Keys must be imported using
|
|
52
|
+
* API Keys must be imported using project ID, API Key ID e.g.
|
|
53
53
|
*
|
|
54
54
|
* ```sh
|
|
55
55
|
* $ pulumi import mongodbatlas:index/projectApiKey:ProjectApiKey test 5d09d6a59ccf6445652a444a-6576974933969669
|
package/searchIndex.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ import * as outputs from "./types/output";
|
|
|
26
26
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
27
27
|
*
|
|
28
28
|
* const test_advanced_search_index = new mongodbatlas.SearchIndex("test-advanced-search-index", {
|
|
29
|
-
* projectId: "
|
|
30
|
-
* clusterName: "
|
|
29
|
+
* projectId: "<PROJECT_ID>",
|
|
30
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
31
31
|
* analyzer: "lucene.standard",
|
|
32
32
|
* collectionName: "collection_test",
|
|
33
33
|
* database: "database_test",
|
|
@@ -66,20 +66,20 @@ import * as outputs from "./types/output";
|
|
|
66
66
|
* searchAnalyzer: "lucene.standard",
|
|
67
67
|
* analyzers: ` [{
|
|
68
68
|
* "name": "index_analyzer_test_name",
|
|
69
|
-
* "charFilters": {
|
|
69
|
+
* "charFilters": [{
|
|
70
70
|
* "type": "mapping",
|
|
71
71
|
* "mappings": {"\\\\" : "/"}
|
|
72
|
-
* },
|
|
72
|
+
* }],
|
|
73
73
|
* "tokenizer": {
|
|
74
74
|
* "type": "nGram",
|
|
75
75
|
* "minGram": 2,
|
|
76
76
|
* "maxGram": 5
|
|
77
77
|
* },
|
|
78
|
-
* "tokenFilters": {
|
|
78
|
+
* "tokenFilters": [{
|
|
79
79
|
* "type": "length",
|
|
80
80
|
* "min": 20,
|
|
81
81
|
* "max": 33
|
|
82
|
-
* }
|
|
82
|
+
* }]
|
|
83
83
|
* }]
|
|
84
84
|
* `,
|
|
85
85
|
* synonyms: [{
|
package/searchIndex.js
CHANGED
|
@@ -30,8 +30,8 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
31
31
|
*
|
|
32
32
|
* const test_advanced_search_index = new mongodbatlas.SearchIndex("test-advanced-search-index", {
|
|
33
|
-
* projectId: "
|
|
34
|
-
* clusterName: "
|
|
33
|
+
* projectId: "<PROJECT_ID>",
|
|
34
|
+
* clusterName: "<CLUSTER_NAME>",
|
|
35
35
|
* analyzer: "lucene.standard",
|
|
36
36
|
* collectionName: "collection_test",
|
|
37
37
|
* database: "database_test",
|
|
@@ -70,20 +70,20 @@ const utilities = require("./utilities");
|
|
|
70
70
|
* searchAnalyzer: "lucene.standard",
|
|
71
71
|
* analyzers: ` [{
|
|
72
72
|
* "name": "index_analyzer_test_name",
|
|
73
|
-
* "charFilters": {
|
|
73
|
+
* "charFilters": [{
|
|
74
74
|
* "type": "mapping",
|
|
75
75
|
* "mappings": {"\\\\" : "/"}
|
|
76
|
-
* },
|
|
76
|
+
* }],
|
|
77
77
|
* "tokenizer": {
|
|
78
78
|
* "type": "nGram",
|
|
79
79
|
* "minGram": 2,
|
|
80
80
|
* "maxGram": 5
|
|
81
81
|
* },
|
|
82
|
-
* "tokenFilters": {
|
|
82
|
+
* "tokenFilters": [{
|
|
83
83
|
* "type": "length",
|
|
84
84
|
* "min": 20,
|
|
85
85
|
* "max": 33
|
|
86
|
-
* }
|
|
86
|
+
* }]
|
|
87
87
|
* }]
|
|
88
88
|
* `,
|
|
89
89
|
* synonyms: [{
|
package/types/output.d.ts
CHANGED
|
@@ -96,13 +96,13 @@ export interface AdvancedClusterLabel {
|
|
|
96
96
|
/**
|
|
97
97
|
* The key that you want to write.
|
|
98
98
|
*/
|
|
99
|
-
key
|
|
99
|
+
key?: string;
|
|
100
100
|
/**
|
|
101
101
|
* The value that you want to write.
|
|
102
102
|
*
|
|
103
103
|
* > **NOTE:** MongoDB Atlas doesn't display your labels.
|
|
104
104
|
*/
|
|
105
|
-
value
|
|
105
|
+
value?: string;
|
|
106
106
|
}
|
|
107
107
|
export interface AdvancedClusterReplicationSpec {
|
|
108
108
|
containerId: {
|
|
@@ -848,13 +848,13 @@ export interface ClusterLabel {
|
|
|
848
848
|
/**
|
|
849
849
|
* The key that you want to write.
|
|
850
850
|
*/
|
|
851
|
-
key
|
|
851
|
+
key?: string;
|
|
852
852
|
/**
|
|
853
853
|
* The value that you want to write.
|
|
854
854
|
*
|
|
855
855
|
* > **NOTE:** MongoDB Atlas doesn't display your labels.
|
|
856
856
|
*/
|
|
857
|
-
value
|
|
857
|
+
value?: string;
|
|
858
858
|
}
|
|
859
859
|
export interface ClusterOutageSimulationOutageFilter {
|
|
860
860
|
/**
|