pulumi-aiven 6.26.1__py3-none-any.whl → 6.27.0__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.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -0
- pulumi_aiven/_inputs.py +931 -3
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_kafka_schema.py +1 -1
- pulumi_aiven/get_kafka_schema_configuration.py +1 -1
- pulumi_aiven/get_kafka_topic.py +1 -1
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_thanos.py +20 -0
- pulumi_aiven/kafka_schema.py +7 -7
- pulumi_aiven/kafka_topic.py +11 -9
- pulumi_aiven/organization_group_project.py +7 -7
- pulumi_aiven/outputs.py +1465 -2
- pulumi_aiven/project.py +1 -1
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/thanos.py +50 -0
- {pulumi_aiven-6.26.1.dist-info → pulumi_aiven-6.27.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.26.1.dist-info → pulumi_aiven-6.27.0.dist-info}/RECORD +22 -21
- {pulumi_aiven-6.26.1.dist-info → pulumi_aiven-6.27.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.26.1.dist-info → pulumi_aiven-6.27.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/_inputs.py
CHANGED
|
@@ -363,6 +363,24 @@ __all__ = [
|
|
|
363
363
|
'OpenSearchOpensearchUserConfigOpensearchAuthFailureListenersIpRateLimitingArgsDict',
|
|
364
364
|
'OpenSearchOpensearchUserConfigOpensearchDashboardsArgs',
|
|
365
365
|
'OpenSearchOpensearchUserConfigOpensearchDashboardsArgsDict',
|
|
366
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs',
|
|
367
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgsDict',
|
|
368
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs',
|
|
369
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgsDict',
|
|
370
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs',
|
|
371
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgsDict',
|
|
372
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs',
|
|
373
|
+
'OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgsDict',
|
|
374
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs',
|
|
375
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgsDict',
|
|
376
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs',
|
|
377
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgsDict',
|
|
378
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs',
|
|
379
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgsDict',
|
|
380
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgs',
|
|
381
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgsDict',
|
|
382
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgs',
|
|
383
|
+
'OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgsDict',
|
|
366
384
|
'OpenSearchOpensearchUserConfigPrivateAccessArgs',
|
|
367
385
|
'OpenSearchOpensearchUserConfigPrivateAccessArgsDict',
|
|
368
386
|
'OpenSearchOpensearchUserConfigPrivatelinkAccessArgs',
|
|
@@ -20755,10 +20773,18 @@ if not MYPY:
|
|
|
20755
20773
|
"""
|
|
20756
20774
|
Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context. Example: `75/5m`.
|
|
20757
20775
|
"""
|
|
20776
|
+
search_backpressure: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgsDict']]
|
|
20777
|
+
"""
|
|
20778
|
+
Search Backpressure Settings
|
|
20779
|
+
"""
|
|
20758
20780
|
search_max_buckets: NotRequired[pulumi.Input[int]]
|
|
20759
20781
|
"""
|
|
20760
20782
|
Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined. Example: `10000`.
|
|
20761
20783
|
"""
|
|
20784
|
+
shard_indexing_pressure: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgsDict']]
|
|
20785
|
+
"""
|
|
20786
|
+
Shard indexing back pressure settings
|
|
20787
|
+
"""
|
|
20762
20788
|
thread_pool_analyze_queue_size: NotRequired[pulumi.Input[int]]
|
|
20763
20789
|
"""
|
|
20764
20790
|
Size for the thread pool queue. See documentation for exact details.
|
|
@@ -20841,7 +20867,9 @@ class OpenSearchOpensearchUserConfigOpensearchArgs:
|
|
|
20841
20867
|
plugins_alerting_filter_by_backend_roles: Optional[pulumi.Input[bool]] = None,
|
|
20842
20868
|
reindex_remote_whitelists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
20843
20869
|
script_max_compilations_rate: Optional[pulumi.Input[str]] = None,
|
|
20870
|
+
search_backpressure: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs']] = None,
|
|
20844
20871
|
search_max_buckets: Optional[pulumi.Input[int]] = None,
|
|
20872
|
+
shard_indexing_pressure: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs']] = None,
|
|
20845
20873
|
thread_pool_analyze_queue_size: Optional[pulumi.Input[int]] = None,
|
|
20846
20874
|
thread_pool_analyze_size: Optional[pulumi.Input[int]] = None,
|
|
20847
20875
|
thread_pool_force_merge_size: Optional[pulumi.Input[int]] = None,
|
|
@@ -20886,7 +20914,9 @@ class OpenSearchOpensearchUserConfigOpensearchArgs:
|
|
|
20886
20914
|
:param pulumi.Input[bool] plugins_alerting_filter_by_backend_roles: Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.
|
|
20887
20915
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] reindex_remote_whitelists: Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
|
|
20888
20916
|
:param pulumi.Input[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`.
|
|
20917
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs'] search_backpressure: Search Backpressure Settings
|
|
20889
20918
|
:param pulumi.Input[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`.
|
|
20919
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs'] shard_indexing_pressure: Shard indexing back pressure settings
|
|
20890
20920
|
:param pulumi.Input[int] thread_pool_analyze_queue_size: Size for the thread pool queue. See documentation for exact details.
|
|
20891
20921
|
:param pulumi.Input[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.
|
|
20892
20922
|
:param pulumi.Input[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.
|
|
@@ -20963,8 +20993,12 @@ class OpenSearchOpensearchUserConfigOpensearchArgs:
|
|
|
20963
20993
|
pulumi.set(__self__, "reindex_remote_whitelists", reindex_remote_whitelists)
|
|
20964
20994
|
if script_max_compilations_rate is not None:
|
|
20965
20995
|
pulumi.set(__self__, "script_max_compilations_rate", script_max_compilations_rate)
|
|
20996
|
+
if search_backpressure is not None:
|
|
20997
|
+
pulumi.set(__self__, "search_backpressure", search_backpressure)
|
|
20966
20998
|
if search_max_buckets is not None:
|
|
20967
20999
|
pulumi.set(__self__, "search_max_buckets", search_max_buckets)
|
|
21000
|
+
if shard_indexing_pressure is not None:
|
|
21001
|
+
pulumi.set(__self__, "shard_indexing_pressure", shard_indexing_pressure)
|
|
20968
21002
|
if thread_pool_analyze_queue_size is not None:
|
|
20969
21003
|
pulumi.set(__self__, "thread_pool_analyze_queue_size", thread_pool_analyze_queue_size)
|
|
20970
21004
|
if thread_pool_analyze_size is not None:
|
|
@@ -21372,6 +21406,18 @@ class OpenSearchOpensearchUserConfigOpensearchArgs:
|
|
|
21372
21406
|
def script_max_compilations_rate(self, value: Optional[pulumi.Input[str]]):
|
|
21373
21407
|
pulumi.set(self, "script_max_compilations_rate", value)
|
|
21374
21408
|
|
|
21409
|
+
@property
|
|
21410
|
+
@pulumi.getter(name="searchBackpressure")
|
|
21411
|
+
def search_backpressure(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs']]:
|
|
21412
|
+
"""
|
|
21413
|
+
Search Backpressure Settings
|
|
21414
|
+
"""
|
|
21415
|
+
return pulumi.get(self, "search_backpressure")
|
|
21416
|
+
|
|
21417
|
+
@search_backpressure.setter
|
|
21418
|
+
def search_backpressure(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs']]):
|
|
21419
|
+
pulumi.set(self, "search_backpressure", value)
|
|
21420
|
+
|
|
21375
21421
|
@property
|
|
21376
21422
|
@pulumi.getter(name="searchMaxBuckets")
|
|
21377
21423
|
def search_max_buckets(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -21384,6 +21430,18 @@ class OpenSearchOpensearchUserConfigOpensearchArgs:
|
|
|
21384
21430
|
def search_max_buckets(self, value: Optional[pulumi.Input[int]]):
|
|
21385
21431
|
pulumi.set(self, "search_max_buckets", value)
|
|
21386
21432
|
|
|
21433
|
+
@property
|
|
21434
|
+
@pulumi.getter(name="shardIndexingPressure")
|
|
21435
|
+
def shard_indexing_pressure(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs']]:
|
|
21436
|
+
"""
|
|
21437
|
+
Shard indexing back pressure settings
|
|
21438
|
+
"""
|
|
21439
|
+
return pulumi.get(self, "shard_indexing_pressure")
|
|
21440
|
+
|
|
21441
|
+
@shard_indexing_pressure.setter
|
|
21442
|
+
def shard_indexing_pressure(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs']]):
|
|
21443
|
+
pulumi.set(self, "shard_indexing_pressure", value)
|
|
21444
|
+
|
|
21387
21445
|
@property
|
|
21388
21446
|
@pulumi.getter(name="threadPoolAnalyzeQueueSize")
|
|
21389
21447
|
def thread_pool_analyze_queue_size(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -21918,6 +21976,872 @@ class OpenSearchOpensearchUserConfigOpensearchDashboardsArgs:
|
|
|
21918
21976
|
pulumi.set(self, "opensearch_request_timeout", value)
|
|
21919
21977
|
|
|
21920
21978
|
|
|
21979
|
+
if not MYPY:
|
|
21980
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgsDict(TypedDict):
|
|
21981
|
+
mode: NotRequired[pulumi.Input[str]]
|
|
21982
|
+
"""
|
|
21983
|
+
Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor*only, enforced, or disabled. Default is monitor*only.
|
|
21984
|
+
"""
|
|
21985
|
+
node_duress: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgsDict']]
|
|
21986
|
+
"""
|
|
21987
|
+
Node duress settings
|
|
21988
|
+
"""
|
|
21989
|
+
search_shard_task: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgsDict']]
|
|
21990
|
+
"""
|
|
21991
|
+
Search shard settings
|
|
21992
|
+
"""
|
|
21993
|
+
search_task: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgsDict']]
|
|
21994
|
+
"""
|
|
21995
|
+
Search task settings
|
|
21996
|
+
"""
|
|
21997
|
+
elif False:
|
|
21998
|
+
OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgsDict: TypeAlias = Mapping[str, Any]
|
|
21999
|
+
|
|
22000
|
+
@pulumi.input_type
|
|
22001
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureArgs:
|
|
22002
|
+
def __init__(__self__, *,
|
|
22003
|
+
mode: Optional[pulumi.Input[str]] = None,
|
|
22004
|
+
node_duress: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs']] = None,
|
|
22005
|
+
search_shard_task: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs']] = None,
|
|
22006
|
+
search_task: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs']] = None):
|
|
22007
|
+
"""
|
|
22008
|
+
:param pulumi.Input[str] mode: Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor*only, enforced, or disabled. Default is monitor*only.
|
|
22009
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs'] node_duress: Node duress settings
|
|
22010
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs'] search_shard_task: Search shard settings
|
|
22011
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs'] search_task: Search task settings
|
|
22012
|
+
"""
|
|
22013
|
+
if mode is not None:
|
|
22014
|
+
pulumi.set(__self__, "mode", mode)
|
|
22015
|
+
if node_duress is not None:
|
|
22016
|
+
pulumi.set(__self__, "node_duress", node_duress)
|
|
22017
|
+
if search_shard_task is not None:
|
|
22018
|
+
pulumi.set(__self__, "search_shard_task", search_shard_task)
|
|
22019
|
+
if search_task is not None:
|
|
22020
|
+
pulumi.set(__self__, "search_task", search_task)
|
|
22021
|
+
|
|
22022
|
+
@property
|
|
22023
|
+
@pulumi.getter
|
|
22024
|
+
def mode(self) -> Optional[pulumi.Input[str]]:
|
|
22025
|
+
"""
|
|
22026
|
+
Enum: `monitor_only`, `enforced`, `disabled`. The search backpressure mode. Valid values are monitor*only, enforced, or disabled. Default is monitor*only.
|
|
22027
|
+
"""
|
|
22028
|
+
return pulumi.get(self, "mode")
|
|
22029
|
+
|
|
22030
|
+
@mode.setter
|
|
22031
|
+
def mode(self, value: Optional[pulumi.Input[str]]):
|
|
22032
|
+
pulumi.set(self, "mode", value)
|
|
22033
|
+
|
|
22034
|
+
@property
|
|
22035
|
+
@pulumi.getter(name="nodeDuress")
|
|
22036
|
+
def node_duress(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs']]:
|
|
22037
|
+
"""
|
|
22038
|
+
Node duress settings
|
|
22039
|
+
"""
|
|
22040
|
+
return pulumi.get(self, "node_duress")
|
|
22041
|
+
|
|
22042
|
+
@node_duress.setter
|
|
22043
|
+
def node_duress(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs']]):
|
|
22044
|
+
pulumi.set(self, "node_duress", value)
|
|
22045
|
+
|
|
22046
|
+
@property
|
|
22047
|
+
@pulumi.getter(name="searchShardTask")
|
|
22048
|
+
def search_shard_task(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs']]:
|
|
22049
|
+
"""
|
|
22050
|
+
Search shard settings
|
|
22051
|
+
"""
|
|
22052
|
+
return pulumi.get(self, "search_shard_task")
|
|
22053
|
+
|
|
22054
|
+
@search_shard_task.setter
|
|
22055
|
+
def search_shard_task(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs']]):
|
|
22056
|
+
pulumi.set(self, "search_shard_task", value)
|
|
22057
|
+
|
|
22058
|
+
@property
|
|
22059
|
+
@pulumi.getter(name="searchTask")
|
|
22060
|
+
def search_task(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs']]:
|
|
22061
|
+
"""
|
|
22062
|
+
Search task settings
|
|
22063
|
+
"""
|
|
22064
|
+
return pulumi.get(self, "search_task")
|
|
22065
|
+
|
|
22066
|
+
@search_task.setter
|
|
22067
|
+
def search_task(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs']]):
|
|
22068
|
+
pulumi.set(self, "search_task", value)
|
|
22069
|
+
|
|
22070
|
+
|
|
22071
|
+
if not MYPY:
|
|
22072
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgsDict(TypedDict):
|
|
22073
|
+
cpu_threshold: NotRequired[pulumi.Input[float]]
|
|
22074
|
+
"""
|
|
22075
|
+
The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
|
|
22076
|
+
"""
|
|
22077
|
+
heap_threshold: NotRequired[pulumi.Input[float]]
|
|
22078
|
+
"""
|
|
22079
|
+
The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
|
|
22080
|
+
"""
|
|
22081
|
+
num_successive_breaches: NotRequired[pulumi.Input[int]]
|
|
22082
|
+
"""
|
|
22083
|
+
The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
|
|
22084
|
+
"""
|
|
22085
|
+
elif False:
|
|
22086
|
+
OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgsDict: TypeAlias = Mapping[str, Any]
|
|
22087
|
+
|
|
22088
|
+
@pulumi.input_type
|
|
22089
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureNodeDuressArgs:
|
|
22090
|
+
def __init__(__self__, *,
|
|
22091
|
+
cpu_threshold: Optional[pulumi.Input[float]] = None,
|
|
22092
|
+
heap_threshold: Optional[pulumi.Input[float]] = None,
|
|
22093
|
+
num_successive_breaches: Optional[pulumi.Input[int]] = None):
|
|
22094
|
+
"""
|
|
22095
|
+
:param pulumi.Input[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.
|
|
22096
|
+
:param pulumi.Input[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.
|
|
22097
|
+
:param pulumi.Input[int] num_successive_breaches: The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
|
|
22098
|
+
"""
|
|
22099
|
+
if cpu_threshold is not None:
|
|
22100
|
+
pulumi.set(__self__, "cpu_threshold", cpu_threshold)
|
|
22101
|
+
if heap_threshold is not None:
|
|
22102
|
+
pulumi.set(__self__, "heap_threshold", heap_threshold)
|
|
22103
|
+
if num_successive_breaches is not None:
|
|
22104
|
+
pulumi.set(__self__, "num_successive_breaches", num_successive_breaches)
|
|
22105
|
+
|
|
22106
|
+
@property
|
|
22107
|
+
@pulumi.getter(name="cpuThreshold")
|
|
22108
|
+
def cpu_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22109
|
+
"""
|
|
22110
|
+
The CPU usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.9.
|
|
22111
|
+
"""
|
|
22112
|
+
return pulumi.get(self, "cpu_threshold")
|
|
22113
|
+
|
|
22114
|
+
@cpu_threshold.setter
|
|
22115
|
+
def cpu_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22116
|
+
pulumi.set(self, "cpu_threshold", value)
|
|
22117
|
+
|
|
22118
|
+
@property
|
|
22119
|
+
@pulumi.getter(name="heapThreshold")
|
|
22120
|
+
def heap_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22121
|
+
"""
|
|
22122
|
+
The heap usage threshold (as a percentage) required for a node to be considered to be under duress. Default is 0.7.
|
|
22123
|
+
"""
|
|
22124
|
+
return pulumi.get(self, "heap_threshold")
|
|
22125
|
+
|
|
22126
|
+
@heap_threshold.setter
|
|
22127
|
+
def heap_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22128
|
+
pulumi.set(self, "heap_threshold", value)
|
|
22129
|
+
|
|
22130
|
+
@property
|
|
22131
|
+
@pulumi.getter(name="numSuccessiveBreaches")
|
|
22132
|
+
def num_successive_breaches(self) -> Optional[pulumi.Input[int]]:
|
|
22133
|
+
"""
|
|
22134
|
+
The number of successive limit breaches after which the node is considered to be under duress. Default is 3.
|
|
22135
|
+
"""
|
|
22136
|
+
return pulumi.get(self, "num_successive_breaches")
|
|
22137
|
+
|
|
22138
|
+
@num_successive_breaches.setter
|
|
22139
|
+
def num_successive_breaches(self, value: Optional[pulumi.Input[int]]):
|
|
22140
|
+
pulumi.set(self, "num_successive_breaches", value)
|
|
22141
|
+
|
|
22142
|
+
|
|
22143
|
+
if not MYPY:
|
|
22144
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgsDict(TypedDict):
|
|
22145
|
+
cancellation_burst: NotRequired[pulumi.Input[float]]
|
|
22146
|
+
"""
|
|
22147
|
+
The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
|
|
22148
|
+
"""
|
|
22149
|
+
cancellation_rate: NotRequired[pulumi.Input[float]]
|
|
22150
|
+
"""
|
|
22151
|
+
The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22152
|
+
"""
|
|
22153
|
+
cancellation_ratio: NotRequired[pulumi.Input[float]]
|
|
22154
|
+
"""
|
|
22155
|
+
The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
|
|
22156
|
+
"""
|
|
22157
|
+
cpu_time_millis_threshold: NotRequired[pulumi.Input[int]]
|
|
22158
|
+
"""
|
|
22159
|
+
The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
|
|
22160
|
+
"""
|
|
22161
|
+
elapsed_time_millis_threshold: NotRequired[pulumi.Input[int]]
|
|
22162
|
+
"""
|
|
22163
|
+
The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
|
|
22164
|
+
"""
|
|
22165
|
+
heap_moving_average_window_size: NotRequired[pulumi.Input[int]]
|
|
22166
|
+
"""
|
|
22167
|
+
The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
|
|
22168
|
+
"""
|
|
22169
|
+
heap_percent_threshold: NotRequired[pulumi.Input[float]]
|
|
22170
|
+
"""
|
|
22171
|
+
The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
|
|
22172
|
+
"""
|
|
22173
|
+
heap_variance: NotRequired[pulumi.Input[float]]
|
|
22174
|
+
"""
|
|
22175
|
+
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.
|
|
22176
|
+
"""
|
|
22177
|
+
total_heap_percent_threshold: NotRequired[pulumi.Input[float]]
|
|
22178
|
+
"""
|
|
22179
|
+
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.
|
|
22180
|
+
"""
|
|
22181
|
+
elif False:
|
|
22182
|
+
OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgsDict: TypeAlias = Mapping[str, Any]
|
|
22183
|
+
|
|
22184
|
+
@pulumi.input_type
|
|
22185
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchShardTaskArgs:
|
|
22186
|
+
def __init__(__self__, *,
|
|
22187
|
+
cancellation_burst: Optional[pulumi.Input[float]] = None,
|
|
22188
|
+
cancellation_rate: Optional[pulumi.Input[float]] = None,
|
|
22189
|
+
cancellation_ratio: Optional[pulumi.Input[float]] = None,
|
|
22190
|
+
cpu_time_millis_threshold: Optional[pulumi.Input[int]] = None,
|
|
22191
|
+
elapsed_time_millis_threshold: Optional[pulumi.Input[int]] = None,
|
|
22192
|
+
heap_moving_average_window_size: Optional[pulumi.Input[int]] = None,
|
|
22193
|
+
heap_percent_threshold: Optional[pulumi.Input[float]] = None,
|
|
22194
|
+
heap_variance: Optional[pulumi.Input[float]] = None,
|
|
22195
|
+
total_heap_percent_threshold: Optional[pulumi.Input[float]] = None):
|
|
22196
|
+
"""
|
|
22197
|
+
:param pulumi.Input[float] cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
|
|
22198
|
+
:param pulumi.Input[float] cancellation_rate: The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22199
|
+
:param pulumi.Input[float] cancellation_ratio: The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
|
|
22200
|
+
:param pulumi.Input[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.
|
|
22201
|
+
:param pulumi.Input[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.
|
|
22202
|
+
:param pulumi.Input[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.
|
|
22203
|
+
:param pulumi.Input[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.
|
|
22204
|
+
:param pulumi.Input[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.
|
|
22205
|
+
:param pulumi.Input[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.
|
|
22206
|
+
"""
|
|
22207
|
+
if cancellation_burst is not None:
|
|
22208
|
+
pulumi.set(__self__, "cancellation_burst", cancellation_burst)
|
|
22209
|
+
if cancellation_rate is not None:
|
|
22210
|
+
pulumi.set(__self__, "cancellation_rate", cancellation_rate)
|
|
22211
|
+
if cancellation_ratio is not None:
|
|
22212
|
+
pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
|
|
22213
|
+
if cpu_time_millis_threshold is not None:
|
|
22214
|
+
pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
|
|
22215
|
+
if elapsed_time_millis_threshold is not None:
|
|
22216
|
+
pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
|
|
22217
|
+
if heap_moving_average_window_size is not None:
|
|
22218
|
+
pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
|
|
22219
|
+
if heap_percent_threshold is not None:
|
|
22220
|
+
pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
|
|
22221
|
+
if heap_variance is not None:
|
|
22222
|
+
pulumi.set(__self__, "heap_variance", heap_variance)
|
|
22223
|
+
if total_heap_percent_threshold is not None:
|
|
22224
|
+
pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
|
|
22225
|
+
|
|
22226
|
+
@property
|
|
22227
|
+
@pulumi.getter(name="cancellationBurst")
|
|
22228
|
+
def cancellation_burst(self) -> Optional[pulumi.Input[float]]:
|
|
22229
|
+
"""
|
|
22230
|
+
The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 10.0.
|
|
22231
|
+
"""
|
|
22232
|
+
return pulumi.get(self, "cancellation_burst")
|
|
22233
|
+
|
|
22234
|
+
@cancellation_burst.setter
|
|
22235
|
+
def cancellation_burst(self, value: Optional[pulumi.Input[float]]):
|
|
22236
|
+
pulumi.set(self, "cancellation_burst", value)
|
|
22237
|
+
|
|
22238
|
+
@property
|
|
22239
|
+
@pulumi.getter(name="cancellationRate")
|
|
22240
|
+
def cancellation_rate(self) -> Optional[pulumi.Input[float]]:
|
|
22241
|
+
"""
|
|
22242
|
+
The maximum number of tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22243
|
+
"""
|
|
22244
|
+
return pulumi.get(self, "cancellation_rate")
|
|
22245
|
+
|
|
22246
|
+
@cancellation_rate.setter
|
|
22247
|
+
def cancellation_rate(self, value: Optional[pulumi.Input[float]]):
|
|
22248
|
+
pulumi.set(self, "cancellation_rate", value)
|
|
22249
|
+
|
|
22250
|
+
@property
|
|
22251
|
+
@pulumi.getter(name="cancellationRatio")
|
|
22252
|
+
def cancellation_ratio(self) -> Optional[pulumi.Input[float]]:
|
|
22253
|
+
"""
|
|
22254
|
+
The maximum number of tasks to cancel, as a percentage of successful task completions. Default is 0.1.
|
|
22255
|
+
"""
|
|
22256
|
+
return pulumi.get(self, "cancellation_ratio")
|
|
22257
|
+
|
|
22258
|
+
@cancellation_ratio.setter
|
|
22259
|
+
def cancellation_ratio(self, value: Optional[pulumi.Input[float]]):
|
|
22260
|
+
pulumi.set(self, "cancellation_ratio", value)
|
|
22261
|
+
|
|
22262
|
+
@property
|
|
22263
|
+
@pulumi.getter(name="cpuTimeMillisThreshold")
|
|
22264
|
+
def cpu_time_millis_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
22265
|
+
"""
|
|
22266
|
+
The CPU usage threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 15000.
|
|
22267
|
+
"""
|
|
22268
|
+
return pulumi.get(self, "cpu_time_millis_threshold")
|
|
22269
|
+
|
|
22270
|
+
@cpu_time_millis_threshold.setter
|
|
22271
|
+
def cpu_time_millis_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
22272
|
+
pulumi.set(self, "cpu_time_millis_threshold", value)
|
|
22273
|
+
|
|
22274
|
+
@property
|
|
22275
|
+
@pulumi.getter(name="elapsedTimeMillisThreshold")
|
|
22276
|
+
def elapsed_time_millis_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
22277
|
+
"""
|
|
22278
|
+
The elapsed time threshold (in milliseconds) required for a single search shard task before it is considered for cancellation. Default is 30000.
|
|
22279
|
+
"""
|
|
22280
|
+
return pulumi.get(self, "elapsed_time_millis_threshold")
|
|
22281
|
+
|
|
22282
|
+
@elapsed_time_millis_threshold.setter
|
|
22283
|
+
def elapsed_time_millis_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
22284
|
+
pulumi.set(self, "elapsed_time_millis_threshold", value)
|
|
22285
|
+
|
|
22286
|
+
@property
|
|
22287
|
+
@pulumi.getter(name="heapMovingAverageWindowSize")
|
|
22288
|
+
def heap_moving_average_window_size(self) -> Optional[pulumi.Input[int]]:
|
|
22289
|
+
"""
|
|
22290
|
+
The number of previously completed search shard tasks to consider when calculating the rolling average of heap usage. Default is 100.
|
|
22291
|
+
"""
|
|
22292
|
+
return pulumi.get(self, "heap_moving_average_window_size")
|
|
22293
|
+
|
|
22294
|
+
@heap_moving_average_window_size.setter
|
|
22295
|
+
def heap_moving_average_window_size(self, value: Optional[pulumi.Input[int]]):
|
|
22296
|
+
pulumi.set(self, "heap_moving_average_window_size", value)
|
|
22297
|
+
|
|
22298
|
+
@property
|
|
22299
|
+
@pulumi.getter(name="heapPercentThreshold")
|
|
22300
|
+
def heap_percent_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22301
|
+
"""
|
|
22302
|
+
The heap usage threshold (as a percentage) required for a single search shard task before it is considered for cancellation. Default is 0.5.
|
|
22303
|
+
"""
|
|
22304
|
+
return pulumi.get(self, "heap_percent_threshold")
|
|
22305
|
+
|
|
22306
|
+
@heap_percent_threshold.setter
|
|
22307
|
+
def heap_percent_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22308
|
+
pulumi.set(self, "heap_percent_threshold", value)
|
|
22309
|
+
|
|
22310
|
+
@property
|
|
22311
|
+
@pulumi.getter(name="heapVariance")
|
|
22312
|
+
def heap_variance(self) -> Optional[pulumi.Input[float]]:
|
|
22313
|
+
"""
|
|
22314
|
+
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.
|
|
22315
|
+
"""
|
|
22316
|
+
return pulumi.get(self, "heap_variance")
|
|
22317
|
+
|
|
22318
|
+
@heap_variance.setter
|
|
22319
|
+
def heap_variance(self, value: Optional[pulumi.Input[float]]):
|
|
22320
|
+
pulumi.set(self, "heap_variance", value)
|
|
22321
|
+
|
|
22322
|
+
@property
|
|
22323
|
+
@pulumi.getter(name="totalHeapPercentThreshold")
|
|
22324
|
+
def total_heap_percent_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22325
|
+
"""
|
|
22326
|
+
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.
|
|
22327
|
+
"""
|
|
22328
|
+
return pulumi.get(self, "total_heap_percent_threshold")
|
|
22329
|
+
|
|
22330
|
+
@total_heap_percent_threshold.setter
|
|
22331
|
+
def total_heap_percent_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22332
|
+
pulumi.set(self, "total_heap_percent_threshold", value)
|
|
22333
|
+
|
|
22334
|
+
|
|
22335
|
+
if not MYPY:
|
|
22336
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgsDict(TypedDict):
|
|
22337
|
+
cancellation_burst: NotRequired[pulumi.Input[float]]
|
|
22338
|
+
"""
|
|
22339
|
+
The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
|
|
22340
|
+
"""
|
|
22341
|
+
cancellation_rate: NotRequired[pulumi.Input[float]]
|
|
22342
|
+
"""
|
|
22343
|
+
The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22344
|
+
"""
|
|
22345
|
+
cancellation_ratio: NotRequired[pulumi.Input[float]]
|
|
22346
|
+
"""
|
|
22347
|
+
The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
|
|
22348
|
+
"""
|
|
22349
|
+
cpu_time_millis_threshold: NotRequired[pulumi.Input[int]]
|
|
22350
|
+
"""
|
|
22351
|
+
The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
|
|
22352
|
+
"""
|
|
22353
|
+
elapsed_time_millis_threshold: NotRequired[pulumi.Input[int]]
|
|
22354
|
+
"""
|
|
22355
|
+
The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
|
|
22356
|
+
"""
|
|
22357
|
+
heap_moving_average_window_size: NotRequired[pulumi.Input[int]]
|
|
22358
|
+
"""
|
|
22359
|
+
The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
|
|
22360
|
+
"""
|
|
22361
|
+
heap_percent_threshold: NotRequired[pulumi.Input[float]]
|
|
22362
|
+
"""
|
|
22363
|
+
The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
|
|
22364
|
+
"""
|
|
22365
|
+
heap_variance: NotRequired[pulumi.Input[float]]
|
|
22366
|
+
"""
|
|
22367
|
+
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.
|
|
22368
|
+
"""
|
|
22369
|
+
total_heap_percent_threshold: NotRequired[pulumi.Input[float]]
|
|
22370
|
+
"""
|
|
22371
|
+
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.
|
|
22372
|
+
"""
|
|
22373
|
+
elif False:
|
|
22374
|
+
OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgsDict: TypeAlias = Mapping[str, Any]
|
|
22375
|
+
|
|
22376
|
+
@pulumi.input_type
|
|
22377
|
+
class OpenSearchOpensearchUserConfigOpensearchSearchBackpressureSearchTaskArgs:
|
|
22378
|
+
def __init__(__self__, *,
|
|
22379
|
+
cancellation_burst: Optional[pulumi.Input[float]] = None,
|
|
22380
|
+
cancellation_rate: Optional[pulumi.Input[float]] = None,
|
|
22381
|
+
cancellation_ratio: Optional[pulumi.Input[float]] = None,
|
|
22382
|
+
cpu_time_millis_threshold: Optional[pulumi.Input[int]] = None,
|
|
22383
|
+
elapsed_time_millis_threshold: Optional[pulumi.Input[int]] = None,
|
|
22384
|
+
heap_moving_average_window_size: Optional[pulumi.Input[int]] = None,
|
|
22385
|
+
heap_percent_threshold: Optional[pulumi.Input[float]] = None,
|
|
22386
|
+
heap_variance: Optional[pulumi.Input[float]] = None,
|
|
22387
|
+
total_heap_percent_threshold: Optional[pulumi.Input[float]] = None):
|
|
22388
|
+
"""
|
|
22389
|
+
:param pulumi.Input[float] cancellation_burst: The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
|
|
22390
|
+
:param pulumi.Input[float] cancellation_rate: The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22391
|
+
:param pulumi.Input[float] cancellation_ratio: The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
|
|
22392
|
+
:param pulumi.Input[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.
|
|
22393
|
+
:param pulumi.Input[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.
|
|
22394
|
+
:param pulumi.Input[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.
|
|
22395
|
+
:param pulumi.Input[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.
|
|
22396
|
+
:param pulumi.Input[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.
|
|
22397
|
+
:param pulumi.Input[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.
|
|
22398
|
+
"""
|
|
22399
|
+
if cancellation_burst is not None:
|
|
22400
|
+
pulumi.set(__self__, "cancellation_burst", cancellation_burst)
|
|
22401
|
+
if cancellation_rate is not None:
|
|
22402
|
+
pulumi.set(__self__, "cancellation_rate", cancellation_rate)
|
|
22403
|
+
if cancellation_ratio is not None:
|
|
22404
|
+
pulumi.set(__self__, "cancellation_ratio", cancellation_ratio)
|
|
22405
|
+
if cpu_time_millis_threshold is not None:
|
|
22406
|
+
pulumi.set(__self__, "cpu_time_millis_threshold", cpu_time_millis_threshold)
|
|
22407
|
+
if elapsed_time_millis_threshold is not None:
|
|
22408
|
+
pulumi.set(__self__, "elapsed_time_millis_threshold", elapsed_time_millis_threshold)
|
|
22409
|
+
if heap_moving_average_window_size is not None:
|
|
22410
|
+
pulumi.set(__self__, "heap_moving_average_window_size", heap_moving_average_window_size)
|
|
22411
|
+
if heap_percent_threshold is not None:
|
|
22412
|
+
pulumi.set(__self__, "heap_percent_threshold", heap_percent_threshold)
|
|
22413
|
+
if heap_variance is not None:
|
|
22414
|
+
pulumi.set(__self__, "heap_variance", heap_variance)
|
|
22415
|
+
if total_heap_percent_threshold is not None:
|
|
22416
|
+
pulumi.set(__self__, "total_heap_percent_threshold", total_heap_percent_threshold)
|
|
22417
|
+
|
|
22418
|
+
@property
|
|
22419
|
+
@pulumi.getter(name="cancellationBurst")
|
|
22420
|
+
def cancellation_burst(self) -> Optional[pulumi.Input[float]]:
|
|
22421
|
+
"""
|
|
22422
|
+
The maximum number of search tasks to cancel in a single iteration of the observer thread. Default is 5.0.
|
|
22423
|
+
"""
|
|
22424
|
+
return pulumi.get(self, "cancellation_burst")
|
|
22425
|
+
|
|
22426
|
+
@cancellation_burst.setter
|
|
22427
|
+
def cancellation_burst(self, value: Optional[pulumi.Input[float]]):
|
|
22428
|
+
pulumi.set(self, "cancellation_burst", value)
|
|
22429
|
+
|
|
22430
|
+
@property
|
|
22431
|
+
@pulumi.getter(name="cancellationRate")
|
|
22432
|
+
def cancellation_rate(self) -> Optional[pulumi.Input[float]]:
|
|
22433
|
+
"""
|
|
22434
|
+
The maximum number of search tasks to cancel per millisecond of elapsed time. Default is 0.003.
|
|
22435
|
+
"""
|
|
22436
|
+
return pulumi.get(self, "cancellation_rate")
|
|
22437
|
+
|
|
22438
|
+
@cancellation_rate.setter
|
|
22439
|
+
def cancellation_rate(self, value: Optional[pulumi.Input[float]]):
|
|
22440
|
+
pulumi.set(self, "cancellation_rate", value)
|
|
22441
|
+
|
|
22442
|
+
@property
|
|
22443
|
+
@pulumi.getter(name="cancellationRatio")
|
|
22444
|
+
def cancellation_ratio(self) -> Optional[pulumi.Input[float]]:
|
|
22445
|
+
"""
|
|
22446
|
+
The maximum number of search tasks to cancel, as a percentage of successful search task completions. Default is 0.1.
|
|
22447
|
+
"""
|
|
22448
|
+
return pulumi.get(self, "cancellation_ratio")
|
|
22449
|
+
|
|
22450
|
+
@cancellation_ratio.setter
|
|
22451
|
+
def cancellation_ratio(self, value: Optional[pulumi.Input[float]]):
|
|
22452
|
+
pulumi.set(self, "cancellation_ratio", value)
|
|
22453
|
+
|
|
22454
|
+
@property
|
|
22455
|
+
@pulumi.getter(name="cpuTimeMillisThreshold")
|
|
22456
|
+
def cpu_time_millis_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
22457
|
+
"""
|
|
22458
|
+
The CPU usage threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 30000.
|
|
22459
|
+
"""
|
|
22460
|
+
return pulumi.get(self, "cpu_time_millis_threshold")
|
|
22461
|
+
|
|
22462
|
+
@cpu_time_millis_threshold.setter
|
|
22463
|
+
def cpu_time_millis_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
22464
|
+
pulumi.set(self, "cpu_time_millis_threshold", value)
|
|
22465
|
+
|
|
22466
|
+
@property
|
|
22467
|
+
@pulumi.getter(name="elapsedTimeMillisThreshold")
|
|
22468
|
+
def elapsed_time_millis_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
22469
|
+
"""
|
|
22470
|
+
The elapsed time threshold (in milliseconds) required for an individual parent task before it is considered for cancellation. Default is 45000.
|
|
22471
|
+
"""
|
|
22472
|
+
return pulumi.get(self, "elapsed_time_millis_threshold")
|
|
22473
|
+
|
|
22474
|
+
@elapsed_time_millis_threshold.setter
|
|
22475
|
+
def elapsed_time_millis_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
22476
|
+
pulumi.set(self, "elapsed_time_millis_threshold", value)
|
|
22477
|
+
|
|
22478
|
+
@property
|
|
22479
|
+
@pulumi.getter(name="heapMovingAverageWindowSize")
|
|
22480
|
+
def heap_moving_average_window_size(self) -> Optional[pulumi.Input[int]]:
|
|
22481
|
+
"""
|
|
22482
|
+
The window size used to calculate the rolling average of the heap usage for the completed parent tasks. Default is 10.
|
|
22483
|
+
"""
|
|
22484
|
+
return pulumi.get(self, "heap_moving_average_window_size")
|
|
22485
|
+
|
|
22486
|
+
@heap_moving_average_window_size.setter
|
|
22487
|
+
def heap_moving_average_window_size(self, value: Optional[pulumi.Input[int]]):
|
|
22488
|
+
pulumi.set(self, "heap_moving_average_window_size", value)
|
|
22489
|
+
|
|
22490
|
+
@property
|
|
22491
|
+
@pulumi.getter(name="heapPercentThreshold")
|
|
22492
|
+
def heap_percent_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22493
|
+
"""
|
|
22494
|
+
The heap usage threshold (as a percentage) required for an individual parent task before it is considered for cancellation. Default is 0.2.
|
|
22495
|
+
"""
|
|
22496
|
+
return pulumi.get(self, "heap_percent_threshold")
|
|
22497
|
+
|
|
22498
|
+
@heap_percent_threshold.setter
|
|
22499
|
+
def heap_percent_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22500
|
+
pulumi.set(self, "heap_percent_threshold", value)
|
|
22501
|
+
|
|
22502
|
+
@property
|
|
22503
|
+
@pulumi.getter(name="heapVariance")
|
|
22504
|
+
def heap_variance(self) -> Optional[pulumi.Input[float]]:
|
|
22505
|
+
"""
|
|
22506
|
+
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.
|
|
22507
|
+
"""
|
|
22508
|
+
return pulumi.get(self, "heap_variance")
|
|
22509
|
+
|
|
22510
|
+
@heap_variance.setter
|
|
22511
|
+
def heap_variance(self, value: Optional[pulumi.Input[float]]):
|
|
22512
|
+
pulumi.set(self, "heap_variance", value)
|
|
22513
|
+
|
|
22514
|
+
@property
|
|
22515
|
+
@pulumi.getter(name="totalHeapPercentThreshold")
|
|
22516
|
+
def total_heap_percent_threshold(self) -> Optional[pulumi.Input[float]]:
|
|
22517
|
+
"""
|
|
22518
|
+
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.
|
|
22519
|
+
"""
|
|
22520
|
+
return pulumi.get(self, "total_heap_percent_threshold")
|
|
22521
|
+
|
|
22522
|
+
@total_heap_percent_threshold.setter
|
|
22523
|
+
def total_heap_percent_threshold(self, value: Optional[pulumi.Input[float]]):
|
|
22524
|
+
pulumi.set(self, "total_heap_percent_threshold", value)
|
|
22525
|
+
|
|
22526
|
+
|
|
22527
|
+
if not MYPY:
|
|
22528
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgsDict(TypedDict):
|
|
22529
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
|
22530
|
+
"""
|
|
22531
|
+
Enable or disable shard indexing backpressure. Default is false.
|
|
22532
|
+
"""
|
|
22533
|
+
enforced: NotRequired[pulumi.Input[bool]]
|
|
22534
|
+
"""
|
|
22535
|
+
Run shard indexing backpressure in shadow mode or enforced mode.
|
|
22536
|
+
In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
|
|
22537
|
+
but it doesn’t actually reject any indexing requests.
|
|
22538
|
+
In enforced mode (value set as true),
|
|
22539
|
+
shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
|
|
22540
|
+
Default is false.
|
|
22541
|
+
"""
|
|
22542
|
+
operating_factor: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgsDict']]
|
|
22543
|
+
"""
|
|
22544
|
+
Operating factor
|
|
22545
|
+
"""
|
|
22546
|
+
primary_parameter: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgsDict']]
|
|
22547
|
+
"""
|
|
22548
|
+
Primary parameter
|
|
22549
|
+
"""
|
|
22550
|
+
elif False:
|
|
22551
|
+
OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgsDict: TypeAlias = Mapping[str, Any]
|
|
22552
|
+
|
|
22553
|
+
@pulumi.input_type
|
|
22554
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureArgs:
|
|
22555
|
+
def __init__(__self__, *,
|
|
22556
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
|
22557
|
+
enforced: Optional[pulumi.Input[bool]] = None,
|
|
22558
|
+
operating_factor: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs']] = None,
|
|
22559
|
+
primary_parameter: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs']] = None):
|
|
22560
|
+
"""
|
|
22561
|
+
:param pulumi.Input[bool] enabled: Enable or disable shard indexing backpressure. Default is false.
|
|
22562
|
+
:param pulumi.Input[bool] enforced: Run shard indexing backpressure in shadow mode or enforced mode.
|
|
22563
|
+
In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
|
|
22564
|
+
but it doesn’t actually reject any indexing requests.
|
|
22565
|
+
In enforced mode (value set as true),
|
|
22566
|
+
shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
|
|
22567
|
+
Default is false.
|
|
22568
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs'] operating_factor: Operating factor
|
|
22569
|
+
:param pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs'] primary_parameter: Primary parameter
|
|
22570
|
+
"""
|
|
22571
|
+
if enabled is not None:
|
|
22572
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
22573
|
+
if enforced is not None:
|
|
22574
|
+
pulumi.set(__self__, "enforced", enforced)
|
|
22575
|
+
if operating_factor is not None:
|
|
22576
|
+
pulumi.set(__self__, "operating_factor", operating_factor)
|
|
22577
|
+
if primary_parameter is not None:
|
|
22578
|
+
pulumi.set(__self__, "primary_parameter", primary_parameter)
|
|
22579
|
+
|
|
22580
|
+
@property
|
|
22581
|
+
@pulumi.getter
|
|
22582
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
22583
|
+
"""
|
|
22584
|
+
Enable or disable shard indexing backpressure. Default is false.
|
|
22585
|
+
"""
|
|
22586
|
+
return pulumi.get(self, "enabled")
|
|
22587
|
+
|
|
22588
|
+
@enabled.setter
|
|
22589
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
22590
|
+
pulumi.set(self, "enabled", value)
|
|
22591
|
+
|
|
22592
|
+
@property
|
|
22593
|
+
@pulumi.getter
|
|
22594
|
+
def enforced(self) -> Optional[pulumi.Input[bool]]:
|
|
22595
|
+
"""
|
|
22596
|
+
Run shard indexing backpressure in shadow mode or enforced mode.
|
|
22597
|
+
In shadow mode (value set as false), shard indexing backpressure tracks all granular-level metrics,
|
|
22598
|
+
but it doesn’t actually reject any indexing requests.
|
|
22599
|
+
In enforced mode (value set as true),
|
|
22600
|
+
shard indexing backpressure rejects any requests to the cluster that might cause a dip in its performance.
|
|
22601
|
+
Default is false.
|
|
22602
|
+
"""
|
|
22603
|
+
return pulumi.get(self, "enforced")
|
|
22604
|
+
|
|
22605
|
+
@enforced.setter
|
|
22606
|
+
def enforced(self, value: Optional[pulumi.Input[bool]]):
|
|
22607
|
+
pulumi.set(self, "enforced", value)
|
|
22608
|
+
|
|
22609
|
+
@property
|
|
22610
|
+
@pulumi.getter(name="operatingFactor")
|
|
22611
|
+
def operating_factor(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs']]:
|
|
22612
|
+
"""
|
|
22613
|
+
Operating factor
|
|
22614
|
+
"""
|
|
22615
|
+
return pulumi.get(self, "operating_factor")
|
|
22616
|
+
|
|
22617
|
+
@operating_factor.setter
|
|
22618
|
+
def operating_factor(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs']]):
|
|
22619
|
+
pulumi.set(self, "operating_factor", value)
|
|
22620
|
+
|
|
22621
|
+
@property
|
|
22622
|
+
@pulumi.getter(name="primaryParameter")
|
|
22623
|
+
def primary_parameter(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs']]:
|
|
22624
|
+
"""
|
|
22625
|
+
Primary parameter
|
|
22626
|
+
"""
|
|
22627
|
+
return pulumi.get(self, "primary_parameter")
|
|
22628
|
+
|
|
22629
|
+
@primary_parameter.setter
|
|
22630
|
+
def primary_parameter(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs']]):
|
|
22631
|
+
pulumi.set(self, "primary_parameter", value)
|
|
22632
|
+
|
|
22633
|
+
|
|
22634
|
+
if not MYPY:
|
|
22635
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgsDict(TypedDict):
|
|
22636
|
+
lower: NotRequired[pulumi.Input[float]]
|
|
22637
|
+
"""
|
|
22638
|
+
Specify the lower occupancy limit of the allocated quota of memory for the shard.
|
|
22639
|
+
If the total memory usage of a shard is below this limit,
|
|
22640
|
+
shard indexing backpressure decreases the current allocated memory for that shard.
|
|
22641
|
+
Default is 0.75.
|
|
22642
|
+
"""
|
|
22643
|
+
optimal: NotRequired[pulumi.Input[float]]
|
|
22644
|
+
"""
|
|
22645
|
+
Specify the optimal occupancy of the allocated quota of memory for the shard.
|
|
22646
|
+
If the total memory usage of a shard is at this level,
|
|
22647
|
+
shard indexing backpressure doesn’t change the current allocated memory for that shard.
|
|
22648
|
+
Default is 0.85.
|
|
22649
|
+
"""
|
|
22650
|
+
upper: NotRequired[pulumi.Input[float]]
|
|
22651
|
+
"""
|
|
22652
|
+
Specify the upper occupancy limit of the allocated quota of memory for the shard.
|
|
22653
|
+
If the total memory usage of a shard is above this limit,
|
|
22654
|
+
shard indexing backpressure increases the current allocated memory for that shard.
|
|
22655
|
+
Default is 0.95.
|
|
22656
|
+
"""
|
|
22657
|
+
elif False:
|
|
22658
|
+
OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgsDict: TypeAlias = Mapping[str, Any]
|
|
22659
|
+
|
|
22660
|
+
@pulumi.input_type
|
|
22661
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressureOperatingFactorArgs:
|
|
22662
|
+
def __init__(__self__, *,
|
|
22663
|
+
lower: Optional[pulumi.Input[float]] = None,
|
|
22664
|
+
optimal: Optional[pulumi.Input[float]] = None,
|
|
22665
|
+
upper: Optional[pulumi.Input[float]] = None):
|
|
22666
|
+
"""
|
|
22667
|
+
:param pulumi.Input[float] lower: Specify the lower occupancy limit of the allocated quota of memory for the shard.
|
|
22668
|
+
If the total memory usage of a shard is below this limit,
|
|
22669
|
+
shard indexing backpressure decreases the current allocated memory for that shard.
|
|
22670
|
+
Default is 0.75.
|
|
22671
|
+
:param pulumi.Input[float] optimal: Specify the optimal occupancy of the allocated quota of memory for the shard.
|
|
22672
|
+
If the total memory usage of a shard is at this level,
|
|
22673
|
+
shard indexing backpressure doesn’t change the current allocated memory for that shard.
|
|
22674
|
+
Default is 0.85.
|
|
22675
|
+
:param pulumi.Input[float] upper: Specify the upper occupancy limit of the allocated quota of memory for the shard.
|
|
22676
|
+
If the total memory usage of a shard is above this limit,
|
|
22677
|
+
shard indexing backpressure increases the current allocated memory for that shard.
|
|
22678
|
+
Default is 0.95.
|
|
22679
|
+
"""
|
|
22680
|
+
if lower is not None:
|
|
22681
|
+
pulumi.set(__self__, "lower", lower)
|
|
22682
|
+
if optimal is not None:
|
|
22683
|
+
pulumi.set(__self__, "optimal", optimal)
|
|
22684
|
+
if upper is not None:
|
|
22685
|
+
pulumi.set(__self__, "upper", upper)
|
|
22686
|
+
|
|
22687
|
+
@property
|
|
22688
|
+
@pulumi.getter
|
|
22689
|
+
def lower(self) -> Optional[pulumi.Input[float]]:
|
|
22690
|
+
"""
|
|
22691
|
+
Specify the lower occupancy limit of the allocated quota of memory for the shard.
|
|
22692
|
+
If the total memory usage of a shard is below this limit,
|
|
22693
|
+
shard indexing backpressure decreases the current allocated memory for that shard.
|
|
22694
|
+
Default is 0.75.
|
|
22695
|
+
"""
|
|
22696
|
+
return pulumi.get(self, "lower")
|
|
22697
|
+
|
|
22698
|
+
@lower.setter
|
|
22699
|
+
def lower(self, value: Optional[pulumi.Input[float]]):
|
|
22700
|
+
pulumi.set(self, "lower", value)
|
|
22701
|
+
|
|
22702
|
+
@property
|
|
22703
|
+
@pulumi.getter
|
|
22704
|
+
def optimal(self) -> Optional[pulumi.Input[float]]:
|
|
22705
|
+
"""
|
|
22706
|
+
Specify the optimal occupancy of the allocated quota of memory for the shard.
|
|
22707
|
+
If the total memory usage of a shard is at this level,
|
|
22708
|
+
shard indexing backpressure doesn’t change the current allocated memory for that shard.
|
|
22709
|
+
Default is 0.85.
|
|
22710
|
+
"""
|
|
22711
|
+
return pulumi.get(self, "optimal")
|
|
22712
|
+
|
|
22713
|
+
@optimal.setter
|
|
22714
|
+
def optimal(self, value: Optional[pulumi.Input[float]]):
|
|
22715
|
+
pulumi.set(self, "optimal", value)
|
|
22716
|
+
|
|
22717
|
+
@property
|
|
22718
|
+
@pulumi.getter
|
|
22719
|
+
def upper(self) -> Optional[pulumi.Input[float]]:
|
|
22720
|
+
"""
|
|
22721
|
+
Specify the upper occupancy limit of the allocated quota of memory for the shard.
|
|
22722
|
+
If the total memory usage of a shard is above this limit,
|
|
22723
|
+
shard indexing backpressure increases the current allocated memory for that shard.
|
|
22724
|
+
Default is 0.95.
|
|
22725
|
+
"""
|
|
22726
|
+
return pulumi.get(self, "upper")
|
|
22727
|
+
|
|
22728
|
+
@upper.setter
|
|
22729
|
+
def upper(self, value: Optional[pulumi.Input[float]]):
|
|
22730
|
+
pulumi.set(self, "upper", value)
|
|
22731
|
+
|
|
22732
|
+
|
|
22733
|
+
if not MYPY:
|
|
22734
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgsDict(TypedDict):
|
|
22735
|
+
node: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgsDict']]
|
|
22736
|
+
shard: NotRequired[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgsDict']]
|
|
22737
|
+
elif False:
|
|
22738
|
+
OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgsDict: TypeAlias = Mapping[str, Any]
|
|
22739
|
+
|
|
22740
|
+
@pulumi.input_type
|
|
22741
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterArgs:
|
|
22742
|
+
def __init__(__self__, *,
|
|
22743
|
+
node: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgs']] = None,
|
|
22744
|
+
shard: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgs']] = None):
|
|
22745
|
+
if node is not None:
|
|
22746
|
+
pulumi.set(__self__, "node", node)
|
|
22747
|
+
if shard is not None:
|
|
22748
|
+
pulumi.set(__self__, "shard", shard)
|
|
22749
|
+
|
|
22750
|
+
@property
|
|
22751
|
+
@pulumi.getter
|
|
22752
|
+
def node(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgs']]:
|
|
22753
|
+
return pulumi.get(self, "node")
|
|
22754
|
+
|
|
22755
|
+
@node.setter
|
|
22756
|
+
def node(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgs']]):
|
|
22757
|
+
pulumi.set(self, "node", value)
|
|
22758
|
+
|
|
22759
|
+
@property
|
|
22760
|
+
@pulumi.getter
|
|
22761
|
+
def shard(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgs']]:
|
|
22762
|
+
return pulumi.get(self, "shard")
|
|
22763
|
+
|
|
22764
|
+
@shard.setter
|
|
22765
|
+
def shard(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgs']]):
|
|
22766
|
+
pulumi.set(self, "shard", value)
|
|
22767
|
+
|
|
22768
|
+
|
|
22769
|
+
if not MYPY:
|
|
22770
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgsDict(TypedDict):
|
|
22771
|
+
soft_limit: NotRequired[pulumi.Input[float]]
|
|
22772
|
+
"""
|
|
22773
|
+
Define the percentage of the node-level memory
|
|
22774
|
+
threshold that acts as a soft indicator for strain on a node.
|
|
22775
|
+
Default is 0.7.
|
|
22776
|
+
"""
|
|
22777
|
+
elif False:
|
|
22778
|
+
OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgsDict: TypeAlias = Mapping[str, Any]
|
|
22779
|
+
|
|
22780
|
+
@pulumi.input_type
|
|
22781
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterNodeArgs:
|
|
22782
|
+
def __init__(__self__, *,
|
|
22783
|
+
soft_limit: Optional[pulumi.Input[float]] = None):
|
|
22784
|
+
"""
|
|
22785
|
+
:param pulumi.Input[float] soft_limit: Define the percentage of the node-level memory
|
|
22786
|
+
threshold that acts as a soft indicator for strain on a node.
|
|
22787
|
+
Default is 0.7.
|
|
22788
|
+
"""
|
|
22789
|
+
if soft_limit is not None:
|
|
22790
|
+
pulumi.set(__self__, "soft_limit", soft_limit)
|
|
22791
|
+
|
|
22792
|
+
@property
|
|
22793
|
+
@pulumi.getter(name="softLimit")
|
|
22794
|
+
def soft_limit(self) -> Optional[pulumi.Input[float]]:
|
|
22795
|
+
"""
|
|
22796
|
+
Define the percentage of the node-level memory
|
|
22797
|
+
threshold that acts as a soft indicator for strain on a node.
|
|
22798
|
+
Default is 0.7.
|
|
22799
|
+
"""
|
|
22800
|
+
return pulumi.get(self, "soft_limit")
|
|
22801
|
+
|
|
22802
|
+
@soft_limit.setter
|
|
22803
|
+
def soft_limit(self, value: Optional[pulumi.Input[float]]):
|
|
22804
|
+
pulumi.set(self, "soft_limit", value)
|
|
22805
|
+
|
|
22806
|
+
|
|
22807
|
+
if not MYPY:
|
|
22808
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgsDict(TypedDict):
|
|
22809
|
+
min_limit: NotRequired[pulumi.Input[float]]
|
|
22810
|
+
"""
|
|
22811
|
+
Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
|
|
22812
|
+
Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
|
|
22813
|
+
Default is 0.001.
|
|
22814
|
+
"""
|
|
22815
|
+
elif False:
|
|
22816
|
+
OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgsDict: TypeAlias = Mapping[str, Any]
|
|
22817
|
+
|
|
22818
|
+
@pulumi.input_type
|
|
22819
|
+
class OpenSearchOpensearchUserConfigOpensearchShardIndexingPressurePrimaryParameterShardArgs:
|
|
22820
|
+
def __init__(__self__, *,
|
|
22821
|
+
min_limit: Optional[pulumi.Input[float]] = None):
|
|
22822
|
+
"""
|
|
22823
|
+
:param pulumi.Input[float] min_limit: Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
|
|
22824
|
+
Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
|
|
22825
|
+
Default is 0.001.
|
|
22826
|
+
"""
|
|
22827
|
+
if min_limit is not None:
|
|
22828
|
+
pulumi.set(__self__, "min_limit", min_limit)
|
|
22829
|
+
|
|
22830
|
+
@property
|
|
22831
|
+
@pulumi.getter(name="minLimit")
|
|
22832
|
+
def min_limit(self) -> Optional[pulumi.Input[float]]:
|
|
22833
|
+
"""
|
|
22834
|
+
Specify the minimum assigned quota for a new shard in any role (coordinator, primary, or replica).
|
|
22835
|
+
Shard indexing backpressure increases or decreases this allocated quota based on the inflow of traffic for the shard.
|
|
22836
|
+
Default is 0.001.
|
|
22837
|
+
"""
|
|
22838
|
+
return pulumi.get(self, "min_limit")
|
|
22839
|
+
|
|
22840
|
+
@min_limit.setter
|
|
22841
|
+
def min_limit(self, value: Optional[pulumi.Input[float]]):
|
|
22842
|
+
pulumi.set(self, "min_limit", value)
|
|
22843
|
+
|
|
22844
|
+
|
|
21921
22845
|
if not MYPY:
|
|
21922
22846
|
class OpenSearchOpensearchUserConfigPrivateAccessArgsDict(TypedDict):
|
|
21923
22847
|
opensearch: NotRequired[pulumi.Input[bool]]
|
|
@@ -22744,7 +23668,7 @@ if not MYPY:
|
|
|
22744
23668
|
class OrganizationPermissionPermissionArgsDict(TypedDict):
|
|
22745
23669
|
permissions: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
22746
23670
|
"""
|
|
22747
|
-
List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `
|
|
23671
|
+
List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
|
|
22748
23672
|
"""
|
|
22749
23673
|
principal_id: pulumi.Input[str]
|
|
22750
23674
|
"""
|
|
@@ -22774,7 +23698,7 @@ class OrganizationPermissionPermissionArgs:
|
|
|
22774
23698
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
22775
23699
|
update_time: Optional[pulumi.Input[str]] = None):
|
|
22776
23700
|
"""
|
|
22777
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `
|
|
23701
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] permissions: List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
|
|
22778
23702
|
:param pulumi.Input[str] principal_id: ID of the user or group.
|
|
22779
23703
|
:param pulumi.Input[str] principal_type: The type of principal. The possible values are `user` and `user_group`.
|
|
22780
23704
|
:param pulumi.Input[str] create_time: Time created.
|
|
@@ -22792,7 +23716,7 @@ class OrganizationPermissionPermissionArgs:
|
|
|
22792
23716
|
@pulumi.getter
|
|
22793
23717
|
def permissions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
22794
23718
|
"""
|
|
22795
|
-
List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `
|
|
23719
|
+
List of permissions. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
|
|
22796
23720
|
"""
|
|
22797
23721
|
return pulumi.get(self, "permissions")
|
|
22798
23722
|
|
|
@@ -32871,6 +33795,9 @@ class ThanosThanosUserConfigArgs:
|
|
|
32871
33795
|
"""
|
|
32872
33796
|
if compactor is not None:
|
|
32873
33797
|
pulumi.set(__self__, "compactor", compactor)
|
|
33798
|
+
if env is not None:
|
|
33799
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
33800
|
+
pulumi.log.warn("""env is deprecated: This property is deprecated.""")
|
|
32874
33801
|
if env is not None:
|
|
32875
33802
|
pulumi.set(__self__, "env", env)
|
|
32876
33803
|
if ip_filter_objects is not None:
|
|
@@ -32909,6 +33836,7 @@ class ThanosThanosUserConfigArgs:
|
|
|
32909
33836
|
|
|
32910
33837
|
@property
|
|
32911
33838
|
@pulumi.getter
|
|
33839
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
32912
33840
|
def env(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
32913
33841
|
"""
|
|
32914
33842
|
Environmental variables.
|