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
|
@@ -24,7 +24,8 @@ class FunctionNamespaceArgs:
|
|
|
24
24
|
name: Optional[pulumi.Input[str]] = None,
|
|
25
25
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
region: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None
|
|
27
|
+
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
28
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a FunctionNamespace resource.
|
|
30
31
|
:param pulumi.Input[str] description: The description of the namespace.
|
|
@@ -35,6 +36,7 @@ class FunctionNamespaceArgs:
|
|
|
35
36
|
:param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
|
|
36
37
|
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
37
38
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
|
|
39
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
38
40
|
"""
|
|
39
41
|
if description is not None:
|
|
40
42
|
pulumi.set(__self__, "description", description)
|
|
@@ -48,6 +50,8 @@ class FunctionNamespaceArgs:
|
|
|
48
50
|
pulumi.set(__self__, "region", region)
|
|
49
51
|
if secret_environment_variables is not None:
|
|
50
52
|
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
|
53
|
+
if tags is not None:
|
|
54
|
+
pulumi.set(__self__, "tags", tags)
|
|
51
55
|
|
|
52
56
|
@property
|
|
53
57
|
@pulumi.getter
|
|
@@ -123,6 +127,18 @@ class FunctionNamespaceArgs:
|
|
|
123
127
|
def secret_environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
124
128
|
pulumi.set(self, "secret_environment_variables", value)
|
|
125
129
|
|
|
130
|
+
@property
|
|
131
|
+
@pulumi.getter
|
|
132
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
133
|
+
"""
|
|
134
|
+
List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
135
|
+
"""
|
|
136
|
+
return pulumi.get(self, "tags")
|
|
137
|
+
|
|
138
|
+
@tags.setter
|
|
139
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
140
|
+
pulumi.set(self, "tags", value)
|
|
141
|
+
|
|
126
142
|
|
|
127
143
|
@pulumi.input_type
|
|
128
144
|
class _FunctionNamespaceState:
|
|
@@ -135,7 +151,8 @@ class _FunctionNamespaceState:
|
|
|
135
151
|
region: Optional[pulumi.Input[str]] = None,
|
|
136
152
|
registry_endpoint: Optional[pulumi.Input[str]] = None,
|
|
137
153
|
registry_namespace_id: Optional[pulumi.Input[str]] = None,
|
|
138
|
-
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None
|
|
154
|
+
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
155
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
139
156
|
"""
|
|
140
157
|
Input properties used for looking up and filtering FunctionNamespace resources.
|
|
141
158
|
:param pulumi.Input[str] description: The description of the namespace.
|
|
@@ -149,6 +166,7 @@ class _FunctionNamespaceState:
|
|
|
149
166
|
:param pulumi.Input[str] registry_endpoint: The registry endpoint of the namespace.
|
|
150
167
|
:param pulumi.Input[str] registry_namespace_id: The registry namespace ID of the namespace.
|
|
151
168
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
|
|
169
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
152
170
|
"""
|
|
153
171
|
if description is not None:
|
|
154
172
|
pulumi.set(__self__, "description", description)
|
|
@@ -168,6 +186,8 @@ class _FunctionNamespaceState:
|
|
|
168
186
|
pulumi.set(__self__, "registry_namespace_id", registry_namespace_id)
|
|
169
187
|
if secret_environment_variables is not None:
|
|
170
188
|
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
|
189
|
+
if tags is not None:
|
|
190
|
+
pulumi.set(__self__, "tags", tags)
|
|
171
191
|
|
|
172
192
|
@property
|
|
173
193
|
@pulumi.getter
|
|
@@ -279,6 +299,18 @@ class _FunctionNamespaceState:
|
|
|
279
299
|
def secret_environment_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
280
300
|
pulumi.set(self, "secret_environment_variables", value)
|
|
281
301
|
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter
|
|
304
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
305
|
+
"""
|
|
306
|
+
List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "tags")
|
|
309
|
+
|
|
310
|
+
@tags.setter
|
|
311
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
312
|
+
pulumi.set(self, "tags", value)
|
|
313
|
+
|
|
282
314
|
|
|
283
315
|
class FunctionNamespace(pulumi.CustomResource):
|
|
284
316
|
@overload
|
|
@@ -291,12 +323,13 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
291
323
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
292
324
|
region: Optional[pulumi.Input[str]] = None,
|
|
293
325
|
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
326
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
294
327
|
__props__=None):
|
|
295
328
|
"""
|
|
296
329
|
The `FunctionNamespace` resource allows you to
|
|
297
330
|
for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
|
|
298
331
|
|
|
299
|
-
Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-
|
|
332
|
+
Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-manage-delete-functions-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces) for more information.
|
|
300
333
|
|
|
301
334
|
## Example Usage
|
|
302
335
|
|
|
@@ -329,6 +362,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
329
362
|
:param pulumi.Input[str] project_id: `project_id`) The unique identifier of the project that contains the namespace.
|
|
330
363
|
:param pulumi.Input[str] region: `region`). The region in which the namespace is created.
|
|
331
364
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
|
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
332
366
|
"""
|
|
333
367
|
...
|
|
334
368
|
@overload
|
|
@@ -340,7 +374,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
340
374
|
The `FunctionNamespace` resource allows you to
|
|
341
375
|
for Scaleway [Serverless Functions](https://www.scaleway.com/en/docs/serverless/functions/).
|
|
342
376
|
|
|
343
|
-
Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-
|
|
377
|
+
Refer to the Functions namespace [documentation](https://www.scaleway.com/en/docs/serverless/functions/how-to/create-manage-delete-functions-namespace/) and [API documentation](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces) for more information.
|
|
344
378
|
|
|
345
379
|
## Example Usage
|
|
346
380
|
|
|
@@ -384,6 +418,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
384
418
|
project_id: Optional[pulumi.Input[str]] = None,
|
|
385
419
|
region: Optional[pulumi.Input[str]] = None,
|
|
386
420
|
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
421
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
387
422
|
__props__=None):
|
|
388
423
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
389
424
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -399,6 +434,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
399
434
|
__props__.__dict__["project_id"] = project_id
|
|
400
435
|
__props__.__dict__["region"] = region
|
|
401
436
|
__props__.__dict__["secret_environment_variables"] = None if secret_environment_variables is None else pulumi.Output.secret(secret_environment_variables)
|
|
437
|
+
__props__.__dict__["tags"] = tags
|
|
402
438
|
__props__.__dict__["organization_id"] = None
|
|
403
439
|
__props__.__dict__["registry_endpoint"] = None
|
|
404
440
|
__props__.__dict__["registry_namespace_id"] = None
|
|
@@ -422,7 +458,8 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
422
458
|
region: Optional[pulumi.Input[str]] = None,
|
|
423
459
|
registry_endpoint: Optional[pulumi.Input[str]] = None,
|
|
424
460
|
registry_namespace_id: Optional[pulumi.Input[str]] = None,
|
|
425
|
-
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None
|
|
461
|
+
secret_environment_variables: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
462
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'FunctionNamespace':
|
|
426
463
|
"""
|
|
427
464
|
Get an existing FunctionNamespace resource's state with the given name, id, and optional extra
|
|
428
465
|
properties used to qualify the lookup.
|
|
@@ -441,6 +478,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
441
478
|
:param pulumi.Input[str] registry_endpoint: The registry endpoint of the namespace.
|
|
442
479
|
:param pulumi.Input[str] registry_namespace_id: The registry namespace ID of the namespace.
|
|
443
480
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] secret_environment_variables: The secret environment variables of the namespace.
|
|
481
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
444
482
|
"""
|
|
445
483
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
446
484
|
|
|
@@ -455,6 +493,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
455
493
|
__props__.__dict__["registry_endpoint"] = registry_endpoint
|
|
456
494
|
__props__.__dict__["registry_namespace_id"] = registry_namespace_id
|
|
457
495
|
__props__.__dict__["secret_environment_variables"] = secret_environment_variables
|
|
496
|
+
__props__.__dict__["tags"] = tags
|
|
458
497
|
return FunctionNamespace(resource_name, opts=opts, __props__=__props__)
|
|
459
498
|
|
|
460
499
|
@property
|
|
@@ -531,3 +570,11 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
|
531
570
|
"""
|
|
532
571
|
return pulumi.get(self, "secret_environment_variables")
|
|
533
572
|
|
|
573
|
+
@property
|
|
574
|
+
@pulumi.getter
|
|
575
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
576
|
+
"""
|
|
577
|
+
List of tags ["tag1", "tag2", ...] attached to the function namespace
|
|
578
|
+
"""
|
|
579
|
+
return pulumi.get(self, "tags")
|
|
580
|
+
|
|
@@ -27,7 +27,7 @@ class GetBaremetalServerResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getBaremetalServer.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, description=None, domain=None, hostname=None, id=None, install_config_afterward=None, ips=None, ipv4s=None, ipv6s=None, name=None, offer=None, offer_id=None, offer_name=None, options=None, organization_id=None, os=None, os_name=None, password=None, private_networks=None, project_id=None, reinstall_on_config_changes=None, server_id=None, service_password=None, service_user=None, ssh_key_ids=None, tags=None, user=None, zone=None):
|
|
30
|
+
def __init__(__self__, description=None, domain=None, hostname=None, id=None, install_config_afterward=None, ips=None, ipv4s=None, ipv6s=None, name=None, offer=None, offer_id=None, offer_name=None, options=None, organization_id=None, os=None, os_name=None, partitioning=None, password=None, private_networks=None, project_id=None, reinstall_on_config_changes=None, server_id=None, service_password=None, service_user=None, ssh_key_ids=None, tags=None, user=None, zone=None):
|
|
31
31
|
if description and not isinstance(description, str):
|
|
32
32
|
raise TypeError("Expected argument 'description' to be a str")
|
|
33
33
|
pulumi.set(__self__, "description", description)
|
|
@@ -76,6 +76,9 @@ class GetBaremetalServerResult:
|
|
|
76
76
|
if os_name and not isinstance(os_name, str):
|
|
77
77
|
raise TypeError("Expected argument 'os_name' to be a str")
|
|
78
78
|
pulumi.set(__self__, "os_name", os_name)
|
|
79
|
+
if partitioning and not isinstance(partitioning, str):
|
|
80
|
+
raise TypeError("Expected argument 'partitioning' to be a str")
|
|
81
|
+
pulumi.set(__self__, "partitioning", partitioning)
|
|
79
82
|
if password and not isinstance(password, str):
|
|
80
83
|
raise TypeError("Expected argument 'password' to be a str")
|
|
81
84
|
pulumi.set(__self__, "password", password)
|
|
@@ -193,6 +196,11 @@ class GetBaremetalServerResult:
|
|
|
193
196
|
def os_name(self) -> str:
|
|
194
197
|
return pulumi.get(self, "os_name")
|
|
195
198
|
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter
|
|
201
|
+
def partitioning(self) -> str:
|
|
202
|
+
return pulumi.get(self, "partitioning")
|
|
203
|
+
|
|
196
204
|
@property
|
|
197
205
|
@pulumi.getter
|
|
198
206
|
def password(self) -> str:
|
|
@@ -271,6 +279,7 @@ class AwaitableGetBaremetalServerResult(GetBaremetalServerResult):
|
|
|
271
279
|
organization_id=self.organization_id,
|
|
272
280
|
os=self.os,
|
|
273
281
|
os_name=self.os_name,
|
|
282
|
+
partitioning=self.partitioning,
|
|
274
283
|
password=self.password,
|
|
275
284
|
private_networks=self.private_networks,
|
|
276
285
|
project_id=self.project_id,
|
|
@@ -336,6 +345,7 @@ def get_baremetal_server(name: Optional[str] = None,
|
|
|
336
345
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
337
346
|
os=pulumi.get(__ret__, 'os'),
|
|
338
347
|
os_name=pulumi.get(__ret__, 'os_name'),
|
|
348
|
+
partitioning=pulumi.get(__ret__, 'partitioning'),
|
|
339
349
|
password=pulumi.get(__ret__, 'password'),
|
|
340
350
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
|
341
351
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
@@ -398,6 +408,7 @@ def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
398
408
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
399
409
|
os=pulumi.get(__response__, 'os'),
|
|
400
410
|
os_name=pulumi.get(__response__, 'os_name'),
|
|
411
|
+
partitioning=pulumi.get(__response__, 'partitioning'),
|
|
401
412
|
password=pulumi.get(__response__, 'password'),
|
|
402
413
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
|
403
414
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
@@ -26,7 +26,7 @@ class GetContainerNamespaceResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getContainerNamespace.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, description=None, destroy_registry=None, environment_variables=None, id=None, name=None, namespace_id=None, organization_id=None, project_id=None, region=None, registry_endpoint=None, registry_namespace_id=None, secret_environment_variables=None):
|
|
29
|
+
def __init__(__self__, description=None, destroy_registry=None, environment_variables=None, id=None, name=None, namespace_id=None, organization_id=None, project_id=None, region=None, registry_endpoint=None, registry_namespace_id=None, secret_environment_variables=None, tags=None):
|
|
30
30
|
if description and not isinstance(description, str):
|
|
31
31
|
raise TypeError("Expected argument 'description' to be a str")
|
|
32
32
|
pulumi.set(__self__, "description", description)
|
|
@@ -63,6 +63,9 @@ class GetContainerNamespaceResult:
|
|
|
63
63
|
if secret_environment_variables and not isinstance(secret_environment_variables, dict):
|
|
64
64
|
raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
|
|
65
65
|
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
|
66
|
+
if tags and not isinstance(tags, list):
|
|
67
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
68
|
+
pulumi.set(__self__, "tags", tags)
|
|
66
69
|
|
|
67
70
|
@property
|
|
68
71
|
@pulumi.getter
|
|
@@ -142,6 +145,11 @@ class GetContainerNamespaceResult:
|
|
|
142
145
|
def secret_environment_variables(self) -> Mapping[str, str]:
|
|
143
146
|
return pulumi.get(self, "secret_environment_variables")
|
|
144
147
|
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def tags(self) -> Sequence[str]:
|
|
151
|
+
return pulumi.get(self, "tags")
|
|
152
|
+
|
|
145
153
|
|
|
146
154
|
class AwaitableGetContainerNamespaceResult(GetContainerNamespaceResult):
|
|
147
155
|
# pylint: disable=using-constant-test
|
|
@@ -160,7 +168,8 @@ class AwaitableGetContainerNamespaceResult(GetContainerNamespaceResult):
|
|
|
160
168
|
region=self.region,
|
|
161
169
|
registry_endpoint=self.registry_endpoint,
|
|
162
170
|
registry_namespace_id=self.registry_namespace_id,
|
|
163
|
-
secret_environment_variables=self.secret_environment_variables
|
|
171
|
+
secret_environment_variables=self.secret_environment_variables,
|
|
172
|
+
tags=self.tags)
|
|
164
173
|
|
|
165
174
|
|
|
166
175
|
def get_container_namespace(name: Optional[str] = None,
|
|
@@ -216,7 +225,8 @@ def get_container_namespace(name: Optional[str] = None,
|
|
|
216
225
|
region=pulumi.get(__ret__, 'region'),
|
|
217
226
|
registry_endpoint=pulumi.get(__ret__, 'registry_endpoint'),
|
|
218
227
|
registry_namespace_id=pulumi.get(__ret__, 'registry_namespace_id'),
|
|
219
|
-
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables')
|
|
228
|
+
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
|
|
229
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
220
230
|
def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
221
231
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
232
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -269,4 +279,5 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
269
279
|
region=pulumi.get(__response__, 'region'),
|
|
270
280
|
registry_endpoint=pulumi.get(__response__, 'registry_endpoint'),
|
|
271
281
|
registry_namespace_id=pulumi.get(__response__, 'registry_namespace_id'),
|
|
272
|
-
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')
|
|
282
|
+
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
|
|
283
|
+
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -26,7 +26,7 @@ class GetFunctionNamespaceResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getFunctionNamespace.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, description=None, environment_variables=None, id=None, name=None, namespace_id=None, organization_id=None, project_id=None, region=None, registry_endpoint=None, registry_namespace_id=None, secret_environment_variables=None):
|
|
29
|
+
def __init__(__self__, description=None, environment_variables=None, id=None, name=None, namespace_id=None, organization_id=None, project_id=None, region=None, registry_endpoint=None, registry_namespace_id=None, secret_environment_variables=None, tags=None):
|
|
30
30
|
if description and not isinstance(description, str):
|
|
31
31
|
raise TypeError("Expected argument 'description' to be a str")
|
|
32
32
|
pulumi.set(__self__, "description", description)
|
|
@@ -60,6 +60,9 @@ class GetFunctionNamespaceResult:
|
|
|
60
60
|
if secret_environment_variables and not isinstance(secret_environment_variables, dict):
|
|
61
61
|
raise TypeError("Expected argument 'secret_environment_variables' to be a dict")
|
|
62
62
|
pulumi.set(__self__, "secret_environment_variables", secret_environment_variables)
|
|
63
|
+
if tags and not isinstance(tags, list):
|
|
64
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
65
|
+
pulumi.set(__self__, "tags", tags)
|
|
63
66
|
|
|
64
67
|
@property
|
|
65
68
|
@pulumi.getter
|
|
@@ -134,6 +137,11 @@ class GetFunctionNamespaceResult:
|
|
|
134
137
|
def secret_environment_variables(self) -> Mapping[str, str]:
|
|
135
138
|
return pulumi.get(self, "secret_environment_variables")
|
|
136
139
|
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def tags(self) -> Sequence[str]:
|
|
143
|
+
return pulumi.get(self, "tags")
|
|
144
|
+
|
|
137
145
|
|
|
138
146
|
class AwaitableGetFunctionNamespaceResult(GetFunctionNamespaceResult):
|
|
139
147
|
# pylint: disable=using-constant-test
|
|
@@ -151,7 +159,8 @@ class AwaitableGetFunctionNamespaceResult(GetFunctionNamespaceResult):
|
|
|
151
159
|
region=self.region,
|
|
152
160
|
registry_endpoint=self.registry_endpoint,
|
|
153
161
|
registry_namespace_id=self.registry_namespace_id,
|
|
154
|
-
secret_environment_variables=self.secret_environment_variables
|
|
162
|
+
secret_environment_variables=self.secret_environment_variables,
|
|
163
|
+
tags=self.tags)
|
|
155
164
|
|
|
156
165
|
|
|
157
166
|
def get_function_namespace(name: Optional[str] = None,
|
|
@@ -189,7 +198,8 @@ def get_function_namespace(name: Optional[str] = None,
|
|
|
189
198
|
region=pulumi.get(__ret__, 'region'),
|
|
190
199
|
registry_endpoint=pulumi.get(__ret__, 'registry_endpoint'),
|
|
191
200
|
registry_namespace_id=pulumi.get(__ret__, 'registry_namespace_id'),
|
|
192
|
-
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables')
|
|
201
|
+
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'),
|
|
202
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
193
203
|
def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
194
204
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
205
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -224,4 +234,5 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
224
234
|
region=pulumi.get(__response__, 'region'),
|
|
225
235
|
registry_endpoint=pulumi.get(__response__, 'registry_endpoint'),
|
|
226
236
|
registry_namespace_id=pulumi.get(__response__, 'registry_namespace_id'),
|
|
227
|
-
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')
|
|
237
|
+
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables'),
|
|
238
|
+
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -26,7 +26,7 @@ class GetIamUserResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getIamUser.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, email=None, id=None, organization_id=None, user_id=None):
|
|
29
|
+
def __init__(__self__, email=None, id=None, organization_id=None, tags=None, user_id=None):
|
|
30
30
|
if email and not isinstance(email, str):
|
|
31
31
|
raise TypeError("Expected argument 'email' to be a str")
|
|
32
32
|
pulumi.set(__self__, "email", email)
|
|
@@ -36,6 +36,9 @@ class GetIamUserResult:
|
|
|
36
36
|
if organization_id and not isinstance(organization_id, str):
|
|
37
37
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
38
38
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
39
|
+
if tags and not isinstance(tags, list):
|
|
40
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
|
41
|
+
pulumi.set(__self__, "tags", tags)
|
|
39
42
|
if user_id and not isinstance(user_id, str):
|
|
40
43
|
raise TypeError("Expected argument 'user_id' to be a str")
|
|
41
44
|
pulumi.set(__self__, "user_id", user_id)
|
|
@@ -58,6 +61,14 @@ class GetIamUserResult:
|
|
|
58
61
|
def organization_id(self) -> Optional[str]:
|
|
59
62
|
return pulumi.get(self, "organization_id")
|
|
60
63
|
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def tags(self) -> Optional[Sequence[str]]:
|
|
67
|
+
"""
|
|
68
|
+
The tags associated with the user.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "tags")
|
|
71
|
+
|
|
61
72
|
@property
|
|
62
73
|
@pulumi.getter(name="userId")
|
|
63
74
|
def user_id(self) -> Optional[str]:
|
|
@@ -73,11 +84,13 @@ class AwaitableGetIamUserResult(GetIamUserResult):
|
|
|
73
84
|
email=self.email,
|
|
74
85
|
id=self.id,
|
|
75
86
|
organization_id=self.organization_id,
|
|
87
|
+
tags=self.tags,
|
|
76
88
|
user_id=self.user_id)
|
|
77
89
|
|
|
78
90
|
|
|
79
91
|
def get_iam_user(email: Optional[str] = None,
|
|
80
92
|
organization_id: Optional[str] = None,
|
|
93
|
+
tags: Optional[Sequence[str]] = None,
|
|
81
94
|
user_id: Optional[str] = None,
|
|
82
95
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamUserResult:
|
|
83
96
|
"""
|
|
@@ -100,6 +113,7 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
100
113
|
:param str email: The email address of the IAM user.
|
|
101
114
|
:param str organization_id: `organization_id`) The ID of the
|
|
102
115
|
organization the user is associated with.
|
|
116
|
+
:param Sequence[str] tags: The tags associated with the user.
|
|
103
117
|
:param str user_id: The ID of the IAM user.
|
|
104
118
|
|
|
105
119
|
> **Note** You must specify at least one: `name` and/or `user_id`.
|
|
@@ -107,6 +121,7 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
107
121
|
__args__ = dict()
|
|
108
122
|
__args__['email'] = email
|
|
109
123
|
__args__['organizationId'] = organization_id
|
|
124
|
+
__args__['tags'] = tags
|
|
110
125
|
__args__['userId'] = user_id
|
|
111
126
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
112
127
|
__ret__ = pulumi.runtime.invoke('scaleway:index/getIamUser:getIamUser', __args__, opts=opts, typ=GetIamUserResult).value
|
|
@@ -115,9 +130,11 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
115
130
|
email=pulumi.get(__ret__, 'email'),
|
|
116
131
|
id=pulumi.get(__ret__, 'id'),
|
|
117
132
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
133
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
118
134
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
119
135
|
def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
120
136
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
137
|
+
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
121
138
|
user_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
122
139
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamUserResult]:
|
|
123
140
|
"""
|
|
@@ -140,6 +157,7 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
140
157
|
:param str email: The email address of the IAM user.
|
|
141
158
|
:param str organization_id: `organization_id`) The ID of the
|
|
142
159
|
organization the user is associated with.
|
|
160
|
+
:param Sequence[str] tags: The tags associated with the user.
|
|
143
161
|
:param str user_id: The ID of the IAM user.
|
|
144
162
|
|
|
145
163
|
> **Note** You must specify at least one: `name` and/or `user_id`.
|
|
@@ -147,6 +165,7 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
147
165
|
__args__ = dict()
|
|
148
166
|
__args__['email'] = email
|
|
149
167
|
__args__['organizationId'] = organization_id
|
|
168
|
+
__args__['tags'] = tags
|
|
150
169
|
__args__['userId'] = user_id
|
|
151
170
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
171
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamUser:getIamUser', __args__, opts=opts, typ=GetIamUserResult)
|
|
@@ -154,4 +173,5 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
154
173
|
email=pulumi.get(__response__, 'email'),
|
|
155
174
|
id=pulumi.get(__response__, 'id'),
|
|
156
175
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
176
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
157
177
|
user_id=pulumi.get(__response__, 'user_id')))
|
|
@@ -102,7 +102,7 @@ class GetLoadbalancerIpResult:
|
|
|
102
102
|
|
|
103
103
|
@property
|
|
104
104
|
@pulumi.getter(name="projectId")
|
|
105
|
-
def project_id(self) -> str:
|
|
105
|
+
def project_id(self) -> Optional[str]:
|
|
106
106
|
return pulumi.get(self, "project_id")
|
|
107
107
|
|
|
108
108
|
@property
|
|
@@ -128,7 +128,7 @@ class GetLoadbalancerIpResult:
|
|
|
128
128
|
|
|
129
129
|
@property
|
|
130
130
|
@pulumi.getter
|
|
131
|
-
def zone(self) -> str:
|
|
131
|
+
def zone(self) -> Optional[str]:
|
|
132
132
|
return pulumi.get(self, "zone")
|
|
133
133
|
|
|
134
134
|
|
|
@@ -154,6 +154,7 @@ class AwaitableGetLoadbalancerIpResult(GetLoadbalancerIpResult):
|
|
|
154
154
|
def get_loadbalancer_ip(ip_address: Optional[str] = None,
|
|
155
155
|
ip_id: Optional[str] = None,
|
|
156
156
|
project_id: Optional[str] = None,
|
|
157
|
+
zone: Optional[str] = None,
|
|
157
158
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadbalancerIpResult:
|
|
158
159
|
"""
|
|
159
160
|
Gets information about a Load Balancer IP address.
|
|
@@ -166,11 +167,13 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None,
|
|
|
166
167
|
:param str ip_id: The IP ID.
|
|
167
168
|
Only one of `ip_address` and `ip_id` should be specified.
|
|
168
169
|
:param str project_id: The ID of the Project the Load Balancer IP is associated with.
|
|
170
|
+
:param str zone: `zone`) The zone in which the IP was reserved.
|
|
169
171
|
"""
|
|
170
172
|
__args__ = dict()
|
|
171
173
|
__args__['ipAddress'] = ip_address
|
|
172
174
|
__args__['ipId'] = ip_id
|
|
173
175
|
__args__['projectId'] = project_id
|
|
176
|
+
__args__['zone'] = zone
|
|
174
177
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
175
178
|
__ret__ = pulumi.runtime.invoke('scaleway:index/getLoadbalancerIp:getLoadbalancerIp', __args__, opts=opts, typ=GetLoadbalancerIpResult).value
|
|
176
179
|
|
|
@@ -189,6 +192,7 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None,
|
|
|
189
192
|
def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
190
193
|
ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
191
194
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
|
+
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
192
196
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadbalancerIpResult]:
|
|
193
197
|
"""
|
|
194
198
|
Gets information about a Load Balancer IP address.
|
|
@@ -201,11 +205,13 @@ def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]]
|
|
|
201
205
|
:param str ip_id: The IP ID.
|
|
202
206
|
Only one of `ip_address` and `ip_id` should be specified.
|
|
203
207
|
:param str project_id: The ID of the Project the Load Balancer IP is associated with.
|
|
208
|
+
:param str zone: `zone`) The zone in which the IP was reserved.
|
|
204
209
|
"""
|
|
205
210
|
__args__ = dict()
|
|
206
211
|
__args__['ipAddress'] = ip_address
|
|
207
212
|
__args__['ipId'] = ip_id
|
|
208
213
|
__args__['projectId'] = project_id
|
|
214
|
+
__args__['zone'] = zone
|
|
209
215
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
210
216
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getLoadbalancerIp:getLoadbalancerIp', __args__, opts=opts, typ=GetLoadbalancerIpResult)
|
|
211
217
|
return __ret__.apply(lambda __response__: GetLoadbalancerIpResult(
|