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.
- pulumi_spotinst/__init__.py +38 -1
- pulumi_spotinst/_inputs.py +4082 -846
- pulumi_spotinst/_utilities.py +15 -10
- pulumi_spotinst/account.py +171 -0
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +7292 -2871
- pulumi_spotinst/aws/account.py +25 -19
- pulumi_spotinst/aws/beanstalk.py +272 -190
- pulumi_spotinst/aws/credentials.py +42 -36
- pulumi_spotinst/aws/elastigroup.py +1321 -1176
- pulumi_spotinst/aws/managed_instance.py +633 -526
- pulumi_spotinst/aws/mr_scalar.py +827 -983
- pulumi_spotinst/aws/ocean.py +764 -570
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
- pulumi_spotinst/aws/outputs.py +3421 -2205
- pulumi_spotinst/aws/suspension.py +51 -45
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +1492 -434
- pulumi_spotinst/azure/ocean_np.py +518 -464
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
- pulumi_spotinst/azure/outputs.py +840 -345
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +7 -2
- pulumi_spotinst/config/vars.py +11 -6
- pulumi_spotinst/credentials_azure.py +423 -0
- pulumi_spotinst/credentials_gcp.py +632 -0
- pulumi_spotinst/data_integration.py +58 -52
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +1164 -469
- pulumi_spotinst/ecs/ocean.py +711 -446
- pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
- pulumi_spotinst/ecs/outputs.py +463 -374
- pulumi_spotinst/elastigroup_azure_v3.py +985 -197
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +1061 -381
- pulumi_spotinst/gcp/elastigroup.py +885 -567
- pulumi_spotinst/gcp/outputs.py +542 -301
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +2071 -715
- pulumi_spotinst/gke/elastigroup.py +558 -382
- pulumi_spotinst/gke/ocean_import.py +379 -255
- pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
- pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
- pulumi_spotinst/gke/outputs.py +1063 -528
- pulumi_spotinst/health_check.py +116 -70
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +1709 -651
- pulumi_spotinst/oceancd/outputs.py +537 -526
- pulumi_spotinst/oceancd/rollout_spec.py +65 -59
- pulumi_spotinst/oceancd/strategy.py +37 -31
- pulumi_spotinst/oceancd/verification_provider.py +128 -122
- pulumi_spotinst/oceancd/verification_template.py +265 -259
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +151 -57
- pulumi_spotinst/organization/outputs.py +51 -46
- pulumi_spotinst/organization/policy.py +76 -70
- pulumi_spotinst/organization/programmatic_user.py +83 -77
- pulumi_spotinst/organization/user.py +126 -120
- pulumi_spotinst/organization/user_group.py +75 -69
- pulumi_spotinst/outputs.py +3005 -832
- pulumi_spotinst/provider.py +66 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +290 -81
- pulumi_spotinst/spark/ocean.py +169 -115
- pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
- pulumi_spotinst/spark/outputs.py +136 -66
- pulumi_spotinst/stateful_node_azure.py +820 -784
- pulumi_spotinst/subscription.py +93 -87
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
- {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
|
|
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
|
|
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__ = ['OceanExtendedResourceDefinitionArgs', 'OceanExtendedResourceDefinition']
|
|
@@ -14,33 +19,33 @@ __all__ = ['OceanExtendedResourceDefinitionArgs', 'OceanExtendedResourceDefiniti
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class OceanExtendedResourceDefinitionArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
resource_mapping: pulumi.Input[Mapping[str,
|
|
18
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
resource_mapping: pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]],
|
|
23
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a OceanExtendedResourceDefinition resource.
|
|
21
|
-
:param pulumi.Input[Mapping[str,
|
|
22
|
-
:param pulumi.Input[str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
26
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
27
|
+
:param pulumi.Input[_builtins.str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
23
28
|
The name should be a valid Kubernetes extended resource name.
|
|
24
29
|
"""
|
|
25
30
|
pulumi.set(__self__, "resource_mapping", resource_mapping)
|
|
26
31
|
if name is not None:
|
|
27
32
|
pulumi.set(__self__, "name", name)
|
|
28
33
|
|
|
29
|
-
@property
|
|
34
|
+
@_builtins.property
|
|
30
35
|
@pulumi.getter(name="resourceMapping")
|
|
31
|
-
def resource_mapping(self) -> pulumi.Input[Mapping[str,
|
|
36
|
+
def resource_mapping(self) -> pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]:
|
|
32
37
|
"""
|
|
33
38
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
34
39
|
"""
|
|
35
40
|
return pulumi.get(self, "resource_mapping")
|
|
36
41
|
|
|
37
42
|
@resource_mapping.setter
|
|
38
|
-
def resource_mapping(self, value: pulumi.Input[Mapping[str,
|
|
43
|
+
def resource_mapping(self, value: pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]):
|
|
39
44
|
pulumi.set(self, "resource_mapping", value)
|
|
40
45
|
|
|
41
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
42
47
|
@pulumi.getter
|
|
43
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
48
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
44
49
|
"""
|
|
45
50
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
46
51
|
The name should be a valid Kubernetes extended resource name.
|
|
@@ -48,29 +53,29 @@ class OceanExtendedResourceDefinitionArgs:
|
|
|
48
53
|
return pulumi.get(self, "name")
|
|
49
54
|
|
|
50
55
|
@name.setter
|
|
51
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
56
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
52
57
|
pulumi.set(self, "name", value)
|
|
53
58
|
|
|
54
59
|
|
|
55
60
|
@pulumi.input_type
|
|
56
61
|
class _OceanExtendedResourceDefinitionState:
|
|
57
62
|
def __init__(__self__, *,
|
|
58
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
59
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str,
|
|
63
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
64
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
60
65
|
"""
|
|
61
66
|
Input properties used for looking up and filtering OceanExtendedResourceDefinition resources.
|
|
62
|
-
:param pulumi.Input[str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
67
|
+
:param pulumi.Input[_builtins.str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
63
68
|
The name should be a valid Kubernetes extended resource name.
|
|
64
|
-
:param pulumi.Input[Mapping[str,
|
|
69
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
65
70
|
"""
|
|
66
71
|
if name is not None:
|
|
67
72
|
pulumi.set(__self__, "name", name)
|
|
68
73
|
if resource_mapping is not None:
|
|
69
74
|
pulumi.set(__self__, "resource_mapping", resource_mapping)
|
|
70
75
|
|
|
71
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
72
77
|
@pulumi.getter
|
|
73
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
78
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
74
79
|
"""
|
|
75
80
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
76
81
|
The name should be a valid Kubernetes extended resource name.
|
|
@@ -78,29 +83,30 @@ class _OceanExtendedResourceDefinitionState:
|
|
|
78
83
|
return pulumi.get(self, "name")
|
|
79
84
|
|
|
80
85
|
@name.setter
|
|
81
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
82
87
|
pulumi.set(self, "name", value)
|
|
83
88
|
|
|
84
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
85
90
|
@pulumi.getter(name="resourceMapping")
|
|
86
|
-
def resource_mapping(self) -> Optional[pulumi.Input[Mapping[str,
|
|
91
|
+
def resource_mapping(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
87
92
|
"""
|
|
88
93
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "resource_mapping")
|
|
91
96
|
|
|
92
97
|
@resource_mapping.setter
|
|
93
|
-
def resource_mapping(self, value: Optional[pulumi.Input[Mapping[str,
|
|
98
|
+
def resource_mapping(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
94
99
|
pulumi.set(self, "resource_mapping", value)
|
|
95
100
|
|
|
96
101
|
|
|
102
|
+
@pulumi.type_token("spotinst:aws/oceanExtendedResourceDefinition:OceanExtendedResourceDefinition")
|
|
97
103
|
class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
98
104
|
@overload
|
|
99
105
|
def __init__(__self__,
|
|
100
106
|
resource_name: str,
|
|
101
107
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
102
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
103
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str,
|
|
108
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
104
110
|
__props__=None):
|
|
105
111
|
"""
|
|
106
112
|
Provides a Spotinst Ocean AWS Extended Resource Definition resource.
|
|
@@ -121,9 +127,9 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
121
127
|
|
|
122
128
|
:param str resource_name: The name of the resource.
|
|
123
129
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
124
|
-
:param pulumi.Input[str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
130
|
+
:param pulumi.Input[_builtins.str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
125
131
|
The name should be a valid Kubernetes extended resource name.
|
|
126
|
-
:param pulumi.Input[Mapping[str,
|
|
132
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
127
133
|
"""
|
|
128
134
|
...
|
|
129
135
|
@overload
|
|
@@ -163,8 +169,8 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
163
169
|
def _internal_init(__self__,
|
|
164
170
|
resource_name: str,
|
|
165
171
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
166
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
167
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str,
|
|
172
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
168
174
|
__props__=None):
|
|
169
175
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
170
176
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -188,8 +194,8 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
188
194
|
def get(resource_name: str,
|
|
189
195
|
id: pulumi.Input[str],
|
|
190
196
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
192
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str,
|
|
197
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'OceanExtendedResourceDefinition':
|
|
193
199
|
"""
|
|
194
200
|
Get an existing OceanExtendedResourceDefinition resource's state with the given name, id, and optional extra
|
|
195
201
|
properties used to qualify the lookup.
|
|
@@ -197,9 +203,9 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
197
203
|
:param str resource_name: The unique name of the resulting resource.
|
|
198
204
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
199
205
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
200
|
-
:param pulumi.Input[str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
206
|
+
:param pulumi.Input[_builtins.str] name: The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
201
207
|
The name should be a valid Kubernetes extended resource name.
|
|
202
|
-
:param pulumi.Input[Mapping[str,
|
|
208
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
203
209
|
"""
|
|
204
210
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
205
211
|
|
|
@@ -209,18 +215,18 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
209
215
|
__props__.__dict__["resource_mapping"] = resource_mapping
|
|
210
216
|
return OceanExtendedResourceDefinition(resource_name, opts=opts, __props__=__props__)
|
|
211
217
|
|
|
212
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
213
219
|
@pulumi.getter
|
|
214
|
-
def name(self) -> pulumi.Output[str]:
|
|
220
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
215
221
|
"""
|
|
216
222
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
217
223
|
The name should be a valid Kubernetes extended resource name.
|
|
218
224
|
"""
|
|
219
225
|
return pulumi.get(self, "name")
|
|
220
226
|
|
|
221
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
222
228
|
@pulumi.getter(name="resourceMapping")
|
|
223
|
-
def resource_mapping(self) -> pulumi.Output[Mapping[str,
|
|
229
|
+
def resource_mapping(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
224
230
|
"""
|
|
225
231
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
226
232
|
"""
|