pulumi-harness 0.8.0a1747375122__py3-none-any.whl → 0.8.0a1747893453__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-harness might be problematic. Click here for more details.
- pulumi_harness/__init__.py +16 -0
- pulumi_harness/cluster/__init__.py +4 -0
- pulumi_harness/cluster/_inputs.py +992 -0
- pulumi_harness/cluster/get_orchestrator_config.py +175 -0
- pulumi_harness/cluster/orchestrator_config.py +295 -0
- pulumi_harness/cluster/outputs.py +644 -0
- pulumi_harness/platform/__init__.py +2 -0
- pulumi_harness/platform/_inputs.py +193 -0
- pulumi_harness/platform/connector_azure_repo.py +727 -0
- pulumi_harness/platform/db_instance.py +57 -2
- pulumi_harness/platform/get_connector_azure_repo.py +231 -0
- pulumi_harness/platform/get_db_instance.py +16 -1
- pulumi_harness/platform/outputs.py +275 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/METADATA +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/RECORD +18 -12
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/WHEEL +1 -1
- {pulumi_harness-0.8.0a1747375122.dist-info → pulumi_harness-0.8.0a1747893453.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'OrchestratorConfigBinpacking',
|
|
21
|
+
'OrchestratorConfigBinpackingDisruption',
|
|
22
|
+
'OrchestratorConfigBinpackingDisruptionBudget',
|
|
23
|
+
'OrchestratorConfigBinpackingDisruptionBudgetSchedule',
|
|
24
|
+
'OrchestratorConfigBinpackingPodEviction',
|
|
25
|
+
'OrchestratorConfigBinpackingPodEvictionThreshold',
|
|
26
|
+
'OrchestratorConfigDistribution',
|
|
27
|
+
'OrchestratorConfigNodePreferences',
|
|
28
|
+
'GetOrchestratorConfigBinpackingResult',
|
|
29
|
+
'GetOrchestratorConfigBinpackingDisruptionResult',
|
|
30
|
+
'GetOrchestratorConfigBinpackingDisruptionBudgetResult',
|
|
31
|
+
'GetOrchestratorConfigBinpackingDisruptionBudgetScheduleResult',
|
|
32
|
+
'GetOrchestratorConfigBinpackingPodEvictionResult',
|
|
33
|
+
'GetOrchestratorConfigBinpackingPodEvictionThresholdResult',
|
|
34
|
+
'GetOrchestratorConfigDistributionResult',
|
|
35
|
+
'GetOrchestratorConfigNodePreferencesResult',
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
@pulumi.output_type
|
|
39
|
+
class OrchestratorConfigBinpacking(dict):
|
|
40
|
+
@staticmethod
|
|
41
|
+
def __key_warning(key: str):
|
|
42
|
+
suggest = None
|
|
43
|
+
if key == "podEviction":
|
|
44
|
+
suggest = "pod_eviction"
|
|
45
|
+
|
|
46
|
+
if suggest:
|
|
47
|
+
pulumi.log.warn(f"Key '{key}' not found in OrchestratorConfigBinpacking. Access the value via the '{suggest}' property getter instead.")
|
|
48
|
+
|
|
49
|
+
def __getitem__(self, key: str) -> Any:
|
|
50
|
+
OrchestratorConfigBinpacking.__key_warning(key)
|
|
51
|
+
return super().__getitem__(key)
|
|
52
|
+
|
|
53
|
+
def get(self, key: str, default = None) -> Any:
|
|
54
|
+
OrchestratorConfigBinpacking.__key_warning(key)
|
|
55
|
+
return super().get(key, default)
|
|
56
|
+
|
|
57
|
+
def __init__(__self__, *,
|
|
58
|
+
disruption: Optional['outputs.OrchestratorConfigBinpackingDisruption'] = None,
|
|
59
|
+
pod_eviction: Optional['outputs.OrchestratorConfigBinpackingPodEviction'] = None):
|
|
60
|
+
"""
|
|
61
|
+
:param 'OrchestratorConfigBinpackingDisruptionArgs' disruption: Harness disruption configuration
|
|
62
|
+
:param 'OrchestratorConfigBinpackingPodEvictionArgs' pod_eviction: Harness Pod Evictor Configuration
|
|
63
|
+
"""
|
|
64
|
+
if disruption is not None:
|
|
65
|
+
pulumi.set(__self__, "disruption", disruption)
|
|
66
|
+
if pod_eviction is not None:
|
|
67
|
+
pulumi.set(__self__, "pod_eviction", pod_eviction)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter
|
|
71
|
+
def disruption(self) -> Optional['outputs.OrchestratorConfigBinpackingDisruption']:
|
|
72
|
+
"""
|
|
73
|
+
Harness disruption configuration
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "disruption")
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="podEviction")
|
|
79
|
+
def pod_eviction(self) -> Optional['outputs.OrchestratorConfigBinpackingPodEviction']:
|
|
80
|
+
"""
|
|
81
|
+
Harness Pod Evictor Configuration
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "pod_eviction")
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
@pulumi.output_type
|
|
87
|
+
class OrchestratorConfigBinpackingDisruption(dict):
|
|
88
|
+
def __init__(__self__, *,
|
|
89
|
+
budgets: Optional[Sequence['outputs.OrchestratorConfigBinpackingDisruptionBudget']] = None,
|
|
90
|
+
criteria: Optional[builtins.str] = None,
|
|
91
|
+
delay: Optional[builtins.str] = None):
|
|
92
|
+
"""
|
|
93
|
+
:param Sequence['OrchestratorConfigBinpackingDisruptionBudgetArgs'] budgets: Budgets for disruption
|
|
94
|
+
:param builtins.str criteria: Criteria for considering a nodes for disruption
|
|
95
|
+
:param builtins.str delay: Deletion delay
|
|
96
|
+
"""
|
|
97
|
+
if budgets is not None:
|
|
98
|
+
pulumi.set(__self__, "budgets", budgets)
|
|
99
|
+
if criteria is not None:
|
|
100
|
+
pulumi.set(__self__, "criteria", criteria)
|
|
101
|
+
if delay is not None:
|
|
102
|
+
pulumi.set(__self__, "delay", delay)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def budgets(self) -> Optional[Sequence['outputs.OrchestratorConfigBinpackingDisruptionBudget']]:
|
|
107
|
+
"""
|
|
108
|
+
Budgets for disruption
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "budgets")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter
|
|
114
|
+
def criteria(self) -> Optional[builtins.str]:
|
|
115
|
+
"""
|
|
116
|
+
Criteria for considering a nodes for disruption
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "criteria")
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter
|
|
122
|
+
def delay(self) -> Optional[builtins.str]:
|
|
123
|
+
"""
|
|
124
|
+
Deletion delay
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "delay")
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@pulumi.output_type
|
|
130
|
+
class OrchestratorConfigBinpackingDisruptionBudget(dict):
|
|
131
|
+
def __init__(__self__, *,
|
|
132
|
+
nodes: builtins.str,
|
|
133
|
+
reasons: Optional[Sequence[builtins.str]] = None,
|
|
134
|
+
schedule: Optional['outputs.OrchestratorConfigBinpackingDisruptionBudgetSchedule'] = None):
|
|
135
|
+
"""
|
|
136
|
+
:param builtins.str nodes: Number or percentage of Nodes to consider for disruption
|
|
137
|
+
:param Sequence[builtins.str] reasons: Reasons for disruption
|
|
138
|
+
:param 'OrchestratorConfigBinpackingDisruptionBudgetScheduleArgs' schedule: Schedule for disruption budget
|
|
139
|
+
"""
|
|
140
|
+
pulumi.set(__self__, "nodes", nodes)
|
|
141
|
+
if reasons is not None:
|
|
142
|
+
pulumi.set(__self__, "reasons", reasons)
|
|
143
|
+
if schedule is not None:
|
|
144
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter
|
|
148
|
+
def nodes(self) -> builtins.str:
|
|
149
|
+
"""
|
|
150
|
+
Number or percentage of Nodes to consider for disruption
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "nodes")
|
|
153
|
+
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def reasons(self) -> Optional[Sequence[builtins.str]]:
|
|
157
|
+
"""
|
|
158
|
+
Reasons for disruption
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "reasons")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter
|
|
164
|
+
def schedule(self) -> Optional['outputs.OrchestratorConfigBinpackingDisruptionBudgetSchedule']:
|
|
165
|
+
"""
|
|
166
|
+
Schedule for disruption budget
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "schedule")
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
@pulumi.output_type
|
|
172
|
+
class OrchestratorConfigBinpackingDisruptionBudgetSchedule(dict):
|
|
173
|
+
def __init__(__self__, *,
|
|
174
|
+
duration: builtins.str,
|
|
175
|
+
frequency: builtins.str):
|
|
176
|
+
"""
|
|
177
|
+
:param builtins.str duration: Duration for disruption budget
|
|
178
|
+
:param builtins.str frequency: Frequency for disruption budget
|
|
179
|
+
"""
|
|
180
|
+
pulumi.set(__self__, "duration", duration)
|
|
181
|
+
pulumi.set(__self__, "frequency", frequency)
|
|
182
|
+
|
|
183
|
+
@property
|
|
184
|
+
@pulumi.getter
|
|
185
|
+
def duration(self) -> builtins.str:
|
|
186
|
+
"""
|
|
187
|
+
Duration for disruption budget
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "duration")
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
@pulumi.getter
|
|
193
|
+
def frequency(self) -> builtins.str:
|
|
194
|
+
"""
|
|
195
|
+
Frequency for disruption budget
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "frequency")
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
@pulumi.output_type
|
|
201
|
+
class OrchestratorConfigBinpackingPodEviction(dict):
|
|
202
|
+
def __init__(__self__, *,
|
|
203
|
+
threshold: 'outputs.OrchestratorConfigBinpackingPodEvictionThreshold'):
|
|
204
|
+
"""
|
|
205
|
+
:param 'OrchestratorConfigBinpackingPodEvictionThresholdArgs' threshold: Minimum Threshold for considering a node as underutilized
|
|
206
|
+
"""
|
|
207
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
@pulumi.getter
|
|
211
|
+
def threshold(self) -> 'outputs.OrchestratorConfigBinpackingPodEvictionThreshold':
|
|
212
|
+
"""
|
|
213
|
+
Minimum Threshold for considering a node as underutilized
|
|
214
|
+
"""
|
|
215
|
+
return pulumi.get(self, "threshold")
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
@pulumi.output_type
|
|
219
|
+
class OrchestratorConfigBinpackingPodEvictionThreshold(dict):
|
|
220
|
+
def __init__(__self__, *,
|
|
221
|
+
cpu: builtins.float,
|
|
222
|
+
memory: builtins.float):
|
|
223
|
+
"""
|
|
224
|
+
:param builtins.float cpu: CPU percentage for considering a node as underutilized
|
|
225
|
+
:param builtins.float memory: Memory percentage for considering a node as underutilized
|
|
226
|
+
"""
|
|
227
|
+
pulumi.set(__self__, "cpu", cpu)
|
|
228
|
+
pulumi.set(__self__, "memory", memory)
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter
|
|
232
|
+
def cpu(self) -> builtins.float:
|
|
233
|
+
"""
|
|
234
|
+
CPU percentage for considering a node as underutilized
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "cpu")
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
@pulumi.getter
|
|
240
|
+
def memory(self) -> builtins.float:
|
|
241
|
+
"""
|
|
242
|
+
Memory percentage for considering a node as underutilized
|
|
243
|
+
"""
|
|
244
|
+
return pulumi.get(self, "memory")
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
@pulumi.output_type
|
|
248
|
+
class OrchestratorConfigDistribution(dict):
|
|
249
|
+
@staticmethod
|
|
250
|
+
def __key_warning(key: str):
|
|
251
|
+
suggest = None
|
|
252
|
+
if key == "ondemandReplicaPercentage":
|
|
253
|
+
suggest = "ondemand_replica_percentage"
|
|
254
|
+
elif key == "baseOndemandCapacity":
|
|
255
|
+
suggest = "base_ondemand_capacity"
|
|
256
|
+
|
|
257
|
+
if suggest:
|
|
258
|
+
pulumi.log.warn(f"Key '{key}' not found in OrchestratorConfigDistribution. Access the value via the '{suggest}' property getter instead.")
|
|
259
|
+
|
|
260
|
+
def __getitem__(self, key: str) -> Any:
|
|
261
|
+
OrchestratorConfigDistribution.__key_warning(key)
|
|
262
|
+
return super().__getitem__(key)
|
|
263
|
+
|
|
264
|
+
def get(self, key: str, default = None) -> Any:
|
|
265
|
+
OrchestratorConfigDistribution.__key_warning(key)
|
|
266
|
+
return super().get(key, default)
|
|
267
|
+
|
|
268
|
+
def __init__(__self__, *,
|
|
269
|
+
ondemand_replica_percentage: builtins.float,
|
|
270
|
+
base_ondemand_capacity: Optional[builtins.int] = None,
|
|
271
|
+
selector: Optional[builtins.str] = None,
|
|
272
|
+
strategy: Optional[builtins.str] = None):
|
|
273
|
+
"""
|
|
274
|
+
:param builtins.float ondemand_replica_percentage: Percentage of on-demand replicas required for workloads
|
|
275
|
+
:param builtins.int base_ondemand_capacity: Number of minimum ondemand replicas required for workloads
|
|
276
|
+
:param builtins.str selector: Selector for choosing workloads for distribution
|
|
277
|
+
:param builtins.str strategy: Strategy for choosing spot nodes for cluster
|
|
278
|
+
"""
|
|
279
|
+
pulumi.set(__self__, "ondemand_replica_percentage", ondemand_replica_percentage)
|
|
280
|
+
if base_ondemand_capacity is not None:
|
|
281
|
+
pulumi.set(__self__, "base_ondemand_capacity", base_ondemand_capacity)
|
|
282
|
+
if selector is not None:
|
|
283
|
+
pulumi.set(__self__, "selector", selector)
|
|
284
|
+
if strategy is not None:
|
|
285
|
+
pulumi.set(__self__, "strategy", strategy)
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
@pulumi.getter(name="ondemandReplicaPercentage")
|
|
289
|
+
def ondemand_replica_percentage(self) -> builtins.float:
|
|
290
|
+
"""
|
|
291
|
+
Percentage of on-demand replicas required for workloads
|
|
292
|
+
"""
|
|
293
|
+
return pulumi.get(self, "ondemand_replica_percentage")
|
|
294
|
+
|
|
295
|
+
@property
|
|
296
|
+
@pulumi.getter(name="baseOndemandCapacity")
|
|
297
|
+
def base_ondemand_capacity(self) -> Optional[builtins.int]:
|
|
298
|
+
"""
|
|
299
|
+
Number of minimum ondemand replicas required for workloads
|
|
300
|
+
"""
|
|
301
|
+
return pulumi.get(self, "base_ondemand_capacity")
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
@pulumi.getter
|
|
305
|
+
def selector(self) -> Optional[builtins.str]:
|
|
306
|
+
"""
|
|
307
|
+
Selector for choosing workloads for distribution
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "selector")
|
|
310
|
+
|
|
311
|
+
@property
|
|
312
|
+
@pulumi.getter
|
|
313
|
+
def strategy(self) -> Optional[builtins.str]:
|
|
314
|
+
"""
|
|
315
|
+
Strategy for choosing spot nodes for cluster
|
|
316
|
+
"""
|
|
317
|
+
return pulumi.get(self, "strategy")
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
@pulumi.output_type
|
|
321
|
+
class OrchestratorConfigNodePreferences(dict):
|
|
322
|
+
@staticmethod
|
|
323
|
+
def __key_warning(key: str):
|
|
324
|
+
suggest = None
|
|
325
|
+
if key == "reverseFallbackInterval":
|
|
326
|
+
suggest = "reverse_fallback_interval"
|
|
327
|
+
|
|
328
|
+
if suggest:
|
|
329
|
+
pulumi.log.warn(f"Key '{key}' not found in OrchestratorConfigNodePreferences. Access the value via the '{suggest}' property getter instead.")
|
|
330
|
+
|
|
331
|
+
def __getitem__(self, key: str) -> Any:
|
|
332
|
+
OrchestratorConfigNodePreferences.__key_warning(key)
|
|
333
|
+
return super().__getitem__(key)
|
|
334
|
+
|
|
335
|
+
def get(self, key: str, default = None) -> Any:
|
|
336
|
+
OrchestratorConfigNodePreferences.__key_warning(key)
|
|
337
|
+
return super().get(key, default)
|
|
338
|
+
|
|
339
|
+
def __init__(__self__, *,
|
|
340
|
+
reverse_fallback_interval: Optional[builtins.str] = None,
|
|
341
|
+
ttl: Optional[builtins.str] = None):
|
|
342
|
+
"""
|
|
343
|
+
:param builtins.str reverse_fallback_interval: Reverse fallback interval
|
|
344
|
+
:param builtins.str ttl: TTL for nodes
|
|
345
|
+
"""
|
|
346
|
+
if reverse_fallback_interval is not None:
|
|
347
|
+
pulumi.set(__self__, "reverse_fallback_interval", reverse_fallback_interval)
|
|
348
|
+
if ttl is not None:
|
|
349
|
+
pulumi.set(__self__, "ttl", ttl)
|
|
350
|
+
|
|
351
|
+
@property
|
|
352
|
+
@pulumi.getter(name="reverseFallbackInterval")
|
|
353
|
+
def reverse_fallback_interval(self) -> Optional[builtins.str]:
|
|
354
|
+
"""
|
|
355
|
+
Reverse fallback interval
|
|
356
|
+
"""
|
|
357
|
+
return pulumi.get(self, "reverse_fallback_interval")
|
|
358
|
+
|
|
359
|
+
@property
|
|
360
|
+
@pulumi.getter
|
|
361
|
+
def ttl(self) -> Optional[builtins.str]:
|
|
362
|
+
"""
|
|
363
|
+
TTL for nodes
|
|
364
|
+
"""
|
|
365
|
+
return pulumi.get(self, "ttl")
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
@pulumi.output_type
|
|
369
|
+
class GetOrchestratorConfigBinpackingResult(dict):
|
|
370
|
+
def __init__(__self__, *,
|
|
371
|
+
disruption: Optional['outputs.GetOrchestratorConfigBinpackingDisruptionResult'] = None,
|
|
372
|
+
pod_eviction: Optional['outputs.GetOrchestratorConfigBinpackingPodEvictionResult'] = None):
|
|
373
|
+
"""
|
|
374
|
+
:param 'GetOrchestratorConfigBinpackingDisruptionArgs' disruption: Harness disruption configuration
|
|
375
|
+
:param 'GetOrchestratorConfigBinpackingPodEvictionArgs' pod_eviction: Harness Pod Evictor Configuration
|
|
376
|
+
"""
|
|
377
|
+
if disruption is not None:
|
|
378
|
+
pulumi.set(__self__, "disruption", disruption)
|
|
379
|
+
if pod_eviction is not None:
|
|
380
|
+
pulumi.set(__self__, "pod_eviction", pod_eviction)
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
@pulumi.getter
|
|
384
|
+
def disruption(self) -> Optional['outputs.GetOrchestratorConfigBinpackingDisruptionResult']:
|
|
385
|
+
"""
|
|
386
|
+
Harness disruption configuration
|
|
387
|
+
"""
|
|
388
|
+
return pulumi.get(self, "disruption")
|
|
389
|
+
|
|
390
|
+
@property
|
|
391
|
+
@pulumi.getter(name="podEviction")
|
|
392
|
+
def pod_eviction(self) -> Optional['outputs.GetOrchestratorConfigBinpackingPodEvictionResult']:
|
|
393
|
+
"""
|
|
394
|
+
Harness Pod Evictor Configuration
|
|
395
|
+
"""
|
|
396
|
+
return pulumi.get(self, "pod_eviction")
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
@pulumi.output_type
|
|
400
|
+
class GetOrchestratorConfigBinpackingDisruptionResult(dict):
|
|
401
|
+
def __init__(__self__, *,
|
|
402
|
+
budgets: Optional[Sequence['outputs.GetOrchestratorConfigBinpackingDisruptionBudgetResult']] = None,
|
|
403
|
+
criteria: Optional[builtins.str] = None,
|
|
404
|
+
delay: Optional[builtins.str] = None):
|
|
405
|
+
"""
|
|
406
|
+
:param Sequence['GetOrchestratorConfigBinpackingDisruptionBudgetArgs'] budgets: Budgets for disruption
|
|
407
|
+
:param builtins.str criteria: Criteria for considering a nodes for disruption
|
|
408
|
+
:param builtins.str delay: Deletion delay
|
|
409
|
+
"""
|
|
410
|
+
if budgets is not None:
|
|
411
|
+
pulumi.set(__self__, "budgets", budgets)
|
|
412
|
+
if criteria is not None:
|
|
413
|
+
pulumi.set(__self__, "criteria", criteria)
|
|
414
|
+
if delay is not None:
|
|
415
|
+
pulumi.set(__self__, "delay", delay)
|
|
416
|
+
|
|
417
|
+
@property
|
|
418
|
+
@pulumi.getter
|
|
419
|
+
def budgets(self) -> Optional[Sequence['outputs.GetOrchestratorConfigBinpackingDisruptionBudgetResult']]:
|
|
420
|
+
"""
|
|
421
|
+
Budgets for disruption
|
|
422
|
+
"""
|
|
423
|
+
return pulumi.get(self, "budgets")
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
@pulumi.getter
|
|
427
|
+
def criteria(self) -> Optional[builtins.str]:
|
|
428
|
+
"""
|
|
429
|
+
Criteria for considering a nodes for disruption
|
|
430
|
+
"""
|
|
431
|
+
return pulumi.get(self, "criteria")
|
|
432
|
+
|
|
433
|
+
@property
|
|
434
|
+
@pulumi.getter
|
|
435
|
+
def delay(self) -> Optional[builtins.str]:
|
|
436
|
+
"""
|
|
437
|
+
Deletion delay
|
|
438
|
+
"""
|
|
439
|
+
return pulumi.get(self, "delay")
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
@pulumi.output_type
|
|
443
|
+
class GetOrchestratorConfigBinpackingDisruptionBudgetResult(dict):
|
|
444
|
+
def __init__(__self__, *,
|
|
445
|
+
nodes: builtins.str,
|
|
446
|
+
reasons: Optional[Sequence[builtins.str]] = None,
|
|
447
|
+
schedule: Optional['outputs.GetOrchestratorConfigBinpackingDisruptionBudgetScheduleResult'] = None):
|
|
448
|
+
"""
|
|
449
|
+
:param builtins.str nodes: Number or percentage of Nodes to consider for disruption
|
|
450
|
+
:param Sequence[builtins.str] reasons: Reasons for disruption
|
|
451
|
+
:param 'GetOrchestratorConfigBinpackingDisruptionBudgetScheduleArgs' schedule: Schedule for disruption budget
|
|
452
|
+
"""
|
|
453
|
+
pulumi.set(__self__, "nodes", nodes)
|
|
454
|
+
if reasons is not None:
|
|
455
|
+
pulumi.set(__self__, "reasons", reasons)
|
|
456
|
+
if schedule is not None:
|
|
457
|
+
pulumi.set(__self__, "schedule", schedule)
|
|
458
|
+
|
|
459
|
+
@property
|
|
460
|
+
@pulumi.getter
|
|
461
|
+
def nodes(self) -> builtins.str:
|
|
462
|
+
"""
|
|
463
|
+
Number or percentage of Nodes to consider for disruption
|
|
464
|
+
"""
|
|
465
|
+
return pulumi.get(self, "nodes")
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
@pulumi.getter
|
|
469
|
+
def reasons(self) -> Optional[Sequence[builtins.str]]:
|
|
470
|
+
"""
|
|
471
|
+
Reasons for disruption
|
|
472
|
+
"""
|
|
473
|
+
return pulumi.get(self, "reasons")
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
@pulumi.getter
|
|
477
|
+
def schedule(self) -> Optional['outputs.GetOrchestratorConfigBinpackingDisruptionBudgetScheduleResult']:
|
|
478
|
+
"""
|
|
479
|
+
Schedule for disruption budget
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "schedule")
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
@pulumi.output_type
|
|
485
|
+
class GetOrchestratorConfigBinpackingDisruptionBudgetScheduleResult(dict):
|
|
486
|
+
def __init__(__self__, *,
|
|
487
|
+
duration: builtins.str,
|
|
488
|
+
frequency: builtins.str):
|
|
489
|
+
"""
|
|
490
|
+
:param builtins.str duration: Duration for disruption budget
|
|
491
|
+
:param builtins.str frequency: Frequency for disruption budget
|
|
492
|
+
"""
|
|
493
|
+
pulumi.set(__self__, "duration", duration)
|
|
494
|
+
pulumi.set(__self__, "frequency", frequency)
|
|
495
|
+
|
|
496
|
+
@property
|
|
497
|
+
@pulumi.getter
|
|
498
|
+
def duration(self) -> builtins.str:
|
|
499
|
+
"""
|
|
500
|
+
Duration for disruption budget
|
|
501
|
+
"""
|
|
502
|
+
return pulumi.get(self, "duration")
|
|
503
|
+
|
|
504
|
+
@property
|
|
505
|
+
@pulumi.getter
|
|
506
|
+
def frequency(self) -> builtins.str:
|
|
507
|
+
"""
|
|
508
|
+
Frequency for disruption budget
|
|
509
|
+
"""
|
|
510
|
+
return pulumi.get(self, "frequency")
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
@pulumi.output_type
|
|
514
|
+
class GetOrchestratorConfigBinpackingPodEvictionResult(dict):
|
|
515
|
+
def __init__(__self__, *,
|
|
516
|
+
threshold: 'outputs.GetOrchestratorConfigBinpackingPodEvictionThresholdResult'):
|
|
517
|
+
"""
|
|
518
|
+
:param 'GetOrchestratorConfigBinpackingPodEvictionThresholdArgs' threshold: Minimum Threshold for considering a node as underutilized
|
|
519
|
+
"""
|
|
520
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
@pulumi.getter
|
|
524
|
+
def threshold(self) -> 'outputs.GetOrchestratorConfigBinpackingPodEvictionThresholdResult':
|
|
525
|
+
"""
|
|
526
|
+
Minimum Threshold for considering a node as underutilized
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "threshold")
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
@pulumi.output_type
|
|
532
|
+
class GetOrchestratorConfigBinpackingPodEvictionThresholdResult(dict):
|
|
533
|
+
def __init__(__self__, *,
|
|
534
|
+
cpu: builtins.float,
|
|
535
|
+
memory: builtins.float):
|
|
536
|
+
"""
|
|
537
|
+
:param builtins.float cpu: CPU percentage for considering a node as underutilized
|
|
538
|
+
:param builtins.float memory: Memory percentage for considering a node as underutilized
|
|
539
|
+
"""
|
|
540
|
+
pulumi.set(__self__, "cpu", cpu)
|
|
541
|
+
pulumi.set(__self__, "memory", memory)
|
|
542
|
+
|
|
543
|
+
@property
|
|
544
|
+
@pulumi.getter
|
|
545
|
+
def cpu(self) -> builtins.float:
|
|
546
|
+
"""
|
|
547
|
+
CPU percentage for considering a node as underutilized
|
|
548
|
+
"""
|
|
549
|
+
return pulumi.get(self, "cpu")
|
|
550
|
+
|
|
551
|
+
@property
|
|
552
|
+
@pulumi.getter
|
|
553
|
+
def memory(self) -> builtins.float:
|
|
554
|
+
"""
|
|
555
|
+
Memory percentage for considering a node as underutilized
|
|
556
|
+
"""
|
|
557
|
+
return pulumi.get(self, "memory")
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
@pulumi.output_type
|
|
561
|
+
class GetOrchestratorConfigDistributionResult(dict):
|
|
562
|
+
def __init__(__self__, *,
|
|
563
|
+
ondemand_replica_percentage: builtins.float,
|
|
564
|
+
base_ondemand_capacity: Optional[builtins.int] = None,
|
|
565
|
+
selector: Optional[builtins.str] = None,
|
|
566
|
+
strategy: Optional[builtins.str] = None):
|
|
567
|
+
"""
|
|
568
|
+
:param builtins.float ondemand_replica_percentage: Percentage of on-demand replicas required for workloads
|
|
569
|
+
:param builtins.int base_ondemand_capacity: Number of minimum ondemand replicas required for workloads
|
|
570
|
+
:param builtins.str selector: Selector for choosing workloads for distribution
|
|
571
|
+
:param builtins.str strategy: Strategy for choosing spot nodes for cluster
|
|
572
|
+
"""
|
|
573
|
+
pulumi.set(__self__, "ondemand_replica_percentage", ondemand_replica_percentage)
|
|
574
|
+
if base_ondemand_capacity is not None:
|
|
575
|
+
pulumi.set(__self__, "base_ondemand_capacity", base_ondemand_capacity)
|
|
576
|
+
if selector is not None:
|
|
577
|
+
pulumi.set(__self__, "selector", selector)
|
|
578
|
+
if strategy is not None:
|
|
579
|
+
pulumi.set(__self__, "strategy", strategy)
|
|
580
|
+
|
|
581
|
+
@property
|
|
582
|
+
@pulumi.getter(name="ondemandReplicaPercentage")
|
|
583
|
+
def ondemand_replica_percentage(self) -> builtins.float:
|
|
584
|
+
"""
|
|
585
|
+
Percentage of on-demand replicas required for workloads
|
|
586
|
+
"""
|
|
587
|
+
return pulumi.get(self, "ondemand_replica_percentage")
|
|
588
|
+
|
|
589
|
+
@property
|
|
590
|
+
@pulumi.getter(name="baseOndemandCapacity")
|
|
591
|
+
def base_ondemand_capacity(self) -> Optional[builtins.int]:
|
|
592
|
+
"""
|
|
593
|
+
Number of minimum ondemand replicas required for workloads
|
|
594
|
+
"""
|
|
595
|
+
return pulumi.get(self, "base_ondemand_capacity")
|
|
596
|
+
|
|
597
|
+
@property
|
|
598
|
+
@pulumi.getter
|
|
599
|
+
def selector(self) -> Optional[builtins.str]:
|
|
600
|
+
"""
|
|
601
|
+
Selector for choosing workloads for distribution
|
|
602
|
+
"""
|
|
603
|
+
return pulumi.get(self, "selector")
|
|
604
|
+
|
|
605
|
+
@property
|
|
606
|
+
@pulumi.getter
|
|
607
|
+
def strategy(self) -> Optional[builtins.str]:
|
|
608
|
+
"""
|
|
609
|
+
Strategy for choosing spot nodes for cluster
|
|
610
|
+
"""
|
|
611
|
+
return pulumi.get(self, "strategy")
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
@pulumi.output_type
|
|
615
|
+
class GetOrchestratorConfigNodePreferencesResult(dict):
|
|
616
|
+
def __init__(__self__, *,
|
|
617
|
+
reverse_fallback_interval: Optional[builtins.str] = None,
|
|
618
|
+
ttl: Optional[builtins.str] = None):
|
|
619
|
+
"""
|
|
620
|
+
:param builtins.str reverse_fallback_interval: Reverse fallback interval
|
|
621
|
+
:param builtins.str ttl: TTL for nodes
|
|
622
|
+
"""
|
|
623
|
+
if reverse_fallback_interval is not None:
|
|
624
|
+
pulumi.set(__self__, "reverse_fallback_interval", reverse_fallback_interval)
|
|
625
|
+
if ttl is not None:
|
|
626
|
+
pulumi.set(__self__, "ttl", ttl)
|
|
627
|
+
|
|
628
|
+
@property
|
|
629
|
+
@pulumi.getter(name="reverseFallbackInterval")
|
|
630
|
+
def reverse_fallback_interval(self) -> Optional[builtins.str]:
|
|
631
|
+
"""
|
|
632
|
+
Reverse fallback interval
|
|
633
|
+
"""
|
|
634
|
+
return pulumi.get(self, "reverse_fallback_interval")
|
|
635
|
+
|
|
636
|
+
@property
|
|
637
|
+
@pulumi.getter
|
|
638
|
+
def ttl(self) -> Optional[builtins.str]:
|
|
639
|
+
"""
|
|
640
|
+
TTL for nodes
|
|
641
|
+
"""
|
|
642
|
+
return pulumi.get(self, "ttl")
|
|
643
|
+
|
|
644
|
+
|
|
@@ -17,6 +17,7 @@ from .azure_cloud_provider_connector import *
|
|
|
17
17
|
from .azure_key_vault_connector import *
|
|
18
18
|
from .bitbucket_connector import *
|
|
19
19
|
from .connector_azure_artifacts import *
|
|
20
|
+
from .connector_azure_repo import *
|
|
20
21
|
from .connector_custom_secret_manager import *
|
|
21
22
|
from .connector_customhealthsource import *
|
|
22
23
|
from .connector_gcp_kms import *
|
|
@@ -56,6 +57,7 @@ from .get_azure_cloud_provider_connector import *
|
|
|
56
57
|
from .get_azure_key_vault_connector import *
|
|
57
58
|
from .get_bitbucket_connector import *
|
|
58
59
|
from .get_ccm_filters import *
|
|
60
|
+
from .get_connector_azure_repo import *
|
|
59
61
|
from .get_connector_custom_secret_manager import *
|
|
60
62
|
from .get_connector_customhealthsource import *
|
|
61
63
|
from .get_connector_gcp_kms import *
|