pulumi-spotinst 3.124.0a1753339288__py3-none-any.whl → 3.124.0a1753398242__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.
- pulumi_spotinst/__init__.py +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +531 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0a1753398242.dist-info/RECORD +77 -0
- pulumi_spotinst-3.124.0a1753339288.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -50,7 +49,7 @@ class PolicyPolicyContentArgs:
|
|
|
50
49
|
"""
|
|
51
50
|
pulumi.set(__self__, "statements", statements)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
54
|
def statements(self) -> pulumi.Input[Sequence[pulumi.Input['PolicyPolicyContentStatementArgs']]]:
|
|
56
55
|
"""
|
|
@@ -65,16 +64,16 @@ class PolicyPolicyContentArgs:
|
|
|
65
64
|
|
|
66
65
|
if not MYPY:
|
|
67
66
|
class PolicyPolicyContentStatementArgsDict(TypedDict):
|
|
68
|
-
actions: pulumi.Input[Sequence[pulumi.Input[
|
|
67
|
+
actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
69
68
|
"""
|
|
70
69
|
Set a list of required actions for this permissions statement.
|
|
71
70
|
Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
72
71
|
"""
|
|
73
|
-
effect: pulumi.Input[
|
|
72
|
+
effect: pulumi.Input[_builtins.str]
|
|
74
73
|
"""
|
|
75
74
|
Valid values "ALLOW", "DENY".
|
|
76
75
|
"""
|
|
77
|
-
resources: pulumi.Input[Sequence[pulumi.Input[
|
|
76
|
+
resources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
78
77
|
"""
|
|
79
78
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
80
79
|
"""
|
|
@@ -84,22 +83,22 @@ elif False:
|
|
|
84
83
|
@pulumi.input_type
|
|
85
84
|
class PolicyPolicyContentStatementArgs:
|
|
86
85
|
def __init__(__self__, *,
|
|
87
|
-
actions: pulumi.Input[Sequence[pulumi.Input[
|
|
88
|
-
effect: pulumi.Input[
|
|
89
|
-
resources: pulumi.Input[Sequence[pulumi.Input[
|
|
86
|
+
actions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
87
|
+
effect: pulumi.Input[_builtins.str],
|
|
88
|
+
resources: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
90
89
|
"""
|
|
91
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
90
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] actions: Set a list of required actions for this permissions statement.
|
|
92
91
|
Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
93
|
-
:param pulumi.Input[
|
|
94
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
92
|
+
:param pulumi.Input[_builtins.str] effect: Valid values "ALLOW", "DENY".
|
|
93
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
95
94
|
"""
|
|
96
95
|
pulumi.set(__self__, "actions", actions)
|
|
97
96
|
pulumi.set(__self__, "effect", effect)
|
|
98
97
|
pulumi.set(__self__, "resources", resources)
|
|
99
98
|
|
|
100
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
101
100
|
@pulumi.getter
|
|
102
|
-
def actions(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
101
|
+
def actions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
103
102
|
"""
|
|
104
103
|
Set a list of required actions for this permissions statement.
|
|
105
104
|
Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
@@ -107,41 +106,41 @@ class PolicyPolicyContentStatementArgs:
|
|
|
107
106
|
return pulumi.get(self, "actions")
|
|
108
107
|
|
|
109
108
|
@actions.setter
|
|
110
|
-
def actions(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
109
|
+
def actions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
111
110
|
pulumi.set(self, "actions", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter
|
|
115
|
-
def effect(self) -> pulumi.Input[
|
|
114
|
+
def effect(self) -> pulumi.Input[_builtins.str]:
|
|
116
115
|
"""
|
|
117
116
|
Valid values "ALLOW", "DENY".
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "effect")
|
|
120
119
|
|
|
121
120
|
@effect.setter
|
|
122
|
-
def effect(self, value: pulumi.Input[
|
|
121
|
+
def effect(self, value: pulumi.Input[_builtins.str]):
|
|
123
122
|
pulumi.set(self, "effect", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter
|
|
127
|
-
def resources(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
126
|
+
def resources(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
128
127
|
"""
|
|
129
128
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "resources")
|
|
132
131
|
|
|
133
132
|
@resources.setter
|
|
134
|
-
def resources(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
133
|
+
def resources(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
135
134
|
pulumi.set(self, "resources", value)
|
|
136
135
|
|
|
137
136
|
|
|
138
137
|
if not MYPY:
|
|
139
138
|
class ProgrammaticUserAccountArgsDict(TypedDict):
|
|
140
|
-
account_id: pulumi.Input[
|
|
139
|
+
account_id: pulumi.Input[_builtins.str]
|
|
141
140
|
"""
|
|
142
141
|
Account ID the programmatic user will have access to.
|
|
143
142
|
"""
|
|
144
|
-
account_role: pulumi.Input[
|
|
143
|
+
account_role: pulumi.Input[_builtins.str]
|
|
145
144
|
"""
|
|
146
145
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
147
146
|
programmatic user for this account.
|
|
@@ -152,31 +151,31 @@ elif False:
|
|
|
152
151
|
@pulumi.input_type
|
|
153
152
|
class ProgrammaticUserAccountArgs:
|
|
154
153
|
def __init__(__self__, *,
|
|
155
|
-
account_id: pulumi.Input[
|
|
156
|
-
account_role: pulumi.Input[
|
|
154
|
+
account_id: pulumi.Input[_builtins.str],
|
|
155
|
+
account_role: pulumi.Input[_builtins.str]):
|
|
157
156
|
"""
|
|
158
|
-
:param pulumi.Input[
|
|
159
|
-
:param pulumi.Input[
|
|
157
|
+
:param pulumi.Input[_builtins.str] account_id: Account ID the programmatic user will have access to.
|
|
158
|
+
:param pulumi.Input[_builtins.str] account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
160
159
|
programmatic user for this account.
|
|
161
160
|
"""
|
|
162
161
|
pulumi.set(__self__, "account_id", account_id)
|
|
163
162
|
pulumi.set(__self__, "account_role", account_role)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="accountId")
|
|
167
|
-
def account_id(self) -> pulumi.Input[
|
|
166
|
+
def account_id(self) -> pulumi.Input[_builtins.str]:
|
|
168
167
|
"""
|
|
169
168
|
Account ID the programmatic user will have access to.
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "account_id")
|
|
172
171
|
|
|
173
172
|
@account_id.setter
|
|
174
|
-
def account_id(self, value: pulumi.Input[
|
|
173
|
+
def account_id(self, value: pulumi.Input[_builtins.str]):
|
|
175
174
|
pulumi.set(self, "account_id", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="accountRole")
|
|
179
|
-
def account_role(self) -> pulumi.Input[
|
|
178
|
+
def account_role(self) -> pulumi.Input[_builtins.str]:
|
|
180
179
|
"""
|
|
181
180
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
182
181
|
programmatic user for this account.
|
|
@@ -184,17 +183,17 @@ class ProgrammaticUserAccountArgs:
|
|
|
184
183
|
return pulumi.get(self, "account_role")
|
|
185
184
|
|
|
186
185
|
@account_role.setter
|
|
187
|
-
def account_role(self, value: pulumi.Input[
|
|
186
|
+
def account_role(self, value: pulumi.Input[_builtins.str]):
|
|
188
187
|
pulumi.set(self, "account_role", value)
|
|
189
188
|
|
|
190
189
|
|
|
191
190
|
if not MYPY:
|
|
192
191
|
class ProgrammaticUserPolicyArgsDict(TypedDict):
|
|
193
|
-
policy_id: pulumi.Input[
|
|
192
|
+
policy_id: pulumi.Input[_builtins.str]
|
|
194
193
|
"""
|
|
195
194
|
Policy ID the programmatic user will have access to.
|
|
196
195
|
"""
|
|
197
|
-
policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
196
|
+
policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
198
197
|
"""
|
|
199
198
|
A list of the accounts that the policy should be
|
|
200
199
|
enforced for the user.
|
|
@@ -205,32 +204,32 @@ elif False:
|
|
|
205
204
|
@pulumi.input_type
|
|
206
205
|
class ProgrammaticUserPolicyArgs:
|
|
207
206
|
def __init__(__self__, *,
|
|
208
|
-
policy_id: pulumi.Input[
|
|
209
|
-
policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
207
|
+
policy_id: pulumi.Input[_builtins.str],
|
|
208
|
+
policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
210
209
|
"""
|
|
211
|
-
:param pulumi.Input[
|
|
212
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
210
|
+
:param pulumi.Input[_builtins.str] policy_id: Policy ID the programmatic user will have access to.
|
|
211
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] policy_account_ids: A list of the accounts that the policy should be
|
|
213
212
|
enforced for the user.
|
|
214
213
|
"""
|
|
215
214
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
216
215
|
if policy_account_ids is not None:
|
|
217
216
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
218
217
|
|
|
219
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
220
219
|
@pulumi.getter(name="policyId")
|
|
221
|
-
def policy_id(self) -> pulumi.Input[
|
|
220
|
+
def policy_id(self) -> pulumi.Input[_builtins.str]:
|
|
222
221
|
"""
|
|
223
222
|
Policy ID the programmatic user will have access to.
|
|
224
223
|
"""
|
|
225
224
|
return pulumi.get(self, "policy_id")
|
|
226
225
|
|
|
227
226
|
@policy_id.setter
|
|
228
|
-
def policy_id(self, value: pulumi.Input[
|
|
227
|
+
def policy_id(self, value: pulumi.Input[_builtins.str]):
|
|
229
228
|
pulumi.set(self, "policy_id", value)
|
|
230
229
|
|
|
231
|
-
@property
|
|
230
|
+
@_builtins.property
|
|
232
231
|
@pulumi.getter(name="policyAccountIds")
|
|
233
|
-
def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
232
|
+
def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
234
233
|
"""
|
|
235
234
|
A list of the accounts that the policy should be
|
|
236
235
|
enforced for the user.
|
|
@@ -238,18 +237,18 @@ class ProgrammaticUserPolicyArgs:
|
|
|
238
237
|
return pulumi.get(self, "policy_account_ids")
|
|
239
238
|
|
|
240
239
|
@policy_account_ids.setter
|
|
241
|
-
def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
240
|
+
def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
242
241
|
pulumi.set(self, "policy_account_ids", value)
|
|
243
242
|
|
|
244
243
|
|
|
245
244
|
if not MYPY:
|
|
246
245
|
class UserGroupPolicyArgsDict(TypedDict):
|
|
247
|
-
account_ids: pulumi.Input[Sequence[pulumi.Input[
|
|
246
|
+
account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
248
247
|
"""
|
|
249
248
|
A list of accounts to register with the assigned under the
|
|
250
249
|
given group (should be existing accounts only).
|
|
251
250
|
"""
|
|
252
|
-
policy_id: pulumi.Input[
|
|
251
|
+
policy_id: pulumi.Input[_builtins.str]
|
|
253
252
|
"""
|
|
254
253
|
A policy to register under the given group
|
|
255
254
|
(should be existing policy only).
|
|
@@ -260,20 +259,20 @@ elif False:
|
|
|
260
259
|
@pulumi.input_type
|
|
261
260
|
class UserGroupPolicyArgs:
|
|
262
261
|
def __init__(__self__, *,
|
|
263
|
-
account_ids: pulumi.Input[Sequence[pulumi.Input[
|
|
264
|
-
policy_id: pulumi.Input[
|
|
262
|
+
account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
263
|
+
policy_id: pulumi.Input[_builtins.str]):
|
|
265
264
|
"""
|
|
266
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
265
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] account_ids: A list of accounts to register with the assigned under the
|
|
267
266
|
given group (should be existing accounts only).
|
|
268
|
-
:param pulumi.Input[
|
|
267
|
+
:param pulumi.Input[_builtins.str] policy_id: A policy to register under the given group
|
|
269
268
|
(should be existing policy only).
|
|
270
269
|
"""
|
|
271
270
|
pulumi.set(__self__, "account_ids", account_ids)
|
|
272
271
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="accountIds")
|
|
276
|
-
def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
275
|
+
def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
277
276
|
"""
|
|
278
277
|
A list of accounts to register with the assigned under the
|
|
279
278
|
given group (should be existing accounts only).
|
|
@@ -281,12 +280,12 @@ class UserGroupPolicyArgs:
|
|
|
281
280
|
return pulumi.get(self, "account_ids")
|
|
282
281
|
|
|
283
282
|
@account_ids.setter
|
|
284
|
-
def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
283
|
+
def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
285
284
|
pulumi.set(self, "account_ids", value)
|
|
286
285
|
|
|
287
|
-
@property
|
|
286
|
+
@_builtins.property
|
|
288
287
|
@pulumi.getter(name="policyId")
|
|
289
|
-
def policy_id(self) -> pulumi.Input[
|
|
288
|
+
def policy_id(self) -> pulumi.Input[_builtins.str]:
|
|
290
289
|
"""
|
|
291
290
|
A policy to register under the given group
|
|
292
291
|
(should be existing policy only).
|
|
@@ -294,14 +293,14 @@ class UserGroupPolicyArgs:
|
|
|
294
293
|
return pulumi.get(self, "policy_id")
|
|
295
294
|
|
|
296
295
|
@policy_id.setter
|
|
297
|
-
def policy_id(self, value: pulumi.Input[
|
|
296
|
+
def policy_id(self, value: pulumi.Input[_builtins.str]):
|
|
298
297
|
pulumi.set(self, "policy_id", value)
|
|
299
298
|
|
|
300
299
|
|
|
301
300
|
if not MYPY:
|
|
302
301
|
class UserPolicyArgsDict(TypedDict):
|
|
303
|
-
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[
|
|
304
|
-
policy_id: pulumi.Input[
|
|
302
|
+
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
303
|
+
policy_id: pulumi.Input[_builtins.str]
|
|
305
304
|
"""
|
|
306
305
|
A policy to register under the given group
|
|
307
306
|
(should be existing policy only).
|
|
@@ -312,27 +311,27 @@ elif False:
|
|
|
312
311
|
@pulumi.input_type
|
|
313
312
|
class UserPolicyArgs:
|
|
314
313
|
def __init__(__self__, *,
|
|
315
|
-
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[
|
|
316
|
-
policy_id: pulumi.Input[
|
|
314
|
+
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
315
|
+
policy_id: pulumi.Input[_builtins.str]):
|
|
317
316
|
"""
|
|
318
|
-
:param pulumi.Input[
|
|
317
|
+
:param pulumi.Input[_builtins.str] policy_id: A policy to register under the given group
|
|
319
318
|
(should be existing policy only).
|
|
320
319
|
"""
|
|
321
320
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
322
321
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
323
322
|
|
|
324
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
325
324
|
@pulumi.getter(name="policyAccountIds")
|
|
326
|
-
def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
325
|
+
def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
327
326
|
return pulumi.get(self, "policy_account_ids")
|
|
328
327
|
|
|
329
328
|
@policy_account_ids.setter
|
|
330
|
-
def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
329
|
+
def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
331
330
|
pulumi.set(self, "policy_account_ids", value)
|
|
332
331
|
|
|
333
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
334
333
|
@pulumi.getter(name="policyId")
|
|
335
|
-
def policy_id(self) -> pulumi.Input[
|
|
334
|
+
def policy_id(self) -> pulumi.Input[_builtins.str]:
|
|
336
335
|
"""
|
|
337
336
|
A policy to register under the given group
|
|
338
337
|
(should be existing policy only).
|
|
@@ -340,7 +339,7 @@ class UserPolicyArgs:
|
|
|
340
339
|
return pulumi.get(self, "policy_id")
|
|
341
340
|
|
|
342
341
|
@policy_id.setter
|
|
343
|
-
def policy_id(self, value: pulumi.Input[
|
|
342
|
+
def policy_id(self, value: pulumi.Input[_builtins.str]):
|
|
344
343
|
pulumi.set(self, "policy_id", value)
|
|
345
344
|
|
|
346
345
|
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -34,7 +33,7 @@ class PolicyPolicyContent(dict):
|
|
|
34
33
|
"""
|
|
35
34
|
pulumi.set(__self__, "statements", statements)
|
|
36
35
|
|
|
37
|
-
@property
|
|
36
|
+
@_builtins.property
|
|
38
37
|
@pulumi.getter
|
|
39
38
|
def statements(self) -> Sequence['outputs.PolicyPolicyContentStatement']:
|
|
40
39
|
"""
|
|
@@ -46,39 +45,39 @@ class PolicyPolicyContent(dict):
|
|
|
46
45
|
@pulumi.output_type
|
|
47
46
|
class PolicyPolicyContentStatement(dict):
|
|
48
47
|
def __init__(__self__, *,
|
|
49
|
-
actions: Sequence[
|
|
50
|
-
effect:
|
|
51
|
-
resources: Sequence[
|
|
48
|
+
actions: Sequence[_builtins.str],
|
|
49
|
+
effect: _builtins.str,
|
|
50
|
+
resources: Sequence[_builtins.str]):
|
|
52
51
|
"""
|
|
53
|
-
:param Sequence[
|
|
52
|
+
:param Sequence[_builtins.str] actions: Set a list of required actions for this permissions statement.
|
|
54
53
|
Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
55
|
-
:param
|
|
56
|
-
:param Sequence[
|
|
54
|
+
:param _builtins.str effect: Valid values "ALLOW", "DENY".
|
|
55
|
+
:param Sequence[_builtins.str] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
57
56
|
"""
|
|
58
57
|
pulumi.set(__self__, "actions", actions)
|
|
59
58
|
pulumi.set(__self__, "effect", effect)
|
|
60
59
|
pulumi.set(__self__, "resources", resources)
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def actions(self) -> Sequence[
|
|
63
|
+
def actions(self) -> Sequence[_builtins.str]:
|
|
65
64
|
"""
|
|
66
65
|
Set a list of required actions for this permissions statement.
|
|
67
66
|
Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "actions")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def effect(self) ->
|
|
72
|
+
def effect(self) -> _builtins.str:
|
|
74
73
|
"""
|
|
75
74
|
Valid values "ALLOW", "DENY".
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "effect")
|
|
78
77
|
|
|
79
|
-
@property
|
|
78
|
+
@_builtins.property
|
|
80
79
|
@pulumi.getter
|
|
81
|
-
def resources(self) -> Sequence[
|
|
80
|
+
def resources(self) -> Sequence[_builtins.str]:
|
|
82
81
|
"""
|
|
83
82
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
84
83
|
"""
|
|
@@ -107,27 +106,27 @@ class ProgrammaticUserAccount(dict):
|
|
|
107
106
|
return super().get(key, default)
|
|
108
107
|
|
|
109
108
|
def __init__(__self__, *,
|
|
110
|
-
account_id:
|
|
111
|
-
account_role:
|
|
109
|
+
account_id: _builtins.str,
|
|
110
|
+
account_role: _builtins.str):
|
|
112
111
|
"""
|
|
113
|
-
:param
|
|
114
|
-
:param
|
|
112
|
+
:param _builtins.str account_id: Account ID the programmatic user will have access to.
|
|
113
|
+
:param _builtins.str account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
115
114
|
programmatic user for this account.
|
|
116
115
|
"""
|
|
117
116
|
pulumi.set(__self__, "account_id", account_id)
|
|
118
117
|
pulumi.set(__self__, "account_role", account_role)
|
|
119
118
|
|
|
120
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
121
120
|
@pulumi.getter(name="accountId")
|
|
122
|
-
def account_id(self) ->
|
|
121
|
+
def account_id(self) -> _builtins.str:
|
|
123
122
|
"""
|
|
124
123
|
Account ID the programmatic user will have access to.
|
|
125
124
|
"""
|
|
126
125
|
return pulumi.get(self, "account_id")
|
|
127
126
|
|
|
128
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
129
128
|
@pulumi.getter(name="accountRole")
|
|
130
|
-
def account_role(self) ->
|
|
129
|
+
def account_role(self) -> _builtins.str:
|
|
131
130
|
"""
|
|
132
131
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
133
132
|
programmatic user for this account.
|
|
@@ -157,28 +156,28 @@ class ProgrammaticUserPolicy(dict):
|
|
|
157
156
|
return super().get(key, default)
|
|
158
157
|
|
|
159
158
|
def __init__(__self__, *,
|
|
160
|
-
policy_id:
|
|
161
|
-
policy_account_ids: Optional[Sequence[
|
|
159
|
+
policy_id: _builtins.str,
|
|
160
|
+
policy_account_ids: Optional[Sequence[_builtins.str]] = None):
|
|
162
161
|
"""
|
|
163
|
-
:param
|
|
164
|
-
:param Sequence[
|
|
162
|
+
:param _builtins.str policy_id: Policy ID the programmatic user will have access to.
|
|
163
|
+
:param Sequence[_builtins.str] policy_account_ids: A list of the accounts that the policy should be
|
|
165
164
|
enforced for the user.
|
|
166
165
|
"""
|
|
167
166
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
168
167
|
if policy_account_ids is not None:
|
|
169
168
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
170
169
|
|
|
171
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
172
171
|
@pulumi.getter(name="policyId")
|
|
173
|
-
def policy_id(self) ->
|
|
172
|
+
def policy_id(self) -> _builtins.str:
|
|
174
173
|
"""
|
|
175
174
|
Policy ID the programmatic user will have access to.
|
|
176
175
|
"""
|
|
177
176
|
return pulumi.get(self, "policy_id")
|
|
178
177
|
|
|
179
|
-
@property
|
|
178
|
+
@_builtins.property
|
|
180
179
|
@pulumi.getter(name="policyAccountIds")
|
|
181
|
-
def policy_account_ids(self) -> Optional[Sequence[
|
|
180
|
+
def policy_account_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
182
181
|
"""
|
|
183
182
|
A list of the accounts that the policy should be
|
|
184
183
|
enforced for the user.
|
|
@@ -208,29 +207,29 @@ class UserGroupPolicy(dict):
|
|
|
208
207
|
return super().get(key, default)
|
|
209
208
|
|
|
210
209
|
def __init__(__self__, *,
|
|
211
|
-
account_ids: Sequence[
|
|
212
|
-
policy_id:
|
|
210
|
+
account_ids: Sequence[_builtins.str],
|
|
211
|
+
policy_id: _builtins.str):
|
|
213
212
|
"""
|
|
214
|
-
:param Sequence[
|
|
213
|
+
:param Sequence[_builtins.str] account_ids: A list of accounts to register with the assigned under the
|
|
215
214
|
given group (should be existing accounts only).
|
|
216
|
-
:param
|
|
215
|
+
:param _builtins.str policy_id: A policy to register under the given group
|
|
217
216
|
(should be existing policy only).
|
|
218
217
|
"""
|
|
219
218
|
pulumi.set(__self__, "account_ids", account_ids)
|
|
220
219
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
221
220
|
|
|
222
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
223
222
|
@pulumi.getter(name="accountIds")
|
|
224
|
-
def account_ids(self) -> Sequence[
|
|
223
|
+
def account_ids(self) -> Sequence[_builtins.str]:
|
|
225
224
|
"""
|
|
226
225
|
A list of accounts to register with the assigned under the
|
|
227
226
|
given group (should be existing accounts only).
|
|
228
227
|
"""
|
|
229
228
|
return pulumi.get(self, "account_ids")
|
|
230
229
|
|
|
231
|
-
@property
|
|
230
|
+
@_builtins.property
|
|
232
231
|
@pulumi.getter(name="policyId")
|
|
233
|
-
def policy_id(self) ->
|
|
232
|
+
def policy_id(self) -> _builtins.str:
|
|
234
233
|
"""
|
|
235
234
|
A policy to register under the given group
|
|
236
235
|
(should be existing policy only).
|
|
@@ -260,23 +259,23 @@ class UserPolicy(dict):
|
|
|
260
259
|
return super().get(key, default)
|
|
261
260
|
|
|
262
261
|
def __init__(__self__, *,
|
|
263
|
-
policy_account_ids: Sequence[
|
|
264
|
-
policy_id:
|
|
262
|
+
policy_account_ids: Sequence[_builtins.str],
|
|
263
|
+
policy_id: _builtins.str):
|
|
265
264
|
"""
|
|
266
|
-
:param
|
|
265
|
+
:param _builtins.str policy_id: A policy to register under the given group
|
|
267
266
|
(should be existing policy only).
|
|
268
267
|
"""
|
|
269
268
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
270
269
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
271
270
|
|
|
272
|
-
@property
|
|
271
|
+
@_builtins.property
|
|
273
272
|
@pulumi.getter(name="policyAccountIds")
|
|
274
|
-
def policy_account_ids(self) -> Sequence[
|
|
273
|
+
def policy_account_ids(self) -> Sequence[_builtins.str]:
|
|
275
274
|
return pulumi.get(self, "policy_account_ids")
|
|
276
275
|
|
|
277
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
278
277
|
@pulumi.getter(name="policyId")
|
|
279
|
-
def policy_id(self) ->
|
|
278
|
+
def policy_id(self) -> _builtins.str:
|
|
280
279
|
"""
|
|
281
280
|
A policy to register under the given group
|
|
282
281
|
(should be existing policy only).
|