pulumi-aiven 6.27.0a1729195706__py3-none-any.whl → 6.27.0a1730118480__py3-none-any.whl

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.
pulumi_aiven/outputs.py CHANGED
@@ -190,6 +190,15 @@ __all__ = [
190
190
  'OpenSearchOpensearchUserConfigOpensearchAuthFailureListenersInternalAuthenticationBackendLimiting',
191
191
  'OpenSearchOpensearchUserConfigOpensearchAuthFailureListenersIpRateLimiting',
192
192
  'OpenSearchOpensearchUserConfigOpensearchDashboards',
193
+ 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressure',
194
+ 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress',
195
+ 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask',
196
+ 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask',
197
+ 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure',
198
+ 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactor',
199
+ 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameter',
200
+ 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode',
201
+ 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard',
193
202
  'OpenSearchOpensearchUserConfigPrivateAccess',
194
203
  'OpenSearchOpensearchUserConfigPrivatelinkAccess',
195
204
  'OpenSearchOpensearchUserConfigPublicAccess',
@@ -482,6 +491,15 @@ __all__ = [
482
491
  'GetOpenSearchOpensearchUserConfigOpensearchAuthFailureListenersInternalAuthenticationBackendLimitingResult',
483
492
  'GetOpenSearchOpensearchUserConfigOpensearchAuthFailureListenersIpRateLimitingResult',
484
493
  'GetOpenSearchOpensearchUserConfigOpensearchDashboardsResult',
494
+ 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureResult',
495
+ 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressResult',
496
+ 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskResult',
497
+ 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskResult',
498
+ 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureResult',
499
+ 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorResult',
500
+ 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterResult',
501
+ 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeResult',
502
+ 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardResult',
485
503
  'GetOpenSearchOpensearchUserConfigPrivateAccessResult',
486
504
  'GetOpenSearchOpensearchUserConfigPrivatelinkAccessResult',
487
505
  'GetOpenSearchOpensearchUserConfigPublicAccessResult',
@@ -490,6 +508,8 @@ __all__ = [
490
508
  'GetOpenSearchServiceIntegrationResult',
491
509
  'GetOpenSearchTagResult',
492
510
  'GetOpenSearchTechEmailResult',
511
+ 'GetOrganizationUserListUserResult',
512
+ 'GetOrganizationUserListUserUserInfoResult',
493
513
  'GetPgComponentResult',
494
514
  'GetPgPgResult',
495
515
  'GetPgPgParamResult',
@@ -15231,8 +15251,12 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15231
15251
  suggest = "reindex_remote_whitelists"
15232
15252
  elif key == "scriptMaxCompilationsRate":
15233
15253
  suggest = "script_max_compilations_rate"
15254
+ elif key == "searchBackpressure":
15255
+ suggest = "search_backpressure"
15234
15256
  elif key == "searchMaxBuckets":
15235
15257
  suggest = "search_max_buckets"
15258
+ elif key == "shardIndexingPressure":
15259
+ suggest = "shard_indexing_pressure"
15236
15260
  elif key == "threadPoolAnalyzeQueueSize":
15237
15261
  suggest = "thread_pool_analyze_queue_size"
15238
15262
  elif key == "threadPoolAnalyzeSize":
@@ -15300,7 +15324,9 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15300
15324
  plugins_alerting_filter_by_backend_roles: Optional[bool] = None,
15301
15325
  reindex_remote_whitelists: Optional[Sequence[str]] = None,
15302
15326
  script_max_compilations_rate: Optional[str] = None,
15327
+ search_backpressure: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressure'] = None,
15303
15328
  search_max_buckets: Optional[int] = None,
15329
+ shard_indexing_pressure: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure'] = None,
15304
15330
  thread_pool_analyze_queue_size: Optional[int] = None,
15305
15331
  thread_pool_analyze_size: Optional[int] = None,
15306
15332
  thread_pool_force_merge_size: Optional[int] = None,
@@ -15345,7 +15371,9 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15345
15371
  :param bool plugins_alerting_filter_by_backend_roles: Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.
15346
15372
  :param Sequence[str] reindex_remote_whitelists: Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
15347
15373
  :param str script_max_compilations_rate: Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context. Example: `75/5m`.
15374
+ :param 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs' search_backpressure: Search Backpressure Settings
15348
15375
  :param int search_max_buckets: Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined. Example: `10000`.
15376
+ :param 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs' shard_indexing_pressure: Shard indexing back pressure settings
15349
15377
  :param int thread_pool_analyze_queue_size: Size for the thread pool queue. See documentation for exact details.
15350
15378
  :param int thread_pool_analyze_size: Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
15351
15379
  :param int thread_pool_force_merge_size: Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
@@ -15422,8 +15450,12 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15422
15450
  pulumi.set(__self__, "reindex_remote_whitelists", reindex_remote_whitelists)
15423
15451
  if script_max_compilations_rate is not None:
15424
15452
  pulumi.set(__self__, "script_max_compilations_rate", script_max_compilations_rate)
15453
+ if search_backpressure is not None:
15454
+ pulumi.set(__self__, "search_backpressure", search_backpressure)
15425
15455
  if search_max_buckets is not None:
15426
15456
  pulumi.set(__self__, "search_max_buckets", search_max_buckets)
15457
+ if shard_indexing_pressure is not None:
15458
+ pulumi.set(__self__, "shard_indexing_pressure", shard_indexing_pressure)
15427
15459
  if thread_pool_analyze_queue_size is not None:
15428
15460
  pulumi.set(__self__, "thread_pool_analyze_queue_size", thread_pool_analyze_queue_size)
15429
15461
  if thread_pool_analyze_size is not None:
@@ -15703,6 +15735,14 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15703
15735
  """
15704
15736
  return pulumi.get(self, "script_max_compilations_rate")
15705
15737
 
15738
+ @property
15739
+ @pulumi.getter(name="searchBackpressure")
15740
+ def search_backpressure(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressure']:
15741
+ """
15742
+ Search Backpressure Settings
15743
+ """
15744
+ return pulumi.get(self, "search_backpressure")
15745
+
15706
15746
  @property
15707
15747
  @pulumi.getter(name="searchMaxBuckets")
15708
15748
  def search_max_buckets(self) -> Optional[int]:
@@ -15711,6 +15751,14 @@ class OpenSearchOpensearchUserConfigOpensearch(dict):
15711
15751
  """
15712
15752
  return pulumi.get(self, "search_max_buckets")
15713
15753
 
15754
+ @property
15755
+ @pulumi.getter(name="shardIndexingPressure")
15756
+ def shard_indexing_pressure(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure']:
15757
+ """
15758
+ Shard indexing back pressure settings
15759
+ """
15760
+ return pulumi.get(self, "shard_indexing_pressure")
15761
+
15714
15762
  @property
15715
15763
  @pulumi.getter(name="threadPoolAnalyzeQueueSize")
15716
15764
  def thread_pool_analyze_queue_size(self) -> Optional[int]:
@@ -16130,6 +16178,688 @@ class OpenSearchOpensearchUserConfigOpensearchDashboards(dict):
16130
16178
  return pulumi.get(self, "opensearch_request_timeout")
16131
16179
 
16132
16180
 
16181
+ @pulumi.output_type
16182
+ class OpenSearchOpensearchUserConfigOpensearchSearchBackpressure(dict):
16183
+ @staticmethod
16184
+ def __key_warning(key: str):
16185
+ suggest = None
16186
+ if key == "nodeDuress":
16187
+ suggest = "node_duress"
16188
+ elif key == "searchShardTask":
16189
+ suggest = "search_shard_task"
16190
+ elif key == "searchTask":
16191
+ suggest = "search_task"
16192
+
16193
+ if suggest:
16194
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchSearchBackpressure. Access the value via the '{suggest}' property getter instead.")
16195
+
16196
+ def __getitem__(self, key: str) -> Any:
16197
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressure.__key_warning(key)
16198
+ return super().__getitem__(key)
16199
+
16200
+ def get(self, key: str, default = None) -> Any:
16201
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressure.__key_warning(key)
16202
+ return super().get(key, default)
16203
+
16204
+ def __init__(__self__, *,
16205
+ mode: Optional[str] = None,
16206
+ node_duress: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress'] = None,
16207
+ search_shard_task: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask'] = None,
16208
+ search_task: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask'] = None):
16209
+ """
16210
+ :param str mode: Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor*only, enforced, or disabled. Default is monitor*only.
16211
+ :param 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs' node_duress: Node duress settings
16212
+ :param 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs' search_shard_task: Search shard settings
16213
+ :param 'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs' search_task: Search task settings
16214
+ """
16215
+ if mode is not None:
16216
+ pulumi.set(__self__, "mode", mode)
16217
+ if node_duress is not None:
16218
+ pulumi.set(__self__, "node_duress", node_duress)
16219
+ if search_shard_task is not None:
16220
+ pulumi.set(__self__, "search_shard_task", search_shard_task)
16221
+ if search_task is not None:
16222
+ pulumi.set(__self__, "search_task", search_task)
16223
+
16224
+ @property
16225
+ @pulumi.getter
16226
+ def mode(self) -> Optional[str]:
16227
+ """
16228
+ Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor*only, enforced, or disabled. Default is monitor*only.
16229
+ """
16230
+ return pulumi.get(self, "mode")
16231
+
16232
+ @property
16233
+ @pulumi.getter(name="nodeDuress")
16234
+ def node_duress(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress']:
16235
+ """
16236
+ Node duress settings
16237
+ """
16238
+ return pulumi.get(self, "node_duress")
16239
+
16240
+ @property
16241
+ @pulumi.getter(name="searchShardTask")
16242
+ def search_shard_task(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask']:
16243
+ """
16244
+ Search shard settings
16245
+ """
16246
+ return pulumi.get(self, "search_shard_task")
16247
+
16248
+ @property
16249
+ @pulumi.getter(name="searchTask")
16250
+ def search_task(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask']:
16251
+ """
16252
+ Search task settings
16253
+ """
16254
+ return pulumi.get(self, "search_task")
16255
+
16256
+
16257
+ @pulumi.output_type
16258
+ class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress(dict):
16259
+ @staticmethod
16260
+ def __key_warning(key: str):
16261
+ suggest = None
16262
+ if key == "cpuThreshold":
16263
+ suggest = "cpu_threshold"
16264
+ elif key == "heapThreshold":
16265
+ suggest = "heap_threshold"
16266
+ elif key == "numSuccessiveBreaches":
16267
+ suggest = "num_successive_breaches"
16268
+
16269
+ if suggest:
16270
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress. Access the value via the '{suggest}' property getter instead.")
16271
+
16272
+ def __getitem__(self, key: str) -> Any:
16273
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress.__key_warning(key)
16274
+ return super().__getitem__(key)
16275
+
16276
+ def get(self, key: str, default = None) -> Any:
16277
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuress.__key_warning(key)
16278
+ return super().get(key, default)
16279
+
16280
+ def __init__(__self__, *,
16281
+ cpu_threshold: Optional[float] = None,
16282
+ heap_threshold: Optional[float] = None,
16283
+ num_successive_breaches: Optional[int] = None):
16284
+ """
16285
+ :param float cpu_threshold: The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
16286
+ :param float heap_threshold: The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
16287
+ :param int num_successive_breaches: The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
16288
+ """
16289
+ if cpu_threshold is not None:
16290
+ pulumi.set(__self__, "cpu_threshold", cpu_threshold)
16291
+ if heap_threshold is not None:
16292
+ pulumi.set(__self__, "heap_threshold", heap_threshold)
16293
+ if num_successive_breaches is not None:
16294
+ pulumi.set(__self__, "num_successive_breaches", num_successive_breaches)
16295
+
16296
+ @property
16297
+ @pulumi.getter(name="cpuThreshold")
16298
+ def cpu_threshold(self) -> Optional[float]:
16299
+ """
16300
+ The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
16301
+ """
16302
+ return pulumi.get(self, "cpu_threshold")
16303
+
16304
+ @property
16305
+ @pulumi.getter(name="heapThreshold")
16306
+ def heap_threshold(self) -> Optional[float]:
16307
+ """
16308
+ The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
16309
+ """
16310
+ return pulumi.get(self, "heap_threshold")
16311
+
16312
+ @property
16313
+ @pulumi.getter(name="numSuccessiveBreaches")
16314
+ def num_successive_breaches(self) -> Optional[int]:
16315
+ """
16316
+ The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
16317
+ """
16318
+ return pulumi.get(self, "num_successive_breaches")
16319
+
16320
+
16321
+ @pulumi.output_type
16322
+ class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask(dict):
16323
+ @staticmethod
16324
+ def __key_warning(key: str):
16325
+ suggest = None
16326
+ if key == "cancellationBurst":
16327
+ suggest = "cancellation_burst"
16328
+ elif key == "cancellationRate":
16329
+ suggest = "cancellation_rate"
16330
+ elif key == "cancellationRatio":
16331
+ suggest = "cancellation_ratio"
16332
+ elif key == "cpuTimeMillisThreshold":
16333
+ suggest = "cpu_time_millis_threshold"
16334
+ elif key == "elapsedTimeMillisThreshold":
16335
+ suggest = "elapsed_time_millis_threshold"
16336
+ elif key == "heapMovingAverageWindowSize":
16337
+ suggest = "heap_moving_average_window_size"
16338
+ elif key == "heapPercentThreshold":
16339
+ suggest = "heap_percent_threshold"
16340
+ elif key == "heapVariance":
16341
+ suggest = "heap_variance"
16342
+ elif key == "totalHeapPercentThreshold":
16343
+ suggest = "total_heap_percent_threshold"
16344
+
16345
+ if suggest:
16346
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask. Access the value via the '{suggest}' property getter instead.")
16347
+
16348
+ def __getitem__(self, key: str) -> Any:
16349
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask.__key_warning(key)
16350
+ return super().__getitem__(key)
16351
+
16352
+ def get(self, key: str, default = None) -> Any:
16353
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTask.__key_warning(key)
16354
+ return super().get(key, default)
16355
+
16356
+ def __init__(__self__, *,
16357
+ cancellation_burst: Optional[float] = None,
16358
+ cancellation_rate: Optional[float] = None,
16359
+ cancellation_ratio: Optional[float] = None,
16360
+ cpu_time_millis_threshold: Optional[int] = None,
16361
+ elapsed_time_millis_threshold: Optional[int] = None,
16362
+ heap_moving_average_window_size: Optional[int] = None,
16363
+ heap_percent_threshold: Optional[float] = None,
16364
+ heap_variance: Optional[float] = None,
16365
+ total_heap_percent_threshold: Optional[float] = None):
16366
+ """
16367
+ :param float cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
16368
+ :param float cancellation_rate: The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
16369
+ :param float cancellation_ratio: The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
16370
+ :param int cpu_time_millis_threshold: The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
16371
+ :param int elapsed_time_millis_threshold: The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
16372
+ :param int heap_moving_average_window_size: The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
16373
+ :param float heap_percent_threshold: The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
16374
+ :param float heap_variance: The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0.
16375
+ :param float total_heap_percent_threshold: The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5.
16376
+ """
16377
+ if cancellation_burst is not None:
16378
+ pulumi.set(__self__, "cancellation_burst", cancellation_burst)
16379
+ if cancellation_rate is not None:
16380
+ pulumi.set(__self__, "cancellation_rate", cancellation_rate)
16381
+ if cancellation_ratio is not None:
16382
+ pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
16383
+ if cpu_time_millis_threshold is not None:
16384
+ pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
16385
+ if elapsed_time_millis_threshold is not None:
16386
+ pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
16387
+ if heap_moving_average_window_size is not None:
16388
+ pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
16389
+ if heap_percent_threshold is not None:
16390
+ pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
16391
+ if heap_variance is not None:
16392
+ pulumi.set(__self__, "heap_variance", heap_variance)
16393
+ if total_heap_percent_threshold is not None:
16394
+ pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
16395
+
16396
+ @property
16397
+ @pulumi.getter(name="cancellationBurst")
16398
+ def cancellation_burst(self) -> Optional[float]:
16399
+ """
16400
+ The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
16401
+ """
16402
+ return pulumi.get(self, "cancellation_burst")
16403
+
16404
+ @property
16405
+ @pulumi.getter(name="cancellationRate")
16406
+ def cancellation_rate(self) -> Optional[float]:
16407
+ """
16408
+ The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
16409
+ """
16410
+ return pulumi.get(self, "cancellation_rate")
16411
+
16412
+ @property
16413
+ @pulumi.getter(name="cancellationRatio")
16414
+ def cancellation_ratio(self) -> Optional[float]:
16415
+ """
16416
+ The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
16417
+ """
16418
+ return pulumi.get(self, "cancellation_ratio")
16419
+
16420
+ @property
16421
+ @pulumi.getter(name="cpuTimeMillisThreshold")
16422
+ def cpu_time_millis_threshold(self) -> Optional[int]:
16423
+ """
16424
+ The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
16425
+ """
16426
+ return pulumi.get(self, "cpu_time_millis_threshold")
16427
+
16428
+ @property
16429
+ @pulumi.getter(name="elapsedTimeMillisThreshold")
16430
+ def elapsed_time_millis_threshold(self) -> Optional[int]:
16431
+ """
16432
+ The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
16433
+ """
16434
+ return pulumi.get(self, "elapsed_time_millis_threshold")
16435
+
16436
+ @property
16437
+ @pulumi.getter(name="heapMovingAverageWindowSize")
16438
+ def heap_moving_average_window_size(self) -> Optional[int]:
16439
+ """
16440
+ The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
16441
+ """
16442
+ return pulumi.get(self, "heap_moving_average_window_size")
16443
+
16444
+ @property
16445
+ @pulumi.getter(name="heapPercentThreshold")
16446
+ def heap_percent_threshold(self) -> Optional[float]:
16447
+ """
16448
+ The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
16449
+ """
16450
+ return pulumi.get(self, "heap_percent_threshold")
16451
+
16452
+ @property
16453
+ @pulumi.getter(name="heapVariance")
16454
+ def heap_variance(self) -> Optional[float]:
16455
+ """
16456
+ The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0.
16457
+ """
16458
+ return pulumi.get(self, "heap_variance")
16459
+
16460
+ @property
16461
+ @pulumi.getter(name="totalHeapPercentThreshold")
16462
+ def total_heap_percent_threshold(self) -> Optional[float]:
16463
+ """
16464
+ The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5.
16465
+ """
16466
+ return pulumi.get(self, "total_heap_percent_threshold")
16467
+
16468
+
16469
+ @pulumi.output_type
16470
+ class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask(dict):
16471
+ @staticmethod
16472
+ def __key_warning(key: str):
16473
+ suggest = None
16474
+ if key == "cancellationBurst":
16475
+ suggest = "cancellation_burst"
16476
+ elif key == "cancellationRate":
16477
+ suggest = "cancellation_rate"
16478
+ elif key == "cancellationRatio":
16479
+ suggest = "cancellation_ratio"
16480
+ elif key == "cpuTimeMillisThreshold":
16481
+ suggest = "cpu_time_millis_threshold"
16482
+ elif key == "elapsedTimeMillisThreshold":
16483
+ suggest = "elapsed_time_millis_threshold"
16484
+ elif key == "heapMovingAverageWindowSize":
16485
+ suggest = "heap_moving_average_window_size"
16486
+ elif key == "heapPercentThreshold":
16487
+ suggest = "heap_percent_threshold"
16488
+ elif key == "heapVariance":
16489
+ suggest = "heap_variance"
16490
+ elif key == "totalHeapPercentThreshold":
16491
+ suggest = "total_heap_percent_threshold"
16492
+
16493
+ if suggest:
16494
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask. Access the value via the '{suggest}' property getter instead.")
16495
+
16496
+ def __getitem__(self, key: str) -> Any:
16497
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask.__key_warning(key)
16498
+ return super().__getitem__(key)
16499
+
16500
+ def get(self, key: str, default = None) -> Any:
16501
+ OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTask.__key_warning(key)
16502
+ return super().get(key, default)
16503
+
16504
+ def __init__(__self__, *,
16505
+ cancellation_burst: Optional[float] = None,
16506
+ cancellation_rate: Optional[float] = None,
16507
+ cancellation_ratio: Optional[float] = None,
16508
+ cpu_time_millis_threshold: Optional[int] = None,
16509
+ elapsed_time_millis_threshold: Optional[int] = None,
16510
+ heap_moving_average_window_size: Optional[int] = None,
16511
+ heap_percent_threshold: Optional[float] = None,
16512
+ heap_variance: Optional[float] = None,
16513
+ total_heap_percent_threshold: Optional[float] = None):
16514
+ """
16515
+ :param float cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
16516
+ :param float cancellation_rate: The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
16517
+ :param float cancellation_ratio: The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
16518
+ :param int cpu_time_millis_threshold: The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
16519
+ :param int elapsed_time_millis_threshold: The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
16520
+ :param int heap_moving_average_window_size: The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
16521
+ :param float heap_percent_threshold: The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
16522
+ :param float heap_variance: The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0.
16523
+ :param float total_heap_percent_threshold: The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5.
16524
+ """
16525
+ if cancellation_burst is not None:
16526
+ pulumi.set(__self__, "cancellation_burst", cancellation_burst)
16527
+ if cancellation_rate is not None:
16528
+ pulumi.set(__self__, "cancellation_rate", cancellation_rate)
16529
+ if cancellation_ratio is not None:
16530
+ pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
16531
+ if cpu_time_millis_threshold is not None:
16532
+ pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
16533
+ if elapsed_time_millis_threshold is not None:
16534
+ pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
16535
+ if heap_moving_average_window_size is not None:
16536
+ pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
16537
+ if heap_percent_threshold is not None:
16538
+ pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
16539
+ if heap_variance is not None:
16540
+ pulumi.set(__self__, "heap_variance", heap_variance)
16541
+ if total_heap_percent_threshold is not None:
16542
+ pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
16543
+
16544
+ @property
16545
+ @pulumi.getter(name="cancellationBurst")
16546
+ def cancellation_burst(self) -> Optional[float]:
16547
+ """
16548
+ The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
16549
+ """
16550
+ return pulumi.get(self, "cancellation_burst")
16551
+
16552
+ @property
16553
+ @pulumi.getter(name="cancellationRate")
16554
+ def cancellation_rate(self) -> Optional[float]:
16555
+ """
16556
+ The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
16557
+ """
16558
+ return pulumi.get(self, "cancellation_rate")
16559
+
16560
+ @property
16561
+ @pulumi.getter(name="cancellationRatio")
16562
+ def cancellation_ratio(self) -> Optional[float]:
16563
+ """
16564
+ The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
16565
+ """
16566
+ return pulumi.get(self, "cancellation_ratio")
16567
+
16568
+ @property
16569
+ @pulumi.getter(name="cpuTimeMillisThreshold")
16570
+ def cpu_time_millis_threshold(self) -> Optional[int]:
16571
+ """
16572
+ The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
16573
+ """
16574
+ return pulumi.get(self, "cpu_time_millis_threshold")
16575
+
16576
+ @property
16577
+ @pulumi.getter(name="elapsedTimeMillisThreshold")
16578
+ def elapsed_time_millis_threshold(self) -> Optional[int]:
16579
+ """
16580
+ The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
16581
+ """
16582
+ return pulumi.get(self, "elapsed_time_millis_threshold")
16583
+
16584
+ @property
16585
+ @pulumi.getter(name="heapMovingAverageWindowSize")
16586
+ def heap_moving_average_window_size(self) -> Optional[int]:
16587
+ """
16588
+ The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
16589
+ """
16590
+ return pulumi.get(self, "heap_moving_average_window_size")
16591
+
16592
+ @property
16593
+ @pulumi.getter(name="heapPercentThreshold")
16594
+ def heap_percent_threshold(self) -> Optional[float]:
16595
+ """
16596
+ The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
16597
+ """
16598
+ return pulumi.get(self, "heap_percent_threshold")
16599
+
16600
+ @property
16601
+ @pulumi.getter(name="heapVariance")
16602
+ def heap_variance(self) -> Optional[float]:
16603
+ """
16604
+ The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0.
16605
+ """
16606
+ return pulumi.get(self, "heap_variance")
16607
+
16608
+ @property
16609
+ @pulumi.getter(name="totalHeapPercentThreshold")
16610
+ def total_heap_percent_threshold(self) -> Optional[float]:
16611
+ """
16612
+ The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5.
16613
+ """
16614
+ return pulumi.get(self, "total_heap_percent_threshold")
16615
+
16616
+
16617
+ @pulumi.output_type
16618
+ class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure(dict):
16619
+ @staticmethod
16620
+ def __key_warning(key: str):
16621
+ suggest = None
16622
+ if key == "operatingFactor":
16623
+ suggest = "operating_factor"
16624
+ elif key == "primaryParameter":
16625
+ suggest = "primary_parameter"
16626
+
16627
+ if suggest:
16628
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure. Access the value via the '{suggest}' property getter instead.")
16629
+
16630
+ def __getitem__(self, key: str) -> Any:
16631
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure.__key_warning(key)
16632
+ return super().__getitem__(key)
16633
+
16634
+ def get(self, key: str, default = None) -> Any:
16635
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressure.__key_warning(key)
16636
+ return super().get(key, default)
16637
+
16638
+ def __init__(__self__, *,
16639
+ enabled: Optional[bool] = None,
16640
+ enforced: Optional[bool] = None,
16641
+ operating_factor: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactor'] = None,
16642
+ primary_parameter: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameter'] = None):
16643
+ """
16644
+ :param bool enabled: Enable or disable shard indexing backpressure. Default is false.
16645
+ :param bool enforced: Run shard indexing backpressure in shadow mode or enforced mode.
16646
+ In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
16647
+ but it doesn’t actually reject any indexing requests.
16648
+ In enforced mode (value set as true),
16649
+ shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
16650
+ Default is false.
16651
+ :param 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs' operating_factor: Operating factor
16652
+ :param 'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs' primary_parameter: Primary parameter
16653
+ """
16654
+ if enabled is not None:
16655
+ pulumi.set(__self__, "enabled", enabled)
16656
+ if enforced is not None:
16657
+ pulumi.set(__self__, "enforced", enforced)
16658
+ if operating_factor is not None:
16659
+ pulumi.set(__self__, "operating_factor", operating_factor)
16660
+ if primary_parameter is not None:
16661
+ pulumi.set(__self__, "primary_parameter", primary_parameter)
16662
+
16663
+ @property
16664
+ @pulumi.getter
16665
+ def enabled(self) -> Optional[bool]:
16666
+ """
16667
+ Enable or disable shard indexing backpressure. Default is false.
16668
+ """
16669
+ return pulumi.get(self, "enabled")
16670
+
16671
+ @property
16672
+ @pulumi.getter
16673
+ def enforced(self) -> Optional[bool]:
16674
+ """
16675
+ Run shard indexing backpressure in shadow mode or enforced mode.
16676
+ In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
16677
+ but it doesn’t actually reject any indexing requests.
16678
+ In enforced mode (value set as true),
16679
+ shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
16680
+ Default is false.
16681
+ """
16682
+ return pulumi.get(self, "enforced")
16683
+
16684
+ @property
16685
+ @pulumi.getter(name="operatingFactor")
16686
+ def operating_factor(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactor']:
16687
+ """
16688
+ Operating factor
16689
+ """
16690
+ return pulumi.get(self, "operating_factor")
16691
+
16692
+ @property
16693
+ @pulumi.getter(name="primaryParameter")
16694
+ def primary_parameter(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameter']:
16695
+ """
16696
+ Primary parameter
16697
+ """
16698
+ return pulumi.get(self, "primary_parameter")
16699
+
16700
+
16701
+ @pulumi.output_type
16702
+ class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactor(dict):
16703
+ def __init__(__self__, *,
16704
+ lower: Optional[float] = None,
16705
+ optimal: Optional[float] = None,
16706
+ upper: Optional[float] = None):
16707
+ """
16708
+ :param float lower: Specify the lower occupancy limit of the allocated quota of memory for the shard.
16709
+ If the total memory usage of a shard is below this limit,
16710
+ shard indexing backpressure decreases the current allocated memory for that shard.
16711
+ Default is 0.75.
16712
+ :param float optimal: Specify the optimal occupancy of the allocated quota of memory for the shard.
16713
+ If the total memory usage of a shard is at this level,
16714
+ shard indexing backpressure doesn’t change the current allocated memory for that shard.
16715
+ Default is 0.85.
16716
+ :param float upper: Specify the upper occupancy limit of the allocated quota of memory for the shard.
16717
+ If the total memory usage of a shard is above this limit,
16718
+ shard indexing backpressure increases the current allocated memory for that shard.
16719
+ Default is 0.95.
16720
+ """
16721
+ if lower is not None:
16722
+ pulumi.set(__self__, "lower", lower)
16723
+ if optimal is not None:
16724
+ pulumi.set(__self__, "optimal", optimal)
16725
+ if upper is not None:
16726
+ pulumi.set(__self__, "upper", upper)
16727
+
16728
+ @property
16729
+ @pulumi.getter
16730
+ def lower(self) -> Optional[float]:
16731
+ """
16732
+ Specify the lower occupancy limit of the allocated quota of memory for the shard.
16733
+ If the total memory usage of a shard is below this limit,
16734
+ shard indexing backpressure decreases the current allocated memory for that shard.
16735
+ Default is 0.75.
16736
+ """
16737
+ return pulumi.get(self, "lower")
16738
+
16739
+ @property
16740
+ @pulumi.getter
16741
+ def optimal(self) -> Optional[float]:
16742
+ """
16743
+ Specify the optimal occupancy of the allocated quota of memory for the shard.
16744
+ If the total memory usage of a shard is at this level,
16745
+ shard indexing backpressure doesn’t change the current allocated memory for that shard.
16746
+ Default is 0.85.
16747
+ """
16748
+ return pulumi.get(self, "optimal")
16749
+
16750
+ @property
16751
+ @pulumi.getter
16752
+ def upper(self) -> Optional[float]:
16753
+ """
16754
+ Specify the upper occupancy limit of the allocated quota of memory for the shard.
16755
+ If the total memory usage of a shard is above this limit,
16756
+ shard indexing backpressure increases the current allocated memory for that shard.
16757
+ Default is 0.95.
16758
+ """
16759
+ return pulumi.get(self, "upper")
16760
+
16761
+
16762
+ @pulumi.output_type
16763
+ class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameter(dict):
16764
+ def __init__(__self__, *,
16765
+ node: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode'] = None,
16766
+ shard: Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard'] = None):
16767
+ if node is not None:
16768
+ pulumi.set(__self__, "node", node)
16769
+ if shard is not None:
16770
+ pulumi.set(__self__, "shard", shard)
16771
+
16772
+ @property
16773
+ @pulumi.getter
16774
+ def node(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode']:
16775
+ return pulumi.get(self, "node")
16776
+
16777
+ @property
16778
+ @pulumi.getter
16779
+ def shard(self) -> Optional['outputs.OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard']:
16780
+ return pulumi.get(self, "shard")
16781
+
16782
+
16783
+ @pulumi.output_type
16784
+ class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode(dict):
16785
+ @staticmethod
16786
+ def __key_warning(key: str):
16787
+ suggest = None
16788
+ if key == "softLimit":
16789
+ suggest = "soft_limit"
16790
+
16791
+ if suggest:
16792
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode. Access the value via the '{suggest}' property getter instead.")
16793
+
16794
+ def __getitem__(self, key: str) -> Any:
16795
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode.__key_warning(key)
16796
+ return super().__getitem__(key)
16797
+
16798
+ def get(self, key: str, default = None) -> Any:
16799
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNode.__key_warning(key)
16800
+ return super().get(key, default)
16801
+
16802
+ def __init__(__self__, *,
16803
+ soft_limit: Optional[float] = None):
16804
+ """
16805
+ :param float soft_limit: Define the percentage of the node-level memory
16806
+ threshold that acts as a soft indicator for strain on a node.
16807
+ Default is 0.7.
16808
+ """
16809
+ if soft_limit is not None:
16810
+ pulumi.set(__self__, "soft_limit", soft_limit)
16811
+
16812
+ @property
16813
+ @pulumi.getter(name="softLimit")
16814
+ def soft_limit(self) -> Optional[float]:
16815
+ """
16816
+ Define the percentage of the node-level memory
16817
+ threshold that acts as a soft indicator for strain on a node.
16818
+ Default is 0.7.
16819
+ """
16820
+ return pulumi.get(self, "soft_limit")
16821
+
16822
+
16823
+ @pulumi.output_type
16824
+ class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard(dict):
16825
+ @staticmethod
16826
+ def __key_warning(key: str):
16827
+ suggest = None
16828
+ if key == "minLimit":
16829
+ suggest = "min_limit"
16830
+
16831
+ if suggest:
16832
+ pulumi.log.warn(f"Key '{key}' not found in OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard. Access the value via the '{suggest}' property getter instead.")
16833
+
16834
+ def __getitem__(self, key: str) -> Any:
16835
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard.__key_warning(key)
16836
+ return super().__getitem__(key)
16837
+
16838
+ def get(self, key: str, default = None) -> Any:
16839
+ OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShard.__key_warning(key)
16840
+ return super().get(key, default)
16841
+
16842
+ def __init__(__self__, *,
16843
+ min_limit: Optional[float] = None):
16844
+ """
16845
+ :param float min_limit: Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
16846
+ Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
16847
+ Default is 0.001.
16848
+ """
16849
+ if min_limit is not None:
16850
+ pulumi.set(__self__, "min_limit", min_limit)
16851
+
16852
+ @property
16853
+ @pulumi.getter(name="minLimit")
16854
+ def min_limit(self) -> Optional[float]:
16855
+ """
16856
+ Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
16857
+ Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
16858
+ Default is 0.001.
16859
+ """
16860
+ return pulumi.get(self, "min_limit")
16861
+
16862
+
16133
16863
  @pulumi.output_type
16134
16864
  class OpenSearchOpensearchUserConfigPrivateAccess(dict):
16135
16865
  @staticmethod
@@ -16772,7 +17502,7 @@ class OrganizationPermissionPermission(dict):
16772
17502
  create_time: Optional[str] = None,
16773
17503
  update_time: Optional[str] = None):
16774
17504
  """
16775
- :param Sequence[str] permissions: List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `read_only`.
17505
+ :param Sequence[str] permissions: List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
16776
17506
  :param str principal_id: ID of the user or group.
16777
17507
  :param str principal_type: The type of principal. The possible values are `user` and `user_group`.
16778
17508
  :param str create_time: Time created.
@@ -16790,7 +17520,7 @@ class OrganizationPermissionPermission(dict):
16790
17520
  @pulumi.getter
16791
17521
  def permissions(self) -> Sequence[str]:
16792
17522
  """
16793
- List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `read_only`.
17523
+ List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
16794
17524
  """
16795
17525
  return pulumi.get(self, "permissions")
16796
17526
 
@@ -24166,6 +24896,7 @@ class ThanosThanosUserConfig(dict):
24166
24896
 
24167
24897
  @property
24168
24898
  @pulumi.getter
24899
+ @_utilities.deprecated("""This property is deprecated.""")
24169
24900
  def env(self) -> Optional[Mapping[str, str]]:
24170
24901
  """
24171
24902
  Environmental variables.
@@ -37724,7 +38455,9 @@ class GetOpenSearchOpensearchUserConfigOpensearchResult(dict):
37724
38455
  plugins_alerting_filter_by_backend_roles: Optional[bool] = None,
37725
38456
  reindex_remote_whitelists: Optional[Sequence[str]] = None,
37726
38457
  script_max_compilations_rate: Optional[str] = None,
38458
+ search_backpressure: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureResult'] = None,
37727
38459
  search_max_buckets: Optional[int] = None,
38460
+ shard_indexing_pressure: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureResult'] = None,
37728
38461
  thread_pool_analyze_queue_size: Optional[int] = None,
37729
38462
  thread_pool_analyze_size: Optional[int] = None,
37730
38463
  thread_pool_force_merge_size: Optional[int] = None,
@@ -37769,7 +38502,9 @@ class GetOpenSearchOpensearchUserConfigOpensearchResult(dict):
37769
38502
  :param bool plugins_alerting_filter_by_backend_roles: Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.
37770
38503
  :param Sequence[str] reindex_remote_whitelists: Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
37771
38504
  :param str script_max_compilations_rate: Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context. Example: `75/5m`.
38505
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs' search_backpressure: Search Backpressure Settings
37772
38506
  :param int search_max_buckets: Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined. Example: `10000`.
38507
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs' shard_indexing_pressure: Shard indexing back pressure settings
37773
38508
  :param int thread_pool_analyze_queue_size: Size for the thread pool queue. See documentation for exact details.
37774
38509
  :param int thread_pool_analyze_size: Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
37775
38510
  :param int thread_pool_force_merge_size: Size for the thread pool. See documentation for exact details. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
@@ -37846,8 +38581,12 @@ class GetOpenSearchOpensearchUserConfigOpensearchResult(dict):
37846
38581
  pulumi.set(__self__, "reindex_remote_whitelists", reindex_remote_whitelists)
37847
38582
  if script_max_compilations_rate is not None:
37848
38583
  pulumi.set(__self__, "script_max_compilations_rate", script_max_compilations_rate)
38584
+ if search_backpressure is not None:
38585
+ pulumi.set(__self__, "search_backpressure", search_backpressure)
37849
38586
  if search_max_buckets is not None:
37850
38587
  pulumi.set(__self__, "search_max_buckets", search_max_buckets)
38588
+ if shard_indexing_pressure is not None:
38589
+ pulumi.set(__self__, "shard_indexing_pressure", shard_indexing_pressure)
37851
38590
  if thread_pool_analyze_queue_size is not None:
37852
38591
  pulumi.set(__self__, "thread_pool_analyze_queue_size", thread_pool_analyze_queue_size)
37853
38592
  if thread_pool_analyze_size is not None:
@@ -38127,6 +38866,14 @@ class GetOpenSearchOpensearchUserConfigOpensearchResult(dict):
38127
38866
  """
38128
38867
  return pulumi.get(self, "script_max_compilations_rate")
38129
38868
 
38869
+ @property
38870
+ @pulumi.getter(name="searchBackpressure")
38871
+ def search_backpressure(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureResult']:
38872
+ """
38873
+ Search Backpressure Settings
38874
+ """
38875
+ return pulumi.get(self, "search_backpressure")
38876
+
38130
38877
  @property
38131
38878
  @pulumi.getter(name="searchMaxBuckets")
38132
38879
  def search_max_buckets(self) -> Optional[int]:
@@ -38135,6 +38882,14 @@ class GetOpenSearchOpensearchUserConfigOpensearchResult(dict):
38135
38882
  """
38136
38883
  return pulumi.get(self, "search_max_buckets")
38137
38884
 
38885
+ @property
38886
+ @pulumi.getter(name="shardIndexingPressure")
38887
+ def shard_indexing_pressure(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureResult']:
38888
+ """
38889
+ Shard indexing back pressure settings
38890
+ """
38891
+ return pulumi.get(self, "shard_indexing_pressure")
38892
+
38138
38893
  @property
38139
38894
  @pulumi.getter(name="threadPoolAnalyzeQueueSize")
38140
38895
  def thread_pool_analyze_queue_size(self) -> Optional[int]:
@@ -38464,6 +39219,527 @@ class GetOpenSearchOpensearchUserConfigOpensearchDashboardsResult(dict):
38464
39219
  return pulumi.get(self, "opensearch_request_timeout")
38465
39220
 
38466
39221
 
39222
+ @pulumi.output_type
39223
+ class GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureResult(dict):
39224
+ def __init__(__self__, *,
39225
+ mode: Optional[str] = None,
39226
+ node_duress: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressResult'] = None,
39227
+ search_shard_task: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskResult'] = None,
39228
+ search_task: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskResult'] = None):
39229
+ """
39230
+ :param str mode: Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor_only, enforced, or disabled. Default is monitor_only.
39231
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs' node_duress: Node duress settings
39232
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs' search_shard_task: Search shard settings
39233
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs' search_task: Search task settings
39234
+ """
39235
+ if mode is not None:
39236
+ pulumi.set(__self__, "mode", mode)
39237
+ if node_duress is not None:
39238
+ pulumi.set(__self__, "node_duress", node_duress)
39239
+ if search_shard_task is not None:
39240
+ pulumi.set(__self__, "search_shard_task", search_shard_task)
39241
+ if search_task is not None:
39242
+ pulumi.set(__self__, "search_task", search_task)
39243
+
39244
+ @property
39245
+ @pulumi.getter
39246
+ def mode(self) -> Optional[str]:
39247
+ """
39248
+ Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor_only, enforced, or disabled. Default is monitor_only.
39249
+ """
39250
+ return pulumi.get(self, "mode")
39251
+
39252
+ @property
39253
+ @pulumi.getter(name="nodeDuress")
39254
+ def node_duress(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressResult']:
39255
+ """
39256
+ Node duress settings
39257
+ """
39258
+ return pulumi.get(self, "node_duress")
39259
+
39260
+ @property
39261
+ @pulumi.getter(name="searchShardTask")
39262
+ def search_shard_task(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskResult']:
39263
+ """
39264
+ Search shard settings
39265
+ """
39266
+ return pulumi.get(self, "search_shard_task")
39267
+
39268
+ @property
39269
+ @pulumi.getter(name="searchTask")
39270
+ def search_task(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskResult']:
39271
+ """
39272
+ Search task settings
39273
+ """
39274
+ return pulumi.get(self, "search_task")
39275
+
39276
+
39277
+ @pulumi.output_type
39278
+ class GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressResult(dict):
39279
+ def __init__(__self__, *,
39280
+ cpu_threshold: Optional[float] = None,
39281
+ heap_threshold: Optional[float] = None,
39282
+ num_successive_breaches: Optional[int] = None):
39283
+ """
39284
+ :param float cpu_threshold: The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
39285
+ :param float heap_threshold: The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
39286
+ :param int num_successive_breaches: The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
39287
+ """
39288
+ if cpu_threshold is not None:
39289
+ pulumi.set(__self__, "cpu_threshold", cpu_threshold)
39290
+ if heap_threshold is not None:
39291
+ pulumi.set(__self__, "heap_threshold", heap_threshold)
39292
+ if num_successive_breaches is not None:
39293
+ pulumi.set(__self__, "num_successive_breaches", num_successive_breaches)
39294
+
39295
+ @property
39296
+ @pulumi.getter(name="cpuThreshold")
39297
+ def cpu_threshold(self) -> Optional[float]:
39298
+ """
39299
+ The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
39300
+ """
39301
+ return pulumi.get(self, "cpu_threshold")
39302
+
39303
+ @property
39304
+ @pulumi.getter(name="heapThreshold")
39305
+ def heap_threshold(self) -> Optional[float]:
39306
+ """
39307
+ The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
39308
+ """
39309
+ return pulumi.get(self, "heap_threshold")
39310
+
39311
+ @property
39312
+ @pulumi.getter(name="numSuccessiveBreaches")
39313
+ def num_successive_breaches(self) -> Optional[int]:
39314
+ """
39315
+ The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
39316
+ """
39317
+ return pulumi.get(self, "num_successive_breaches")
39318
+
39319
+
39320
+ @pulumi.output_type
39321
+ class GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskResult(dict):
39322
+ def __init__(__self__, *,
39323
+ cancellation_burst: Optional[float] = None,
39324
+ cancellation_rate: Optional[float] = None,
39325
+ cancellation_ratio: Optional[float] = None,
39326
+ cpu_time_millis_threshold: Optional[int] = None,
39327
+ elapsed_time_millis_threshold: Optional[int] = None,
39328
+ heap_moving_average_window_size: Optional[int] = None,
39329
+ heap_percent_threshold: Optional[float] = None,
39330
+ heap_variance: Optional[float] = None,
39331
+ total_heap_percent_threshold: Optional[float] = None):
39332
+ """
39333
+ :param float cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
39334
+ :param float cancellation_rate: The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
39335
+ :param float cancellation_ratio: The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
39336
+ :param int cpu_time_millis_threshold: The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
39337
+ :param int elapsed_time_millis_threshold: The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
39338
+ :param int heap_moving_average_window_size: The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
39339
+ :param float heap_percent_threshold: The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
39340
+ :param float heap_variance: The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0.
39341
+ :param float total_heap_percent_threshold: The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5.
39342
+ """
39343
+ if cancellation_burst is not None:
39344
+ pulumi.set(__self__, "cancellation_burst", cancellation_burst)
39345
+ if cancellation_rate is not None:
39346
+ pulumi.set(__self__, "cancellation_rate", cancellation_rate)
39347
+ if cancellation_ratio is not None:
39348
+ pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
39349
+ if cpu_time_millis_threshold is not None:
39350
+ pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
39351
+ if elapsed_time_millis_threshold is not None:
39352
+ pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
39353
+ if heap_moving_average_window_size is not None:
39354
+ pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
39355
+ if heap_percent_threshold is not None:
39356
+ pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
39357
+ if heap_variance is not None:
39358
+ pulumi.set(__self__, "heap_variance", heap_variance)
39359
+ if total_heap_percent_threshold is not None:
39360
+ pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
39361
+
39362
+ @property
39363
+ @pulumi.getter(name="cancellationBurst")
39364
+ def cancellation_burst(self) -> Optional[float]:
39365
+ """
39366
+ The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
39367
+ """
39368
+ return pulumi.get(self, "cancellation_burst")
39369
+
39370
+ @property
39371
+ @pulumi.getter(name="cancellationRate")
39372
+ def cancellation_rate(self) -> Optional[float]:
39373
+ """
39374
+ The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
39375
+ """
39376
+ return pulumi.get(self, "cancellation_rate")
39377
+
39378
+ @property
39379
+ @pulumi.getter(name="cancellationRatio")
39380
+ def cancellation_ratio(self) -> Optional[float]:
39381
+ """
39382
+ The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
39383
+ """
39384
+ return pulumi.get(self, "cancellation_ratio")
39385
+
39386
+ @property
39387
+ @pulumi.getter(name="cpuTimeMillisThreshold")
39388
+ def cpu_time_millis_threshold(self) -> Optional[int]:
39389
+ """
39390
+ The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
39391
+ """
39392
+ return pulumi.get(self, "cpu_time_millis_threshold")
39393
+
39394
+ @property
39395
+ @pulumi.getter(name="elapsedTimeMillisThreshold")
39396
+ def elapsed_time_millis_threshold(self) -> Optional[int]:
39397
+ """
39398
+ The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
39399
+ """
39400
+ return pulumi.get(self, "elapsed_time_millis_threshold")
39401
+
39402
+ @property
39403
+ @pulumi.getter(name="heapMovingAverageWindowSize")
39404
+ def heap_moving_average_window_size(self) -> Optional[int]:
39405
+ """
39406
+ The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
39407
+ """
39408
+ return pulumi.get(self, "heap_moving_average_window_size")
39409
+
39410
+ @property
39411
+ @pulumi.getter(name="heapPercentThreshold")
39412
+ def heap_percent_threshold(self) -> Optional[float]:
39413
+ """
39414
+ The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
39415
+ """
39416
+ return pulumi.get(self, "heap_percent_threshold")
39417
+
39418
+ @property
39419
+ @pulumi.getter(name="heapVariance")
39420
+ def heap_variance(self) -> Optional[float]:
39421
+ """
39422
+ The minimum variance required for a single search shard task’s heap usage compared to the rolling average of previously completed tasks before it is considered for cancellation. Default is 2.0.
39423
+ """
39424
+ return pulumi.get(self, "heap_variance")
39425
+
39426
+ @property
39427
+ @pulumi.getter(name="totalHeapPercentThreshold")
39428
+ def total_heap_percent_threshold(self) -> Optional[float]:
39429
+ """
39430
+ The heap usage threshold (as a percentage) required for the sum of heap usages of all search shard tasks before cancellation is applied. Default is 0.5.
39431
+ """
39432
+ return pulumi.get(self, "total_heap_percent_threshold")
39433
+
39434
+
39435
+ @pulumi.output_type
39436
+ class GetOpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskResult(dict):
39437
+ def __init__(__self__, *,
39438
+ cancellation_burst: Optional[float] = None,
39439
+ cancellation_rate: Optional[float] = None,
39440
+ cancellation_ratio: Optional[float] = None,
39441
+ cpu_time_millis_threshold: Optional[int] = None,
39442
+ elapsed_time_millis_threshold: Optional[int] = None,
39443
+ heap_moving_average_window_size: Optional[int] = None,
39444
+ heap_percent_threshold: Optional[float] = None,
39445
+ heap_variance: Optional[float] = None,
39446
+ total_heap_percent_threshold: Optional[float] = None):
39447
+ """
39448
+ :param float cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
39449
+ :param float cancellation_rate: The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
39450
+ :param float cancellation_ratio: The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
39451
+ :param int cpu_time_millis_threshold: The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
39452
+ :param int elapsed_time_millis_threshold: The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
39453
+ :param int heap_moving_average_window_size: The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
39454
+ :param float heap_percent_threshold: The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
39455
+ :param float heap_variance: The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0.
39456
+ :param float total_heap_percent_threshold: The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5.
39457
+ """
39458
+ if cancellation_burst is not None:
39459
+ pulumi.set(__self__, "cancellation_burst", cancellation_burst)
39460
+ if cancellation_rate is not None:
39461
+ pulumi.set(__self__, "cancellation_rate", cancellation_rate)
39462
+ if cancellation_ratio is not None:
39463
+ pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
39464
+ if cpu_time_millis_threshold is not None:
39465
+ pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
39466
+ if elapsed_time_millis_threshold is not None:
39467
+ pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
39468
+ if heap_moving_average_window_size is not None:
39469
+ pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
39470
+ if heap_percent_threshold is not None:
39471
+ pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
39472
+ if heap_variance is not None:
39473
+ pulumi.set(__self__, "heap_variance", heap_variance)
39474
+ if total_heap_percent_threshold is not None:
39475
+ pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
39476
+
39477
+ @property
39478
+ @pulumi.getter(name="cancellationBurst")
39479
+ def cancellation_burst(self) -> Optional[float]:
39480
+ """
39481
+ The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
39482
+ """
39483
+ return pulumi.get(self, "cancellation_burst")
39484
+
39485
+ @property
39486
+ @pulumi.getter(name="cancellationRate")
39487
+ def cancellation_rate(self) -> Optional[float]:
39488
+ """
39489
+ The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
39490
+ """
39491
+ return pulumi.get(self, "cancellation_rate")
39492
+
39493
+ @property
39494
+ @pulumi.getter(name="cancellationRatio")
39495
+ def cancellation_ratio(self) -> Optional[float]:
39496
+ """
39497
+ The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
39498
+ """
39499
+ return pulumi.get(self, "cancellation_ratio")
39500
+
39501
+ @property
39502
+ @pulumi.getter(name="cpuTimeMillisThreshold")
39503
+ def cpu_time_millis_threshold(self) -> Optional[int]:
39504
+ """
39505
+ The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
39506
+ """
39507
+ return pulumi.get(self, "cpu_time_millis_threshold")
39508
+
39509
+ @property
39510
+ @pulumi.getter(name="elapsedTimeMillisThreshold")
39511
+ def elapsed_time_millis_threshold(self) -> Optional[int]:
39512
+ """
39513
+ The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
39514
+ """
39515
+ return pulumi.get(self, "elapsed_time_millis_threshold")
39516
+
39517
+ @property
39518
+ @pulumi.getter(name="heapMovingAverageWindowSize")
39519
+ def heap_moving_average_window_size(self) -> Optional[int]:
39520
+ """
39521
+ The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
39522
+ """
39523
+ return pulumi.get(self, "heap_moving_average_window_size")
39524
+
39525
+ @property
39526
+ @pulumi.getter(name="heapPercentThreshold")
39527
+ def heap_percent_threshold(self) -> Optional[float]:
39528
+ """
39529
+ The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
39530
+ """
39531
+ return pulumi.get(self, "heap_percent_threshold")
39532
+
39533
+ @property
39534
+ @pulumi.getter(name="heapVariance")
39535
+ def heap_variance(self) -> Optional[float]:
39536
+ """
39537
+ The heap usage variance required for an individual parent task before it is considered for cancellation. A task is considered for cancellation when taskHeapUsage is greater than or equal to heapUsageMovingAverage * variance. Default is 2.0.
39538
+ """
39539
+ return pulumi.get(self, "heap_variance")
39540
+
39541
+ @property
39542
+ @pulumi.getter(name="totalHeapPercentThreshold")
39543
+ def total_heap_percent_threshold(self) -> Optional[float]:
39544
+ """
39545
+ The heap usage threshold (as a percentage) required for the sum of heap usages of all search tasks before cancellation is applied. Default is 0.5.
39546
+ """
39547
+ return pulumi.get(self, "total_heap_percent_threshold")
39548
+
39549
+
39550
+ @pulumi.output_type
39551
+ class GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureResult(dict):
39552
+ def __init__(__self__, *,
39553
+ enabled: Optional[bool] = None,
39554
+ enforced: Optional[bool] = None,
39555
+ operating_factor: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorResult'] = None,
39556
+ primary_parameter: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterResult'] = None):
39557
+ """
39558
+ :param bool enabled: Enable or disable shard indexing backpressure. Default is false.
39559
+ :param bool enforced: Run shard indexing backpressure in shadow mode or enforced mode.
39560
+ In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
39561
+ but it doesn’t actually reject any indexing requests.
39562
+ In enforced mode (value set as true),
39563
+ shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
39564
+ Default is false.
39565
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs' operating_factor: Operating factor
39566
+ :param 'GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs' primary_parameter: Primary parameter
39567
+ """
39568
+ if enabled is not None:
39569
+ pulumi.set(__self__, "enabled", enabled)
39570
+ if enforced is not None:
39571
+ pulumi.set(__self__, "enforced", enforced)
39572
+ if operating_factor is not None:
39573
+ pulumi.set(__self__, "operating_factor", operating_factor)
39574
+ if primary_parameter is not None:
39575
+ pulumi.set(__self__, "primary_parameter", primary_parameter)
39576
+
39577
+ @property
39578
+ @pulumi.getter
39579
+ def enabled(self) -> Optional[bool]:
39580
+ """
39581
+ Enable or disable shard indexing backpressure. Default is false.
39582
+ """
39583
+ return pulumi.get(self, "enabled")
39584
+
39585
+ @property
39586
+ @pulumi.getter
39587
+ def enforced(self) -> Optional[bool]:
39588
+ """
39589
+ Run shard indexing backpressure in shadow mode or enforced mode.
39590
+ In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
39591
+ but it doesn’t actually reject any indexing requests.
39592
+ In enforced mode (value set as true),
39593
+ shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
39594
+ Default is false.
39595
+ """
39596
+ return pulumi.get(self, "enforced")
39597
+
39598
+ @property
39599
+ @pulumi.getter(name="operatingFactor")
39600
+ def operating_factor(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorResult']:
39601
+ """
39602
+ Operating factor
39603
+ """
39604
+ return pulumi.get(self, "operating_factor")
39605
+
39606
+ @property
39607
+ @pulumi.getter(name="primaryParameter")
39608
+ def primary_parameter(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterResult']:
39609
+ """
39610
+ Primary parameter
39611
+ """
39612
+ return pulumi.get(self, "primary_parameter")
39613
+
39614
+
39615
+ @pulumi.output_type
39616
+ class GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorResult(dict):
39617
+ def __init__(__self__, *,
39618
+ lower: Optional[float] = None,
39619
+ optimal: Optional[float] = None,
39620
+ upper: Optional[float] = None):
39621
+ """
39622
+ :param float lower: Specify the lower occupancy limit of the allocated quota of memory for the shard.
39623
+ If the total memory usage of a shard is below this limit,
39624
+ shard indexing backpressure decreases the current allocated memory for that shard.
39625
+ Default is 0.75.
39626
+ :param float optimal: Specify the optimal occupancy of the allocated quota of memory for the shard.
39627
+ If the total memory usage of a shard is at this level,
39628
+ shard indexing backpressure doesn’t change the current allocated memory for that shard.
39629
+ Default is 0.85.
39630
+ :param float upper: Specify the upper occupancy limit of the allocated quota of memory for the shard.
39631
+ If the total memory usage of a shard is above this limit,
39632
+ shard indexing backpressure increases the current allocated memory for that shard.
39633
+ Default is 0.95.
39634
+ """
39635
+ if lower is not None:
39636
+ pulumi.set(__self__, "lower", lower)
39637
+ if optimal is not None:
39638
+ pulumi.set(__self__, "optimal", optimal)
39639
+ if upper is not None:
39640
+ pulumi.set(__self__, "upper", upper)
39641
+
39642
+ @property
39643
+ @pulumi.getter
39644
+ def lower(self) -> Optional[float]:
39645
+ """
39646
+ Specify the lower occupancy limit of the allocated quota of memory for the shard.
39647
+ If the total memory usage of a shard is below this limit,
39648
+ shard indexing backpressure decreases the current allocated memory for that shard.
39649
+ Default is 0.75.
39650
+ """
39651
+ return pulumi.get(self, "lower")
39652
+
39653
+ @property
39654
+ @pulumi.getter
39655
+ def optimal(self) -> Optional[float]:
39656
+ """
39657
+ Specify the optimal occupancy of the allocated quota of memory for the shard.
39658
+ If the total memory usage of a shard is at this level,
39659
+ shard indexing backpressure doesn’t change the current allocated memory for that shard.
39660
+ Default is 0.85.
39661
+ """
39662
+ return pulumi.get(self, "optimal")
39663
+
39664
+ @property
39665
+ @pulumi.getter
39666
+ def upper(self) -> Optional[float]:
39667
+ """
39668
+ Specify the upper occupancy limit of the allocated quota of memory for the shard.
39669
+ If the total memory usage of a shard is above this limit,
39670
+ shard indexing backpressure increases the current allocated memory for that shard.
39671
+ Default is 0.95.
39672
+ """
39673
+ return pulumi.get(self, "upper")
39674
+
39675
+
39676
+ @pulumi.output_type
39677
+ class GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterResult(dict):
39678
+ def __init__(__self__, *,
39679
+ node: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeResult'] = None,
39680
+ shard: Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardResult'] = None):
39681
+ if node is not None:
39682
+ pulumi.set(__self__, "node", node)
39683
+ if shard is not None:
39684
+ pulumi.set(__self__, "shard", shard)
39685
+
39686
+ @property
39687
+ @pulumi.getter
39688
+ def node(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeResult']:
39689
+ return pulumi.get(self, "node")
39690
+
39691
+ @property
39692
+ @pulumi.getter
39693
+ def shard(self) -> Optional['outputs.GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardResult']:
39694
+ return pulumi.get(self, "shard")
39695
+
39696
+
39697
+ @pulumi.output_type
39698
+ class GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeResult(dict):
39699
+ def __init__(__self__, *,
39700
+ soft_limit: Optional[float] = None):
39701
+ """
39702
+ :param float soft_limit: Define the percentage of the node-level memory
39703
+ threshold that acts as a soft indicator for strain on a node.
39704
+ Default is 0.7.
39705
+ """
39706
+ if soft_limit is not None:
39707
+ pulumi.set(__self__, "soft_limit", soft_limit)
39708
+
39709
+ @property
39710
+ @pulumi.getter(name="softLimit")
39711
+ def soft_limit(self) -> Optional[float]:
39712
+ """
39713
+ Define the percentage of the node-level memory
39714
+ threshold that acts as a soft indicator for strain on a node.
39715
+ Default is 0.7.
39716
+ """
39717
+ return pulumi.get(self, "soft_limit")
39718
+
39719
+
39720
+ @pulumi.output_type
39721
+ class GetOpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardResult(dict):
39722
+ def __init__(__self__, *,
39723
+ min_limit: Optional[float] = None):
39724
+ """
39725
+ :param float min_limit: Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
39726
+ Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
39727
+ Default is 0.001.
39728
+ """
39729
+ if min_limit is not None:
39730
+ pulumi.set(__self__, "min_limit", min_limit)
39731
+
39732
+ @property
39733
+ @pulumi.getter(name="minLimit")
39734
+ def min_limit(self) -> Optional[float]:
39735
+ """
39736
+ Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
39737
+ Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
39738
+ Default is 0.001.
39739
+ """
39740
+ return pulumi.get(self, "min_limit")
39741
+
39742
+
38467
39743
  @pulumi.output_type
38468
39744
  class GetOpenSearchOpensearchUserConfigPrivateAccessResult(dict):
38469
39745
  def __init__(__self__, *,
@@ -38895,6 +40171,192 @@ class GetOpenSearchTechEmailResult(dict):
38895
40171
  return pulumi.get(self, "email")
38896
40172
 
38897
40173
 
40174
+ @pulumi.output_type
40175
+ class GetOrganizationUserListUserResult(dict):
40176
+ def __init__(__self__, *,
40177
+ is_super_admin: bool,
40178
+ join_time: str,
40179
+ last_activity_time: str,
40180
+ user_id: str,
40181
+ user_infos: Sequence['outputs.GetOrganizationUserListUserUserInfoResult']):
40182
+ """
40183
+ :param bool is_super_admin: Super admin state of the organization user
40184
+ :param str join_time: Join time
40185
+ :param str last_activity_time: Last activity time
40186
+ :param str user_id: User ID
40187
+ """
40188
+ pulumi.set(__self__, "is_super_admin", is_super_admin)
40189
+ pulumi.set(__self__, "join_time", join_time)
40190
+ pulumi.set(__self__, "last_activity_time", last_activity_time)
40191
+ pulumi.set(__self__, "user_id", user_id)
40192
+ pulumi.set(__self__, "user_infos", user_infos)
40193
+
40194
+ @property
40195
+ @pulumi.getter(name="isSuperAdmin")
40196
+ def is_super_admin(self) -> bool:
40197
+ """
40198
+ Super admin state of the organization user
40199
+ """
40200
+ return pulumi.get(self, "is_super_admin")
40201
+
40202
+ @property
40203
+ @pulumi.getter(name="joinTime")
40204
+ def join_time(self) -> str:
40205
+ """
40206
+ Join time
40207
+ """
40208
+ return pulumi.get(self, "join_time")
40209
+
40210
+ @property
40211
+ @pulumi.getter(name="lastActivityTime")
40212
+ def last_activity_time(self) -> str:
40213
+ """
40214
+ Last activity time
40215
+ """
40216
+ return pulumi.get(self, "last_activity_time")
40217
+
40218
+ @property
40219
+ @pulumi.getter(name="userId")
40220
+ def user_id(self) -> str:
40221
+ """
40222
+ User ID
40223
+ """
40224
+ return pulumi.get(self, "user_id")
40225
+
40226
+ @property
40227
+ @pulumi.getter(name="userInfos")
40228
+ def user_infos(self) -> Sequence['outputs.GetOrganizationUserListUserUserInfoResult']:
40229
+ return pulumi.get(self, "user_infos")
40230
+
40231
+
40232
+ @pulumi.output_type
40233
+ class GetOrganizationUserListUserUserInfoResult(dict):
40234
+ def __init__(__self__, *,
40235
+ city: str,
40236
+ country: str,
40237
+ create_time: str,
40238
+ department: str,
40239
+ is_application_user: bool,
40240
+ job_title: str,
40241
+ managed_by_scim: bool,
40242
+ managing_organization_id: str,
40243
+ real_name: str,
40244
+ state: str,
40245
+ user_email: str):
40246
+ """
40247
+ :param str city: City
40248
+ :param str country: Country
40249
+ :param str create_time: Creation time
40250
+ :param str department: Department
40251
+ :param bool is_application_user: Is Application User
40252
+ :param str job_title: Job Title
40253
+ :param bool managed_by_scim: Managed By Scim
40254
+ :param str managing_organization_id: Managing Organization ID
40255
+ :param str real_name: Real Name
40256
+ :param str state: State
40257
+ :param str user_email: User Email
40258
+ """
40259
+ pulumi.set(__self__, "city", city)
40260
+ pulumi.set(__self__, "country", country)
40261
+ pulumi.set(__self__, "create_time", create_time)
40262
+ pulumi.set(__self__, "department", department)
40263
+ pulumi.set(__self__, "is_application_user", is_application_user)
40264
+ pulumi.set(__self__, "job_title", job_title)
40265
+ pulumi.set(__self__, "managed_by_scim", managed_by_scim)
40266
+ pulumi.set(__self__, "managing_organization_id", managing_organization_id)
40267
+ pulumi.set(__self__, "real_name", real_name)
40268
+ pulumi.set(__self__, "state", state)
40269
+ pulumi.set(__self__, "user_email", user_email)
40270
+
40271
+ @property
40272
+ @pulumi.getter
40273
+ def city(self) -> str:
40274
+ """
40275
+ City
40276
+ """
40277
+ return pulumi.get(self, "city")
40278
+
40279
+ @property
40280
+ @pulumi.getter
40281
+ def country(self) -> str:
40282
+ """
40283
+ Country
40284
+ """
40285
+ return pulumi.get(self, "country")
40286
+
40287
+ @property
40288
+ @pulumi.getter(name="createTime")
40289
+ def create_time(self) -> str:
40290
+ """
40291
+ Creation time
40292
+ """
40293
+ return pulumi.get(self, "create_time")
40294
+
40295
+ @property
40296
+ @pulumi.getter
40297
+ def department(self) -> str:
40298
+ """
40299
+ Department
40300
+ """
40301
+ return pulumi.get(self, "department")
40302
+
40303
+ @property
40304
+ @pulumi.getter(name="isApplicationUser")
40305
+ def is_application_user(self) -> bool:
40306
+ """
40307
+ Is Application User
40308
+ """
40309
+ return pulumi.get(self, "is_application_user")
40310
+
40311
+ @property
40312
+ @pulumi.getter(name="jobTitle")
40313
+ def job_title(self) -> str:
40314
+ """
40315
+ Job Title
40316
+ """
40317
+ return pulumi.get(self, "job_title")
40318
+
40319
+ @property
40320
+ @pulumi.getter(name="managedByScim")
40321
+ def managed_by_scim(self) -> bool:
40322
+ """
40323
+ Managed By Scim
40324
+ """
40325
+ return pulumi.get(self, "managed_by_scim")
40326
+
40327
+ @property
40328
+ @pulumi.getter(name="managingOrganizationId")
40329
+ def managing_organization_id(self) -> str:
40330
+ """
40331
+ Managing Organization ID
40332
+ """
40333
+ return pulumi.get(self, "managing_organization_id")
40334
+
40335
+ @property
40336
+ @pulumi.getter(name="realName")
40337
+ def real_name(self) -> str:
40338
+ """
40339
+ Real Name
40340
+ """
40341
+ return pulumi.get(self, "real_name")
40342
+
40343
+ @property
40344
+ @pulumi.getter
40345
+ def state(self) -> str:
40346
+ """
40347
+ State
40348
+ """
40349
+ return pulumi.get(self, "state")
40350
+
40351
+ @property
40352
+ @pulumi.getter(name="userEmail")
40353
+ def user_email(self) -> str:
40354
+ """
40355
+ User Email
40356
+ """
40357
+ return pulumi.get(self, "user_email")
40358
+
40359
+
38898
40360
  @pulumi.output_type
38899
40361
  class GetPgComponentResult(dict):
38900
40362
  def __init__(__self__, *,
@@ -44684,6 +46146,7 @@ class GetThanosThanosUserConfigResult(dict):
44684
46146
 
44685
46147
  @property
44686
46148
  @pulumi.getter
46149
+ @_utilities.deprecated("""This property is deprecated.""")
44687
46150
  def env(self) -> Optional[Mapping[str, str]]:
44688
46151
  """
44689
46152
  Environmental variables.