@pulumi/mongodbatlas 4.12.0-alpha.1784012018 → 4.12.0

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/advancedCluster.d.ts +40 -3
  2. package/advancedCluster.d.ts.map +1 -1
  3. package/advancedCluster.js +34 -0
  4. package/advancedCluster.js.map +1 -1
  5. package/getProject.d.ts +12 -0
  6. package/getProject.d.ts.map +1 -1
  7. package/getProject.js.map +1 -1
  8. package/getStreamConnectionFailover.d.ts +136 -0
  9. package/getStreamConnectionFailover.d.ts.map +1 -0
  10. package/getStreamConnectionFailover.js +93 -0
  11. package/getStreamConnectionFailover.js.map +1 -0
  12. package/getStreamConnectionFailovers.d.ts +104 -0
  13. package/getStreamConnectionFailovers.d.ts.map +1 -0
  14. package/getStreamConnectionFailovers.js +89 -0
  15. package/getStreamConnectionFailovers.js.map +1 -0
  16. package/getStreamProcessor.d.ts +4 -0
  17. package/getStreamProcessor.d.ts.map +1 -1
  18. package/getStreamProcessor.js.map +1 -1
  19. package/getStreamWorkspace.d.ts +1 -0
  20. package/getStreamWorkspace.d.ts.map +1 -1
  21. package/getStreamWorkspace.js.map +1 -1
  22. package/index.d.ts +9 -0
  23. package/index.d.ts.map +1 -1
  24. package/index.js +13 -2
  25. package/index.js.map +1 -1
  26. package/package.json +2 -2
  27. package/project.d.ts +37 -1
  28. package/project.d.ts.map +1 -1
  29. package/project.js +7 -1
  30. package/project.js.map +1 -1
  31. package/streamConnectionFailover.d.ts +306 -0
  32. package/streamConnectionFailover.d.ts.map +1 -0
  33. package/streamConnectionFailover.js +193 -0
  34. package/streamConnectionFailover.js.map +1 -0
  35. package/streamProcessor.d.ts +12 -0
  36. package/streamProcessor.d.ts.map +1 -1
  37. package/streamProcessor.js +2 -0
  38. package/streamProcessor.js.map +1 -1
  39. package/streamWorkspace.d.ts +41 -3
  40. package/streamWorkspace.d.ts.map +1 -1
  41. package/streamWorkspace.js +22 -0
  42. package/streamWorkspace.js.map +1 -1
  43. package/types/input.d.ts +120 -2
  44. package/types/input.d.ts.map +1 -1
  45. package/types/output.d.ts +400 -4
  46. package/types/output.d.ts.map +1 -1
@@ -491,6 +491,22 @@ import * as outputs from "./types/output";
491
491
  *
492
492
  * More information about moving resources can be found in our Migration Guide and in the Terraform documentation here and here.
493
493
  *
494
+ * ## Multi-shard clusters and topology changes
495
+ *
496
+ * This section applies to clusters with more than one `replicationSpecs` entry.
497
+ *
498
+ * **Known issues:**
499
+ *
500
+ * - **Effective fields:** For clusters with more than one `replicationSpecs` entry, setting `useEffectiveFields = true` currently has no effect. The resulting behavior is the same as leaving the attribute unset or setting it to `false`. We recommend that you do not enable this attribute for multi-shard clusters.
501
+ * - **Topology changes:** The update path currently relies on list position to correlate each `replicationSpecs` entry with a shard. If you add, remove, or reorder entries, an existing configuration might be associated with a different Atlas shard than intended.
502
+ *
503
+ * When updating a multi-shard cluster, follow this guidance:
504
+ *
505
+ * - Keep existing `replicationSpecs` entries in the same order when updating a multi-shard cluster.
506
+ * - Add new shards only after the existing entries, and keep the existing entries unchanged in the same update.
507
+ * - If auto-scaling is enabled, do not rely on list-index `lifecycle.ignore_changes` to preserve Atlas-managed `instanceSize`, `diskSizeGb`, or `diskIops` values when changing the shard topology.
508
+ * - Before removing a shard or making other significant production topology changes, we recommend that you contact [MongoDB Support](https://www.mongodb.com/docs/atlas/support/#request-support).
509
+ *
494
510
  * ## Auto-Scaling with Effective Fields
495
511
  *
496
512
  * The `useEffectiveFields` attribute enhances auto-scaling workflows by eliminating the need for `lifecycle.ignore_changes` blocks and providing visibility into Atlas-managed changes. This feature only applies to dedicated clusters (M10+) and is not supported for flex and tenant clusters.
@@ -537,6 +553,24 @@ import * as outputs from "./types/output";
537
553
  *
538
554
  * This workflow allows you to set specific baseline values from which auto-scaling will resume dynamic adjustments based on workload.
539
555
  *
556
+ * ### Adjusting the Auto-Scaling Range with useEffectiveFields
557
+ *
558
+ * Changing the compute auto-scaling range (`computeMinInstanceSize` or `computeMaxInstanceSize`) requires extra care when the new range would no longer contain the cluster's **current effective** instance size. This includes:
559
+ *
560
+ * - Raising `computeMinInstanceSize` above the effective size.
561
+ * - Lowering `computeMaxInstanceSize` below the effective size.
562
+ *
563
+ * Atlas validates the new range against the current effective instance size, so attempting either in a single apply fails with a validation error from Atlas. Updating `instanceSize` in the same apply as changing the range does not avoid the error, because the updated `instanceSize` value is not applied while auto-scaling is enabled with `useEffectiveFields = true`.
564
+ *
565
+ * To adjust the range when the new range would exclude the current effective instance size, move the effective instance size into the new range before changing the bounds:
566
+ *
567
+ * 1. Disable auto-scaling and set `instanceSize` to a value inside your intended new range, then apply. Follow the Manually Updating Specs with useEffectiveFields workflow, which also covers disabling disk auto-scaling and the related `oplogMinRetentionHours` requirement.
568
+ * 2. Re-enable auto-scaling with the new `computeMinInstanceSize` and `computeMaxInstanceSize` bounds, then apply.
569
+ *
570
+ * The same process applies to the `analyticsAutoScaling` block, using `analytics_specs.instance_size` in step 1.
571
+ *
572
+ * > **NOTE:** This multi-step process is only required while the current effective instance size would fall outside the new range. If the new range still contains the effective size, you can change the bounds in a single apply.
573
+ *
540
574
  * ### Terraform Modules
541
575
  *
542
576
  * `useEffectiveFields` is particularly valuable for reusable Terraform modules. Without it, separate module implementations are required (one with lifecycle blocks for auto-scaling, one without). With `useEffectiveFields`, a single module handles both scenarios without lifecycle blocks. See the Effective Fields Examples for complete implementations.
@@ -708,7 +742,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
708
742
  */
709
743
  readonly replicaSetScalingStrategy: pulumi.Output<string>;
710
744
  /**
711
- * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. See below.
745
+ * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. If this list contains more than one entry, review Multi-shard clusters and topology changes before adding, removing, or reordering entries. See below.
712
746
  */
713
747
  readonly replicationSpecs: pulumi.Output<outputs.AdvancedClusterReplicationSpec[]>;
714
748
  /**
@@ -752,6 +786,7 @@ export declare class AdvancedCluster extends pulumi.CustomResource {
752
786
  readonly useAwsTimeBasedSnapshotCopyForFastInitialSync: pulumi.Output<boolean>;
753
787
  /**
754
788
  * Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This opt-in feature enhances auto-scaling workflows by eliminating the need for `lifecycle.ignore_changes` blocks and preventing plan drift from Atlas-managed changes. This attribute applies to dedicated clusters, not to tenant or flex clusters. This attribute will be deprecated in provider version 2.x and removed in 3.x when the new behavior becomes default. See Auto-Scaling with Effective Fields for more details.
789
+ * If your cluster has more than one `replicationSpecs` entry, see Multi-shard clusters and topology changes before enabling this attribute.
755
790
  * **Important:** Toggle this flag and remove any existing `lifecycle.ignore_changes` blocks for spec fields in the same apply, without combining other changes. Toggling will result in increased plan verbosity with `(known after apply)` markers, which can be safely ignored. If you previously removed `readOnlySpecs` or `analyticsSpecs` attributes from your configuration, you'll get a validation error for safety reasons to prevent accidental node loss. To resolve: add the blocks back (to keep nodes) or with `nodeCount = 0` (to delete nodes), apply without toggling the flag, then toggle in a separate apply.
756
791
  */
757
792
  readonly useEffectiveFields: pulumi.Output<boolean | undefined>;
@@ -891,7 +926,7 @@ export interface AdvancedClusterState {
891
926
  */
892
927
  replicaSetScalingStrategy?: pulumi.Input<string | undefined>;
893
928
  /**
894
- * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. See below.
929
+ * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. If this list contains more than one entry, review Multi-shard clusters and topology changes before adding, removing, or reordering entries. See below.
895
930
  */
896
931
  replicationSpecs?: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[] | undefined>;
897
932
  /**
@@ -935,6 +970,7 @@ export interface AdvancedClusterState {
935
970
  useAwsTimeBasedSnapshotCopyForFastInitialSync?: pulumi.Input<boolean | undefined>;
936
971
  /**
937
972
  * Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This opt-in feature enhances auto-scaling workflows by eliminating the need for `lifecycle.ignore_changes` blocks and preventing plan drift from Atlas-managed changes. This attribute applies to dedicated clusters, not to tenant or flex clusters. This attribute will be deprecated in provider version 2.x and removed in 3.x when the new behavior becomes default. See Auto-Scaling with Effective Fields for more details.
973
+ * If your cluster has more than one `replicationSpecs` entry, see Multi-shard clusters and topology changes before enabling this attribute.
938
974
  * **Important:** Toggle this flag and remove any existing `lifecycle.ignore_changes` blocks for spec fields in the same apply, without combining other changes. Toggling will result in increased plan verbosity with `(known after apply)` markers, which can be safely ignored. If you previously removed `readOnlySpecs` or `analyticsSpecs` attributes from your configuration, you'll get a validation error for safety reasons to prevent accidental node loss. To resolve: add the blocks back (to keep nodes) or with `nodeCount = 0` (to delete nodes), apply without toggling the flag, then toggle in a separate apply.
939
975
  */
940
976
  useEffectiveFields?: pulumi.Input<boolean | undefined>;
@@ -1046,7 +1082,7 @@ export interface AdvancedClusterArgs {
1046
1082
  */
1047
1083
  replicaSetScalingStrategy?: pulumi.Input<string | undefined>;
1048
1084
  /**
1049
- * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. See below.
1085
+ * List of settings that configure your cluster regions. This attribute has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. The `replicationSpecs` configuration for all shards within the same zone must be the same, with the exception of `instanceSize` and `diskIops` that can scale independently. Note that independent `diskIops` values are supported for AWS Gen2 STANDARD (gp3) clusters, AWS PROVISIONED (io2) clusters, AWS HIGH_PERFORMANCE (Gen 2 io2) clusters, and Azure regions that support Extended IOPS. If this list contains more than one entry, review Multi-shard clusters and topology changes before adding, removing, or reordering entries. See below.
1050
1086
  */
1051
1087
  replicationSpecs: pulumi.Input<pulumi.Input<inputs.AdvancedClusterReplicationSpec>[]>;
1052
1088
  /**
@@ -1079,6 +1115,7 @@ export interface AdvancedClusterArgs {
1079
1115
  useAwsTimeBasedSnapshotCopyForFastInitialSync?: pulumi.Input<boolean | undefined>;
1080
1116
  /**
1081
1117
  * Controls how hardware specification fields are returned in the response. When set to true, the non-effective specs (`electableSpecs`, `readOnlySpecs`, `analyticsSpecs`) fields return the hardware specifications that the client provided. When set to false (default), the non-effective specs fields show the **current** hardware specifications. Cluster auto-scaling is the primary cause for differences between initial and current hardware specifications. This opt-in feature enhances auto-scaling workflows by eliminating the need for `lifecycle.ignore_changes` blocks and preventing plan drift from Atlas-managed changes. This attribute applies to dedicated clusters, not to tenant or flex clusters. This attribute will be deprecated in provider version 2.x and removed in 3.x when the new behavior becomes default. See Auto-Scaling with Effective Fields for more details.
1118
+ * If your cluster has more than one `replicationSpecs` entry, see Multi-shard clusters and topology changes before enabling this attribute.
1082
1119
  * **Important:** Toggle this flag and remove any existing `lifecycle.ignore_changes` blocks for spec fields in the same apply, without combining other changes. Toggling will result in increased plan verbosity with `(known after apply)` markers, which can be safely ignored. If you previously removed `readOnlySpecs` or `analyticsSpecs` attributes from your configuration, you'll get a validation error for safety reasons to prevent accidental node loss. To resolve: add the blocks back (to keep nodes) or with `nodeCount = 0` (to delete nodes), apply without toggling the flag, then toggle in a separate apply.
1083
1120
  */
1084
1121
  useEffectiveFields?: pulumi.Input<boolean | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"advancedCluster.d.ts","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AO,GAAG,SAAS,CAAC,CAAC;IAClF;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACvD;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3D"}
@@ -518,6 +518,22 @@ const utilities = __importStar(require("./utilities"));
518
518
  *
519
519
  * More information about moving resources can be found in our Migration Guide and in the Terraform documentation here and here.
520
520
  *
521
+ * ## Multi-shard clusters and topology changes
522
+ *
523
+ * This section applies to clusters with more than one `replicationSpecs` entry.
524
+ *
525
+ * **Known issues:**
526
+ *
527
+ * - **Effective fields:** For clusters with more than one `replicationSpecs` entry, setting `useEffectiveFields = true` currently has no effect. The resulting behavior is the same as leaving the attribute unset or setting it to `false`. We recommend that you do not enable this attribute for multi-shard clusters.
528
+ * - **Topology changes:** The update path currently relies on list position to correlate each `replicationSpecs` entry with a shard. If you add, remove, or reorder entries, an existing configuration might be associated with a different Atlas shard than intended.
529
+ *
530
+ * When updating a multi-shard cluster, follow this guidance:
531
+ *
532
+ * - Keep existing `replicationSpecs` entries in the same order when updating a multi-shard cluster.
533
+ * - Add new shards only after the existing entries, and keep the existing entries unchanged in the same update.
534
+ * - If auto-scaling is enabled, do not rely on list-index `lifecycle.ignore_changes` to preserve Atlas-managed `instanceSize`, `diskSizeGb`, or `diskIops` values when changing the shard topology.
535
+ * - Before removing a shard or making other significant production topology changes, we recommend that you contact [MongoDB Support](https://www.mongodb.com/docs/atlas/support/#request-support).
536
+ *
521
537
  * ## Auto-Scaling with Effective Fields
522
538
  *
523
539
  * The `useEffectiveFields` attribute enhances auto-scaling workflows by eliminating the need for `lifecycle.ignore_changes` blocks and providing visibility into Atlas-managed changes. This feature only applies to dedicated clusters (M10+) and is not supported for flex and tenant clusters.
@@ -564,6 +580,24 @@ const utilities = __importStar(require("./utilities"));
564
580
  *
565
581
  * This workflow allows you to set specific baseline values from which auto-scaling will resume dynamic adjustments based on workload.
566
582
  *
583
+ * ### Adjusting the Auto-Scaling Range with useEffectiveFields
584
+ *
585
+ * Changing the compute auto-scaling range (`computeMinInstanceSize` or `computeMaxInstanceSize`) requires extra care when the new range would no longer contain the cluster's **current effective** instance size. This includes:
586
+ *
587
+ * - Raising `computeMinInstanceSize` above the effective size.
588
+ * - Lowering `computeMaxInstanceSize` below the effective size.
589
+ *
590
+ * Atlas validates the new range against the current effective instance size, so attempting either in a single apply fails with a validation error from Atlas. Updating `instanceSize` in the same apply as changing the range does not avoid the error, because the updated `instanceSize` value is not applied while auto-scaling is enabled with `useEffectiveFields = true`.
591
+ *
592
+ * To adjust the range when the new range would exclude the current effective instance size, move the effective instance size into the new range before changing the bounds:
593
+ *
594
+ * 1. Disable auto-scaling and set `instanceSize` to a value inside your intended new range, then apply. Follow the Manually Updating Specs with useEffectiveFields workflow, which also covers disabling disk auto-scaling and the related `oplogMinRetentionHours` requirement.
595
+ * 2. Re-enable auto-scaling with the new `computeMinInstanceSize` and `computeMaxInstanceSize` bounds, then apply.
596
+ *
597
+ * The same process applies to the `analyticsAutoScaling` block, using `analytics_specs.instance_size` in step 1.
598
+ *
599
+ * > **NOTE:** This multi-step process is only required while the current effective instance size would fall outside the new range. If the new range still contains the effective size, you can change the bounds in a single apply.
600
+ *
567
601
  * ### Terraform Modules
568
602
  *
569
603
  * `useEffectiveFields` is particularly valuable for reusable Terraform modules. Without it, separate module implementations are required (one with lifecycle blocks for auto-scaling, one without). With `useEffectiveFields`, a single module handles both scenarios without lifecycle blocks. See the Effective Fields Examples for complete implementations.
@@ -1 +1 @@
1
- {"version":3,"file":"advancedCluster.js","sourceRoot":"","sources":["../advancedCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,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;;AAnSL,0CAoSC"}
package/getProject.d.ts CHANGED
@@ -80,6 +80,10 @@ export interface GetProjectResult {
80
80
  * @deprecated This parameter is deprecated. Please transition to mongodbatlas.getProjectIpAddresses data source.
81
81
  */
82
82
  readonly ipAddresses: outputs.GetProjectIpAddresses;
83
+ /**
84
+ * Flag that indicates whether the AI Assistant is enabled for the project's clusters.
85
+ */
86
+ readonly isClusterAiAssistantEnabled: boolean;
83
87
  /**
84
88
  * Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
85
89
  */
@@ -88,6 +92,14 @@ export interface GetProjectResult {
88
92
  * Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface.
89
93
  */
90
94
  readonly isDataExplorerEnabled: boolean;
95
+ /**
96
+ * Flag that indicates whether generative AI features are enabled in the Data Explorer for the project.
97
+ */
98
+ readonly isDataExplorerGenAiFeaturesEnabled: boolean;
99
+ /**
100
+ * Flag that indicates whether passing sample documents to generative AI features in the Data Explorer is enabled for the project.
101
+ */
102
+ readonly isDataExplorerGenAiSampleDocumentPassingEnabled: boolean;
91
103
  /**
92
104
  * Flag that indicates whether to enable extended storage sizes for the specified project.
93
105
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getProject.d.ts","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAOxG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,qBAAqB,CAAC;IACpD;;OAEG;IACH,QAAQ,CAAC,2CAA2C,EAAE,OAAO,CAAC;IAC9D;;OAEG;IACH,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,6BAA6B,EAAE,OAAO,CAAC;IAChD;;OAEG;IACH,QAAQ,CAAC,2BAA2B,EAAE,OAAO,CAAC;IAC9C;;OAEG;IACH,Q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AC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAkHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.StreamConnectionFailover` describes a failover (regional-alternate) connection for an existing stream connection. It is looked up by its parent `connectionName` and its computed `failoverConnectionId`. Only `Kafka` and `Cluster` connection types support failover.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ### S
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
13
+ *
14
+ * // Reads a single failover connection by its ID.
15
+ * const example = mongodbatlas.getStreamConnectionFailover({
16
+ * projectId: projectId,
17
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
18
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
19
+ * failoverConnectionId: exampleMongodbatlasStreamConnectionFailover.failoverConnectionId,
20
+ * });
21
+ * export const failoverBootstrapServers = example.then(example => example.bootstrapServers);
22
+ * ```
23
+ */
24
+ export declare function getStreamConnectionFailover(args: GetStreamConnectionFailoverArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamConnectionFailoverResult>;
25
+ /**
26
+ * A collection of arguments for invoking getStreamConnectionFailover.
27
+ */
28
+ export interface GetStreamConnectionFailoverArgs {
29
+ /**
30
+ * Label that identifies the stream connection.
31
+ */
32
+ connectionName: string;
33
+ /**
34
+ * Label that identifies the stream failover connection id.
35
+ */
36
+ failoverConnectionId: string;
37
+ /**
38
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
39
+ */
40
+ projectId: string;
41
+ /**
42
+ * Label that identifies the stream workspace.
43
+ */
44
+ workspaceName: string;
45
+ }
46
+ /**
47
+ * A collection of values returned by getStreamConnectionFailover.
48
+ */
49
+ export interface GetStreamConnectionFailoverResult {
50
+ readonly authentication: outputs.GetStreamConnectionFailoverAuthentication;
51
+ readonly bootstrapServers: string;
52
+ readonly clusterName: string;
53
+ readonly clusterProjectId: string;
54
+ readonly config: {
55
+ [key: string]: string;
56
+ };
57
+ /**
58
+ * Label that identifies the stream connection.
59
+ */
60
+ readonly connectionName: string;
61
+ readonly dbRoleToExecute: outputs.GetStreamConnectionFailoverDbRoleToExecute;
62
+ /**
63
+ * Label that identifies the stream failover connection id.
64
+ */
65
+ readonly failoverConnectionId: string;
66
+ /**
67
+ * The provider-assigned unique ID for this managed resource.
68
+ */
69
+ readonly id: string;
70
+ readonly networking: outputs.GetStreamConnectionFailoverNetworking;
71
+ /**
72
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
73
+ */
74
+ readonly projectId: string;
75
+ /**
76
+ * The connection's region.
77
+ */
78
+ readonly region: string;
79
+ readonly security: outputs.GetStreamConnectionFailoverSecurity;
80
+ /**
81
+ * The state of the connection.
82
+ */
83
+ readonly state: string;
84
+ /**
85
+ * Type of the connection.
86
+ */
87
+ readonly type: string;
88
+ /**
89
+ * Label that identifies the stream workspace.
90
+ */
91
+ readonly workspaceName: string;
92
+ }
93
+ /**
94
+ * `mongodbatlas.StreamConnectionFailover` describes a failover (regional-alternate) connection for an existing stream connection. It is looked up by its parent `connectionName` and its computed `failoverConnectionId`. Only `Kafka` and `Cluster` connection types support failover.
95
+ *
96
+ * ## Example Usage
97
+ *
98
+ * ### S
99
+ *
100
+ * ```typescript
101
+ * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
103
+ *
104
+ * // Reads a single failover connection by its ID.
105
+ * const example = mongodbatlas.getStreamConnectionFailover({
106
+ * projectId: projectId,
107
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
108
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
109
+ * failoverConnectionId: exampleMongodbatlasStreamConnectionFailover.failoverConnectionId,
110
+ * });
111
+ * export const failoverBootstrapServers = example.then(example => example.bootstrapServers);
112
+ * ```
113
+ */
114
+ export declare function getStreamConnectionFailoverOutput(args: GetStreamConnectionFailoverOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamConnectionFailoverResult>;
115
+ /**
116
+ * A collection of arguments for invoking getStreamConnectionFailover.
117
+ */
118
+ export interface GetStreamConnectionFailoverOutputArgs {
119
+ /**
120
+ * Label that identifies the stream connection.
121
+ */
122
+ connectionName: pulumi.Input<string>;
123
+ /**
124
+ * Label that identifies the stream failover connection id.
125
+ */
126
+ failoverConnectionId: pulumi.Input<string>;
127
+ /**
128
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
129
+ */
130
+ projectId: pulumi.Input<string>;
131
+ /**
132
+ * Label that identifies the stream workspace.
133
+ */
134
+ workspaceName: pulumi.Input<string>;
135
+ }
136
+ //# sourceMappingURL=getStreamConnectionFailover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,mCAAmC,CAAC;IAC/D;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAQlL;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getStreamConnectionFailoverOutput = exports.getStreamConnectionFailover = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * `mongodbatlas.StreamConnectionFailover` describes a failover (regional-alternate) connection for an existing stream connection. It is looked up by its parent `connectionName` and its computed `failoverConnectionId`. Only `Kafka` and `Cluster` connection types support failover.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### S
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
41
+ *
42
+ * // Reads a single failover connection by its ID.
43
+ * const example = mongodbatlas.getStreamConnectionFailover({
44
+ * projectId: projectId,
45
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
46
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
47
+ * failoverConnectionId: exampleMongodbatlasStreamConnectionFailover.failoverConnectionId,
48
+ * });
49
+ * export const failoverBootstrapServers = example.then(example => example.bootstrapServers);
50
+ * ```
51
+ */
52
+ function getStreamConnectionFailover(args, opts) {
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
+ return pulumi.runtime.invoke("mongodbatlas:index/getStreamConnectionFailover:getStreamConnectionFailover", {
55
+ "connectionName": args.connectionName,
56
+ "failoverConnectionId": args.failoverConnectionId,
57
+ "projectId": args.projectId,
58
+ "workspaceName": args.workspaceName,
59
+ }, opts);
60
+ }
61
+ exports.getStreamConnectionFailover = getStreamConnectionFailover;
62
+ /**
63
+ * `mongodbatlas.StreamConnectionFailover` describes a failover (regional-alternate) connection for an existing stream connection. It is looked up by its parent `connectionName` and its computed `failoverConnectionId`. Only `Kafka` and `Cluster` connection types support failover.
64
+ *
65
+ * ## Example Usage
66
+ *
67
+ * ### S
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
72
+ *
73
+ * // Reads a single failover connection by its ID.
74
+ * const example = mongodbatlas.getStreamConnectionFailover({
75
+ * projectId: projectId,
76
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
77
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
78
+ * failoverConnectionId: exampleMongodbatlasStreamConnectionFailover.failoverConnectionId,
79
+ * });
80
+ * export const failoverBootstrapServers = example.then(example => example.bootstrapServers);
81
+ * ```
82
+ */
83
+ function getStreamConnectionFailoverOutput(args, opts) {
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
85
+ return pulumi.runtime.invokeOutput("mongodbatlas:index/getStreamConnectionFailover:getStreamConnectionFailover", {
86
+ "connectionName": args.connectionName,
87
+ "failoverConnectionId": args.failoverConnectionId,
88
+ "projectId": args.projectId,
89
+ "workspaceName": args.workspaceName,
90
+ }, opts);
91
+ }
92
+ exports.getStreamConnectionFailoverOutput = getStreamConnectionFailoverOutput;
93
+ //# sourceMappingURL=getStreamConnectionFailover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamConnectionFailover.js","sourceRoot":"","sources":["../getStreamConnectionFailover.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE;QACvG,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kEAQC;AAqED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4EAA4E,EAAE;QAC7G,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8EAQC"}
@@ -0,0 +1,104 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.getStreamConnectionFailovers` describes all failover (regional-alternate) connections configured for an existing stream connection, identified by the parent `connectionName`. Only `Kafka` and `Cluster` connection types support failover.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ### S
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
13
+ *
14
+ * // Lists all failover connections configured for a given (primary) stream connection.
15
+ * const example = mongodbatlas.getStreamConnectionFailovers({
16
+ * projectId: projectId,
17
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
18
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
19
+ * });
20
+ * export const failoverRegions = example.then(example => .map(r => (r.region)));
21
+ * ```
22
+ */
23
+ export declare function getStreamConnectionFailovers(args: GetStreamConnectionFailoversArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamConnectionFailoversResult>;
24
+ /**
25
+ * A collection of arguments for invoking getStreamConnectionFailovers.
26
+ */
27
+ export interface GetStreamConnectionFailoversArgs {
28
+ /**
29
+ * Label that identifies the stream connection.
30
+ */
31
+ connectionName: string;
32
+ /**
33
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
34
+ */
35
+ projectId: string;
36
+ /**
37
+ * Label that identifies the stream workspace.
38
+ */
39
+ workspaceName: string;
40
+ }
41
+ /**
42
+ * A collection of values returned by getStreamConnectionFailovers.
43
+ */
44
+ export interface GetStreamConnectionFailoversResult {
45
+ /**
46
+ * Label that identifies the stream connection.
47
+ */
48
+ readonly connectionName: string;
49
+ /**
50
+ * The provider-assigned unique ID for this managed resource.
51
+ */
52
+ readonly id: string;
53
+ /**
54
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
55
+ */
56
+ readonly projectId: string;
57
+ /**
58
+ * List of returned documents that MongoDB Cloud provides when completing this request.
59
+ */
60
+ readonly results: outputs.GetStreamConnectionFailoversResult[];
61
+ /**
62
+ * Label that identifies the stream workspace.
63
+ */
64
+ readonly workspaceName: string;
65
+ }
66
+ /**
67
+ * `mongodbatlas.getStreamConnectionFailovers` describes all failover (regional-alternate) connections configured for an existing stream connection, identified by the parent `connectionName`. Only `Kafka` and `Cluster` connection types support failover.
68
+ *
69
+ * ## Example Usage
70
+ *
71
+ * ### S
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
76
+ *
77
+ * // Lists all failover connections configured for a given (primary) stream connection.
78
+ * const example = mongodbatlas.getStreamConnectionFailovers({
79
+ * projectId: projectId,
80
+ * workspaceName: exampleMongodbatlasStreamWorkspace.workspaceName,
81
+ * connectionName: exampleMongodbatlasStreamConnectionFailover.connectionName,
82
+ * });
83
+ * export const failoverRegions = example.then(example => .map(r => (r.region)));
84
+ * ```
85
+ */
86
+ export declare function getStreamConnectionFailoversOutput(args: GetStreamConnectionFailoversOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStreamConnectionFailoversResult>;
87
+ /**
88
+ * A collection of arguments for invoking getStreamConnectionFailovers.
89
+ */
90
+ export interface GetStreamConnectionFailoversOutputArgs {
91
+ /**
92
+ * Label that identifies the stream connection.
93
+ */
94
+ connectionName: pulumi.Input<string>;
95
+ /**
96
+ * Unique 24-hexadecimal digit string that identifies your project, also known as `groupId` in the official documentation.
97
+ */
98
+ projectId: pulumi.Input<string>;
99
+ /**
100
+ * Label that identifies the stream workspace.
101
+ */
102
+ workspaceName: pulumi.Input<string>;
103
+ }
104
+ //# sourceMappingURL=getStreamConnectionFailovers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamConnectionFailovers.d.ts","sourceRoot":"","sources":["../getStreamConnectionFailovers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAO7J;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE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