pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744183551__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 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744183551.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -64,16 +65,16 @@ class PolicyPolicyContentArgs:
|
|
|
64
65
|
|
|
65
66
|
if not MYPY:
|
|
66
67
|
class PolicyPolicyContentStatementArgsDict(TypedDict):
|
|
67
|
-
actions: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
68
|
+
actions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
68
69
|
"""
|
|
69
70
|
Set a list of required actions for this permissions statement.
|
|
70
71
|
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/).
|
|
71
72
|
"""
|
|
72
|
-
effect: pulumi.Input[str]
|
|
73
|
+
effect: pulumi.Input[builtins.str]
|
|
73
74
|
"""
|
|
74
75
|
Valid values "ALLOW", "DENY".
|
|
75
76
|
"""
|
|
76
|
-
resources: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
77
|
+
resources: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
77
78
|
"""
|
|
78
79
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
79
80
|
"""
|
|
@@ -83,14 +84,14 @@ elif False:
|
|
|
83
84
|
@pulumi.input_type
|
|
84
85
|
class PolicyPolicyContentStatementArgs:
|
|
85
86
|
def __init__(__self__, *,
|
|
86
|
-
actions: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
87
|
-
effect: pulumi.Input[str],
|
|
88
|
-
resources: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
87
|
+
actions: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
88
|
+
effect: pulumi.Input[builtins.str],
|
|
89
|
+
resources: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
89
90
|
"""
|
|
90
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] actions: Set a list of required actions for this permissions statement.
|
|
91
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] actions: Set a list of required actions for this permissions statement.
|
|
91
92
|
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/).
|
|
92
|
-
:param pulumi.Input[str] effect: Valid values "ALLOW", "DENY".
|
|
93
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
93
|
+
:param pulumi.Input[builtins.str] effect: Valid values "ALLOW", "DENY".
|
|
94
|
+
: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 "*".
|
|
94
95
|
"""
|
|
95
96
|
pulumi.set(__self__, "actions", actions)
|
|
96
97
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -98,7 +99,7 @@ class PolicyPolicyContentStatementArgs:
|
|
|
98
99
|
|
|
99
100
|
@property
|
|
100
101
|
@pulumi.getter
|
|
101
|
-
def actions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
102
|
+
def actions(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
102
103
|
"""
|
|
103
104
|
Set a list of required actions for this permissions statement.
|
|
104
105
|
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/).
|
|
@@ -106,41 +107,41 @@ class PolicyPolicyContentStatementArgs:
|
|
|
106
107
|
return pulumi.get(self, "actions")
|
|
107
108
|
|
|
108
109
|
@actions.setter
|
|
109
|
-
def actions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
110
|
+
def actions(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
110
111
|
pulumi.set(self, "actions", value)
|
|
111
112
|
|
|
112
113
|
@property
|
|
113
114
|
@pulumi.getter
|
|
114
|
-
def effect(self) -> pulumi.Input[str]:
|
|
115
|
+
def effect(self) -> pulumi.Input[builtins.str]:
|
|
115
116
|
"""
|
|
116
117
|
Valid values "ALLOW", "DENY".
|
|
117
118
|
"""
|
|
118
119
|
return pulumi.get(self, "effect")
|
|
119
120
|
|
|
120
121
|
@effect.setter
|
|
121
|
-
def effect(self, value: pulumi.Input[str]):
|
|
122
|
+
def effect(self, value: pulumi.Input[builtins.str]):
|
|
122
123
|
pulumi.set(self, "effect", value)
|
|
123
124
|
|
|
124
125
|
@property
|
|
125
126
|
@pulumi.getter
|
|
126
|
-
def resources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
127
|
+
def resources(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
127
128
|
"""
|
|
128
129
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
129
130
|
"""
|
|
130
131
|
return pulumi.get(self, "resources")
|
|
131
132
|
|
|
132
133
|
@resources.setter
|
|
133
|
-
def resources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
134
|
+
def resources(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
134
135
|
pulumi.set(self, "resources", value)
|
|
135
136
|
|
|
136
137
|
|
|
137
138
|
if not MYPY:
|
|
138
139
|
class ProgrammaticUserAccountArgsDict(TypedDict):
|
|
139
|
-
account_id: pulumi.Input[str]
|
|
140
|
+
account_id: pulumi.Input[builtins.str]
|
|
140
141
|
"""
|
|
141
142
|
Account ID the programmatic user will have access to.
|
|
142
143
|
"""
|
|
143
|
-
account_role: pulumi.Input[str]
|
|
144
|
+
account_role: pulumi.Input[builtins.str]
|
|
144
145
|
"""
|
|
145
146
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
146
147
|
programmatic user for this account.
|
|
@@ -151,11 +152,11 @@ elif False:
|
|
|
151
152
|
@pulumi.input_type
|
|
152
153
|
class ProgrammaticUserAccountArgs:
|
|
153
154
|
def __init__(__self__, *,
|
|
154
|
-
account_id: pulumi.Input[str],
|
|
155
|
-
account_role: pulumi.Input[str]):
|
|
155
|
+
account_id: pulumi.Input[builtins.str],
|
|
156
|
+
account_role: pulumi.Input[builtins.str]):
|
|
156
157
|
"""
|
|
157
|
-
:param pulumi.Input[str] account_id: Account ID the programmatic user will have access to.
|
|
158
|
-
:param pulumi.Input[str] account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
158
|
+
:param pulumi.Input[builtins.str] account_id: Account ID the programmatic user will have access to.
|
|
159
|
+
:param pulumi.Input[builtins.str] account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
159
160
|
programmatic user for this account.
|
|
160
161
|
"""
|
|
161
162
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -163,19 +164,19 @@ class ProgrammaticUserAccountArgs:
|
|
|
163
164
|
|
|
164
165
|
@property
|
|
165
166
|
@pulumi.getter(name="accountId")
|
|
166
|
-
def account_id(self) -> pulumi.Input[str]:
|
|
167
|
+
def account_id(self) -> pulumi.Input[builtins.str]:
|
|
167
168
|
"""
|
|
168
169
|
Account ID the programmatic user will have access to.
|
|
169
170
|
"""
|
|
170
171
|
return pulumi.get(self, "account_id")
|
|
171
172
|
|
|
172
173
|
@account_id.setter
|
|
173
|
-
def account_id(self, value: pulumi.Input[str]):
|
|
174
|
+
def account_id(self, value: pulumi.Input[builtins.str]):
|
|
174
175
|
pulumi.set(self, "account_id", value)
|
|
175
176
|
|
|
176
177
|
@property
|
|
177
178
|
@pulumi.getter(name="accountRole")
|
|
178
|
-
def account_role(self) -> pulumi.Input[str]:
|
|
179
|
+
def account_role(self) -> pulumi.Input[builtins.str]:
|
|
179
180
|
"""
|
|
180
181
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
181
182
|
programmatic user for this account.
|
|
@@ -183,17 +184,17 @@ class ProgrammaticUserAccountArgs:
|
|
|
183
184
|
return pulumi.get(self, "account_role")
|
|
184
185
|
|
|
185
186
|
@account_role.setter
|
|
186
|
-
def account_role(self, value: pulumi.Input[str]):
|
|
187
|
+
def account_role(self, value: pulumi.Input[builtins.str]):
|
|
187
188
|
pulumi.set(self, "account_role", value)
|
|
188
189
|
|
|
189
190
|
|
|
190
191
|
if not MYPY:
|
|
191
192
|
class ProgrammaticUserPolicyArgsDict(TypedDict):
|
|
192
|
-
policy_id: pulumi.Input[str]
|
|
193
|
+
policy_id: pulumi.Input[builtins.str]
|
|
193
194
|
"""
|
|
194
195
|
Policy ID the programmatic user will have access to.
|
|
195
196
|
"""
|
|
196
|
-
policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
197
|
+
policy_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
197
198
|
"""
|
|
198
199
|
A list of the accounts that the policy should be
|
|
199
200
|
enforced for the user.
|
|
@@ -204,11 +205,11 @@ elif False:
|
|
|
204
205
|
@pulumi.input_type
|
|
205
206
|
class ProgrammaticUserPolicyArgs:
|
|
206
207
|
def __init__(__self__, *,
|
|
207
|
-
policy_id: pulumi.Input[str],
|
|
208
|
-
policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
208
|
+
policy_id: pulumi.Input[builtins.str],
|
|
209
|
+
policy_account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
209
210
|
"""
|
|
210
|
-
:param pulumi.Input[str] policy_id: Policy ID the programmatic user will have access to.
|
|
211
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] policy_account_ids: A list of the accounts that the policy should be
|
|
211
|
+
:param pulumi.Input[builtins.str] policy_id: Policy ID the programmatic user will have access to.
|
|
212
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] policy_account_ids: A list of the accounts that the policy should be
|
|
212
213
|
enforced for the user.
|
|
213
214
|
"""
|
|
214
215
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
@@ -217,19 +218,19 @@ class ProgrammaticUserPolicyArgs:
|
|
|
217
218
|
|
|
218
219
|
@property
|
|
219
220
|
@pulumi.getter(name="policyId")
|
|
220
|
-
def policy_id(self) -> pulumi.Input[str]:
|
|
221
|
+
def policy_id(self) -> pulumi.Input[builtins.str]:
|
|
221
222
|
"""
|
|
222
223
|
Policy ID the programmatic user will have access to.
|
|
223
224
|
"""
|
|
224
225
|
return pulumi.get(self, "policy_id")
|
|
225
226
|
|
|
226
227
|
@policy_id.setter
|
|
227
|
-
def policy_id(self, value: pulumi.Input[str]):
|
|
228
|
+
def policy_id(self, value: pulumi.Input[builtins.str]):
|
|
228
229
|
pulumi.set(self, "policy_id", value)
|
|
229
230
|
|
|
230
231
|
@property
|
|
231
232
|
@pulumi.getter(name="policyAccountIds")
|
|
232
|
-
def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
233
|
+
def policy_account_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
233
234
|
"""
|
|
234
235
|
A list of the accounts that the policy should be
|
|
235
236
|
enforced for the user.
|
|
@@ -237,18 +238,18 @@ class ProgrammaticUserPolicyArgs:
|
|
|
237
238
|
return pulumi.get(self, "policy_account_ids")
|
|
238
239
|
|
|
239
240
|
@policy_account_ids.setter
|
|
240
|
-
def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
241
|
+
def policy_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
241
242
|
pulumi.set(self, "policy_account_ids", value)
|
|
242
243
|
|
|
243
244
|
|
|
244
245
|
if not MYPY:
|
|
245
246
|
class UserGroupPolicyArgsDict(TypedDict):
|
|
246
|
-
account_ids: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
247
|
+
account_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
247
248
|
"""
|
|
248
249
|
A list of accounts to register with the assigned under the
|
|
249
250
|
given group (should be existing accounts only).
|
|
250
251
|
"""
|
|
251
|
-
policy_id: pulumi.Input[str]
|
|
252
|
+
policy_id: pulumi.Input[builtins.str]
|
|
252
253
|
"""
|
|
253
254
|
A policy to register under the given group
|
|
254
255
|
(should be existing policy only).
|
|
@@ -259,12 +260,12 @@ elif False:
|
|
|
259
260
|
@pulumi.input_type
|
|
260
261
|
class UserGroupPolicyArgs:
|
|
261
262
|
def __init__(__self__, *,
|
|
262
|
-
account_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
263
|
-
policy_id: pulumi.Input[str]):
|
|
263
|
+
account_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
264
|
+
policy_id: pulumi.Input[builtins.str]):
|
|
264
265
|
"""
|
|
265
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] account_ids: A list of accounts to register with the assigned under the
|
|
266
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] account_ids: A list of accounts to register with the assigned under the
|
|
266
267
|
given group (should be existing accounts only).
|
|
267
|
-
:param pulumi.Input[str] policy_id: A policy to register under the given group
|
|
268
|
+
:param pulumi.Input[builtins.str] policy_id: A policy to register under the given group
|
|
268
269
|
(should be existing policy only).
|
|
269
270
|
"""
|
|
270
271
|
pulumi.set(__self__, "account_ids", account_ids)
|
|
@@ -272,7 +273,7 @@ class UserGroupPolicyArgs:
|
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="accountIds")
|
|
275
|
-
def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
276
|
+
def account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
276
277
|
"""
|
|
277
278
|
A list of accounts to register with the assigned under the
|
|
278
279
|
given group (should be existing accounts only).
|
|
@@ -280,12 +281,12 @@ class UserGroupPolicyArgs:
|
|
|
280
281
|
return pulumi.get(self, "account_ids")
|
|
281
282
|
|
|
282
283
|
@account_ids.setter
|
|
283
|
-
def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
284
|
+
def account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
284
285
|
pulumi.set(self, "account_ids", value)
|
|
285
286
|
|
|
286
287
|
@property
|
|
287
288
|
@pulumi.getter(name="policyId")
|
|
288
|
-
def policy_id(self) -> pulumi.Input[str]:
|
|
289
|
+
def policy_id(self) -> pulumi.Input[builtins.str]:
|
|
289
290
|
"""
|
|
290
291
|
A policy to register under the given group
|
|
291
292
|
(should be existing policy only).
|
|
@@ -293,14 +294,14 @@ class UserGroupPolicyArgs:
|
|
|
293
294
|
return pulumi.get(self, "policy_id")
|
|
294
295
|
|
|
295
296
|
@policy_id.setter
|
|
296
|
-
def policy_id(self, value: pulumi.Input[str]):
|
|
297
|
+
def policy_id(self, value: pulumi.Input[builtins.str]):
|
|
297
298
|
pulumi.set(self, "policy_id", value)
|
|
298
299
|
|
|
299
300
|
|
|
300
301
|
if not MYPY:
|
|
301
302
|
class UserPolicyArgsDict(TypedDict):
|
|
302
|
-
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
303
|
-
policy_id: pulumi.Input[str]
|
|
303
|
+
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
304
|
+
policy_id: pulumi.Input[builtins.str]
|
|
304
305
|
"""
|
|
305
306
|
A policy to register under the given group
|
|
306
307
|
(should be existing policy only).
|
|
@@ -311,10 +312,10 @@ elif False:
|
|
|
311
312
|
@pulumi.input_type
|
|
312
313
|
class UserPolicyArgs:
|
|
313
314
|
def __init__(__self__, *,
|
|
314
|
-
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
315
|
-
policy_id: pulumi.Input[str]):
|
|
315
|
+
policy_account_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
316
|
+
policy_id: pulumi.Input[builtins.str]):
|
|
316
317
|
"""
|
|
317
|
-
:param pulumi.Input[str] policy_id: A policy to register under the given group
|
|
318
|
+
:param pulumi.Input[builtins.str] policy_id: A policy to register under the given group
|
|
318
319
|
(should be existing policy only).
|
|
319
320
|
"""
|
|
320
321
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
@@ -322,16 +323,16 @@ class UserPolicyArgs:
|
|
|
322
323
|
|
|
323
324
|
@property
|
|
324
325
|
@pulumi.getter(name="policyAccountIds")
|
|
325
|
-
def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
326
|
+
def policy_account_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
326
327
|
return pulumi.get(self, "policy_account_ids")
|
|
327
328
|
|
|
328
329
|
@policy_account_ids.setter
|
|
329
|
-
def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
330
|
+
def policy_account_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
330
331
|
pulumi.set(self, "policy_account_ids", value)
|
|
331
332
|
|
|
332
333
|
@property
|
|
333
334
|
@pulumi.getter(name="policyId")
|
|
334
|
-
def policy_id(self) -> pulumi.Input[str]:
|
|
335
|
+
def policy_id(self) -> pulumi.Input[builtins.str]:
|
|
335
336
|
"""
|
|
336
337
|
A policy to register under the given group
|
|
337
338
|
(should be existing policy only).
|
|
@@ -339,7 +340,7 @@ class UserPolicyArgs:
|
|
|
339
340
|
return pulumi.get(self, "policy_id")
|
|
340
341
|
|
|
341
342
|
@policy_id.setter
|
|
342
|
-
def policy_id(self, value: pulumi.Input[str]):
|
|
343
|
+
def policy_id(self, value: pulumi.Input[builtins.str]):
|
|
343
344
|
pulumi.set(self, "policy_id", value)
|
|
344
345
|
|
|
345
346
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,14 +46,14 @@ class PolicyPolicyContent(dict):
|
|
|
45
46
|
@pulumi.output_type
|
|
46
47
|
class PolicyPolicyContentStatement(dict):
|
|
47
48
|
def __init__(__self__, *,
|
|
48
|
-
actions: Sequence[str],
|
|
49
|
-
effect: str,
|
|
50
|
-
resources: Sequence[str]):
|
|
49
|
+
actions: Sequence[builtins.str],
|
|
50
|
+
effect: builtins.str,
|
|
51
|
+
resources: Sequence[builtins.str]):
|
|
51
52
|
"""
|
|
52
|
-
:param Sequence[str] actions: Set a list of required actions for this permissions statement.
|
|
53
|
+
:param Sequence[builtins.str] actions: Set a list of required actions for this permissions statement.
|
|
53
54
|
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/).
|
|
54
|
-
:param str effect: Valid values "ALLOW", "DENY".
|
|
55
|
-
:param Sequence[str] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
55
|
+
:param builtins.str effect: Valid values "ALLOW", "DENY".
|
|
56
|
+
:param Sequence[builtins.str] resources: Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
56
57
|
"""
|
|
57
58
|
pulumi.set(__self__, "actions", actions)
|
|
58
59
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -60,7 +61,7 @@ class PolicyPolicyContentStatement(dict):
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def actions(self) -> Sequence[str]:
|
|
64
|
+
def actions(self) -> Sequence[builtins.str]:
|
|
64
65
|
"""
|
|
65
66
|
Set a list of required actions for this permissions statement.
|
|
66
67
|
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/).
|
|
@@ -69,7 +70,7 @@ class PolicyPolicyContentStatement(dict):
|
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def effect(self) -> str:
|
|
73
|
+
def effect(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
Valid values "ALLOW", "DENY".
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class PolicyPolicyContentStatement(dict):
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def resources(self) -> Sequence[str]:
|
|
81
|
+
def resources(self) -> Sequence[builtins.str]:
|
|
81
82
|
"""
|
|
82
83
|
Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
83
84
|
"""
|
|
@@ -106,11 +107,11 @@ class ProgrammaticUserAccount(dict):
|
|
|
106
107
|
return super().get(key, default)
|
|
107
108
|
|
|
108
109
|
def __init__(__self__, *,
|
|
109
|
-
account_id: str,
|
|
110
|
-
account_role: str):
|
|
110
|
+
account_id: builtins.str,
|
|
111
|
+
account_role: builtins.str):
|
|
111
112
|
"""
|
|
112
|
-
:param str account_id: Account ID the programmatic user will have access to.
|
|
113
|
-
:param str account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
113
|
+
:param builtins.str account_id: Account ID the programmatic user will have access to.
|
|
114
|
+
:param builtins.str account_role: (Enum: `"viewer", "editor") Role to be associated with the
|
|
114
115
|
programmatic user for this account.
|
|
115
116
|
"""
|
|
116
117
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -118,7 +119,7 @@ class ProgrammaticUserAccount(dict):
|
|
|
118
119
|
|
|
119
120
|
@property
|
|
120
121
|
@pulumi.getter(name="accountId")
|
|
121
|
-
def account_id(self) -> str:
|
|
122
|
+
def account_id(self) -> builtins.str:
|
|
122
123
|
"""
|
|
123
124
|
Account ID the programmatic user will have access to.
|
|
124
125
|
"""
|
|
@@ -126,7 +127,7 @@ class ProgrammaticUserAccount(dict):
|
|
|
126
127
|
|
|
127
128
|
@property
|
|
128
129
|
@pulumi.getter(name="accountRole")
|
|
129
|
-
def account_role(self) -> str:
|
|
130
|
+
def account_role(self) -> builtins.str:
|
|
130
131
|
"""
|
|
131
132
|
(Enum: `"viewer", "editor") Role to be associated with the
|
|
132
133
|
programmatic user for this account.
|
|
@@ -156,11 +157,11 @@ class ProgrammaticUserPolicy(dict):
|
|
|
156
157
|
return super().get(key, default)
|
|
157
158
|
|
|
158
159
|
def __init__(__self__, *,
|
|
159
|
-
policy_id: str,
|
|
160
|
-
policy_account_ids: Optional[Sequence[str]] = None):
|
|
160
|
+
policy_id: builtins.str,
|
|
161
|
+
policy_account_ids: Optional[Sequence[builtins.str]] = None):
|
|
161
162
|
"""
|
|
162
|
-
:param str policy_id: Policy ID the programmatic user will have access to.
|
|
163
|
-
:param Sequence[str] policy_account_ids: A list of the accounts that the policy should be
|
|
163
|
+
:param builtins.str policy_id: Policy ID the programmatic user will have access to.
|
|
164
|
+
:param Sequence[builtins.str] policy_account_ids: A list of the accounts that the policy should be
|
|
164
165
|
enforced for the user.
|
|
165
166
|
"""
|
|
166
167
|
pulumi.set(__self__, "policy_id", policy_id)
|
|
@@ -169,7 +170,7 @@ class ProgrammaticUserPolicy(dict):
|
|
|
169
170
|
|
|
170
171
|
@property
|
|
171
172
|
@pulumi.getter(name="policyId")
|
|
172
|
-
def policy_id(self) -> str:
|
|
173
|
+
def policy_id(self) -> builtins.str:
|
|
173
174
|
"""
|
|
174
175
|
Policy ID the programmatic user will have access to.
|
|
175
176
|
"""
|
|
@@ -177,7 +178,7 @@ class ProgrammaticUserPolicy(dict):
|
|
|
177
178
|
|
|
178
179
|
@property
|
|
179
180
|
@pulumi.getter(name="policyAccountIds")
|
|
180
|
-
def policy_account_ids(self) -> Optional[Sequence[str]]:
|
|
181
|
+
def policy_account_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
181
182
|
"""
|
|
182
183
|
A list of the accounts that the policy should be
|
|
183
184
|
enforced for the user.
|
|
@@ -207,12 +208,12 @@ class UserGroupPolicy(dict):
|
|
|
207
208
|
return super().get(key, default)
|
|
208
209
|
|
|
209
210
|
def __init__(__self__, *,
|
|
210
|
-
account_ids: Sequence[str],
|
|
211
|
-
policy_id: str):
|
|
211
|
+
account_ids: Sequence[builtins.str],
|
|
212
|
+
policy_id: builtins.str):
|
|
212
213
|
"""
|
|
213
|
-
:param Sequence[str] account_ids: A list of accounts to register with the assigned under the
|
|
214
|
+
:param Sequence[builtins.str] account_ids: A list of accounts to register with the assigned under the
|
|
214
215
|
given group (should be existing accounts only).
|
|
215
|
-
:param str policy_id: A policy to register under the given group
|
|
216
|
+
:param builtins.str policy_id: A policy to register under the given group
|
|
216
217
|
(should be existing policy only).
|
|
217
218
|
"""
|
|
218
219
|
pulumi.set(__self__, "account_ids", account_ids)
|
|
@@ -220,7 +221,7 @@ class UserGroupPolicy(dict):
|
|
|
220
221
|
|
|
221
222
|
@property
|
|
222
223
|
@pulumi.getter(name="accountIds")
|
|
223
|
-
def account_ids(self) -> Sequence[str]:
|
|
224
|
+
def account_ids(self) -> Sequence[builtins.str]:
|
|
224
225
|
"""
|
|
225
226
|
A list of accounts to register with the assigned under the
|
|
226
227
|
given group (should be existing accounts only).
|
|
@@ -229,7 +230,7 @@ class UserGroupPolicy(dict):
|
|
|
229
230
|
|
|
230
231
|
@property
|
|
231
232
|
@pulumi.getter(name="policyId")
|
|
232
|
-
def policy_id(self) -> str:
|
|
233
|
+
def policy_id(self) -> builtins.str:
|
|
233
234
|
"""
|
|
234
235
|
A policy to register under the given group
|
|
235
236
|
(should be existing policy only).
|
|
@@ -259,10 +260,10 @@ class UserPolicy(dict):
|
|
|
259
260
|
return super().get(key, default)
|
|
260
261
|
|
|
261
262
|
def __init__(__self__, *,
|
|
262
|
-
policy_account_ids: Sequence[str],
|
|
263
|
-
policy_id: str):
|
|
263
|
+
policy_account_ids: Sequence[builtins.str],
|
|
264
|
+
policy_id: builtins.str):
|
|
264
265
|
"""
|
|
265
|
-
:param str policy_id: A policy to register under the given group
|
|
266
|
+
:param builtins.str policy_id: A policy to register under the given group
|
|
266
267
|
(should be existing policy only).
|
|
267
268
|
"""
|
|
268
269
|
pulumi.set(__self__, "policy_account_ids", policy_account_ids)
|
|
@@ -270,12 +271,12 @@ class UserPolicy(dict):
|
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter(name="policyAccountIds")
|
|
273
|
-
def policy_account_ids(self) -> Sequence[str]:
|
|
274
|
+
def policy_account_ids(self) -> Sequence[builtins.str]:
|
|
274
275
|
return pulumi.get(self, "policy_account_ids")
|
|
275
276
|
|
|
276
277
|
@property
|
|
277
278
|
@pulumi.getter(name="policyId")
|
|
278
|
-
def policy_id(self) -> str:
|
|
279
|
+
def policy_id(self) -> builtins.str:
|
|
279
280
|
"""
|
|
280
281
|
A policy to register under the given group
|
|
281
282
|
(should be existing policy only).
|