@pulumi/mongodbatlas 3.1.1 → 3.2.0-alpha.1641575509

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.
Files changed (46) hide show
  1. package/cloudProviderSnapshot.d.ts +15 -0
  2. package/cloudProviderSnapshot.js +5 -0
  3. package/cloudProviderSnapshot.js.map +1 -1
  4. package/cloudProviderSnapshotRestoreJob.d.ts +2 -0
  5. package/cloudProviderSnapshotRestoreJob.js +2 -0
  6. package/cloudProviderSnapshotRestoreJob.js.map +1 -1
  7. package/cluster.d.ts +3 -3
  8. package/customDbRole.d.ts +1 -1
  9. package/customDbRole.js +1 -1
  10. package/getCloudProviderSnapshot.d.ts +2 -0
  11. package/getCloudProviderSnapshot.js +2 -0
  12. package/getCloudProviderSnapshot.js.map +1 -1
  13. package/getCloudProviderSnapshotRestoreJob.d.ts +2 -0
  14. package/getCloudProviderSnapshotRestoreJob.js +2 -0
  15. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  16. package/getCloudProviderSnapshotRestoreJobs.d.ts +2 -0
  17. package/getCloudProviderSnapshotRestoreJobs.js +2 -0
  18. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  19. package/getCloudProviderSnapshots.d.ts +22 -0
  20. package/getCloudProviderSnapshots.js +22 -0
  21. package/getCloudProviderSnapshots.js.map +1 -1
  22. package/getPrivateLinkEndpoint.d.ts +15 -3
  23. package/getPrivateLinkEndpoint.js.map +1 -1
  24. package/getPrivateLinkEndpointService.d.ts +10 -0
  25. package/getPrivateLinkEndpointService.js.map +1 -1
  26. package/getSearchIndex.d.ts +14 -6
  27. package/getSearchIndex.js.map +1 -1
  28. package/getThirdPartyIntegrations.d.ts +23 -0
  29. package/getThirdPartyIntegrations.js +23 -0
  30. package/getThirdPartyIntegrations.js.map +1 -1
  31. package/package.json +2 -2
  32. package/package.json.dev +1 -1
  33. package/privateLinkEndpoint.d.ts +36 -12
  34. package/privateLinkEndpoint.js +6 -0
  35. package/privateLinkEndpoint.js.map +1 -1
  36. package/privateLinkEndpointService.d.ts +113 -6
  37. package/privateLinkEndpointService.js +72 -0
  38. package/privateLinkEndpointService.js.map +1 -1
  39. package/project.d.ts +12 -0
  40. package/project.js +2 -0
  41. package/project.js.map +1 -1
  42. package/searchIndex.d.ts +106 -15
  43. package/searchIndex.js +71 -0
  44. package/searchIndex.js.map +1 -1
  45. package/types/input.d.ts +50 -12
  46. package/types/output.d.ts +85 -0
package/searchIndex.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
2
3
  /**
3
4
  * `mongodbatlas.SearchIndex` provides a Search Index resource. This allows indexes to be created.
4
5
  *
@@ -18,6 +19,75 @@ import * as pulumi from "@pulumi/pulumi";
18
19
  * searchAnalyzer: "lucene.standard",
19
20
  * });
20
21
  * ```
22
+ * ### Advanced (with custom analyzers)
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
26
+ *
27
+ * const test = new mongodbatlas.SearchIndex("test", {
28
+ * projectId: `%[1]s`,
29
+ * clusterName: `%[2]s`,
30
+ * analyzer: "lucene.standard",
31
+ * collectionName: "collection_test",
32
+ * database: "database_test",
33
+ * mappingsDynamic: false,
34
+ * mappingsFields: `{
35
+ * "address": {
36
+ * "type": "document",
37
+ * "fields": {
38
+ * "city": {
39
+ * "type": "string",
40
+ * "analyzer": "lucene.simple",
41
+ * "ignoreAbove": 255
42
+ * },
43
+ * "state": {
44
+ * "type": "string",
45
+ * "analyzer": "lucene.english"
46
+ * }
47
+ * }
48
+ * },
49
+ * "company": {
50
+ * "type": "string",
51
+ * "analyzer": "lucene.whitespace",
52
+ * "multi": {
53
+ * "mySecondaryAnalyzer": {
54
+ * "type": "string",
55
+ * "analyzer": "lucene.french"
56
+ * }
57
+ * }
58
+ * },
59
+ * "employees": {
60
+ * "type": "string",
61
+ * "analyzer": "lucene.standard"
62
+ * }
63
+ * }
64
+ * `,
65
+ * searchAnalyzer: "lucene.standard",
66
+ * analyzers: ` [{
67
+ * "name": "index_analyzer_test_name",
68
+ * "char_filters": {
69
+ * "type": "mapping",
70
+ * "mappings": {"\\" : "/"}
71
+ * },
72
+ * "tokenizer": {
73
+ * "type": "nGram",
74
+ * "min_gram": 2,
75
+ * "max_gram": 5
76
+ * },
77
+ * "token_filters": {
78
+ * "type": "length",
79
+ * "min": 20,
80
+ * "max": 33
81
+ * }
82
+ * }]
83
+ * `,
84
+ * synonyms: [{
85
+ * analyzer: "lucene.simple",
86
+ * name: "synonym_test",
87
+ * sourceCollection: "collection_test",
88
+ * }],
89
+ * });
90
+ * ```
21
91
  */
22
92
  export declare class SearchIndex extends pulumi.CustomResource {
23
93
  /**
@@ -36,7 +106,13 @@ export declare class SearchIndex extends pulumi.CustomResource {
36
106
  */
37
107
  static isInstance(obj: any): obj is SearchIndex;
38
108
  /**
39
- * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
109
+ * Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping. Atlas Search doesn't support these [custom analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) tokenizers and token filters in [analyzers used in synonym mappings](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#options):
110
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tokenizer-ref) Tokenizer
111
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tokenizer-ref) Tokenizers
112
+ * * [daitchMokotoffSoundex](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-daitchmokotoffsoundex-tf-ref) token filter
113
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tf-ref) token filter
114
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tf-ref) token filter
115
+ * * [shingle](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-shingle-tf-ref) token filter
40
116
  */
41
117
  readonly analyzer: pulumi.Output<string>;
42
118
  /**
@@ -65,10 +141,7 @@ export declare class SearchIndex extends pulumi.CustomResource {
65
141
  */
66
142
  readonly mappingsFields: pulumi.Output<string | undefined>;
67
143
  /**
68
- * Name of the custom analyzer. Names must be unique within an index, and may **not** start with any of the following strings:
69
- * * `lucene`
70
- * * `builtin`
71
- * * `mongodb`
144
+ * Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref). Name must be unique in this index definition and it can't be an empty string.
72
145
  */
73
146
  readonly name: pulumi.Output<string>;
74
147
  /**
@@ -80,6 +153,10 @@ export declare class SearchIndex extends pulumi.CustomResource {
80
153
  */
81
154
  readonly searchAnalyzer: pulumi.Output<string | undefined>;
82
155
  readonly status: pulumi.Output<string>;
156
+ /**
157
+ * Synonyms mapping definition to use in this index.
158
+ */
159
+ readonly synonyms: pulumi.Output<outputs.SearchIndexSynonym[] | undefined>;
83
160
  /**
84
161
  * Create a SearchIndex resource with the given unique name, arguments, and options.
85
162
  *
@@ -94,7 +171,13 @@ export declare class SearchIndex extends pulumi.CustomResource {
94
171
  */
95
172
  export interface SearchIndexState {
96
173
  /**
97
- * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
174
+ * Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping. Atlas Search doesn't support these [custom analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) tokenizers and token filters in [analyzers used in synonym mappings](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#options):
175
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tokenizer-ref) Tokenizer
176
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tokenizer-ref) Tokenizers
177
+ * * [daitchMokotoffSoundex](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-daitchmokotoffsoundex-tf-ref) token filter
178
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tf-ref) token filter
179
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tf-ref) token filter
180
+ * * [shingle](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-shingle-tf-ref) token filter
98
181
  */
99
182
  analyzer?: pulumi.Input<string>;
100
183
  /**
@@ -123,10 +206,7 @@ export interface SearchIndexState {
123
206
  */
124
207
  mappingsFields?: pulumi.Input<string>;
125
208
  /**
126
- * Name of the custom analyzer. Names must be unique within an index, and may **not** start with any of the following strings:
127
- * * `lucene`
128
- * * `builtin`
129
- * * `mongodb`
209
+ * Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref). Name must be unique in this index definition and it can't be an empty string.
130
210
  */
131
211
  name?: pulumi.Input<string>;
132
212
  /**
@@ -138,13 +218,23 @@ export interface SearchIndexState {
138
218
  */
139
219
  searchAnalyzer?: pulumi.Input<string>;
140
220
  status?: pulumi.Input<string>;
221
+ /**
222
+ * Synonyms mapping definition to use in this index.
223
+ */
224
+ synonyms?: pulumi.Input<pulumi.Input<inputs.SearchIndexSynonym>[]>;
141
225
  }
142
226
  /**
143
227
  * The set of arguments for constructing a SearchIndex resource.
144
228
  */
145
229
  export interface SearchIndexArgs {
146
230
  /**
147
- * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
231
+ * Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping. Atlas Search doesn't support these [custom analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) tokenizers and token filters in [analyzers used in synonym mappings](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#options):
232
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tokenizer-ref) Tokenizer
233
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tokenizer-ref) Tokenizers
234
+ * * [daitchMokotoffSoundex](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-daitchmokotoffsoundex-tf-ref) token filter
235
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tf-ref) token filter
236
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tf-ref) token filter
237
+ * * [shingle](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-shingle-tf-ref) token filter
148
238
  */
149
239
  analyzer: pulumi.Input<string>;
150
240
  /**
@@ -172,10 +262,7 @@ export interface SearchIndexArgs {
172
262
  */
173
263
  mappingsFields?: pulumi.Input<string>;
174
264
  /**
175
- * Name of the custom analyzer. Names must be unique within an index, and may **not** start with any of the following strings:
176
- * * `lucene`
177
- * * `builtin`
178
- * * `mongodb`
265
+ * Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref). Name must be unique in this index definition and it can't be an empty string.
179
266
  */
180
267
  name?: pulumi.Input<string>;
181
268
  /**
@@ -187,4 +274,8 @@ export interface SearchIndexArgs {
187
274
  */
188
275
  searchAnalyzer?: pulumi.Input<string>;
189
276
  status?: pulumi.Input<string>;
277
+ /**
278
+ * Synonyms mapping definition to use in this index.
279
+ */
280
+ synonyms?: pulumi.Input<pulumi.Input<inputs.SearchIndexSynonym>[]>;
190
281
  }
package/searchIndex.js CHANGED
@@ -24,6 +24,75 @@ const utilities = require("./utilities");
24
24
  * searchAnalyzer: "lucene.standard",
25
25
  * });
26
26
  * ```
27
+ * ### Advanced (with custom analyzers)
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
31
+ *
32
+ * const test = new mongodbatlas.SearchIndex("test", {
33
+ * projectId: `%[1]s`,
34
+ * clusterName: `%[2]s`,
35
+ * analyzer: "lucene.standard",
36
+ * collectionName: "collection_test",
37
+ * database: "database_test",
38
+ * mappingsDynamic: false,
39
+ * mappingsFields: `{
40
+ * "address": {
41
+ * "type": "document",
42
+ * "fields": {
43
+ * "city": {
44
+ * "type": "string",
45
+ * "analyzer": "lucene.simple",
46
+ * "ignoreAbove": 255
47
+ * },
48
+ * "state": {
49
+ * "type": "string",
50
+ * "analyzer": "lucene.english"
51
+ * }
52
+ * }
53
+ * },
54
+ * "company": {
55
+ * "type": "string",
56
+ * "analyzer": "lucene.whitespace",
57
+ * "multi": {
58
+ * "mySecondaryAnalyzer": {
59
+ * "type": "string",
60
+ * "analyzer": "lucene.french"
61
+ * }
62
+ * }
63
+ * },
64
+ * "employees": {
65
+ * "type": "string",
66
+ * "analyzer": "lucene.standard"
67
+ * }
68
+ * }
69
+ * `,
70
+ * searchAnalyzer: "lucene.standard",
71
+ * analyzers: ` [{
72
+ * "name": "index_analyzer_test_name",
73
+ * "char_filters": {
74
+ * "type": "mapping",
75
+ * "mappings": {"\\" : "/"}
76
+ * },
77
+ * "tokenizer": {
78
+ * "type": "nGram",
79
+ * "min_gram": 2,
80
+ * "max_gram": 5
81
+ * },
82
+ * "token_filters": {
83
+ * "type": "length",
84
+ * "min": 20,
85
+ * "max": 33
86
+ * }
87
+ * }]
88
+ * `,
89
+ * synonyms: [{
90
+ * analyzer: "lucene.simple",
91
+ * name: "synonym_test",
92
+ * sourceCollection: "collection_test",
93
+ * }],
94
+ * });
95
+ * ```
27
96
  */
28
97
  class SearchIndex extends pulumi.CustomResource {
29
98
  constructor(name, argsOrState, opts) {
@@ -43,6 +112,7 @@ class SearchIndex extends pulumi.CustomResource {
43
112
  resourceInputs["projectId"] = state ? state.projectId : undefined;
44
113
  resourceInputs["searchAnalyzer"] = state ? state.searchAnalyzer : undefined;
45
114
  resourceInputs["status"] = state ? state.status : undefined;
115
+ resourceInputs["synonyms"] = state ? state.synonyms : undefined;
46
116
  }
47
117
  else {
48
118
  const args = argsOrState;
@@ -72,6 +142,7 @@ class SearchIndex extends pulumi.CustomResource {
72
142
  resourceInputs["projectId"] = args ? args.projectId : undefined;
73
143
  resourceInputs["searchAnalyzer"] = args ? args.searchAnalyzer : undefined;
74
144
  resourceInputs["status"] = args ? args.status : undefined;
145
+ resourceInputs["synonyms"] = args ? args.synonyms : undefined;
75
146
  resourceInputs["indexId"] = undefined /*out*/;
76
147
  }
77
148
  if (!opts.version) {
@@ -1 +1 @@
1
- {"version":3,"file":"searchIndex.js","sourceRoot":"","sources":["../searchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAkFlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;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K,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IA7ID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA+IC;AAjIG,gBAAgB;AACO,wBAAY,GAAG,4CAA4C,CAAC"}
package/types/input.d.ts CHANGED
@@ -675,49 +675,49 @@ export interface GetCustomDbRoleInheritedRoleArgs {
675
675
  */
676
676
  roleName?: pulumi.Input<string>;
677
677
  }
678
- export interface GetGlobalClusterConfigManagedNamespace {
678
+ export interface GetGlobalClusterConfigManagedNamespaceArgs {
679
679
  /**
680
680
  * (Required) The name of the collection associated with the managed namespace.
681
681
  */
682
- collection: string;
682
+ collection: pulumi.Input<string>;
683
683
  /**
684
684
  * (Required) The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
685
685
  */
686
- customShardKey: string;
686
+ customShardKey: pulumi.Input<string>;
687
687
  /**
688
688
  * (Required) The name of the database containing the collection.
689
689
  */
690
- db: string;
690
+ db: pulumi.Input<string>;
691
691
  /**
692
692
  * Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
693
693
  */
694
- isCustomShardKeyHashed?: boolean;
694
+ isCustomShardKeyHashed?: pulumi.Input<boolean>;
695
695
  /**
696
696
  * Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
697
697
  */
698
- isShardKeyUnique?: boolean;
698
+ isShardKeyUnique?: pulumi.Input<boolean>;
699
699
  }
700
- export interface GetGlobalClusterConfigManagedNamespaceArgs {
700
+ export interface GetGlobalClusterConfigManagedNamespace {
701
701
  /**
702
702
  * (Required) The name of the collection associated with the managed namespace.
703
703
  */
704
- collection: pulumi.Input<string>;
704
+ collection: string;
705
705
  /**
706
706
  * (Required) The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
707
707
  */
708
- customShardKey: pulumi.Input<string>;
708
+ customShardKey: string;
709
709
  /**
710
710
  * (Required) The name of the database containing the collection.
711
711
  */
712
- db: pulumi.Input<string>;
712
+ db: string;
713
713
  /**
714
714
  * Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
715
715
  */
716
- isCustomShardKeyHashed?: pulumi.Input<boolean>;
716
+ isCustomShardKeyHashed?: boolean;
717
717
  /**
718
718
  * Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
719
719
  */
720
- isShardKeyUnique?: pulumi.Input<boolean>;
720
+ isShardKeyUnique?: boolean;
721
721
  }
722
722
  export interface GlobalClusterConfigCustomZoneMapping {
723
723
  /**
@@ -779,6 +779,24 @@ export interface OnlineArchivePartitionField {
779
779
  fieldType?: pulumi.Input<string>;
780
780
  order: pulumi.Input<number>;
781
781
  }
782
+ export interface PrivateLinkEndpointServiceEndpoint {
783
+ /**
784
+ * Forwarding rule that corresponds to the endpoint you created in GCP.
785
+ */
786
+ endpointName?: pulumi.Input<string>;
787
+ /**
788
+ * Private IP address of the endpoint you created in GCP.
789
+ */
790
+ ipAddress?: pulumi.Input<string>;
791
+ /**
792
+ * Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
793
+ */
794
+ serviceAttachmentName?: pulumi.Input<string>;
795
+ /**
796
+ * Status of the endpoint. Atlas returns one of the [values shown above](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/#std-label-ref-status-field).
797
+ */
798
+ status?: pulumi.Input<string>;
799
+ }
782
800
  export interface ProjectTeam {
783
801
  /**
784
802
  * Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team.
@@ -796,6 +814,26 @@ export interface ProjectTeam {
796
814
  */
797
815
  teamId: pulumi.Input<string>;
798
816
  }
817
+ export interface SearchIndexSynonym {
818
+ /**
819
+ * Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping. Atlas Search doesn't support these [custom analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) tokenizers and token filters in [analyzers used in synonym mappings](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#options):
820
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tokenizer-ref) Tokenizer
821
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tokenizer-ref) Tokenizers
822
+ * * [daitchMokotoffSoundex](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-daitchmokotoffsoundex-tf-ref) token filter
823
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tf-ref) token filter
824
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tf-ref) token filter
825
+ * * [shingle](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-shingle-tf-ref) token filter
826
+ */
827
+ analyzer: pulumi.Input<string>;
828
+ /**
829
+ * Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref). Name must be unique in this index definition and it can't be an empty string.
830
+ */
831
+ name: pulumi.Input<string>;
832
+ /**
833
+ * Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
834
+ */
835
+ sourceCollection: pulumi.Input<string>;
836
+ }
799
837
  export interface X509AuthenticationDatabaseUserCertificate {
800
838
  createdAt?: pulumi.Input<string>;
801
839
  groupId?: pulumi.Input<string>;
package/types/output.d.ts CHANGED
@@ -2085,6 +2085,24 @@ export interface GetOnlineArchivesResultPartitionField {
2085
2085
  fieldType: string;
2086
2086
  order: number;
2087
2087
  }
2088
+ export interface GetPrivateLinkEndpointServiceEndpoint {
2089
+ /**
2090
+ * Forwarding rule that corresponds to the endpoint you created in GCP.
2091
+ */
2092
+ endpointName: string;
2093
+ /**
2094
+ * Private IP address of the network endpoint group you created in GCP.
2095
+ */
2096
+ ipAddress: string;
2097
+ /**
2098
+ * Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
2099
+ */
2100
+ serviceAttachmentName: string;
2101
+ /**
2102
+ * Status of the endpoint. Atlas returns one of the [values shown above](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/#std-label-ref-status-field).
2103
+ */
2104
+ status: string;
2105
+ }
2088
2106
  export interface GetProjectTeam {
2089
2107
  roleNames: string[];
2090
2108
  teamId: string;
@@ -2121,6 +2139,17 @@ export interface GetProjectsResultTeam {
2121
2139
  roleNames: string[];
2122
2140
  teamId: string;
2123
2141
  }
2142
+ export interface GetSearchIndexSynonym {
2143
+ /**
2144
+ * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
2145
+ */
2146
+ analyzer: string;
2147
+ /**
2148
+ * Name of the index.
2149
+ */
2150
+ name: string;
2151
+ sourceCollection: string;
2152
+ }
2124
2153
  export interface GetSearchIndexesResult {
2125
2154
  /**
2126
2155
  * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
@@ -2164,6 +2193,24 @@ export interface GetSearchIndexesResult {
2164
2193
  */
2165
2194
  searchAnalyzer?: string;
2166
2195
  status: string;
2196
+ /**
2197
+ * Synonyms mapping definition to use in this index.
2198
+ * * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
2199
+ * * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
2200
+ * * `synonyms.#.analyzer` - Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping.
2201
+ */
2202
+ synonyms?: outputs.GetSearchIndexesResultSynonym[];
2203
+ }
2204
+ export interface GetSearchIndexesResultSynonym {
2205
+ /**
2206
+ * [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index.
2207
+ */
2208
+ analyzer: string;
2209
+ /**
2210
+ * Name of the index.
2211
+ */
2212
+ name: string;
2213
+ sourceCollection: string;
2167
2214
  }
2168
2215
  export interface GetThirdPartyIntegrationsResult {
2169
2216
  /**
@@ -2294,6 +2341,24 @@ export interface OnlineArchivePartitionField {
2294
2341
  fieldType: string;
2295
2342
  order: number;
2296
2343
  }
2344
+ export interface PrivateLinkEndpointServiceEndpoint {
2345
+ /**
2346
+ * Forwarding rule that corresponds to the endpoint you created in GCP.
2347
+ */
2348
+ endpointName?: string;
2349
+ /**
2350
+ * Private IP address of the endpoint you created in GCP.
2351
+ */
2352
+ ipAddress?: string;
2353
+ /**
2354
+ * Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
2355
+ */
2356
+ serviceAttachmentName: string;
2357
+ /**
2358
+ * Status of the endpoint. Atlas returns one of the [values shown above](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/#std-label-ref-status-field).
2359
+ */
2360
+ status: string;
2361
+ }
2297
2362
  export interface ProjectTeam {
2298
2363
  /**
2299
2364
  * Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team.
@@ -2311,6 +2376,26 @@ export interface ProjectTeam {
2311
2376
  */
2312
2377
  teamId: string;
2313
2378
  }
2379
+ export interface SearchIndexSynonym {
2380
+ /**
2381
+ * Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping. Atlas Search doesn't support these [custom analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) tokenizers and token filters in [analyzers used in synonym mappings](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#options):
2382
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tokenizer-ref) Tokenizer
2383
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tokenizer-ref) Tokenizers
2384
+ * * [daitchMokotoffSoundex](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-daitchmokotoffsoundex-tf-ref) token filter
2385
+ * * [nGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-ngram-tf-ref) token filter
2386
+ * * [edgeGram](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-edgegram-tf-ref) token filter
2387
+ * * [shingle](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-shingle-tf-ref) token filter
2388
+ */
2389
+ analyzer: string;
2390
+ /**
2391
+ * Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref). Name must be unique in this index definition and it can't be an empty string.
2392
+ */
2393
+ name: string;
2394
+ /**
2395
+ * Name of the source MongoDB collection for the synonyms. Documents in this collection must be in the format described in the [Synonyms Source Collection Documents](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-coll-spec).
2396
+ */
2397
+ sourceCollection: string;
2398
+ }
2314
2399
  export interface X509AuthenticationDatabaseUserCertificate {
2315
2400
  createdAt: string;
2316
2401
  groupId: string;