pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744266805__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.

Files changed (75) hide show
  1. pulumi_spotinst/__init__.py +1 -0
  2. pulumi_spotinst/_inputs.py +1181 -1180
  3. pulumi_spotinst/account.py +15 -14
  4. pulumi_spotinst/aws/__init__.py +1 -0
  5. pulumi_spotinst/aws/_inputs.py +2919 -2918
  6. pulumi_spotinst/aws/account.py +15 -14
  7. pulumi_spotinst/aws/beanstalk.py +137 -136
  8. pulumi_spotinst/aws/credentials.py +29 -28
  9. pulumi_spotinst/aws/elastigroup.py +681 -680
  10. pulumi_spotinst/aws/managed_instance.py +361 -360
  11. pulumi_spotinst/aws/mr_scalar.py +470 -469
  12. pulumi_spotinst/aws/ocean.py +399 -398
  13. pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
  14. pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
  15. pulumi_spotinst/aws/outputs.py +1673 -1672
  16. pulumi_spotinst/aws/suspension.py +15 -14
  17. pulumi_spotinst/azure/__init__.py +1 -0
  18. pulumi_spotinst/azure/_inputs.py +489 -488
  19. pulumi_spotinst/azure/ocean_np.py +289 -288
  20. pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
  21. pulumi_spotinst/azure/outputs.py +293 -292
  22. pulumi_spotinst/config/__init__.py +1 -0
  23. pulumi_spotinst/config/__init__.pyi +1 -0
  24. pulumi_spotinst/config/vars.py +1 -0
  25. pulumi_spotinst/credentials_azure.py +71 -70
  26. pulumi_spotinst/credentials_gcp.py +155 -154
  27. pulumi_spotinst/data_integration.py +29 -28
  28. pulumi_spotinst/ecs/__init__.py +1 -0
  29. pulumi_spotinst/ecs/_inputs.py +475 -474
  30. pulumi_spotinst/ecs/ocean.py +315 -314
  31. pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
  32. pulumi_spotinst/ecs/outputs.py +285 -284
  33. pulumi_spotinst/elastigroup_azure_v3.py +201 -200
  34. pulumi_spotinst/gcp/__init__.py +1 -0
  35. pulumi_spotinst/gcp/_inputs.py +400 -399
  36. pulumi_spotinst/gcp/elastigroup.py +355 -354
  37. pulumi_spotinst/gcp/outputs.py +234 -233
  38. pulumi_spotinst/gke/__init__.py +1 -0
  39. pulumi_spotinst/gke/_inputs.py +726 -725
  40. pulumi_spotinst/gke/elastigroup.py +231 -230
  41. pulumi_spotinst/gke/ocean_import.py +146 -145
  42. pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
  43. pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
  44. pulumi_spotinst/gke/outputs.py +410 -409
  45. pulumi_spotinst/health_check.py +89 -48
  46. pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
  47. pulumi_spotinst/oceancd/__init__.py +1 -0
  48. pulumi_spotinst/oceancd/_inputs.py +594 -593
  49. pulumi_spotinst/oceancd/outputs.py +356 -355
  50. pulumi_spotinst/oceancd/rollout_spec.py +15 -14
  51. pulumi_spotinst/oceancd/strategy.py +11 -10
  52. pulumi_spotinst/oceancd/verification_provider.py +29 -28
  53. pulumi_spotinst/oceancd/verification_template.py +15 -14
  54. pulumi_spotinst/organization/__init__.py +1 -0
  55. pulumi_spotinst/organization/_inputs.py +55 -54
  56. pulumi_spotinst/organization/outputs.py +33 -32
  57. pulumi_spotinst/organization/policy.py +29 -28
  58. pulumi_spotinst/organization/programmatic_user.py +43 -42
  59. pulumi_spotinst/organization/user.py +85 -84
  60. pulumi_spotinst/organization/user_group.py +43 -42
  61. pulumi_spotinst/outputs.py +595 -594
  62. pulumi_spotinst/provider.py +32 -31
  63. pulumi_spotinst/pulumi-plugin.json +1 -1
  64. pulumi_spotinst/spark/__init__.py +1 -0
  65. pulumi_spotinst/spark/_inputs.py +81 -80
  66. pulumi_spotinst/spark/ocean.py +15 -14
  67. pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
  68. pulumi_spotinst/spark/outputs.py +49 -48
  69. pulumi_spotinst/stateful_node_azure.py +191 -190
  70. pulumi_spotinst/subscription.py +71 -70
  71. {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/METADATA +1 -1
  72. pulumi_spotinst-3.117.0a1744266805.dist-info/RECORD +76 -0
  73. pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
  74. {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/WHEEL +0 -0
  75. {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -45,11 +46,11 @@ MYPY = False
45
46
 
46
47
  if not MYPY:
47
48
  class OceanComputeArgsDict(TypedDict):
48
- create_vngs: NotRequired[pulumi.Input[bool]]
49
+ create_vngs: NotRequired[pulumi.Input[builtins.bool]]
49
50
  """
50
51
  - Enable/disable the creation of Ocean Spark VNGs during cluster creation.
51
52
  """
52
- use_taints: NotRequired[pulumi.Input[bool]]
53
+ use_taints: NotRequired[pulumi.Input[builtins.bool]]
53
54
  """
54
55
  - 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.
55
56
  """
@@ -59,11 +60,11 @@ elif False:
59
60
  @pulumi.input_type
60
61
  class OceanComputeArgs:
61
62
  def __init__(__self__, *,
62
- create_vngs: Optional[pulumi.Input[bool]] = None,
63
- use_taints: Optional[pulumi.Input[bool]] = None):
63
+ create_vngs: Optional[pulumi.Input[builtins.bool]] = None,
64
+ use_taints: Optional[pulumi.Input[builtins.bool]] = None):
64
65
  """
65
- :param pulumi.Input[bool] create_vngs: - Enable/disable the creation of Ocean Spark VNGs during cluster creation.
66
- :param pulumi.Input[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.
66
+ :param pulumi.Input[builtins.bool] create_vngs: - Enable/disable the creation of Ocean Spark VNGs during cluster creation.
67
+ :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.
67
68
  """
68
69
  if create_vngs is not None:
69
70
  pulumi.set(__self__, "create_vngs", create_vngs)
@@ -72,26 +73,26 @@ class OceanComputeArgs:
72
73
 
73
74
  @property
74
75
  @pulumi.getter(name="createVngs")
75
- def create_vngs(self) -> Optional[pulumi.Input[bool]]:
76
+ def create_vngs(self) -> Optional[pulumi.Input[builtins.bool]]:
76
77
  """
77
78
  - Enable/disable the creation of Ocean Spark VNGs during cluster creation.
78
79
  """
79
80
  return pulumi.get(self, "create_vngs")
80
81
 
81
82
  @create_vngs.setter
82
- def create_vngs(self, value: Optional[pulumi.Input[bool]]):
83
+ def create_vngs(self, value: Optional[pulumi.Input[builtins.bool]]):
83
84
  pulumi.set(self, "create_vngs", value)
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="useTaints")
87
- def use_taints(self) -> Optional[pulumi.Input[bool]]:
88
+ def use_taints(self) -> Optional[pulumi.Input[builtins.bool]]:
88
89
  """
89
90
  - 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.
90
91
  """
91
92
  return pulumi.get(self, "use_taints")
92
93
 
93
94
  @use_taints.setter
94
- def use_taints(self, value: Optional[pulumi.Input[bool]]):
95
+ def use_taints(self, value: Optional[pulumi.Input[builtins.bool]]):
95
96
  pulumi.set(self, "use_taints", value)
96
97
 
97
98
 
@@ -101,7 +102,7 @@ if not MYPY:
101
102
  custom_endpoint: NotRequired[pulumi.Input['OceanIngressCustomEndpointArgsDict']]
102
103
  load_balancer: NotRequired[pulumi.Input['OceanIngressLoadBalancerArgsDict']]
103
104
  private_link: NotRequired[pulumi.Input['OceanIngressPrivateLinkArgsDict']]
104
- service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
105
+ service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
105
106
  """
106
107
  - **DEPRECATED**: Use `load_balancer.service_annotations` instead.
107
108
  """
@@ -115,9 +116,9 @@ class OceanIngressArgs:
115
116
  custom_endpoint: Optional[pulumi.Input['OceanIngressCustomEndpointArgs']] = None,
116
117
  load_balancer: Optional[pulumi.Input['OceanIngressLoadBalancerArgs']] = None,
117
118
  private_link: Optional[pulumi.Input['OceanIngressPrivateLinkArgs']] = None,
118
- service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
119
+ service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None):
119
120
  """
120
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] service_annotations: - **DEPRECATED**: Use `load_balancer.service_annotations` instead.
121
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] service_annotations: - **DEPRECATED**: Use `load_balancer.service_annotations` instead.
121
122
  """
122
123
  if controller is not None:
123
124
  pulumi.set(__self__, "controller", controller)
@@ -168,20 +169,20 @@ class OceanIngressArgs:
168
169
 
169
170
  @property
170
171
  @pulumi.getter(name="serviceAnnotations")
171
- def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
172
+ def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
172
173
  """
173
174
  - **DEPRECATED**: Use `load_balancer.service_annotations` instead.
174
175
  """
175
176
  return pulumi.get(self, "service_annotations")
176
177
 
177
178
  @service_annotations.setter
178
- def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
179
+ def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
179
180
  pulumi.set(self, "service_annotations", value)
180
181
 
181
182
 
182
183
  if not MYPY:
183
184
  class OceanIngressControllerArgsDict(TypedDict):
184
- managed: NotRequired[pulumi.Input[bool]]
185
+ managed: NotRequired[pulumi.Input[builtins.bool]]
185
186
  """
186
187
  - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
187
188
  """
@@ -191,33 +192,33 @@ elif False:
191
192
  @pulumi.input_type
192
193
  class OceanIngressControllerArgs:
193
194
  def __init__(__self__, *,
194
- managed: Optional[pulumi.Input[bool]] = None):
195
+ managed: Optional[pulumi.Input[builtins.bool]] = None):
195
196
  """
196
- :param pulumi.Input[bool] managed: - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
197
+ :param pulumi.Input[builtins.bool] managed: - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
197
198
  """
198
199
  if managed is not None:
199
200
  pulumi.set(__self__, "managed", managed)
200
201
 
201
202
  @property
202
203
  @pulumi.getter
203
- def managed(self) -> Optional[pulumi.Input[bool]]:
204
+ def managed(self) -> Optional[pulumi.Input[builtins.bool]]:
204
205
  """
205
206
  - Should an ingress controller managed by Ocean for Apache Spark be installed on the cluster.
206
207
  """
207
208
  return pulumi.get(self, "managed")
208
209
 
209
210
  @managed.setter
210
- def managed(self, value: Optional[pulumi.Input[bool]]):
211
+ def managed(self, value: Optional[pulumi.Input[builtins.bool]]):
211
212
  pulumi.set(self, "managed", value)
212
213
 
213
214
 
214
215
  if not MYPY:
215
216
  class OceanIngressCustomEndpointArgsDict(TypedDict):
216
- address: NotRequired[pulumi.Input[str]]
217
+ address: NotRequired[pulumi.Input[builtins.str]]
217
218
  """
218
219
  - The address the Ocean for Apache Spark control plane will use when addressing the cluster.
219
220
  """
220
- enabled: NotRequired[pulumi.Input[bool]]
221
+ enabled: NotRequired[pulumi.Input[builtins.bool]]
221
222
  """
222
223
  - 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.
223
224
  """
@@ -227,11 +228,11 @@ elif False:
227
228
  @pulumi.input_type
228
229
  class OceanIngressCustomEndpointArgs:
229
230
  def __init__(__self__, *,
230
- address: Optional[pulumi.Input[str]] = None,
231
- enabled: Optional[pulumi.Input[bool]] = None):
231
+ address: Optional[pulumi.Input[builtins.str]] = None,
232
+ enabled: Optional[pulumi.Input[builtins.bool]] = None):
232
233
  """
233
- :param pulumi.Input[str] address: - The address the Ocean for Apache Spark control plane will use when addressing the cluster.
234
- :param pulumi.Input[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.
234
+ :param pulumi.Input[builtins.str] address: - The address the Ocean for Apache Spark control plane will use when addressing the cluster.
235
+ :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.
235
236
  """
236
237
  if address is not None:
237
238
  pulumi.set(__self__, "address", address)
@@ -240,40 +241,40 @@ class OceanIngressCustomEndpointArgs:
240
241
 
241
242
  @property
242
243
  @pulumi.getter
243
- def address(self) -> Optional[pulumi.Input[str]]:
244
+ def address(self) -> Optional[pulumi.Input[builtins.str]]:
244
245
  """
245
246
  - The address the Ocean for Apache Spark control plane will use when addressing the cluster.
246
247
  """
247
248
  return pulumi.get(self, "address")
248
249
 
249
250
  @address.setter
250
- def address(self, value: Optional[pulumi.Input[str]]):
251
+ def address(self, value: Optional[pulumi.Input[builtins.str]]):
251
252
  pulumi.set(self, "address", value)
252
253
 
253
254
  @property
254
255
  @pulumi.getter
255
- def enabled(self) -> Optional[pulumi.Input[bool]]:
256
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
256
257
  """
257
258
  - 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.
258
259
  """
259
260
  return pulumi.get(self, "enabled")
260
261
 
261
262
  @enabled.setter
262
- def enabled(self, value: Optional[pulumi.Input[bool]]):
263
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
263
264
  pulumi.set(self, "enabled", value)
264
265
 
265
266
 
266
267
  if not MYPY:
267
268
  class OceanIngressLoadBalancerArgsDict(TypedDict):
268
- managed: NotRequired[pulumi.Input[bool]]
269
+ managed: NotRequired[pulumi.Input[builtins.bool]]
269
270
  """
270
271
  - 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).
271
272
  """
272
- service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
273
+ service_annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
273
274
  """
274
275
  - 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.
275
276
  """
276
- target_group_arn: NotRequired[pulumi.Input[str]]
277
+ target_group_arn: NotRequired[pulumi.Input[builtins.str]]
277
278
  """
278
279
  - 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.
279
280
  """
@@ -283,13 +284,13 @@ elif False:
283
284
  @pulumi.input_type
284
285
  class OceanIngressLoadBalancerArgs:
285
286
  def __init__(__self__, *,
286
- managed: Optional[pulumi.Input[bool]] = None,
287
- service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
288
- target_group_arn: Optional[pulumi.Input[str]] = None):
287
+ managed: Optional[pulumi.Input[builtins.bool]] = None,
288
+ service_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
289
+ target_group_arn: Optional[pulumi.Input[builtins.str]] = None):
289
290
  """
290
- :param pulumi.Input[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[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[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.
291
+ :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).
292
+ :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.
293
+ :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.
293
294
  """
294
295
  if managed is not None:
295
296
  pulumi.set(__self__, "managed", managed)
@@ -300,48 +301,48 @@ class OceanIngressLoadBalancerArgs:
300
301
 
301
302
  @property
302
303
  @pulumi.getter
303
- def managed(self) -> Optional[pulumi.Input[bool]]:
304
+ def managed(self) -> Optional[pulumi.Input[builtins.bool]]:
304
305
  """
305
306
  - 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).
306
307
  """
307
308
  return pulumi.get(self, "managed")
308
309
 
309
310
  @managed.setter
310
- def managed(self, value: Optional[pulumi.Input[bool]]):
311
+ def managed(self, value: Optional[pulumi.Input[builtins.bool]]):
311
312
  pulumi.set(self, "managed", value)
312
313
 
313
314
  @property
314
315
  @pulumi.getter(name="serviceAnnotations")
315
- def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
316
+ def service_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
316
317
  """
317
318
  - 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.
318
319
  """
319
320
  return pulumi.get(self, "service_annotations")
320
321
 
321
322
  @service_annotations.setter
322
- def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
323
+ def service_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
323
324
  pulumi.set(self, "service_annotations", value)
324
325
 
325
326
  @property
326
327
  @pulumi.getter(name="targetGroupArn")
327
- def target_group_arn(self) -> Optional[pulumi.Input[str]]:
328
+ def target_group_arn(self) -> Optional[pulumi.Input[builtins.str]]:
328
329
  """
329
330
  - 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.
330
331
  """
331
332
  return pulumi.get(self, "target_group_arn")
332
333
 
333
334
  @target_group_arn.setter
334
- def target_group_arn(self, value: Optional[pulumi.Input[str]]):
335
+ def target_group_arn(self, value: Optional[pulumi.Input[builtins.str]]):
335
336
  pulumi.set(self, "target_group_arn", value)
336
337
 
337
338
 
338
339
  if not MYPY:
339
340
  class OceanIngressPrivateLinkArgsDict(TypedDict):
340
- enabled: NotRequired[pulumi.Input[bool]]
341
+ enabled: NotRequired[pulumi.Input[builtins.bool]]
341
342
  """
342
343
  - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
343
344
  """
344
- vpc_endpoint_service: NotRequired[pulumi.Input[str]]
345
+ vpc_endpoint_service: NotRequired[pulumi.Input[builtins.str]]
345
346
  """
346
347
  - The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
347
348
  """
@@ -351,11 +352,11 @@ elif False:
351
352
  @pulumi.input_type
352
353
  class OceanIngressPrivateLinkArgs:
353
354
  def __init__(__self__, *,
354
- enabled: Optional[pulumi.Input[bool]] = None,
355
- vpc_endpoint_service: Optional[pulumi.Input[str]] = None):
355
+ enabled: Optional[pulumi.Input[builtins.bool]] = None,
356
+ vpc_endpoint_service: Optional[pulumi.Input[builtins.str]] = None):
356
357
  """
357
- :param pulumi.Input[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[str] vpc_endpoint_service: - The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
358
+ :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.
359
+ :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.
359
360
  """
360
361
  if enabled is not None:
361
362
  pulumi.set(__self__, "enabled", enabled)
@@ -364,32 +365,32 @@ class OceanIngressPrivateLinkArgs:
364
365
 
365
366
  @property
366
367
  @pulumi.getter
367
- def enabled(self) -> Optional[pulumi.Input[bool]]:
368
+ def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
368
369
  """
369
370
  - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
370
371
  """
371
372
  return pulumi.get(self, "enabled")
372
373
 
373
374
  @enabled.setter
374
- def enabled(self, value: Optional[pulumi.Input[bool]]):
375
+ def enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
375
376
  pulumi.set(self, "enabled", value)
376
377
 
377
378
  @property
378
379
  @pulumi.getter(name="vpcEndpointService")
379
- def vpc_endpoint_service(self) -> Optional[pulumi.Input[str]]:
380
+ def vpc_endpoint_service(self) -> Optional[pulumi.Input[builtins.str]]:
380
381
  """
381
382
  - The name of the VPC Endpoint Service the Ocean for Apache Spark control plane should bind to.
382
383
  """
383
384
  return pulumi.get(self, "vpc_endpoint_service")
384
385
 
385
386
  @vpc_endpoint_service.setter
386
- def vpc_endpoint_service(self, value: Optional[pulumi.Input[str]]):
387
+ def vpc_endpoint_service(self, value: Optional[pulumi.Input[builtins.str]]):
387
388
  pulumi.set(self, "vpc_endpoint_service", value)
388
389
 
389
390
 
390
391
  if not MYPY:
391
392
  class OceanLogCollectionArgsDict(TypedDict):
392
- collect_app_logs: NotRequired[pulumi.Input[bool]]
393
+ collect_app_logs: NotRequired[pulumi.Input[builtins.bool]]
393
394
  """
394
395
  - 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.
395
396
  """
@@ -399,29 +400,29 @@ elif False:
399
400
  @pulumi.input_type
400
401
  class OceanLogCollectionArgs:
401
402
  def __init__(__self__, *,
402
- collect_app_logs: Optional[pulumi.Input[bool]] = None):
403
+ collect_app_logs: Optional[pulumi.Input[builtins.bool]] = None):
403
404
  """
404
- :param pulumi.Input[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.
405
+ :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.
405
406
  """
406
407
  if collect_app_logs is not None:
407
408
  pulumi.set(__self__, "collect_app_logs", collect_app_logs)
408
409
 
409
410
  @property
410
411
  @pulumi.getter(name="collectAppLogs")
411
- def collect_app_logs(self) -> Optional[pulumi.Input[bool]]:
412
+ def collect_app_logs(self) -> Optional[pulumi.Input[builtins.bool]]:
412
413
  """
413
414
  - 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.
414
415
  """
415
416
  return pulumi.get(self, "collect_app_logs")
416
417
 
417
418
  @collect_app_logs.setter
418
- def collect_app_logs(self, value: Optional[pulumi.Input[bool]]):
419
+ def collect_app_logs(self, value: Optional[pulumi.Input[builtins.bool]]):
419
420
  pulumi.set(self, "collect_app_logs", value)
420
421
 
421
422
 
422
423
  if not MYPY:
423
424
  class OceanSparkArgsDict(TypedDict):
424
- additional_app_namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
425
+ additional_app_namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
425
426
  """
426
427
  - List of Kubernetes namespaces that should be configured to run Spark applications, in addition to the default Spark application namespace `spark-apps`.
427
428
  """
@@ -431,33 +432,33 @@ elif False:
431
432
  @pulumi.input_type
432
433
  class OceanSparkArgs:
433
434
  def __init__(__self__, *,
434
- additional_app_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
435
+ additional_app_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
435
436
  """
436
- :param pulumi.Input[Sequence[pulumi.Input[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`.
437
+ :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`.
437
438
  """
438
439
  if additional_app_namespaces is not None:
439
440
  pulumi.set(__self__, "additional_app_namespaces", additional_app_namespaces)
440
441
 
441
442
  @property
442
443
  @pulumi.getter(name="additionalAppNamespaces")
443
- def additional_app_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
444
+ def additional_app_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
444
445
  """
445
446
  - List of Kubernetes namespaces that should be configured to run Spark applications, in addition to the default Spark application namespace `spark-apps`.
446
447
  """
447
448
  return pulumi.get(self, "additional_app_namespaces")
448
449
 
449
450
  @additional_app_namespaces.setter
450
- def additional_app_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
451
+ def additional_app_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
451
452
  pulumi.set(self, "additional_app_namespaces", value)
452
453
 
453
454
 
454
455
  if not MYPY:
455
456
  class OceanWebhookArgsDict(TypedDict):
456
- host_network_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
457
+ host_network_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]
457
458
  """
458
459
  - List of ports allowed to use on the host network - if empty default is `25554`.
459
460
  """
460
- use_host_network: NotRequired[pulumi.Input[bool]]
461
+ use_host_network: NotRequired[pulumi.Input[builtins.bool]]
461
462
  """
462
463
  - Enable/disable host networking for the Spark Operator. Host networking can be useful when using custom CNI plugins like Calico on EKS.
463
464
  """
@@ -467,11 +468,11 @@ elif False:
467
468
  @pulumi.input_type
468
469
  class OceanWebhookArgs:
469
470
  def __init__(__self__, *,
470
- host_network_ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
471
- use_host_network: Optional[pulumi.Input[bool]] = None):
471
+ host_network_ports: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None,
472
+ use_host_network: Optional[pulumi.Input[builtins.bool]] = None):
472
473
  """
473
- :param pulumi.Input[Sequence[pulumi.Input[int]]] host_network_ports: - List of ports allowed to use on the host network - if empty default is `25554`.
474
- :param pulumi.Input[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.
474
+ :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`.
475
+ :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.
475
476
  """
476
477
  if host_network_ports is not None:
477
478
  pulumi.set(__self__, "host_network_ports", host_network_ports)
@@ -480,26 +481,26 @@ class OceanWebhookArgs:
480
481
 
481
482
  @property
482
483
  @pulumi.getter(name="hostNetworkPorts")
483
- def host_network_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
484
+ def host_network_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
484
485
  """
485
486
  - List of ports allowed to use on the host network - if empty default is `25554`.
486
487
  """
487
488
  return pulumi.get(self, "host_network_ports")
488
489
 
489
490
  @host_network_ports.setter
490
- def host_network_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
491
+ def host_network_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
491
492
  pulumi.set(self, "host_network_ports", value)
492
493
 
493
494
  @property
494
495
  @pulumi.getter(name="useHostNetwork")
495
- def use_host_network(self) -> Optional[pulumi.Input[bool]]:
496
+ def use_host_network(self) -> Optional[pulumi.Input[builtins.bool]]:
496
497
  """
497
498
  - Enable/disable host networking for the Spark Operator. Host networking can be useful when using custom CNI plugins like Calico on EKS.
498
499
  """
499
500
  return pulumi.get(self, "use_host_network")
500
501
 
501
502
  @use_host_network.setter
502
- def use_host_network(self, value: Optional[pulumi.Input[bool]]):
503
+ def use_host_network(self, value: Optional[pulumi.Input[builtins.bool]]):
503
504
  pulumi.set(self, "use_host_network", value)
504
505
 
505
506
 
@@ -551,7 +552,7 @@ class OceanWorkspacesStorageArgs:
551
552
 
552
553
  if not MYPY:
553
554
  class OceanWorkspacesStorageDefaultsArgsDict(TypedDict):
554
- storage_class_name: NotRequired[pulumi.Input[str]]
555
+ storage_class_name: NotRequired[pulumi.Input[builtins.str]]
555
556
  """
556
557
  - 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.
557
558
  """
@@ -561,23 +562,23 @@ elif False:
561
562
  @pulumi.input_type
562
563
  class OceanWorkspacesStorageDefaultsArgs:
563
564
  def __init__(__self__, *,
564
- storage_class_name: Optional[pulumi.Input[str]] = None):
565
+ storage_class_name: Optional[pulumi.Input[builtins.str]] = None):
565
566
  """
566
- :param pulumi.Input[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.
567
+ :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.
567
568
  """
568
569
  if storage_class_name is not None:
569
570
  pulumi.set(__self__, "storage_class_name", storage_class_name)
570
571
 
571
572
  @property
572
573
  @pulumi.getter(name="storageClassName")
573
- def storage_class_name(self) -> Optional[pulumi.Input[str]]:
574
+ def storage_class_name(self) -> Optional[pulumi.Input[builtins.str]]:
574
575
  """
575
576
  - 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.
576
577
  """
577
578
  return pulumi.get(self, "storage_class_name")
578
579
 
579
580
  @storage_class_name.setter
580
- def storage_class_name(self, value: Optional[pulumi.Input[str]]):
581
+ def storage_class_name(self, value: Optional[pulumi.Input[builtins.str]]):
581
582
  pulumi.set(self, "storage_class_name", value)
582
583
 
583
584
 
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,7 +22,7 @@ __all__ = ['OceanArgs', 'Ocean']
21
22
  @pulumi.input_type
22
23
  class OceanArgs:
23
24
  def __init__(__self__, *,
24
- ocean_cluster_id: pulumi.Input[str],
25
+ ocean_cluster_id: pulumi.Input[builtins.str],
25
26
  compute: Optional[pulumi.Input['OceanComputeArgs']] = None,
26
27
  ingress: Optional[pulumi.Input['OceanIngressArgs']] = None,
27
28
  log_collection: Optional[pulumi.Input['OceanLogCollectionArgs']] = None,
@@ -30,7 +31,7 @@ class OceanArgs:
30
31
  workspaces: Optional[pulumi.Input['OceanWorkspacesArgs']] = None):
31
32
  """
32
33
  The set of arguments for constructing a Ocean resource.
33
- :param pulumi.Input[str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
34
+ :param pulumi.Input[builtins.str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
34
35
  """
35
36
  pulumi.set(__self__, "ocean_cluster_id", ocean_cluster_id)
36
37
  if compute is not None:
@@ -48,14 +49,14 @@ class OceanArgs:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="oceanClusterId")
51
- def ocean_cluster_id(self) -> pulumi.Input[str]:
52
+ def ocean_cluster_id(self) -> pulumi.Input[builtins.str]:
52
53
  """
53
54
  - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
54
55
  """
55
56
  return pulumi.get(self, "ocean_cluster_id")
56
57
 
57
58
  @ocean_cluster_id.setter
58
- def ocean_cluster_id(self, value: pulumi.Input[str]):
59
+ def ocean_cluster_id(self, value: pulumi.Input[builtins.str]):
59
60
  pulumi.set(self, "ocean_cluster_id", value)
60
61
 
61
62
  @property
@@ -119,13 +120,13 @@ class _OceanState:
119
120
  compute: Optional[pulumi.Input['OceanComputeArgs']] = None,
120
121
  ingress: Optional[pulumi.Input['OceanIngressArgs']] = None,
121
122
  log_collection: Optional[pulumi.Input['OceanLogCollectionArgs']] = None,
122
- ocean_cluster_id: Optional[pulumi.Input[str]] = None,
123
+ ocean_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
123
124
  spark: Optional[pulumi.Input['OceanSparkArgs']] = None,
124
125
  webhook: Optional[pulumi.Input['OceanWebhookArgs']] = None,
125
126
  workspaces: Optional[pulumi.Input['OceanWorkspacesArgs']] = None):
126
127
  """
127
128
  Input properties used for looking up and filtering Ocean resources.
128
- :param pulumi.Input[str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
129
+ :param pulumi.Input[builtins.str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
129
130
  """
130
131
  if compute is not None:
131
132
  pulumi.set(__self__, "compute", compute)
@@ -171,14 +172,14 @@ class _OceanState:
171
172
 
172
173
  @property
173
174
  @pulumi.getter(name="oceanClusterId")
174
- def ocean_cluster_id(self) -> Optional[pulumi.Input[str]]:
175
+ def ocean_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
175
176
  """
176
177
  - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
177
178
  """
178
179
  return pulumi.get(self, "ocean_cluster_id")
179
180
 
180
181
  @ocean_cluster_id.setter
181
- def ocean_cluster_id(self, value: Optional[pulumi.Input[str]]):
182
+ def ocean_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
182
183
  pulumi.set(self, "ocean_cluster_id", value)
183
184
 
184
185
  @property
@@ -217,7 +218,7 @@ class Ocean(pulumi.CustomResource):
217
218
  compute: Optional[pulumi.Input[Union['OceanComputeArgs', 'OceanComputeArgsDict']]] = None,
218
219
  ingress: Optional[pulumi.Input[Union['OceanIngressArgs', 'OceanIngressArgsDict']]] = None,
219
220
  log_collection: Optional[pulumi.Input[Union['OceanLogCollectionArgs', 'OceanLogCollectionArgsDict']]] = None,
220
- ocean_cluster_id: Optional[pulumi.Input[str]] = None,
221
+ ocean_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
221
222
  spark: Optional[pulumi.Input[Union['OceanSparkArgs', 'OceanSparkArgsDict']]] = None,
222
223
  webhook: Optional[pulumi.Input[Union['OceanWebhookArgs', 'OceanWebhookArgsDict']]] = None,
223
224
  workspaces: Optional[pulumi.Input[Union['OceanWorkspacesArgs', 'OceanWorkspacesArgsDict']]] = None,
@@ -286,7 +287,7 @@ class Ocean(pulumi.CustomResource):
286
287
 
287
288
  :param str resource_name: The name of the resource.
288
289
  :param pulumi.ResourceOptions opts: Options for the resource.
289
- :param pulumi.Input[str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
290
+ :param pulumi.Input[builtins.str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
290
291
  """
291
292
  ...
292
293
  @overload
@@ -374,7 +375,7 @@ class Ocean(pulumi.CustomResource):
374
375
  compute: Optional[pulumi.Input[Union['OceanComputeArgs', 'OceanComputeArgsDict']]] = None,
375
376
  ingress: Optional[pulumi.Input[Union['OceanIngressArgs', 'OceanIngressArgsDict']]] = None,
376
377
  log_collection: Optional[pulumi.Input[Union['OceanLogCollectionArgs', 'OceanLogCollectionArgsDict']]] = None,
377
- ocean_cluster_id: Optional[pulumi.Input[str]] = None,
378
+ ocean_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
378
379
  spark: Optional[pulumi.Input[Union['OceanSparkArgs', 'OceanSparkArgsDict']]] = None,
379
380
  webhook: Optional[pulumi.Input[Union['OceanWebhookArgs', 'OceanWebhookArgsDict']]] = None,
380
381
  workspaces: Optional[pulumi.Input[Union['OceanWorkspacesArgs', 'OceanWorkspacesArgsDict']]] = None,
@@ -409,7 +410,7 @@ class Ocean(pulumi.CustomResource):
409
410
  compute: Optional[pulumi.Input[Union['OceanComputeArgs', 'OceanComputeArgsDict']]] = None,
410
411
  ingress: Optional[pulumi.Input[Union['OceanIngressArgs', 'OceanIngressArgsDict']]] = None,
411
412
  log_collection: Optional[pulumi.Input[Union['OceanLogCollectionArgs', 'OceanLogCollectionArgsDict']]] = None,
412
- ocean_cluster_id: Optional[pulumi.Input[str]] = None,
413
+ ocean_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
413
414
  spark: Optional[pulumi.Input[Union['OceanSparkArgs', 'OceanSparkArgsDict']]] = None,
414
415
  webhook: Optional[pulumi.Input[Union['OceanWebhookArgs', 'OceanWebhookArgsDict']]] = None,
415
416
  workspaces: Optional[pulumi.Input[Union['OceanWorkspacesArgs', 'OceanWorkspacesArgsDict']]] = None) -> 'Ocean':
@@ -420,7 +421,7 @@ class Ocean(pulumi.CustomResource):
420
421
  :param str resource_name: The unique name of the resulting resource.
421
422
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
422
423
  :param pulumi.ResourceOptions opts: Options for the resource.
423
- :param pulumi.Input[str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
424
+ :param pulumi.Input[builtins.str] ocean_cluster_id: - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
424
425
  """
425
426
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
426
427
 
@@ -452,7 +453,7 @@ class Ocean(pulumi.CustomResource):
452
453
 
453
454
  @property
454
455
  @pulumi.getter(name="oceanClusterId")
455
- def ocean_cluster_id(self) -> pulumi.Output[str]:
456
+ def ocean_cluster_id(self) -> pulumi.Output[builtins.str]:
456
457
  """
457
458
  - The ID of the Ocean cluster that Ocean for Apache Spark should be installed on.
458
459
  """