pulumi-spotinst 3.124.0a1752907291__py3-none-any.whl → 3.124.0a1753398242__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-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +531 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0a1753398242.dist-info/RECORD +77 -0
- pulumi_spotinst-3.124.0a1752907291.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/top_level.txt +0 -0
pulumi_spotinst/spark/_inputs.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -46,11 +45,11 @@ MYPY = False
|
|
|
46
45
|
|
|
47
46
|
if not MYPY:
|
|
48
47
|
class OceanComputeArgsDict(TypedDict):
|
|
49
|
-
create_vngs: NotRequired[pulumi.Input[
|
|
48
|
+
create_vngs: NotRequired[pulumi.Input[_builtins.bool]]
|
|
50
49
|
"""
|
|
51
50
|
- Enable/disable the creation of Ocean Spark VNGs during cluster creation.
|
|
52
51
|
"""
|
|
53
|
-
use_taints: NotRequired[pulumi.Input[
|
|
52
|
+
use_taints: NotRequired[pulumi.Input[_builtins.bool]]
|
|
54
53
|
"""
|
|
55
54
|
- Enable/disable Ocean Spark taints on the Ocean Spark VNGs. By default, Ocean Spark uses taints to prevent non-Spark workloads from running on Ocean Spark VNGs.
|
|
56
55
|
"""
|
|
@@ -60,39 +59,39 @@ elif False:
|
|
|
60
59
|
@pulumi.input_type
|
|
61
60
|
class OceanComputeArgs:
|
|
62
61
|
def __init__(__self__, *,
|
|
63
|
-
create_vngs: Optional[pulumi.Input[
|
|
64
|
-
use_taints: Optional[pulumi.Input[
|
|
62
|
+
create_vngs: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
63
|
+
use_taints: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
65
64
|
"""
|
|
66
|
-
:param pulumi.Input[
|
|
67
|
-
:param pulumi.Input[
|
|
65
|
+
:param pulumi.Input[_builtins.bool] create_vngs: - Enable/disable the creation of Ocean Spark VNGs during cluster creation.
|
|
66
|
+
:param pulumi.Input[_builtins.bool] use_taints: - Enable/disable Ocean Spark taints on the Ocean Spark VNGs. By default, Ocean Spark uses taints to prevent non-Spark workloads from running on Ocean Spark VNGs.
|
|
68
67
|
"""
|
|
69
68
|
if create_vngs is not None:
|
|
70
69
|
pulumi.set(__self__, "create_vngs", create_vngs)
|
|
71
70
|
if use_taints is not None:
|
|
72
71
|
pulumi.set(__self__, "use_taints", use_taints)
|
|
73
72
|
|
|
74
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
75
74
|
@pulumi.getter(name="createVngs")
|
|
76
|
-
def create_vngs(self) -> Optional[pulumi.Input[
|
|
75
|
+
def create_vngs(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
77
76
|
"""
|
|
78
77
|
- Enable/disable the creation of Ocean Spark VNGs during cluster creation.
|
|
79
78
|
"""
|
|
80
79
|
return pulumi.get(self, "create_vngs")
|
|
81
80
|
|
|
82
81
|
@create_vngs.setter
|
|
83
|
-
def create_vngs(self, value: Optional[pulumi.Input[
|
|
82
|
+
def create_vngs(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
84
83
|
pulumi.set(self, "create_vngs", value)
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter(name="useTaints")
|
|
88
|
-
def use_taints(self) -> Optional[pulumi.Input[
|
|
87
|
+
def use_taints(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
89
88
|
"""
|
|
90
89
|
- Enable/disable Ocean Spark taints on the Ocean Spark VNGs. By default, Ocean Spark uses taints to prevent non-Spark workloads from running on Ocean Spark VNGs.
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "use_taints")
|
|
93
92
|
|
|
94
93
|
@use_taints.setter
|
|
95
|
-
def use_taints(self, value: Optional[pulumi.Input[
|
|
94
|
+
def use_taints(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
96
95
|
pulumi.set(self, "use_taints", value)
|
|
97
96
|
|
|
98
97
|
|
|
@@ -102,7 +101,7 @@ if not MYPY:
|
|
|
102
101
|
custom_endpoint: NotRequired[pulumi.Input['OceanIngressCustomEndpointArgsDict']]
|
|
103
102
|
load_balancer: NotRequired[pulumi.Input['OceanIngressLoadBalancerArgsDict']]
|
|
104
103
|
private_link: NotRequired[pulumi.Input['OceanIngressPrivateLinkArgsDict']]
|
|
105
|
-
service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[
|
|
104
|
+
service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
106
105
|
"""
|
|
107
106
|
- **DEPRECATED**: Use `load_balancer.service_annotations` instead.
|
|
108
107
|
"""
|
|
@@ -116,9 +115,9 @@ class OceanIngressArgs:
|
|
|
116
115
|
custom_endpoint: Optional[pulumi.Input['OceanIngressCustomEndpointArgs']] = None,
|
|
117
116
|
load_balancer: Optional[pulumi.Input['OceanIngressLoadBalancerArgs']] = None,
|
|
118
117
|
private_link: Optional[pulumi.Input['OceanIngressPrivateLinkArgs']] = None,
|
|
119
|
-
service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
118
|
+
service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
120
119
|
"""
|
|
121
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
120
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] service_annotations: - **DEPRECATED**: Use `load_balancer.service_annotations` instead.
|
|
122
121
|
"""
|
|
123
122
|
if controller is not None:
|
|
124
123
|
pulumi.set(__self__, "controller", controller)
|
|
@@ -131,7 +130,7 @@ class OceanIngressArgs:
|
|
|
131
130
|
if service_annotations is not None:
|
|
132
131
|
pulumi.set(__self__, "service_annotations", service_annotations)
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter
|
|
136
135
|
def controller(self) -> Optional[pulumi.Input['OceanIngressControllerArgs']]:
|
|
137
136
|
return pulumi.get(self, "controller")
|
|
@@ -140,7 +139,7 @@ class OceanIngressArgs:
|
|
|
140
139
|
def controller(self, value: Optional[pulumi.Input['OceanIngressControllerArgs']]):
|
|
141
140
|
pulumi.set(self, "controller", value)
|
|
142
141
|
|
|
143
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
144
143
|
@pulumi.getter(name="customEndpoint")
|
|
145
144
|
def custom_endpoint(self) -> Optional[pulumi.Input['OceanIngressCustomEndpointArgs']]:
|
|
146
145
|
return pulumi.get(self, "custom_endpoint")
|
|
@@ -149,7 +148,7 @@ class OceanIngressArgs:
|
|
|
149
148
|
def custom_endpoint(self, value: Optional[pulumi.Input['OceanIngressCustomEndpointArgs']]):
|
|
150
149
|
pulumi.set(self, "custom_endpoint", value)
|
|
151
150
|
|
|
152
|
-
@property
|
|
151
|
+
@_builtins.property
|
|
153
152
|
@pulumi.getter(name="loadBalancer")
|
|
154
153
|
def load_balancer(self) -> Optional[pulumi.Input['OceanIngressLoadBalancerArgs']]:
|
|
155
154
|
return pulumi.get(self, "load_balancer")
|
|
@@ -158,7 +157,7 @@ class OceanIngressArgs:
|
|
|
158
157
|
def load_balancer(self, value: Optional[pulumi.Input['OceanIngressLoadBalancerArgs']]):
|
|
159
158
|
pulumi.set(self, "load_balancer", value)
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter(name="privateLink")
|
|
163
162
|
def private_link(self) -> Optional[pulumi.Input['OceanIngressPrivateLinkArgs']]:
|
|
164
163
|
return pulumi.get(self, "private_link")
|
|
@@ -167,22 +166,22 @@ class OceanIngressArgs:
|
|
|
167
166
|
def private_link(self, value: Optional[pulumi.Input['OceanIngressPrivateLinkArgs']]):
|
|
168
167
|
pulumi.set(self, "private_link", value)
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
@pulumi.getter(name="serviceAnnotations")
|
|
172
|
-
def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
171
|
+
def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
173
172
|
"""
|
|
174
173
|
- **DEPRECATED**: Use `load_balancer.service_annotations` instead.
|
|
175
174
|
"""
|
|
176
175
|
return pulumi.get(self, "service_annotations")
|
|
177
176
|
|
|
178
177
|
@service_annotations.setter
|
|
179
|
-
def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
178
|
+
def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
180
179
|
pulumi.set(self, "service_annotations", value)
|
|
181
180
|
|
|
182
181
|
|
|
183
182
|
if not MYPY:
|
|
184
183
|
class OceanIngressControllerArgsDict(TypedDict):
|
|
185
|
-
managed: NotRequired[pulumi.Input[
|
|
184
|
+
managed: NotRequired[pulumi.Input[_builtins.bool]]
|
|
186
185
|
"""
|
|
187
186
|
- Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
|
|
188
187
|
"""
|
|
@@ -192,33 +191,33 @@ elif False:
|
|
|
192
191
|
@pulumi.input_type
|
|
193
192
|
class OceanIngressControllerArgs:
|
|
194
193
|
def __init__(__self__, *,
|
|
195
|
-
managed: Optional[pulumi.Input[
|
|
194
|
+
managed: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
196
195
|
"""
|
|
197
|
-
:param pulumi.Input[
|
|
196
|
+
:param pulumi.Input[_builtins.bool] managed: - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
|
|
198
197
|
"""
|
|
199
198
|
if managed is not None:
|
|
200
199
|
pulumi.set(__self__, "managed", managed)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter
|
|
204
|
-
def managed(self) -> Optional[pulumi.Input[
|
|
203
|
+
def managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
205
204
|
"""
|
|
206
205
|
- Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
|
|
207
206
|
"""
|
|
208
207
|
return pulumi.get(self, "managed")
|
|
209
208
|
|
|
210
209
|
@managed.setter
|
|
211
|
-
def managed(self, value: Optional[pulumi.Input[
|
|
210
|
+
def managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
212
211
|
pulumi.set(self, "managed", value)
|
|
213
212
|
|
|
214
213
|
|
|
215
214
|
if not MYPY:
|
|
216
215
|
class OceanIngressCustomEndpointArgsDict(TypedDict):
|
|
217
|
-
address: NotRequired[pulumi.Input[
|
|
216
|
+
address: NotRequired[pulumi.Input[_builtins.str]]
|
|
218
217
|
"""
|
|
219
218
|
- The address the Ocean for Apache Spark control plane will use when addressing the cluster.
|
|
220
219
|
"""
|
|
221
|
-
enabled: NotRequired[pulumi.Input[
|
|
220
|
+
enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
222
221
|
"""
|
|
223
222
|
- Should the Ocean for Apache Spark control plane address the cluster using a custom endpoint. Use this to specify the DNS address of an externally provisioned (unmanaged) load balancer.
|
|
224
223
|
"""
|
|
@@ -228,53 +227,53 @@ elif False:
|
|
|
228
227
|
@pulumi.input_type
|
|
229
228
|
class OceanIngressCustomEndpointArgs:
|
|
230
229
|
def __init__(__self__, *,
|
|
231
|
-
address: Optional[pulumi.Input[
|
|
232
|
-
enabled: Optional[pulumi.Input[
|
|
230
|
+
address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
231
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
233
232
|
"""
|
|
234
|
-
:param pulumi.Input[
|
|
235
|
-
:param pulumi.Input[
|
|
233
|
+
:param pulumi.Input[_builtins.str] address: - The address the Ocean for Apache Spark control plane will use when addressing the cluster.
|
|
234
|
+
:param pulumi.Input[_builtins.bool] enabled: - Should the Ocean for Apache Spark control plane address the cluster using a custom endpoint. Use this to specify the DNS address of an externally provisioned (unmanaged) load balancer.
|
|
236
235
|
"""
|
|
237
236
|
if address is not None:
|
|
238
237
|
pulumi.set(__self__, "address", address)
|
|
239
238
|
if enabled is not None:
|
|
240
239
|
pulumi.set(__self__, "enabled", enabled)
|
|
241
240
|
|
|
242
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
243
242
|
@pulumi.getter
|
|
244
|
-
def address(self) -> Optional[pulumi.Input[
|
|
243
|
+
def address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
245
244
|
"""
|
|
246
245
|
- The address the Ocean for Apache Spark control plane will use when addressing the cluster.
|
|
247
246
|
"""
|
|
248
247
|
return pulumi.get(self, "address")
|
|
249
248
|
|
|
250
249
|
@address.setter
|
|
251
|
-
def address(self, value: Optional[pulumi.Input[
|
|
250
|
+
def address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
252
251
|
pulumi.set(self, "address", value)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter
|
|
256
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
255
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
257
256
|
"""
|
|
258
257
|
- Should the Ocean for Apache Spark control plane address the cluster using a custom endpoint. Use this to specify the DNS address of an externally provisioned (unmanaged) load balancer.
|
|
259
258
|
"""
|
|
260
259
|
return pulumi.get(self, "enabled")
|
|
261
260
|
|
|
262
261
|
@enabled.setter
|
|
263
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
262
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
264
263
|
pulumi.set(self, "enabled", value)
|
|
265
264
|
|
|
266
265
|
|
|
267
266
|
if not MYPY:
|
|
268
267
|
class OceanIngressLoadBalancerArgsDict(TypedDict):
|
|
269
|
-
managed: NotRequired[pulumi.Input[
|
|
268
|
+
managed: NotRequired[pulumi.Input[_builtins.bool]]
|
|
270
269
|
"""
|
|
271
270
|
- Should a load balancer managed by Ocean for Apache Spark be provisioned for the cluster. Set this to false if you want to use an existing load balancer (only available on AWS).
|
|
272
271
|
"""
|
|
273
|
-
service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[
|
|
272
|
+
service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
274
273
|
"""
|
|
275
274
|
- Annotations to add to the ingress controller load balancer service. This is useful to configure properties of the managed load balancer, like the nature of the load balancer (e.g. ELB, NLB, ALB on AWS), the security groups, or various timeouts.
|
|
276
275
|
"""
|
|
277
|
-
target_group_arn: NotRequired[pulumi.Input[
|
|
276
|
+
target_group_arn: NotRequired[pulumi.Input[_builtins.str]]
|
|
278
277
|
"""
|
|
279
278
|
- The ARN of a target group that the Ocean for Apache Spark ingress controller will be bound to. Set this to use an existing load balancer with Ocean for Apache Spark. Has no effect if using a managed load balancer. Only available on AWS.
|
|
280
279
|
"""
|
|
@@ -284,13 +283,13 @@ elif False:
|
|
|
284
283
|
@pulumi.input_type
|
|
285
284
|
class OceanIngressLoadBalancerArgs:
|
|
286
285
|
def __init__(__self__, *,
|
|
287
|
-
managed: Optional[pulumi.Input[
|
|
288
|
-
service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
289
|
-
target_group_arn: Optional[pulumi.Input[
|
|
286
|
+
managed: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
287
|
+
service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
288
|
+
target_group_arn: Optional[pulumi.Input[_builtins.str]] = None):
|
|
290
289
|
"""
|
|
291
|
-
:param pulumi.Input[
|
|
292
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
293
|
-
:param pulumi.Input[
|
|
290
|
+
:param pulumi.Input[_builtins.bool] managed: - Should a load balancer managed by Ocean for Apache Spark be provisioned for the cluster. Set this to false if you want to use an existing load balancer (only available on AWS).
|
|
291
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] service_annotations: - Annotations to add to the ingress controller load balancer service. This is useful to configure properties of the managed load balancer, like the nature of the load balancer (e.g. ELB, NLB, ALB on AWS), the security groups, or various timeouts.
|
|
292
|
+
:param pulumi.Input[_builtins.str] target_group_arn: - The ARN of a target group that the Ocean for Apache Spark ingress controller will be bound to. Set this to use an existing load balancer with Ocean for Apache Spark. Has no effect if using a managed load balancer. Only available on AWS.
|
|
294
293
|
"""
|
|
295
294
|
if managed is not None:
|
|
296
295
|
pulumi.set(__self__, "managed", managed)
|
|
@@ -299,50 +298,50 @@ class OceanIngressLoadBalancerArgs:
|
|
|
299
298
|
if target_group_arn is not None:
|
|
300
299
|
pulumi.set(__self__, "target_group_arn", target_group_arn)
|
|
301
300
|
|
|
302
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
303
302
|
@pulumi.getter
|
|
304
|
-
def managed(self) -> Optional[pulumi.Input[
|
|
303
|
+
def managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
305
304
|
"""
|
|
306
305
|
- Should a load balancer managed by Ocean for Apache Spark be provisioned for the cluster. Set this to false if you want to use an existing load balancer (only available on AWS).
|
|
307
306
|
"""
|
|
308
307
|
return pulumi.get(self, "managed")
|
|
309
308
|
|
|
310
309
|
@managed.setter
|
|
311
|
-
def managed(self, value: Optional[pulumi.Input[
|
|
310
|
+
def managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
312
311
|
pulumi.set(self, "managed", value)
|
|
313
312
|
|
|
314
|
-
@property
|
|
313
|
+
@_builtins.property
|
|
315
314
|
@pulumi.getter(name="serviceAnnotations")
|
|
316
|
-
def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
315
|
+
def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
317
316
|
"""
|
|
318
317
|
- Annotations to add to the ingress controller load balancer service. This is useful to configure properties of the managed load balancer, like the nature of the load balancer (e.g. ELB, NLB, ALB on AWS), the security groups, or various timeouts.
|
|
319
318
|
"""
|
|
320
319
|
return pulumi.get(self, "service_annotations")
|
|
321
320
|
|
|
322
321
|
@service_annotations.setter
|
|
323
|
-
def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
322
|
+
def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
324
323
|
pulumi.set(self, "service_annotations", value)
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter(name="targetGroupArn")
|
|
328
|
-
def target_group_arn(self) -> Optional[pulumi.Input[
|
|
327
|
+
def target_group_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
329
328
|
"""
|
|
330
329
|
- The ARN of a target group that the Ocean for Apache Spark ingress controller will be bound to. Set this to use an existing load balancer with Ocean for Apache Spark. Has no effect if using a managed load balancer. Only available on AWS.
|
|
331
330
|
"""
|
|
332
331
|
return pulumi.get(self, "target_group_arn")
|
|
333
332
|
|
|
334
333
|
@target_group_arn.setter
|
|
335
|
-
def target_group_arn(self, value: Optional[pulumi.Input[
|
|
334
|
+
def target_group_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
336
335
|
pulumi.set(self, "target_group_arn", value)
|
|
337
336
|
|
|
338
337
|
|
|
339
338
|
if not MYPY:
|
|
340
339
|
class OceanIngressPrivateLinkArgsDict(TypedDict):
|
|
341
|
-
enabled: NotRequired[pulumi.Input[
|
|
340
|
+
enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
342
341
|
"""
|
|
343
342
|
- Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
344
343
|
"""
|
|
345
|
-
vpc_endpoint_service: NotRequired[pulumi.Input[
|
|
344
|
+
vpc_endpoint_service: NotRequired[pulumi.Input[_builtins.str]]
|
|
346
345
|
"""
|
|
347
346
|
- The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
|
|
348
347
|
"""
|
|
@@ -352,45 +351,45 @@ elif False:
|
|
|
352
351
|
@pulumi.input_type
|
|
353
352
|
class OceanIngressPrivateLinkArgs:
|
|
354
353
|
def __init__(__self__, *,
|
|
355
|
-
enabled: Optional[pulumi.Input[
|
|
356
|
-
vpc_endpoint_service: Optional[pulumi.Input[
|
|
354
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
355
|
+
vpc_endpoint_service: Optional[pulumi.Input[_builtins.str]] = None):
|
|
357
356
|
"""
|
|
358
|
-
:param pulumi.Input[
|
|
359
|
-
:param pulumi.Input[
|
|
357
|
+
:param pulumi.Input[_builtins.bool] enabled: - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
358
|
+
:param pulumi.Input[_builtins.str] vpc_endpoint_service: - The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
|
|
360
359
|
"""
|
|
361
360
|
if enabled is not None:
|
|
362
361
|
pulumi.set(__self__, "enabled", enabled)
|
|
363
362
|
if vpc_endpoint_service is not None:
|
|
364
363
|
pulumi.set(__self__, "vpc_endpoint_service", vpc_endpoint_service)
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter
|
|
368
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
367
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
369
368
|
"""
|
|
370
369
|
- Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
371
370
|
"""
|
|
372
371
|
return pulumi.get(self, "enabled")
|
|
373
372
|
|
|
374
373
|
@enabled.setter
|
|
375
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
374
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
376
375
|
pulumi.set(self, "enabled", value)
|
|
377
376
|
|
|
378
|
-
@property
|
|
377
|
+
@_builtins.property
|
|
379
378
|
@pulumi.getter(name="vpcEndpointService")
|
|
380
|
-
def vpc_endpoint_service(self) -> Optional[pulumi.Input[
|
|
379
|
+
def vpc_endpoint_service(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
381
380
|
"""
|
|
382
381
|
- The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
|
|
383
382
|
"""
|
|
384
383
|
return pulumi.get(self, "vpc_endpoint_service")
|
|
385
384
|
|
|
386
385
|
@vpc_endpoint_service.setter
|
|
387
|
-
def vpc_endpoint_service(self, value: Optional[pulumi.Input[
|
|
386
|
+
def vpc_endpoint_service(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
388
387
|
pulumi.set(self, "vpc_endpoint_service", value)
|
|
389
388
|
|
|
390
389
|
|
|
391
390
|
if not MYPY:
|
|
392
391
|
class OceanLogCollectionArgsDict(TypedDict):
|
|
393
|
-
collect_app_logs: NotRequired[pulumi.Input[
|
|
392
|
+
collect_app_logs: NotRequired[pulumi.Input[_builtins.bool]]
|
|
394
393
|
"""
|
|
395
394
|
- Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
|
|
396
395
|
"""
|
|
@@ -400,29 +399,29 @@ elif False:
|
|
|
400
399
|
@pulumi.input_type
|
|
401
400
|
class OceanLogCollectionArgs:
|
|
402
401
|
def __init__(__self__, *,
|
|
403
|
-
collect_app_logs: Optional[pulumi.Input[
|
|
402
|
+
collect_app_logs: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
404
403
|
"""
|
|
405
|
-
:param pulumi.Input[
|
|
404
|
+
:param pulumi.Input[_builtins.bool] collect_app_logs: - Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
|
|
406
405
|
"""
|
|
407
406
|
if collect_app_logs is not None:
|
|
408
407
|
pulumi.set(__self__, "collect_app_logs", collect_app_logs)
|
|
409
408
|
|
|
410
|
-
@property
|
|
409
|
+
@_builtins.property
|
|
411
410
|
@pulumi.getter(name="collectAppLogs")
|
|
412
|
-
def collect_app_logs(self) -> Optional[pulumi.Input[
|
|
411
|
+
def collect_app_logs(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
413
412
|
"""
|
|
414
413
|
- Enable/Disable collecting driver and executor logs. When enabled, logs are stored by NetApp and can be downloaded from the Spot console web interface. The logs are deleted after 30 days.
|
|
415
414
|
"""
|
|
416
415
|
return pulumi.get(self, "collect_app_logs")
|
|
417
416
|
|
|
418
417
|
@collect_app_logs.setter
|
|
419
|
-
def collect_app_logs(self, value: Optional[pulumi.Input[
|
|
418
|
+
def collect_app_logs(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
420
419
|
pulumi.set(self, "collect_app_logs", value)
|
|
421
420
|
|
|
422
421
|
|
|
423
422
|
if not MYPY:
|
|
424
423
|
class OceanSparkArgsDict(TypedDict):
|
|
425
|
-
additional_app_namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
424
|
+
additional_app_namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
426
425
|
"""
|
|
427
426
|
- List of Kubernetes namespaces that should be configured to run Spark applications, in addition to the default Spark application namespace `spark-apps`.
|
|
428
427
|
"""
|
|
@@ -432,33 +431,33 @@ elif False:
|
|
|
432
431
|
@pulumi.input_type
|
|
433
432
|
class OceanSparkArgs:
|
|
434
433
|
def __init__(__self__, *,
|
|
435
|
-
additional_app_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
434
|
+
additional_app_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
436
435
|
"""
|
|
437
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
436
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_app_namespaces: - List of Kubernetes namespaces that should be configured to run Spark applications, in addition to the default Spark application namespace `spark-apps`.
|
|
438
437
|
"""
|
|
439
438
|
if additional_app_namespaces is not None:
|
|
440
439
|
pulumi.set(__self__, "additional_app_namespaces", additional_app_namespaces)
|
|
441
440
|
|
|
442
|
-
@property
|
|
441
|
+
@_builtins.property
|
|
443
442
|
@pulumi.getter(name="additionalAppNamespaces")
|
|
444
|
-
def additional_app_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
443
|
+
def additional_app_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
445
444
|
"""
|
|
446
445
|
- List of Kubernetes namespaces that should be configured to run Spark applications, in addition to the default Spark application namespace `spark-apps`.
|
|
447
446
|
"""
|
|
448
447
|
return pulumi.get(self, "additional_app_namespaces")
|
|
449
448
|
|
|
450
449
|
@additional_app_namespaces.setter
|
|
451
|
-
def additional_app_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
450
|
+
def additional_app_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
452
451
|
pulumi.set(self, "additional_app_namespaces", value)
|
|
453
452
|
|
|
454
453
|
|
|
455
454
|
if not MYPY:
|
|
456
455
|
class OceanWebhookArgsDict(TypedDict):
|
|
457
|
-
host_network_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
456
|
+
host_network_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]
|
|
458
457
|
"""
|
|
459
458
|
- List of ports allowed to use on the host network - if empty default is `25554`.
|
|
460
459
|
"""
|
|
461
|
-
use_host_network: NotRequired[pulumi.Input[
|
|
460
|
+
use_host_network: NotRequired[pulumi.Input[_builtins.bool]]
|
|
462
461
|
"""
|
|
463
462
|
- Enable/disable host networking for the Spark Operator. Host networking can be useful when using custom CNI plugins like Calico on EKS.
|
|
464
463
|
"""
|
|
@@ -468,39 +467,39 @@ elif False:
|
|
|
468
467
|
@pulumi.input_type
|
|
469
468
|
class OceanWebhookArgs:
|
|
470
469
|
def __init__(__self__, *,
|
|
471
|
-
host_network_ports: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
472
|
-
use_host_network: Optional[pulumi.Input[
|
|
470
|
+
host_network_ports: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
471
|
+
use_host_network: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
473
472
|
"""
|
|
474
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
475
|
-
:param pulumi.Input[
|
|
473
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] host_network_ports: - List of ports allowed to use on the host network - if empty default is `25554`.
|
|
474
|
+
:param pulumi.Input[_builtins.bool] use_host_network: - Enable/disable host networking for the Spark Operator. Host networking can be useful when using custom CNI plugins like Calico on EKS.
|
|
476
475
|
"""
|
|
477
476
|
if host_network_ports is not None:
|
|
478
477
|
pulumi.set(__self__, "host_network_ports", host_network_ports)
|
|
479
478
|
if use_host_network is not None:
|
|
480
479
|
pulumi.set(__self__, "use_host_network", use_host_network)
|
|
481
480
|
|
|
482
|
-
@property
|
|
481
|
+
@_builtins.property
|
|
483
482
|
@pulumi.getter(name="hostNetworkPorts")
|
|
484
|
-
def host_network_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
483
|
+
def host_network_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
485
484
|
"""
|
|
486
485
|
- List of ports allowed to use on the host network - if empty default is `25554`.
|
|
487
486
|
"""
|
|
488
487
|
return pulumi.get(self, "host_network_ports")
|
|
489
488
|
|
|
490
489
|
@host_network_ports.setter
|
|
491
|
-
def host_network_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
490
|
+
def host_network_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
492
491
|
pulumi.set(self, "host_network_ports", value)
|
|
493
492
|
|
|
494
|
-
@property
|
|
493
|
+
@_builtins.property
|
|
495
494
|
@pulumi.getter(name="useHostNetwork")
|
|
496
|
-
def use_host_network(self) -> Optional[pulumi.Input[
|
|
495
|
+
def use_host_network(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
497
496
|
"""
|
|
498
497
|
- Enable/disable host networking for the Spark Operator. Host networking can be useful when using custom CNI plugins like Calico on EKS.
|
|
499
498
|
"""
|
|
500
499
|
return pulumi.get(self, "use_host_network")
|
|
501
500
|
|
|
502
501
|
@use_host_network.setter
|
|
503
|
-
def use_host_network(self, value: Optional[pulumi.Input[
|
|
502
|
+
def use_host_network(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
504
503
|
pulumi.set(self, "use_host_network", value)
|
|
505
504
|
|
|
506
505
|
|
|
@@ -517,7 +516,7 @@ class OceanWorkspacesArgs:
|
|
|
517
516
|
if storage is not None:
|
|
518
517
|
pulumi.set(__self__, "storage", storage)
|
|
519
518
|
|
|
520
|
-
@property
|
|
519
|
+
@_builtins.property
|
|
521
520
|
@pulumi.getter
|
|
522
521
|
def storage(self) -> Optional[pulumi.Input['OceanWorkspacesStorageArgs']]:
|
|
523
522
|
return pulumi.get(self, "storage")
|
|
@@ -540,7 +539,7 @@ class OceanWorkspacesStorageArgs:
|
|
|
540
539
|
if defaults is not None:
|
|
541
540
|
pulumi.set(__self__, "defaults", defaults)
|
|
542
541
|
|
|
543
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
544
543
|
@pulumi.getter
|
|
545
544
|
def defaults(self) -> Optional[pulumi.Input['OceanWorkspacesStorageDefaultsArgs']]:
|
|
546
545
|
return pulumi.get(self, "defaults")
|
|
@@ -552,7 +551,7 @@ class OceanWorkspacesStorageArgs:
|
|
|
552
551
|
|
|
553
552
|
if not MYPY:
|
|
554
553
|
class OceanWorkspacesStorageDefaultsArgsDict(TypedDict):
|
|
555
|
-
storage_class_name: NotRequired[pulumi.Input[
|
|
554
|
+
storage_class_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
556
555
|
"""
|
|
557
556
|
- The name of the default storage class to use for new workspaces. If not specified, the default storage class of the Kubernetes cluster will be used.
|
|
558
557
|
"""
|
|
@@ -562,23 +561,23 @@ elif False:
|
|
|
562
561
|
@pulumi.input_type
|
|
563
562
|
class OceanWorkspacesStorageDefaultsArgs:
|
|
564
563
|
def __init__(__self__, *,
|
|
565
|
-
storage_class_name: Optional[pulumi.Input[
|
|
564
|
+
storage_class_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
566
565
|
"""
|
|
567
|
-
:param pulumi.Input[
|
|
566
|
+
:param pulumi.Input[_builtins.str] storage_class_name: - The name of the default storage class to use for new workspaces. If not specified, the default storage class of the Kubernetes cluster will be used.
|
|
568
567
|
"""
|
|
569
568
|
if storage_class_name is not None:
|
|
570
569
|
pulumi.set(__self__, "storage_class_name", storage_class_name)
|
|
571
570
|
|
|
572
|
-
@property
|
|
571
|
+
@_builtins.property
|
|
573
572
|
@pulumi.getter(name="storageClassName")
|
|
574
|
-
def storage_class_name(self) -> Optional[pulumi.Input[
|
|
573
|
+
def storage_class_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
575
574
|
"""
|
|
576
575
|
- The name of the default storage class to use for new workspaces. If not specified, the default storage class of the Kubernetes cluster will be used.
|
|
577
576
|
"""
|
|
578
577
|
return pulumi.get(self, "storage_class_name")
|
|
579
578
|
|
|
580
579
|
@storage_class_name.setter
|
|
581
|
-
def storage_class_name(self, value: Optional[pulumi.Input[
|
|
580
|
+
def storage_class_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
582
581
|
pulumi.set(self, "storage_class_name", value)
|
|
583
582
|
|
|
584
583
|
|