pulumi-harness 0.9.0a1760681338__py3-none-any.whl → 0.10.0a1761113296__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 +8 -0
- pulumi_harness/cluster/get_orchestrator_config.py +21 -1
- pulumi_harness/cluster/orchestrator_config.py +49 -0
- pulumi_harness/platform/__init__.py +3 -0
- pulumi_harness/platform/_inputs.py +4862 -369
- pulumi_harness/platform/db_instance.py +49 -49
- pulumi_harness/platform/get_db_instance.py +21 -21
- pulumi_harness/platform/get_infra_module.py +188 -6
- pulumi_harness/platform/get_infra_module_testing.py +521 -0
- pulumi_harness/platform/get_infra_modules.py +103 -0
- pulumi_harness/platform/get_pipeline_central_notification_rule.py +0 -28
- pulumi_harness/platform/git_ops_applications.py +0 -4
- pulumi_harness/platform/gitops_applicationset.py +308 -6
- pulumi_harness/platform/infra_module_testing.py +1100 -0
- pulumi_harness/platform/outputs.py +3462 -247
- pulumi_harness/platform/pipeline_central_notification_rule.py +13 -0
- pulumi_harness/pulumi-plugin.json +1 -1
- {pulumi_harness-0.9.0a1760681338.dist-info → pulumi_harness-0.10.0a1761113296.dist-info}/METADATA +1 -1
- {pulumi_harness-0.9.0a1760681338.dist-info → pulumi_harness-0.10.0a1761113296.dist-info}/RECORD +21 -18
- {pulumi_harness-0.9.0a1760681338.dist-info → pulumi_harness-0.10.0a1761113296.dist-info}/WHEEL +0 -0
- {pulumi_harness-0.9.0a1760681338.dist-info → pulumi_harness-0.10.0a1761113296.dist-info}/top_level.txt +0 -0
pulumi_harness/__init__.py
CHANGED
|
@@ -920,6 +920,14 @@ _utilities.register(
|
|
|
920
920
|
"harness:platform/infraModule:InfraModule": "InfraModule"
|
|
921
921
|
}
|
|
922
922
|
},
|
|
923
|
+
{
|
|
924
|
+
"pkg": "harness",
|
|
925
|
+
"mod": "platform/infraModuleTesting",
|
|
926
|
+
"fqn": "pulumi_harness.platform",
|
|
927
|
+
"classes": {
|
|
928
|
+
"harness:platform/infraModuleTesting:InfraModuleTesting": "InfraModuleTesting"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
923
931
|
{
|
|
924
932
|
"pkg": "harness",
|
|
925
933
|
"mod": "platform/infraVariableSet",
|
|
@@ -28,13 +28,16 @@ class GetOrchestratorConfigResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getOrchestratorConfig.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, binpacking=None, commitment_integration=None, distribution=None, id=None, node_preferences=None, orchestrator_id=None, replacement_schedule=None):
|
|
31
|
+
def __init__(__self__, binpacking=None, commitment_integration=None, disabled=None, distribution=None, id=None, node_preferences=None, orchestrator_id=None, replacement_schedule=None):
|
|
32
32
|
if binpacking and not isinstance(binpacking, dict):
|
|
33
33
|
raise TypeError("Expected argument 'binpacking' to be a dict")
|
|
34
34
|
pulumi.set(__self__, "binpacking", binpacking)
|
|
35
35
|
if commitment_integration and not isinstance(commitment_integration, dict):
|
|
36
36
|
raise TypeError("Expected argument 'commitment_integration' to be a dict")
|
|
37
37
|
pulumi.set(__self__, "commitment_integration", commitment_integration)
|
|
38
|
+
if disabled and not isinstance(disabled, bool):
|
|
39
|
+
raise TypeError("Expected argument 'disabled' to be a bool")
|
|
40
|
+
pulumi.set(__self__, "disabled", disabled)
|
|
38
41
|
if distribution and not isinstance(distribution, dict):
|
|
39
42
|
raise TypeError("Expected argument 'distribution' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "distribution", distribution)
|
|
@@ -67,6 +70,14 @@ class GetOrchestratorConfigResult:
|
|
|
67
70
|
"""
|
|
68
71
|
return pulumi.get(self, "commitment_integration")
|
|
69
72
|
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def disabled(self) -> Optional[_builtins.bool]:
|
|
76
|
+
"""
|
|
77
|
+
Whether the cluster orchestrator is disabled
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "disabled")
|
|
80
|
+
|
|
70
81
|
@_builtins.property
|
|
71
82
|
@pulumi.getter
|
|
72
83
|
def distribution(self) -> Optional['outputs.GetOrchestratorConfigDistributionResult']:
|
|
@@ -116,6 +127,7 @@ class AwaitableGetOrchestratorConfigResult(GetOrchestratorConfigResult):
|
|
|
116
127
|
return GetOrchestratorConfigResult(
|
|
117
128
|
binpacking=self.binpacking,
|
|
118
129
|
commitment_integration=self.commitment_integration,
|
|
130
|
+
disabled=self.disabled,
|
|
119
131
|
distribution=self.distribution,
|
|
120
132
|
id=self.id,
|
|
121
133
|
node_preferences=self.node_preferences,
|
|
@@ -125,6 +137,7 @@ class AwaitableGetOrchestratorConfigResult(GetOrchestratorConfigResult):
|
|
|
125
137
|
|
|
126
138
|
def get_orchestrator_config(binpacking: Optional[Union['GetOrchestratorConfigBinpackingArgs', 'GetOrchestratorConfigBinpackingArgsDict']] = None,
|
|
127
139
|
commitment_integration: Optional[Union['GetOrchestratorConfigCommitmentIntegrationArgs', 'GetOrchestratorConfigCommitmentIntegrationArgsDict']] = None,
|
|
140
|
+
disabled: Optional[_builtins.bool] = None,
|
|
128
141
|
distribution: Optional[Union['GetOrchestratorConfigDistributionArgs', 'GetOrchestratorConfigDistributionArgsDict']] = None,
|
|
129
142
|
node_preferences: Optional[Union['GetOrchestratorConfigNodePreferencesArgs', 'GetOrchestratorConfigNodePreferencesArgsDict']] = None,
|
|
130
143
|
orchestrator_id: Optional[_builtins.str] = None,
|
|
@@ -145,6 +158,7 @@ def get_orchestrator_config(binpacking: Optional[Union['GetOrchestratorConfigBin
|
|
|
145
158
|
|
|
146
159
|
:param Union['GetOrchestratorConfigBinpackingArgs', 'GetOrchestratorConfigBinpackingArgsDict'] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
147
160
|
:param Union['GetOrchestratorConfigCommitmentIntegrationArgs', 'GetOrchestratorConfigCommitmentIntegrationArgsDict'] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
161
|
+
:param _builtins.bool disabled: Whether the cluster orchestrator is disabled
|
|
148
162
|
:param Union['GetOrchestratorConfigDistributionArgs', 'GetOrchestratorConfigDistributionArgsDict'] distribution: Spot and Ondemand Distribution Preferences for workload replicas
|
|
149
163
|
:param Union['GetOrchestratorConfigNodePreferencesArgs', 'GetOrchestratorConfigNodePreferencesArgsDict'] node_preferences: Node preferences for Cluster Orchestrator
|
|
150
164
|
:param _builtins.str orchestrator_id: ID of the Cluster Orchestrator Object
|
|
@@ -153,6 +167,7 @@ def get_orchestrator_config(binpacking: Optional[Union['GetOrchestratorConfigBin
|
|
|
153
167
|
__args__ = dict()
|
|
154
168
|
__args__['binpacking'] = binpacking
|
|
155
169
|
__args__['commitmentIntegration'] = commitment_integration
|
|
170
|
+
__args__['disabled'] = disabled
|
|
156
171
|
__args__['distribution'] = distribution
|
|
157
172
|
__args__['nodePreferences'] = node_preferences
|
|
158
173
|
__args__['orchestratorId'] = orchestrator_id
|
|
@@ -163,6 +178,7 @@ def get_orchestrator_config(binpacking: Optional[Union['GetOrchestratorConfigBin
|
|
|
163
178
|
return AwaitableGetOrchestratorConfigResult(
|
|
164
179
|
binpacking=pulumi.get(__ret__, 'binpacking'),
|
|
165
180
|
commitment_integration=pulumi.get(__ret__, 'commitment_integration'),
|
|
181
|
+
disabled=pulumi.get(__ret__, 'disabled'),
|
|
166
182
|
distribution=pulumi.get(__ret__, 'distribution'),
|
|
167
183
|
id=pulumi.get(__ret__, 'id'),
|
|
168
184
|
node_preferences=pulumi.get(__ret__, 'node_preferences'),
|
|
@@ -170,6 +186,7 @@ def get_orchestrator_config(binpacking: Optional[Union['GetOrchestratorConfigBin
|
|
|
170
186
|
replacement_schedule=pulumi.get(__ret__, 'replacement_schedule'))
|
|
171
187
|
def get_orchestrator_config_output(binpacking: Optional[pulumi.Input[Optional[Union['GetOrchestratorConfigBinpackingArgs', 'GetOrchestratorConfigBinpackingArgsDict']]]] = None,
|
|
172
188
|
commitment_integration: Optional[pulumi.Input[Optional[Union['GetOrchestratorConfigCommitmentIntegrationArgs', 'GetOrchestratorConfigCommitmentIntegrationArgsDict']]]] = None,
|
|
189
|
+
disabled: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
173
190
|
distribution: Optional[pulumi.Input[Optional[Union['GetOrchestratorConfigDistributionArgs', 'GetOrchestratorConfigDistributionArgsDict']]]] = None,
|
|
174
191
|
node_preferences: Optional[pulumi.Input[Optional[Union['GetOrchestratorConfigNodePreferencesArgs', 'GetOrchestratorConfigNodePreferencesArgsDict']]]] = None,
|
|
175
192
|
orchestrator_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -190,6 +207,7 @@ def get_orchestrator_config_output(binpacking: Optional[pulumi.Input[Optional[Un
|
|
|
190
207
|
|
|
191
208
|
:param Union['GetOrchestratorConfigBinpackingArgs', 'GetOrchestratorConfigBinpackingArgsDict'] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
192
209
|
:param Union['GetOrchestratorConfigCommitmentIntegrationArgs', 'GetOrchestratorConfigCommitmentIntegrationArgsDict'] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
210
|
+
:param _builtins.bool disabled: Whether the cluster orchestrator is disabled
|
|
193
211
|
:param Union['GetOrchestratorConfigDistributionArgs', 'GetOrchestratorConfigDistributionArgsDict'] distribution: Spot and Ondemand Distribution Preferences for workload replicas
|
|
194
212
|
:param Union['GetOrchestratorConfigNodePreferencesArgs', 'GetOrchestratorConfigNodePreferencesArgsDict'] node_preferences: Node preferences for Cluster Orchestrator
|
|
195
213
|
:param _builtins.str orchestrator_id: ID of the Cluster Orchestrator Object
|
|
@@ -198,6 +216,7 @@ def get_orchestrator_config_output(binpacking: Optional[pulumi.Input[Optional[Un
|
|
|
198
216
|
__args__ = dict()
|
|
199
217
|
__args__['binpacking'] = binpacking
|
|
200
218
|
__args__['commitmentIntegration'] = commitment_integration
|
|
219
|
+
__args__['disabled'] = disabled
|
|
201
220
|
__args__['distribution'] = distribution
|
|
202
221
|
__args__['nodePreferences'] = node_preferences
|
|
203
222
|
__args__['orchestratorId'] = orchestrator_id
|
|
@@ -207,6 +226,7 @@ def get_orchestrator_config_output(binpacking: Optional[pulumi.Input[Optional[Un
|
|
|
207
226
|
return __ret__.apply(lambda __response__: GetOrchestratorConfigResult(
|
|
208
227
|
binpacking=pulumi.get(__response__, 'binpacking'),
|
|
209
228
|
commitment_integration=pulumi.get(__response__, 'commitment_integration'),
|
|
229
|
+
disabled=pulumi.get(__response__, 'disabled'),
|
|
210
230
|
distribution=pulumi.get(__response__, 'distribution'),
|
|
211
231
|
id=pulumi.get(__response__, 'id'),
|
|
212
232
|
node_preferences=pulumi.get(__response__, 'node_preferences'),
|
|
@@ -25,6 +25,7 @@ class OrchestratorConfigArgs:
|
|
|
25
25
|
orchestrator_id: pulumi.Input[_builtins.str],
|
|
26
26
|
binpacking: Optional[pulumi.Input['OrchestratorConfigBinpackingArgs']] = None,
|
|
27
27
|
commitment_integration: Optional[pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs']] = None,
|
|
28
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
29
|
node_preferences: Optional[pulumi.Input['OrchestratorConfigNodePreferencesArgs']] = None,
|
|
29
30
|
replacement_schedule: Optional[pulumi.Input['OrchestratorConfigReplacementScheduleArgs']] = None):
|
|
30
31
|
"""
|
|
@@ -33,6 +34,7 @@ class OrchestratorConfigArgs:
|
|
|
33
34
|
:param pulumi.Input[_builtins.str] orchestrator_id: ID of the Cluster Orchestrator Object
|
|
34
35
|
:param pulumi.Input['OrchestratorConfigBinpackingArgs'] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
35
36
|
:param pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs'] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
37
|
+
:param pulumi.Input[_builtins.bool] disabled: Whether the cluster orchestrator is disabled
|
|
36
38
|
:param pulumi.Input['OrchestratorConfigNodePreferencesArgs'] node_preferences: Node preferences for Cluster Orchestrator
|
|
37
39
|
:param pulumi.Input['OrchestratorConfigReplacementScheduleArgs'] replacement_schedule: Replacement schedule for Cluster Orchestrator
|
|
38
40
|
"""
|
|
@@ -42,6 +44,8 @@ class OrchestratorConfigArgs:
|
|
|
42
44
|
pulumi.set(__self__, "binpacking", binpacking)
|
|
43
45
|
if commitment_integration is not None:
|
|
44
46
|
pulumi.set(__self__, "commitment_integration", commitment_integration)
|
|
47
|
+
if disabled is not None:
|
|
48
|
+
pulumi.set(__self__, "disabled", disabled)
|
|
45
49
|
if node_preferences is not None:
|
|
46
50
|
pulumi.set(__self__, "node_preferences", node_preferences)
|
|
47
51
|
if replacement_schedule is not None:
|
|
@@ -95,6 +99,18 @@ class OrchestratorConfigArgs:
|
|
|
95
99
|
def commitment_integration(self, value: Optional[pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs']]):
|
|
96
100
|
pulumi.set(self, "commitment_integration", value)
|
|
97
101
|
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter
|
|
104
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
105
|
+
"""
|
|
106
|
+
Whether the cluster orchestrator is disabled
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "disabled")
|
|
109
|
+
|
|
110
|
+
@disabled.setter
|
|
111
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
112
|
+
pulumi.set(self, "disabled", value)
|
|
113
|
+
|
|
98
114
|
@_builtins.property
|
|
99
115
|
@pulumi.getter(name="nodePreferences")
|
|
100
116
|
def node_preferences(self) -> Optional[pulumi.Input['OrchestratorConfigNodePreferencesArgs']]:
|
|
@@ -125,6 +141,7 @@ class _OrchestratorConfigState:
|
|
|
125
141
|
def __init__(__self__, *,
|
|
126
142
|
binpacking: Optional[pulumi.Input['OrchestratorConfigBinpackingArgs']] = None,
|
|
127
143
|
commitment_integration: Optional[pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs']] = None,
|
|
144
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
128
145
|
distribution: Optional[pulumi.Input['OrchestratorConfigDistributionArgs']] = None,
|
|
129
146
|
node_preferences: Optional[pulumi.Input['OrchestratorConfigNodePreferencesArgs']] = None,
|
|
130
147
|
orchestrator_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -133,6 +150,7 @@ class _OrchestratorConfigState:
|
|
|
133
150
|
Input properties used for looking up and filtering OrchestratorConfig resources.
|
|
134
151
|
:param pulumi.Input['OrchestratorConfigBinpackingArgs'] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
135
152
|
:param pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs'] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
153
|
+
:param pulumi.Input[_builtins.bool] disabled: Whether the cluster orchestrator is disabled
|
|
136
154
|
:param pulumi.Input['OrchestratorConfigDistributionArgs'] distribution: Spot and Ondemand Distribution Preferences for workload replicas
|
|
137
155
|
:param pulumi.Input['OrchestratorConfigNodePreferencesArgs'] node_preferences: Node preferences for Cluster Orchestrator
|
|
138
156
|
:param pulumi.Input[_builtins.str] orchestrator_id: ID of the Cluster Orchestrator Object
|
|
@@ -142,6 +160,8 @@ class _OrchestratorConfigState:
|
|
|
142
160
|
pulumi.set(__self__, "binpacking", binpacking)
|
|
143
161
|
if commitment_integration is not None:
|
|
144
162
|
pulumi.set(__self__, "commitment_integration", commitment_integration)
|
|
163
|
+
if disabled is not None:
|
|
164
|
+
pulumi.set(__self__, "disabled", disabled)
|
|
145
165
|
if distribution is not None:
|
|
146
166
|
pulumi.set(__self__, "distribution", distribution)
|
|
147
167
|
if node_preferences is not None:
|
|
@@ -175,6 +195,18 @@ class _OrchestratorConfigState:
|
|
|
175
195
|
def commitment_integration(self, value: Optional[pulumi.Input['OrchestratorConfigCommitmentIntegrationArgs']]):
|
|
176
196
|
pulumi.set(self, "commitment_integration", value)
|
|
177
197
|
|
|
198
|
+
@_builtins.property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
201
|
+
"""
|
|
202
|
+
Whether the cluster orchestrator is disabled
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "disabled")
|
|
205
|
+
|
|
206
|
+
@disabled.setter
|
|
207
|
+
def disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
208
|
+
pulumi.set(self, "disabled", value)
|
|
209
|
+
|
|
178
210
|
@_builtins.property
|
|
179
211
|
@pulumi.getter
|
|
180
212
|
def distribution(self) -> Optional[pulumi.Input['OrchestratorConfigDistributionArgs']]:
|
|
@@ -232,6 +264,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
232
264
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
265
|
binpacking: Optional[pulumi.Input[Union['OrchestratorConfigBinpackingArgs', 'OrchestratorConfigBinpackingArgsDict']]] = None,
|
|
234
266
|
commitment_integration: Optional[pulumi.Input[Union['OrchestratorConfigCommitmentIntegrationArgs', 'OrchestratorConfigCommitmentIntegrationArgsDict']]] = None,
|
|
267
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
235
268
|
distribution: Optional[pulumi.Input[Union['OrchestratorConfigDistributionArgs', 'OrchestratorConfigDistributionArgsDict']]] = None,
|
|
236
269
|
node_preferences: Optional[pulumi.Input[Union['OrchestratorConfigNodePreferencesArgs', 'OrchestratorConfigNodePreferencesArgsDict']]] = None,
|
|
237
270
|
orchestrator_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -248,6 +281,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
248
281
|
|
|
249
282
|
example = harness.cluster.OrchestratorConfig("example",
|
|
250
283
|
orchestrator_id="orch-cvifpfl9rbg8neldj97g",
|
|
284
|
+
disabled=False,
|
|
251
285
|
distribution={
|
|
252
286
|
"base_ondemand_capacity": 2,
|
|
253
287
|
"ondemand_replica_percentage": 50,
|
|
@@ -320,6 +354,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
320
354
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
321
355
|
:param pulumi.Input[Union['OrchestratorConfigBinpackingArgs', 'OrchestratorConfigBinpackingArgsDict']] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
322
356
|
:param pulumi.Input[Union['OrchestratorConfigCommitmentIntegrationArgs', 'OrchestratorConfigCommitmentIntegrationArgsDict']] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
357
|
+
:param pulumi.Input[_builtins.bool] disabled: Whether the cluster orchestrator is disabled
|
|
323
358
|
:param pulumi.Input[Union['OrchestratorConfigDistributionArgs', 'OrchestratorConfigDistributionArgsDict']] distribution: Spot and Ondemand Distribution Preferences for workload replicas
|
|
324
359
|
:param pulumi.Input[Union['OrchestratorConfigNodePreferencesArgs', 'OrchestratorConfigNodePreferencesArgsDict']] node_preferences: Node preferences for Cluster Orchestrator
|
|
325
360
|
:param pulumi.Input[_builtins.str] orchestrator_id: ID of the Cluster Orchestrator Object
|
|
@@ -342,6 +377,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
342
377
|
|
|
343
378
|
example = harness.cluster.OrchestratorConfig("example",
|
|
344
379
|
orchestrator_id="orch-cvifpfl9rbg8neldj97g",
|
|
380
|
+
disabled=False,
|
|
345
381
|
distribution={
|
|
346
382
|
"base_ondemand_capacity": 2,
|
|
347
383
|
"ondemand_replica_percentage": 50,
|
|
@@ -427,6 +463,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
427
463
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
428
464
|
binpacking: Optional[pulumi.Input[Union['OrchestratorConfigBinpackingArgs', 'OrchestratorConfigBinpackingArgsDict']]] = None,
|
|
429
465
|
commitment_integration: Optional[pulumi.Input[Union['OrchestratorConfigCommitmentIntegrationArgs', 'OrchestratorConfigCommitmentIntegrationArgsDict']]] = None,
|
|
466
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
430
467
|
distribution: Optional[pulumi.Input[Union['OrchestratorConfigDistributionArgs', 'OrchestratorConfigDistributionArgsDict']]] = None,
|
|
431
468
|
node_preferences: Optional[pulumi.Input[Union['OrchestratorConfigNodePreferencesArgs', 'OrchestratorConfigNodePreferencesArgsDict']]] = None,
|
|
432
469
|
orchestrator_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -442,6 +479,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
442
479
|
|
|
443
480
|
__props__.__dict__["binpacking"] = binpacking
|
|
444
481
|
__props__.__dict__["commitment_integration"] = commitment_integration
|
|
482
|
+
__props__.__dict__["disabled"] = disabled
|
|
445
483
|
if distribution is None and not opts.urn:
|
|
446
484
|
raise TypeError("Missing required property 'distribution'")
|
|
447
485
|
__props__.__dict__["distribution"] = distribution
|
|
@@ -462,6 +500,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
462
500
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
463
501
|
binpacking: Optional[pulumi.Input[Union['OrchestratorConfigBinpackingArgs', 'OrchestratorConfigBinpackingArgsDict']]] = None,
|
|
464
502
|
commitment_integration: Optional[pulumi.Input[Union['OrchestratorConfigCommitmentIntegrationArgs', 'OrchestratorConfigCommitmentIntegrationArgsDict']]] = None,
|
|
503
|
+
disabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
465
504
|
distribution: Optional[pulumi.Input[Union['OrchestratorConfigDistributionArgs', 'OrchestratorConfigDistributionArgsDict']]] = None,
|
|
466
505
|
node_preferences: Optional[pulumi.Input[Union['OrchestratorConfigNodePreferencesArgs', 'OrchestratorConfigNodePreferencesArgsDict']]] = None,
|
|
467
506
|
orchestrator_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -475,6 +514,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
475
514
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
476
515
|
:param pulumi.Input[Union['OrchestratorConfigBinpackingArgs', 'OrchestratorConfigBinpackingArgsDict']] binpacking: Binpacking preferences for Cluster Orchestrator
|
|
477
516
|
:param pulumi.Input[Union['OrchestratorConfigCommitmentIntegrationArgs', 'OrchestratorConfigCommitmentIntegrationArgsDict']] commitment_integration: Commitment integration configuration for Cluster Orchestrator
|
|
517
|
+
:param pulumi.Input[_builtins.bool] disabled: Whether the cluster orchestrator is disabled
|
|
478
518
|
:param pulumi.Input[Union['OrchestratorConfigDistributionArgs', 'OrchestratorConfigDistributionArgsDict']] distribution: Spot and Ondemand Distribution Preferences for workload replicas
|
|
479
519
|
:param pulumi.Input[Union['OrchestratorConfigNodePreferencesArgs', 'OrchestratorConfigNodePreferencesArgsDict']] node_preferences: Node preferences for Cluster Orchestrator
|
|
480
520
|
:param pulumi.Input[_builtins.str] orchestrator_id: ID of the Cluster Orchestrator Object
|
|
@@ -486,6 +526,7 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
486
526
|
|
|
487
527
|
__props__.__dict__["binpacking"] = binpacking
|
|
488
528
|
__props__.__dict__["commitment_integration"] = commitment_integration
|
|
529
|
+
__props__.__dict__["disabled"] = disabled
|
|
489
530
|
__props__.__dict__["distribution"] = distribution
|
|
490
531
|
__props__.__dict__["node_preferences"] = node_preferences
|
|
491
532
|
__props__.__dict__["orchestrator_id"] = orchestrator_id
|
|
@@ -508,6 +549,14 @@ class OrchestratorConfig(pulumi.CustomResource):
|
|
|
508
549
|
"""
|
|
509
550
|
return pulumi.get(self, "commitment_integration")
|
|
510
551
|
|
|
552
|
+
@_builtins.property
|
|
553
|
+
@pulumi.getter
|
|
554
|
+
def disabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
555
|
+
"""
|
|
556
|
+
Whether the cluster orchestrator is disabled
|
|
557
|
+
"""
|
|
558
|
+
return pulumi.get(self, "disabled")
|
|
559
|
+
|
|
511
560
|
@_builtins.property
|
|
512
561
|
@pulumi.getter
|
|
513
562
|
def distribution(self) -> pulumi.Output['outputs.OrchestratorConfigDistribution']:
|
|
@@ -114,6 +114,8 @@ from .get_har_registry import *
|
|
|
114
114
|
from .get_helm_connector import *
|
|
115
115
|
from .get_iacm_default_pipeline import *
|
|
116
116
|
from .get_infra_module import *
|
|
117
|
+
from .get_infra_module_testing import *
|
|
118
|
+
from .get_infra_modules import *
|
|
117
119
|
from .get_infra_variable_set import *
|
|
118
120
|
from .get_infrastructure import *
|
|
119
121
|
from .get_input_set import *
|
|
@@ -189,6 +191,7 @@ from .har_registry import *
|
|
|
189
191
|
from .helm_connector import *
|
|
190
192
|
from .iacm_default_pipeline import *
|
|
191
193
|
from .infra_module import *
|
|
194
|
+
from .infra_module_testing import *
|
|
192
195
|
from .infra_variable_set import *
|
|
193
196
|
from .infrastructure import *
|
|
194
197
|
from .input_set import *
|