pulumiverse-scaleway 1.20.0a1730699372__py3-none-any.whl → 1.21.0__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 pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +28 -0
- pulumiverse_scaleway/_inputs.py +353 -15
- pulumiverse_scaleway/baremetal_server.py +141 -12
- pulumiverse_scaleway/container_namespace.py +52 -5
- pulumiverse_scaleway/function_namespace.py +52 -5
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_container_namespace.py +15 -4
- pulumiverse_scaleway/get_function_namespace.py +15 -4
- pulumiverse_scaleway/get_iam_user.py +21 -1
- pulumiverse_scaleway/get_loadbalancer_ip.py +8 -2
- pulumiverse_scaleway/get_mongo_db_instance.py +324 -0
- pulumiverse_scaleway/iam_user.py +48 -1
- pulumiverse_scaleway/inference_deployment.py +822 -0
- pulumiverse_scaleway/instance_server.py +32 -22
- pulumiverse_scaleway/iot_network.py +47 -0
- pulumiverse_scaleway/iot_route.py +2 -2
- pulumiverse_scaleway/ipam_ip.py +91 -0
- pulumiverse_scaleway/loadbalancer.py +38 -72
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -0
- pulumiverse_scaleway/mongo_db_instance.py +907 -0
- pulumiverse_scaleway/mongo_db_snapshot.py +521 -0
- pulumiverse_scaleway/object_bucket.py +9 -9
- pulumiverse_scaleway/outputs.py +337 -14
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/METADATA +27 -19
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/RECORD +28 -24
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.20.0a1730699372.dist-info → pulumiverse_scaleway-1.21.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetMongoDbInstanceResult',
|
|
20
|
+
'AwaitableGetMongoDbInstanceResult',
|
|
21
|
+
'get_mongo_db_instance',
|
|
22
|
+
'get_mongo_db_instance_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetMongoDbInstanceResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getMongoDbInstance.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, created_at=None, id=None, instance_id=None, name=None, node_number=None, node_type=None, password=None, project_id=None, public_networks=None, region=None, settings=None, snapshot_id=None, tags=None, updated_at=None, user_name=None, version=None, volume_size_in_gb=None, volume_type=None):
|
|
31
|
+
if created_at and not isinstance(created_at, str):
|
|
32
|
+
raise TypeError("Expected argument 'created_at' to be a str")
|
|
33
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if instance_id and not isinstance(instance_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'instance_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if node_number and not isinstance(node_number, int):
|
|
44
|
+
raise TypeError("Expected argument 'node_number' to be a int")
|
|
45
|
+
pulumi.set(__self__, "node_number", node_number)
|
|
46
|
+
if node_type and not isinstance(node_type, str):
|
|
47
|
+
raise TypeError("Expected argument 'node_type' to be a str")
|
|
48
|
+
pulumi.set(__self__, "node_type", node_type)
|
|
49
|
+
if password and not isinstance(password, str):
|
|
50
|
+
raise TypeError("Expected argument 'password' to be a str")
|
|
51
|
+
pulumi.set(__self__, "password", password)
|
|
52
|
+
if project_id and not isinstance(project_id, str):
|
|
53
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
|
54
|
+
pulumi.set(__self__, "project_id", project_id)
|
|
55
|
+
if public_networks and not isinstance(public_networks, list):
|
|
56
|
+
raise TypeError("Expected argument 'public_networks' to be a list")
|
|
57
|
+
pulumi.set(__self__, "public_networks", public_networks)
|
|
58
|
+
if region and not isinstance(region, str):
|
|
59
|
+
raise TypeError("Expected argument 'region' to be a str")
|
|
60
|
+
pulumi.set(__self__, "region", region)
|
|
61
|
+
if settings and not isinstance(settings, dict):
|
|
62
|
+
raise TypeError("Expected argument 'settings' to be a dict")
|
|
63
|
+
pulumi.set(__self__, "settings", settings)
|
|
64
|
+
if snapshot_id and not isinstance(snapshot_id, str):
|
|
65
|
+
raise TypeError("Expected argument 'snapshot_id' to be a str")
|
|
66
|
+
pulumi.set(__self__, "snapshot_id", snapshot_id)
|
|
67
|
+
if tags and not isinstance(tags, list):
|
|
68
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
69
|
+
pulumi.set(__self__, "tags", tags)
|
|
70
|
+
if updated_at and not isinstance(updated_at, str):
|
|
71
|
+
raise TypeError("Expected argument 'updated_at' to be a str")
|
|
72
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
73
|
+
if user_name and not isinstance(user_name, str):
|
|
74
|
+
raise TypeError("Expected argument 'user_name' to be a str")
|
|
75
|
+
pulumi.set(__self__, "user_name", user_name)
|
|
76
|
+
if version and not isinstance(version, str):
|
|
77
|
+
raise TypeError("Expected argument 'version' to be a str")
|
|
78
|
+
pulumi.set(__self__, "version", version)
|
|
79
|
+
if volume_size_in_gb and not isinstance(volume_size_in_gb, int):
|
|
80
|
+
raise TypeError("Expected argument 'volume_size_in_gb' to be a int")
|
|
81
|
+
pulumi.set(__self__, "volume_size_in_gb", volume_size_in_gb)
|
|
82
|
+
if volume_type and not isinstance(volume_type, str):
|
|
83
|
+
raise TypeError("Expected argument 'volume_type' to be a str")
|
|
84
|
+
pulumi.set(__self__, "volume_type", volume_type)
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="createdAt")
|
|
88
|
+
def created_at(self) -> str:
|
|
89
|
+
"""
|
|
90
|
+
The date and time the MongoDB® instance was created.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "created_at")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def id(self) -> str:
|
|
97
|
+
"""
|
|
98
|
+
The provider-assigned unique ID for this managed resource.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "id")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="instanceId")
|
|
104
|
+
def instance_id(self) -> Optional[str]:
|
|
105
|
+
return pulumi.get(self, "instance_id")
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter
|
|
109
|
+
def name(self) -> Optional[str]:
|
|
110
|
+
"""
|
|
111
|
+
The name of the MongoDB® instance.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "name")
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="nodeNumber")
|
|
117
|
+
def node_number(self) -> int:
|
|
118
|
+
"""
|
|
119
|
+
The number of nodes in the MongoDB® cluster.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "node_number")
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter(name="nodeType")
|
|
125
|
+
def node_type(self) -> str:
|
|
126
|
+
"""
|
|
127
|
+
The type of MongoDB® node.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "node_type")
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter
|
|
133
|
+
def password(self) -> str:
|
|
134
|
+
return pulumi.get(self, "password")
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="projectId")
|
|
138
|
+
def project_id(self) -> Optional[str]:
|
|
139
|
+
"""
|
|
140
|
+
The ID of the project the instance belongs to.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "project_id")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="publicNetworks")
|
|
146
|
+
def public_networks(self) -> Sequence['outputs.GetMongoDbInstancePublicNetworkResult']:
|
|
147
|
+
"""
|
|
148
|
+
The details of the public network configuration, if applicable.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "public_networks")
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter
|
|
154
|
+
def region(self) -> Optional[str]:
|
|
155
|
+
return pulumi.get(self, "region")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter
|
|
159
|
+
def settings(self) -> Mapping[str, str]:
|
|
160
|
+
return pulumi.get(self, "settings")
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter(name="snapshotId")
|
|
164
|
+
def snapshot_id(self) -> str:
|
|
165
|
+
return pulumi.get(self, "snapshot_id")
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def tags(self) -> Sequence[str]:
|
|
170
|
+
"""
|
|
171
|
+
A list of tags attached to the MongoDB® instance.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "tags")
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
@pulumi.getter(name="updatedAt")
|
|
177
|
+
def updated_at(self) -> str:
|
|
178
|
+
return pulumi.get(self, "updated_at")
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter(name="userName")
|
|
182
|
+
def user_name(self) -> str:
|
|
183
|
+
return pulumi.get(self, "user_name")
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter
|
|
187
|
+
def version(self) -> str:
|
|
188
|
+
"""
|
|
189
|
+
The version of MongoDB® running on the instance.
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "version")
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
@pulumi.getter(name="volumeSizeInGb")
|
|
195
|
+
def volume_size_in_gb(self) -> int:
|
|
196
|
+
"""
|
|
197
|
+
The size of the attached volume, in GB.
|
|
198
|
+
"""
|
|
199
|
+
return pulumi.get(self, "volume_size_in_gb")
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
@pulumi.getter(name="volumeType")
|
|
203
|
+
def volume_type(self) -> str:
|
|
204
|
+
"""
|
|
205
|
+
The type of volume attached to the MongoDB® instance.
|
|
206
|
+
"""
|
|
207
|
+
return pulumi.get(self, "volume_type")
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
class AwaitableGetMongoDbInstanceResult(GetMongoDbInstanceResult):
|
|
211
|
+
# pylint: disable=using-constant-test
|
|
212
|
+
def __await__(self):
|
|
213
|
+
if False:
|
|
214
|
+
yield self
|
|
215
|
+
return GetMongoDbInstanceResult(
|
|
216
|
+
created_at=self.created_at,
|
|
217
|
+
id=self.id,
|
|
218
|
+
instance_id=self.instance_id,
|
|
219
|
+
name=self.name,
|
|
220
|
+
node_number=self.node_number,
|
|
221
|
+
node_type=self.node_type,
|
|
222
|
+
password=self.password,
|
|
223
|
+
project_id=self.project_id,
|
|
224
|
+
public_networks=self.public_networks,
|
|
225
|
+
region=self.region,
|
|
226
|
+
settings=self.settings,
|
|
227
|
+
snapshot_id=self.snapshot_id,
|
|
228
|
+
tags=self.tags,
|
|
229
|
+
updated_at=self.updated_at,
|
|
230
|
+
user_name=self.user_name,
|
|
231
|
+
version=self.version,
|
|
232
|
+
volume_size_in_gb=self.volume_size_in_gb,
|
|
233
|
+
volume_type=self.volume_type)
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
def get_mongo_db_instance(instance_id: Optional[str] = None,
|
|
237
|
+
name: Optional[str] = None,
|
|
238
|
+
project_id: Optional[str] = None,
|
|
239
|
+
region: Optional[str] = None,
|
|
240
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMongoDbInstanceResult:
|
|
241
|
+
"""
|
|
242
|
+
Gets information about a MongoDB® Instance.
|
|
243
|
+
|
|
244
|
+
For further information refer to the Managed Databases for MongoDB® [API documentation](https://developers.scaleway.com/en/products/mongodb/api/)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:param str instance_id: The MongoDB® instance ID.
|
|
248
|
+
|
|
249
|
+
> **Note** You must specify at least one: `name` or `instance_id`.
|
|
250
|
+
:param str name: The name of the MongoDB® instance.
|
|
251
|
+
:param str project_id: The ID of the project the MongoDB® instance is in. Can be used to filter instances when using `name`.
|
|
252
|
+
:param str region: `region`) The region in which the MongoDB® Instance exists.
|
|
253
|
+
"""
|
|
254
|
+
__args__ = dict()
|
|
255
|
+
__args__['instanceId'] = instance_id
|
|
256
|
+
__args__['name'] = name
|
|
257
|
+
__args__['projectId'] = project_id
|
|
258
|
+
__args__['region'] = region
|
|
259
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
260
|
+
__ret__ = pulumi.runtime.invoke('scaleway:index/getMongoDbInstance:getMongoDbInstance', __args__, opts=opts, typ=GetMongoDbInstanceResult).value
|
|
261
|
+
|
|
262
|
+
return AwaitableGetMongoDbInstanceResult(
|
|
263
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
264
|
+
id=pulumi.get(__ret__, 'id'),
|
|
265
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
266
|
+
name=pulumi.get(__ret__, 'name'),
|
|
267
|
+
node_number=pulumi.get(__ret__, 'node_number'),
|
|
268
|
+
node_type=pulumi.get(__ret__, 'node_type'),
|
|
269
|
+
password=pulumi.get(__ret__, 'password'),
|
|
270
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
|
271
|
+
public_networks=pulumi.get(__ret__, 'public_networks'),
|
|
272
|
+
region=pulumi.get(__ret__, 'region'),
|
|
273
|
+
settings=pulumi.get(__ret__, 'settings'),
|
|
274
|
+
snapshot_id=pulumi.get(__ret__, 'snapshot_id'),
|
|
275
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
276
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
277
|
+
user_name=pulumi.get(__ret__, 'user_name'),
|
|
278
|
+
version=pulumi.get(__ret__, 'version'),
|
|
279
|
+
volume_size_in_gb=pulumi.get(__ret__, 'volume_size_in_gb'),
|
|
280
|
+
volume_type=pulumi.get(__ret__, 'volume_type'))
|
|
281
|
+
def get_mongo_db_instance_output(instance_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
282
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
283
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
284
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
|
285
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDbInstanceResult]:
|
|
286
|
+
"""
|
|
287
|
+
Gets information about a MongoDB® Instance.
|
|
288
|
+
|
|
289
|
+
For further information refer to the Managed Databases for MongoDB® [API documentation](https://developers.scaleway.com/en/products/mongodb/api/)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
:param str instance_id: The MongoDB® instance ID.
|
|
293
|
+
|
|
294
|
+
> **Note** You must specify at least one: `name` or `instance_id`.
|
|
295
|
+
:param str name: The name of the MongoDB® instance.
|
|
296
|
+
:param str project_id: The ID of the project the MongoDB® instance is in. Can be used to filter instances when using `name`.
|
|
297
|
+
:param str region: `region`) The region in which the MongoDB® Instance exists.
|
|
298
|
+
"""
|
|
299
|
+
__args__ = dict()
|
|
300
|
+
__args__['instanceId'] = instance_id
|
|
301
|
+
__args__['name'] = name
|
|
302
|
+
__args__['projectId'] = project_id
|
|
303
|
+
__args__['region'] = region
|
|
304
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
305
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getMongoDbInstance:getMongoDbInstance', __args__, opts=opts, typ=GetMongoDbInstanceResult)
|
|
306
|
+
return __ret__.apply(lambda __response__: GetMongoDbInstanceResult(
|
|
307
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
308
|
+
id=pulumi.get(__response__, 'id'),
|
|
309
|
+
instance_id=pulumi.get(__response__, 'instance_id'),
|
|
310
|
+
name=pulumi.get(__response__, 'name'),
|
|
311
|
+
node_number=pulumi.get(__response__, 'node_number'),
|
|
312
|
+
node_type=pulumi.get(__response__, 'node_type'),
|
|
313
|
+
password=pulumi.get(__response__, 'password'),
|
|
314
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
|
315
|
+
public_networks=pulumi.get(__response__, 'public_networks'),
|
|
316
|
+
region=pulumi.get(__response__, 'region'),
|
|
317
|
+
settings=pulumi.get(__response__, 'settings'),
|
|
318
|
+
snapshot_id=pulumi.get(__response__, 'snapshot_id'),
|
|
319
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
320
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
321
|
+
user_name=pulumi.get(__response__, 'user_name'),
|
|
322
|
+
version=pulumi.get(__response__, 'version'),
|
|
323
|
+
volume_size_in_gb=pulumi.get(__response__, 'volume_size_in_gb'),
|
|
324
|
+
volume_type=pulumi.get(__response__, 'volume_type')))
|
pulumiverse_scaleway/iam_user.py
CHANGED
|
@@ -20,15 +20,19 @@ __all__ = ['IamUserArgs', 'IamUser']
|
|
|
20
20
|
class IamUserArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
email: pulumi.Input[str],
|
|
23
|
-
organization_id: Optional[pulumi.Input[str]] = None
|
|
23
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
24
25
|
"""
|
|
25
26
|
The set of arguments for constructing a IamUser resource.
|
|
26
27
|
:param pulumi.Input[str] email: The email of the IAM user.
|
|
27
28
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
29
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
28
30
|
"""
|
|
29
31
|
pulumi.set(__self__, "email", email)
|
|
30
32
|
if organization_id is not None:
|
|
31
33
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
34
|
+
if tags is not None:
|
|
35
|
+
pulumi.set(__self__, "tags", tags)
|
|
32
36
|
|
|
33
37
|
@property
|
|
34
38
|
@pulumi.getter
|
|
@@ -54,6 +58,18 @@ class IamUserArgs:
|
|
|
54
58
|
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
55
59
|
pulumi.set(self, "organization_id", value)
|
|
56
60
|
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
64
|
+
"""
|
|
65
|
+
The tags associated with the user.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "tags")
|
|
68
|
+
|
|
69
|
+
@tags.setter
|
|
70
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
71
|
+
pulumi.set(self, "tags", value)
|
|
72
|
+
|
|
57
73
|
|
|
58
74
|
@pulumi.input_type
|
|
59
75
|
class _IamUserState:
|
|
@@ -66,6 +82,7 @@ class _IamUserState:
|
|
|
66
82
|
mfa: Optional[pulumi.Input[bool]] = None,
|
|
67
83
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
68
84
|
status: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
69
86
|
type: Optional[pulumi.Input[str]] = None,
|
|
70
87
|
updated_at: Optional[pulumi.Input[str]] = None):
|
|
71
88
|
"""
|
|
@@ -78,6 +95,7 @@ class _IamUserState:
|
|
|
78
95
|
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
79
96
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
80
97
|
:param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
98
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
81
99
|
:param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
82
100
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
83
101
|
"""
|
|
@@ -97,6 +115,8 @@ class _IamUserState:
|
|
|
97
115
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
98
116
|
if status is not None:
|
|
99
117
|
pulumi.set(__self__, "status", status)
|
|
118
|
+
if tags is not None:
|
|
119
|
+
pulumi.set(__self__, "tags", tags)
|
|
100
120
|
if type is not None:
|
|
101
121
|
pulumi.set(__self__, "type", type)
|
|
102
122
|
if updated_at is not None:
|
|
@@ -198,6 +218,18 @@ class _IamUserState:
|
|
|
198
218
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
199
219
|
pulumi.set(self, "status", value)
|
|
200
220
|
|
|
221
|
+
@property
|
|
222
|
+
@pulumi.getter
|
|
223
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
224
|
+
"""
|
|
225
|
+
The tags associated with the user.
|
|
226
|
+
"""
|
|
227
|
+
return pulumi.get(self, "tags")
|
|
228
|
+
|
|
229
|
+
@tags.setter
|
|
230
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
231
|
+
pulumi.set(self, "tags", value)
|
|
232
|
+
|
|
201
233
|
@property
|
|
202
234
|
@pulumi.getter
|
|
203
235
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -230,6 +262,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
230
262
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
263
|
email: Optional[pulumi.Input[str]] = None,
|
|
232
264
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
265
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
233
266
|
__props__=None):
|
|
234
267
|
"""
|
|
235
268
|
Creates and manages Scaleway IAM Users.
|
|
@@ -260,6 +293,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
260
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
261
294
|
:param pulumi.Input[str] email: The email of the IAM user.
|
|
262
295
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
296
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
263
297
|
"""
|
|
264
298
|
...
|
|
265
299
|
@overload
|
|
@@ -309,6 +343,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
309
343
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
310
344
|
email: Optional[pulumi.Input[str]] = None,
|
|
311
345
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
346
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
312
347
|
__props__=None):
|
|
313
348
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
314
349
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -322,6 +357,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
322
357
|
raise TypeError("Missing required property 'email'")
|
|
323
358
|
__props__.__dict__["email"] = email
|
|
324
359
|
__props__.__dict__["organization_id"] = organization_id
|
|
360
|
+
__props__.__dict__["tags"] = tags
|
|
325
361
|
__props__.__dict__["account_root_user_id"] = None
|
|
326
362
|
__props__.__dict__["created_at"] = None
|
|
327
363
|
__props__.__dict__["deletable"] = None
|
|
@@ -348,6 +384,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
348
384
|
mfa: Optional[pulumi.Input[bool]] = None,
|
|
349
385
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
350
386
|
status: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
351
388
|
type: Optional[pulumi.Input[str]] = None,
|
|
352
389
|
updated_at: Optional[pulumi.Input[str]] = None) -> 'IamUser':
|
|
353
390
|
"""
|
|
@@ -365,6 +402,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
365
402
|
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
366
403
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
367
404
|
:param pulumi.Input[str] status: The status of user invitation. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
405
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the user.
|
|
368
406
|
:param pulumi.Input[str] type: The type of user. Check the possible values in the [API doc](https://www.scaleway.com/en/developers/api/iam/#path-users-get-a-given-user).
|
|
369
407
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
370
408
|
"""
|
|
@@ -380,6 +418,7 @@ class IamUser(pulumi.CustomResource):
|
|
|
380
418
|
__props__.__dict__["mfa"] = mfa
|
|
381
419
|
__props__.__dict__["organization_id"] = organization_id
|
|
382
420
|
__props__.__dict__["status"] = status
|
|
421
|
+
__props__.__dict__["tags"] = tags
|
|
383
422
|
__props__.__dict__["type"] = type
|
|
384
423
|
__props__.__dict__["updated_at"] = updated_at
|
|
385
424
|
return IamUser(resource_name, opts=opts, __props__=__props__)
|
|
@@ -448,6 +487,14 @@ class IamUser(pulumi.CustomResource):
|
|
|
448
487
|
"""
|
|
449
488
|
return pulumi.get(self, "status")
|
|
450
489
|
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter
|
|
492
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
493
|
+
"""
|
|
494
|
+
The tags associated with the user.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "tags")
|
|
497
|
+
|
|
451
498
|
@property
|
|
452
499
|
@pulumi.getter
|
|
453
500
|
def type(self) -> pulumi.Output[str]:
|