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.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2206 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +3991 -3619
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +938 -950
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +624 -529
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
- pulumi_spotinst/aws/outputs.py +2631 -2371
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1472 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +318 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
- {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
|
|
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
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,33 +19,33 @@ __all__ = ['OceanExtendedResourceDefinitionArgs', 'OceanExtendedResourceDefiniti
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class OceanExtendedResourceDefinitionArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
resource_mapping: pulumi.Input[Mapping[str, pulumi.Input[str]]],
|
|
23
|
-
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):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a OceanExtendedResourceDefinition resource.
|
|
26
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
27
|
-
: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.
|
|
28
28
|
The name should be a valid Kubernetes extended resource name.
|
|
29
29
|
"""
|
|
30
30
|
pulumi.set(__self__, "resource_mapping", resource_mapping)
|
|
31
31
|
if name is not None:
|
|
32
32
|
pulumi.set(__self__, "name", name)
|
|
33
33
|
|
|
34
|
-
@property
|
|
34
|
+
@_builtins.property
|
|
35
35
|
@pulumi.getter(name="resourceMapping")
|
|
36
|
-
def resource_mapping(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
|
36
|
+
def resource_mapping(self) -> pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]:
|
|
37
37
|
"""
|
|
38
38
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
39
39
|
"""
|
|
40
40
|
return pulumi.get(self, "resource_mapping")
|
|
41
41
|
|
|
42
42
|
@resource_mapping.setter
|
|
43
|
-
def resource_mapping(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]):
|
|
43
|
+
def resource_mapping(self, value: pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]):
|
|
44
44
|
pulumi.set(self, "resource_mapping", value)
|
|
45
45
|
|
|
46
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
47
47
|
@pulumi.getter
|
|
48
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
48
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
49
49
|
"""
|
|
50
50
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
51
51
|
The name should be a valid Kubernetes extended resource name.
|
|
@@ -53,29 +53,29 @@ class OceanExtendedResourceDefinitionArgs:
|
|
|
53
53
|
return pulumi.get(self, "name")
|
|
54
54
|
|
|
55
55
|
@name.setter
|
|
56
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
56
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
57
57
|
pulumi.set(self, "name", value)
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
@pulumi.input_type
|
|
61
61
|
class _OceanExtendedResourceDefinitionState:
|
|
62
62
|
def __init__(__self__, *,
|
|
63
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
64
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
63
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
64
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
65
65
|
"""
|
|
66
66
|
Input properties used for looking up and filtering OceanExtendedResourceDefinition resources.
|
|
67
|
-
: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.
|
|
68
68
|
The name should be a valid Kubernetes extended resource name.
|
|
69
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
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.
|
|
70
70
|
"""
|
|
71
71
|
if name is not None:
|
|
72
72
|
pulumi.set(__self__, "name", name)
|
|
73
73
|
if resource_mapping is not None:
|
|
74
74
|
pulumi.set(__self__, "resource_mapping", resource_mapping)
|
|
75
75
|
|
|
76
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
77
77
|
@pulumi.getter
|
|
78
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
78
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
79
79
|
"""
|
|
80
80
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
81
81
|
The name should be a valid Kubernetes extended resource name.
|
|
@@ -83,29 +83,30 @@ class _OceanExtendedResourceDefinitionState:
|
|
|
83
83
|
return pulumi.get(self, "name")
|
|
84
84
|
|
|
85
85
|
@name.setter
|
|
86
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
87
87
|
pulumi.set(self, "name", value)
|
|
88
88
|
|
|
89
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
90
90
|
@pulumi.getter(name="resourceMapping")
|
|
91
|
-
def resource_mapping(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
91
|
+
def resource_mapping(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
92
92
|
"""
|
|
93
93
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
94
94
|
"""
|
|
95
95
|
return pulumi.get(self, "resource_mapping")
|
|
96
96
|
|
|
97
97
|
@resource_mapping.setter
|
|
98
|
-
def resource_mapping(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
98
|
+
def resource_mapping(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
99
99
|
pulumi.set(self, "resource_mapping", value)
|
|
100
100
|
|
|
101
101
|
|
|
102
|
+
@pulumi.type_token("spotinst:aws/oceanExtendedResourceDefinition:OceanExtendedResourceDefinition")
|
|
102
103
|
class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
103
104
|
@overload
|
|
104
105
|
def __init__(__self__,
|
|
105
106
|
resource_name: str,
|
|
106
107
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
107
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
108
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
108
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
109
110
|
__props__=None):
|
|
110
111
|
"""
|
|
111
112
|
Provides a Spotinst Ocean AWS Extended Resource Definition resource.
|
|
@@ -126,9 +127,9 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
126
127
|
|
|
127
128
|
:param str resource_name: The name of the resource.
|
|
128
129
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
129
|
-
: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.
|
|
130
131
|
The name should be a valid Kubernetes extended resource name.
|
|
131
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
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.
|
|
132
133
|
"""
|
|
133
134
|
...
|
|
134
135
|
@overload
|
|
@@ -168,8 +169,8 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
168
169
|
def _internal_init(__self__,
|
|
169
170
|
resource_name: str,
|
|
170
171
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
172
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
172
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
173
174
|
__props__=None):
|
|
174
175
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
175
176
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -193,8 +194,8 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
193
194
|
def get(resource_name: str,
|
|
194
195
|
id: pulumi.Input[str],
|
|
195
196
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
196
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
197
|
-
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None) -> 'OceanExtendedResourceDefinition':
|
|
197
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
198
|
+
resource_mapping: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'OceanExtendedResourceDefinition':
|
|
198
199
|
"""
|
|
199
200
|
Get an existing OceanExtendedResourceDefinition resource's state with the given name, id, and optional extra
|
|
200
201
|
properties used to qualify the lookup.
|
|
@@ -202,9 +203,9 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
202
203
|
:param str resource_name: The unique name of the resulting resource.
|
|
203
204
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
204
205
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
|
-
: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.
|
|
206
207
|
The name should be a valid Kubernetes extended resource name.
|
|
207
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_mapping: A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
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.
|
|
208
209
|
"""
|
|
209
210
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
210
211
|
|
|
@@ -214,18 +215,18 @@ class OceanExtendedResourceDefinition(pulumi.CustomResource):
|
|
|
214
215
|
__props__.__dict__["resource_mapping"] = resource_mapping
|
|
215
216
|
return OceanExtendedResourceDefinition(resource_name, opts=opts, __props__=__props__)
|
|
216
217
|
|
|
217
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
218
219
|
@pulumi.getter
|
|
219
|
-
def name(self) -> pulumi.Output[str]:
|
|
220
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
220
221
|
"""
|
|
221
222
|
The extended resource name as should be requested by your pods and registered to the nodes. Cannot be updated.
|
|
222
223
|
The name should be a valid Kubernetes extended resource name.
|
|
223
224
|
"""
|
|
224
225
|
return pulumi.get(self, "name")
|
|
225
226
|
|
|
226
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
227
228
|
@pulumi.getter(name="resourceMapping")
|
|
228
|
-
def resource_mapping(self) -> pulumi.Output[Mapping[str, str]]:
|
|
229
|
+
def resource_mapping(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
229
230
|
"""
|
|
230
231
|
A mapping between AWS instanceType or * as default and its value for the given extended resource.
|
|
231
232
|
"""
|