pulumi-spotinst 3.83.0a1720524486__py3-none-any.whl → 3.128.0a1767140134__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.
Files changed (77) hide show
  1. pulumi_spotinst/__init__.py +38 -1
  2. pulumi_spotinst/_inputs.py +4082 -846
  3. pulumi_spotinst/_utilities.py +15 -10
  4. pulumi_spotinst/account.py +171 -0
  5. pulumi_spotinst/aws/__init__.py +2 -1
  6. pulumi_spotinst/aws/_inputs.py +7292 -2871
  7. pulumi_spotinst/aws/account.py +25 -19
  8. pulumi_spotinst/aws/beanstalk.py +272 -190
  9. pulumi_spotinst/aws/credentials.py +42 -36
  10. pulumi_spotinst/aws/elastigroup.py +1321 -1176
  11. pulumi_spotinst/aws/managed_instance.py +633 -526
  12. pulumi_spotinst/aws/mr_scalar.py +827 -983
  13. pulumi_spotinst/aws/ocean.py +764 -570
  14. pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
  15. pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
  16. pulumi_spotinst/aws/outputs.py +3421 -2205
  17. pulumi_spotinst/aws/suspension.py +51 -45
  18. pulumi_spotinst/azure/__init__.py +2 -1
  19. pulumi_spotinst/azure/_inputs.py +1492 -434
  20. pulumi_spotinst/azure/ocean_np.py +518 -464
  21. pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
  22. pulumi_spotinst/azure/outputs.py +840 -345
  23. pulumi_spotinst/config/__init__.py +2 -1
  24. pulumi_spotinst/config/__init__.pyi +7 -2
  25. pulumi_spotinst/config/vars.py +11 -6
  26. pulumi_spotinst/credentials_azure.py +423 -0
  27. pulumi_spotinst/credentials_gcp.py +632 -0
  28. pulumi_spotinst/data_integration.py +58 -52
  29. pulumi_spotinst/ecs/__init__.py +2 -1
  30. pulumi_spotinst/ecs/_inputs.py +1164 -469
  31. pulumi_spotinst/ecs/ocean.py +711 -446
  32. pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
  33. pulumi_spotinst/ecs/outputs.py +463 -374
  34. pulumi_spotinst/elastigroup_azure_v3.py +985 -197
  35. pulumi_spotinst/gcp/__init__.py +2 -1
  36. pulumi_spotinst/gcp/_inputs.py +1061 -381
  37. pulumi_spotinst/gcp/elastigroup.py +885 -567
  38. pulumi_spotinst/gcp/outputs.py +542 -301
  39. pulumi_spotinst/gke/__init__.py +2 -1
  40. pulumi_spotinst/gke/_inputs.py +2071 -715
  41. pulumi_spotinst/gke/elastigroup.py +558 -382
  42. pulumi_spotinst/gke/ocean_import.py +379 -255
  43. pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
  44. pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
  45. pulumi_spotinst/gke/outputs.py +1063 -528
  46. pulumi_spotinst/health_check.py +116 -70
  47. pulumi_spotinst/notification_center.py +344 -0
  48. pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
  49. pulumi_spotinst/oceancd/__init__.py +2 -1
  50. pulumi_spotinst/oceancd/_inputs.py +1709 -651
  51. pulumi_spotinst/oceancd/outputs.py +537 -526
  52. pulumi_spotinst/oceancd/rollout_spec.py +65 -59
  53. pulumi_spotinst/oceancd/strategy.py +37 -31
  54. pulumi_spotinst/oceancd/verification_provider.py +128 -122
  55. pulumi_spotinst/oceancd/verification_template.py +265 -259
  56. pulumi_spotinst/organization/__init__.py +2 -1
  57. pulumi_spotinst/organization/_inputs.py +151 -57
  58. pulumi_spotinst/organization/outputs.py +51 -46
  59. pulumi_spotinst/organization/policy.py +76 -70
  60. pulumi_spotinst/organization/programmatic_user.py +83 -77
  61. pulumi_spotinst/organization/user.py +126 -120
  62. pulumi_spotinst/organization/user_group.py +75 -69
  63. pulumi_spotinst/outputs.py +3005 -832
  64. pulumi_spotinst/provider.py +66 -40
  65. pulumi_spotinst/pulumi-plugin.json +1 -1
  66. pulumi_spotinst/spark/__init__.py +2 -1
  67. pulumi_spotinst/spark/_inputs.py +290 -81
  68. pulumi_spotinst/spark/ocean.py +169 -115
  69. pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
  70. pulumi_spotinst/spark/outputs.py +136 -66
  71. pulumi_spotinst/stateful_node_azure.py +820 -784
  72. pulumi_spotinst/subscription.py +93 -87
  73. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
  74. pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
  75. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
  76. pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
  77. {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,17 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = ['CredentialsArgs', 'Credentials']
@@ -14,88 +19,89 @@ __all__ = ['CredentialsArgs', 'Credentials']
14
19
  @pulumi.input_type
15
20
  class CredentialsArgs:
16
21
  def __init__(__self__, *,
17
- account_id: pulumi.Input[str],
18
- iamrole: pulumi.Input[str]):
22
+ account_id: pulumi.Input[_builtins.str],
23
+ iamrole: pulumi.Input[_builtins.str]):
19
24
  """
20
25
  The set of arguments for constructing a Credentials resource.
21
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
22
- :param pulumi.Input[str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
26
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
27
+ :param pulumi.Input[_builtins.str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
23
28
  """
24
29
  pulumi.set(__self__, "account_id", account_id)
25
30
  pulumi.set(__self__, "iamrole", iamrole)
26
31
 
27
- @property
32
+ @_builtins.property
28
33
  @pulumi.getter(name="accountId")
29
- def account_id(self) -> pulumi.Input[str]:
34
+ def account_id(self) -> pulumi.Input[_builtins.str]:
30
35
  """
31
36
  The ID of the account associated with your token.
32
37
  """
33
38
  return pulumi.get(self, "account_id")
34
39
 
35
40
  @account_id.setter
36
- def account_id(self, value: pulumi.Input[str]):
41
+ def account_id(self, value: pulumi.Input[_builtins.str]):
37
42
  pulumi.set(self, "account_id", value)
38
43
 
39
- @property
44
+ @_builtins.property
40
45
  @pulumi.getter
41
- def iamrole(self) -> pulumi.Input[str]:
46
+ def iamrole(self) -> pulumi.Input[_builtins.str]:
42
47
  """
43
48
  Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
44
49
  """
45
50
  return pulumi.get(self, "iamrole")
46
51
 
47
52
  @iamrole.setter
48
- def iamrole(self, value: pulumi.Input[str]):
53
+ def iamrole(self, value: pulumi.Input[_builtins.str]):
49
54
  pulumi.set(self, "iamrole", value)
50
55
 
51
56
 
52
57
  @pulumi.input_type
53
58
  class _CredentialsState:
54
59
  def __init__(__self__, *,
55
- account_id: Optional[pulumi.Input[str]] = None,
56
- iamrole: Optional[pulumi.Input[str]] = None):
60
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
61
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None):
57
62
  """
58
63
  Input properties used for looking up and filtering Credentials resources.
59
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
60
- :param pulumi.Input[str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
64
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
65
+ :param pulumi.Input[_builtins.str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
61
66
  """
62
67
  if account_id is not None:
63
68
  pulumi.set(__self__, "account_id", account_id)
64
69
  if iamrole is not None:
65
70
  pulumi.set(__self__, "iamrole", iamrole)
66
71
 
67
- @property
72
+ @_builtins.property
68
73
  @pulumi.getter(name="accountId")
69
- def account_id(self) -> Optional[pulumi.Input[str]]:
74
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
70
75
  """
71
76
  The ID of the account associated with your token.
72
77
  """
73
78
  return pulumi.get(self, "account_id")
74
79
 
75
80
  @account_id.setter
76
- def account_id(self, value: Optional[pulumi.Input[str]]):
81
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
77
82
  pulumi.set(self, "account_id", value)
78
83
 
79
- @property
84
+ @_builtins.property
80
85
  @pulumi.getter
81
- def iamrole(self) -> Optional[pulumi.Input[str]]:
86
+ def iamrole(self) -> Optional[pulumi.Input[_builtins.str]]:
82
87
  """
83
88
  Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
84
89
  """
85
90
  return pulumi.get(self, "iamrole")
86
91
 
87
92
  @iamrole.setter
88
- def iamrole(self, value: Optional[pulumi.Input[str]]):
93
+ def iamrole(self, value: Optional[pulumi.Input[_builtins.str]]):
89
94
  pulumi.set(self, "iamrole", value)
90
95
 
91
96
 
97
+ @pulumi.type_token("spotinst:aws/credentials:Credentials")
92
98
  class Credentials(pulumi.CustomResource):
93
99
  @overload
94
100
  def __init__(__self__,
95
101
  resource_name: str,
96
102
  opts: Optional[pulumi.ResourceOptions] = None,
97
- account_id: Optional[pulumi.Input[str]] = None,
98
- iamrole: Optional[pulumi.Input[str]] = None,
103
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
104
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None,
99
105
  __props__=None):
100
106
  """
101
107
  Provides a Spotinst credential AWS resource.
@@ -114,8 +120,8 @@ class Credentials(pulumi.CustomResource):
114
120
 
115
121
  :param str resource_name: The name of the resource.
116
122
  :param pulumi.ResourceOptions opts: Options for the resource.
117
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
118
- :param pulumi.Input[str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
123
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
124
+ :param pulumi.Input[_builtins.str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
119
125
  """
120
126
  ...
121
127
  @overload
@@ -153,8 +159,8 @@ class Credentials(pulumi.CustomResource):
153
159
  def _internal_init(__self__,
154
160
  resource_name: str,
155
161
  opts: Optional[pulumi.ResourceOptions] = None,
156
- account_id: Optional[pulumi.Input[str]] = None,
157
- iamrole: Optional[pulumi.Input[str]] = None,
162
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
163
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None,
158
164
  __props__=None):
159
165
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
160
166
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -180,8 +186,8 @@ class Credentials(pulumi.CustomResource):
180
186
  def get(resource_name: str,
181
187
  id: pulumi.Input[str],
182
188
  opts: Optional[pulumi.ResourceOptions] = None,
183
- account_id: Optional[pulumi.Input[str]] = None,
184
- iamrole: Optional[pulumi.Input[str]] = None) -> 'Credentials':
189
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
190
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None) -> 'Credentials':
185
191
  """
186
192
  Get an existing Credentials resource's state with the given name, id, and optional extra
187
193
  properties used to qualify the lookup.
@@ -189,8 +195,8 @@ class Credentials(pulumi.CustomResource):
189
195
  :param str resource_name: The unique name of the resulting resource.
190
196
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
191
197
  :param pulumi.ResourceOptions opts: Options for the resource.
192
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
193
- :param pulumi.Input[str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
198
+ :param pulumi.Input[_builtins.str] account_id: The ID of the account associated with your token.
199
+ :param pulumi.Input[_builtins.str] iamrole: Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
194
200
  """
195
201
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
196
202
 
@@ -200,17 +206,17 @@ class Credentials(pulumi.CustomResource):
200
206
  __props__.__dict__["iamrole"] = iamrole
201
207
  return Credentials(resource_name, opts=opts, __props__=__props__)
202
208
 
203
- @property
209
+ @_builtins.property
204
210
  @pulumi.getter(name="accountId")
205
- def account_id(self) -> pulumi.Output[str]:
211
+ def account_id(self) -> pulumi.Output[_builtins.str]:
206
212
  """
207
213
  The ID of the account associated with your token.
208
214
  """
209
215
  return pulumi.get(self, "account_id")
210
216
 
211
- @property
217
+ @_builtins.property
212
218
  @pulumi.getter
213
- def iamrole(self) -> pulumi.Output[str]:
219
+ def iamrole(self) -> pulumi.Output[_builtins.str]:
214
220
  """
215
221
  Provide the IAM Role ARN connected to another AWS account 922761411349 and with the latest Spot Policy - https://docs.spot.io/administration/api/spot-policy-in-aws
216
222
  """