pulumi-spotinst 3.115.0a1742873189__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 +11 -1
  2. pulumi_spotinst/_inputs.py +2206 -1519
  3. pulumi_spotinst/_utilities.py +1 -1
  4. pulumi_spotinst/account.py +20 -19
  5. pulumi_spotinst/aws/__init__.py +2 -1
  6. pulumi_spotinst/aws/_inputs.py +3991 -3619
  7. pulumi_spotinst/aws/account.py +20 -19
  8. pulumi_spotinst/aws/beanstalk.py +254 -177
  9. pulumi_spotinst/aws/credentials.py +37 -36
  10. pulumi_spotinst/aws/elastigroup.py +938 -950
  11. pulumi_spotinst/aws/managed_instance.py +507 -506
  12. pulumi_spotinst/aws/mr_scalar.py +658 -653
  13. pulumi_spotinst/aws/ocean.py +624 -529
  14. pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
  15. pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
  16. pulumi_spotinst/aws/outputs.py +2631 -2371
  17. pulumi_spotinst/aws/suspension.py +23 -22
  18. pulumi_spotinst/azure/__init__.py +2 -1
  19. pulumi_spotinst/azure/_inputs.py +607 -607
  20. pulumi_spotinst/azure/ocean_np.py +387 -386
  21. pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
  22. pulumi_spotinst/azure/outputs.py +411 -411
  23. pulumi_spotinst/config/__init__.py +2 -1
  24. pulumi_spotinst/config/__init__.pyi +2 -2
  25. pulumi_spotinst/config/vars.py +6 -6
  26. pulumi_spotinst/credentials_azure.py +139 -89
  27. pulumi_spotinst/credentials_gcp.py +190 -189
  28. pulumi_spotinst/data_integration.py +40 -39
  29. pulumi_spotinst/ecs/__init__.py +2 -1
  30. pulumi_spotinst/ecs/_inputs.py +584 -584
  31. pulumi_spotinst/ecs/ocean.py +628 -415
  32. pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
  33. pulumi_spotinst/ecs/outputs.py +394 -394
  34. pulumi_spotinst/elastigroup_azure_v3.py +326 -325
  35. pulumi_spotinst/gcp/__init__.py +2 -1
  36. pulumi_spotinst/gcp/_inputs.py +573 -499
  37. pulumi_spotinst/gcp/elastigroup.py +491 -482
  38. pulumi_spotinst/gcp/outputs.py +395 -330
  39. pulumi_spotinst/gke/__init__.py +2 -1
  40. pulumi_spotinst/gke/_inputs.py +1120 -895
  41. pulumi_spotinst/gke/elastigroup.py +341 -340
  42. pulumi_spotinst/gke/ocean_import.py +204 -203
  43. pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
  44. pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
  45. pulumi_spotinst/gke/outputs.py +769 -583
  46. pulumi_spotinst/health_check.py +106 -65
  47. pulumi_spotinst/notification_center.py +344 -0
  48. pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
  49. pulumi_spotinst/oceancd/__init__.py +2 -1
  50. pulumi_spotinst/oceancd/_inputs.py +764 -764
  51. pulumi_spotinst/oceancd/outputs.py +526 -526
  52. pulumi_spotinst/oceancd/rollout_spec.py +35 -34
  53. pulumi_spotinst/oceancd/strategy.py +22 -21
  54. pulumi_spotinst/oceancd/verification_provider.py +52 -51
  55. pulumi_spotinst/oceancd/verification_template.py +26 -25
  56. pulumi_spotinst/organization/__init__.py +2 -1
  57. pulumi_spotinst/organization/_inputs.py +68 -68
  58. pulumi_spotinst/organization/outputs.py +46 -46
  59. pulumi_spotinst/organization/policy.py +40 -39
  60. pulumi_spotinst/organization/programmatic_user.py +60 -59
  61. pulumi_spotinst/organization/user.py +108 -107
  62. pulumi_spotinst/organization/user_group.py +57 -56
  63. pulumi_spotinst/outputs.py +1472 -932
  64. pulumi_spotinst/provider.py +61 -40
  65. pulumi_spotinst/pulumi-plugin.json +1 -1
  66. pulumi_spotinst/spark/__init__.py +2 -1
  67. pulumi_spotinst/spark/_inputs.py +104 -104
  68. pulumi_spotinst/spark/ocean.py +38 -37
  69. pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
  70. pulumi_spotinst/spark/outputs.py +72 -72
  71. pulumi_spotinst/stateful_node_azure.py +318 -343
  72. pulumi_spotinst/subscription.py +88 -87
  73. {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
  74. pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
  75. {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
  76. pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
  77. {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
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
7
  import sys
8
8
  import pulumi
@@ -19,88 +19,89 @@ __all__ = ['CredentialsArgs', 'Credentials']
19
19
  @pulumi.input_type
20
20
  class CredentialsArgs:
21
21
  def __init__(__self__, *,
22
- account_id: pulumi.Input[str],
23
- iamrole: pulumi.Input[str]):
22
+ account_id: pulumi.Input[_builtins.str],
23
+ iamrole: pulumi.Input[_builtins.str]):
24
24
  """
25
25
  The set of arguments for constructing a Credentials resource.
26
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
27
- :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
28
28
  """
29
29
  pulumi.set(__self__, "account_id", account_id)
30
30
  pulumi.set(__self__, "iamrole", iamrole)
31
31
 
32
- @property
32
+ @_builtins.property
33
33
  @pulumi.getter(name="accountId")
34
- def account_id(self) -> pulumi.Input[str]:
34
+ def account_id(self) -> pulumi.Input[_builtins.str]:
35
35
  """
36
36
  The ID of the account associated with your token.
37
37
  """
38
38
  return pulumi.get(self, "account_id")
39
39
 
40
40
  @account_id.setter
41
- def account_id(self, value: pulumi.Input[str]):
41
+ def account_id(self, value: pulumi.Input[_builtins.str]):
42
42
  pulumi.set(self, "account_id", value)
43
43
 
44
- @property
44
+ @_builtins.property
45
45
  @pulumi.getter
46
- def iamrole(self) -> pulumi.Input[str]:
46
+ def iamrole(self) -> pulumi.Input[_builtins.str]:
47
47
  """
48
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
49
49
  """
50
50
  return pulumi.get(self, "iamrole")
51
51
 
52
52
  @iamrole.setter
53
- def iamrole(self, value: pulumi.Input[str]):
53
+ def iamrole(self, value: pulumi.Input[_builtins.str]):
54
54
  pulumi.set(self, "iamrole", value)
55
55
 
56
56
 
57
57
  @pulumi.input_type
58
58
  class _CredentialsState:
59
59
  def __init__(__self__, *,
60
- account_id: Optional[pulumi.Input[str]] = None,
61
- iamrole: Optional[pulumi.Input[str]] = None):
60
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
61
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None):
62
62
  """
63
63
  Input properties used for looking up and filtering Credentials resources.
64
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
65
- :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
66
66
  """
67
67
  if account_id is not None:
68
68
  pulumi.set(__self__, "account_id", account_id)
69
69
  if iamrole is not None:
70
70
  pulumi.set(__self__, "iamrole", iamrole)
71
71
 
72
- @property
72
+ @_builtins.property
73
73
  @pulumi.getter(name="accountId")
74
- def account_id(self) -> Optional[pulumi.Input[str]]:
74
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
75
75
  """
76
76
  The ID of the account associated with your token.
77
77
  """
78
78
  return pulumi.get(self, "account_id")
79
79
 
80
80
  @account_id.setter
81
- def account_id(self, value: Optional[pulumi.Input[str]]):
81
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
82
82
  pulumi.set(self, "account_id", value)
83
83
 
84
- @property
84
+ @_builtins.property
85
85
  @pulumi.getter
86
- def iamrole(self) -> Optional[pulumi.Input[str]]:
86
+ def iamrole(self) -> Optional[pulumi.Input[_builtins.str]]:
87
87
  """
88
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
89
89
  """
90
90
  return pulumi.get(self, "iamrole")
91
91
 
92
92
  @iamrole.setter
93
- def iamrole(self, value: Optional[pulumi.Input[str]]):
93
+ def iamrole(self, value: Optional[pulumi.Input[_builtins.str]]):
94
94
  pulumi.set(self, "iamrole", value)
95
95
 
96
96
 
97
+ @pulumi.type_token("spotinst:aws/credentials:Credentials")
97
98
  class Credentials(pulumi.CustomResource):
98
99
  @overload
99
100
  def __init__(__self__,
100
101
  resource_name: str,
101
102
  opts: Optional[pulumi.ResourceOptions] = None,
102
- account_id: Optional[pulumi.Input[str]] = None,
103
- iamrole: Optional[pulumi.Input[str]] = None,
103
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
104
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None,
104
105
  __props__=None):
105
106
  """
106
107
  Provides a Spotinst credential AWS resource.
@@ -119,8 +120,8 @@ class Credentials(pulumi.CustomResource):
119
120
 
120
121
  :param str resource_name: The name of the resource.
121
122
  :param pulumi.ResourceOptions opts: Options for the resource.
122
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
123
- :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
124
125
  """
125
126
  ...
126
127
  @overload
@@ -158,8 +159,8 @@ class Credentials(pulumi.CustomResource):
158
159
  def _internal_init(__self__,
159
160
  resource_name: str,
160
161
  opts: Optional[pulumi.ResourceOptions] = None,
161
- account_id: Optional[pulumi.Input[str]] = None,
162
- iamrole: Optional[pulumi.Input[str]] = None,
162
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
163
+ iamrole: Optional[pulumi.Input[_builtins.str]] = None,
163
164
  __props__=None):
164
165
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
165
166
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -185,8 +186,8 @@ class Credentials(pulumi.CustomResource):
185
186
  def get(resource_name: str,
186
187
  id: pulumi.Input[str],
187
188
  opts: Optional[pulumi.ResourceOptions] = None,
188
- account_id: Optional[pulumi.Input[str]] = None,
189
- 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':
190
191
  """
191
192
  Get an existing Credentials resource's state with the given name, id, and optional extra
192
193
  properties used to qualify the lookup.
@@ -194,8 +195,8 @@ class Credentials(pulumi.CustomResource):
194
195
  :param str resource_name: The unique name of the resulting resource.
195
196
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
196
197
  :param pulumi.ResourceOptions opts: Options for the resource.
197
- :param pulumi.Input[str] account_id: The ID of the account associated with your token.
198
- :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
199
200
  """
200
201
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
201
202
 
@@ -205,17 +206,17 @@ class Credentials(pulumi.CustomResource):
205
206
  __props__.__dict__["iamrole"] = iamrole
206
207
  return Credentials(resource_name, opts=opts, __props__=__props__)
207
208
 
208
- @property
209
+ @_builtins.property
209
210
  @pulumi.getter(name="accountId")
210
- def account_id(self) -> pulumi.Output[str]:
211
+ def account_id(self) -> pulumi.Output[_builtins.str]:
211
212
  """
212
213
  The ID of the account associated with your token.
213
214
  """
214
215
  return pulumi.get(self, "account_id")
215
216
 
216
- @property
217
+ @_builtins.property
217
218
  @pulumi.getter
218
- def iamrole(self) -> pulumi.Output[str]:
219
+ def iamrole(self) -> pulumi.Output[_builtins.str]:
219
220
  """
220
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
221
222
  """