pulumiverse-scaleway 1.21.0a1733208048__py3-none-any.whl → 1.21.1__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/_inputs.py +18 -15
- pulumiverse_scaleway/baremetal_server.py +47 -0
- 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/iam_user.py +48 -1
- pulumiverse_scaleway/instance_server.py +11 -15
- pulumiverse_scaleway/loadbalancer.py +38 -72
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -0
- pulumiverse_scaleway/outputs.py +12 -10
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.21.0a1733208048.dist-info → pulumiverse_scaleway-1.21.1.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.21.0a1733208048.dist-info → pulumiverse_scaleway-1.21.1.dist-info}/RECORD +19 -19
- {pulumiverse_scaleway-1.21.0a1733208048.dist-info → pulumiverse_scaleway-1.21.1.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.21.0a1733208048.dist-info → pulumiverse_scaleway-1.21.1.dist-info}/top_level.txt +0 -0
|
@@ -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(
|
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]:
|
|
@@ -88,7 +88,7 @@ class InstanceServerArgs:
|
|
|
88
88
|
:param pulumi.Input[bool] routed_ip_enabled: If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
89
89
|
|
|
90
90
|
> **Important:** Enabling routed ip will restart the server
|
|
91
|
-
:param pulumi.Input[str] security_group_id: The
|
|
91
|
+
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
92
92
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
93
93
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
94
94
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
|
|
@@ -401,7 +401,7 @@ class InstanceServerArgs:
|
|
|
401
401
|
@pulumi.getter(name="securityGroupId")
|
|
402
402
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
403
403
|
"""
|
|
404
|
-
The
|
|
404
|
+
The security group the server is attached to
|
|
405
405
|
"""
|
|
406
406
|
return pulumi.get(self, "security_group_id")
|
|
407
407
|
|
|
@@ -544,7 +544,7 @@ class _InstanceServerState:
|
|
|
544
544
|
:param pulumi.Input[bool] routed_ip_enabled: If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
545
545
|
|
|
546
546
|
> **Important:** Enabling routed ip will restart the server
|
|
547
|
-
:param pulumi.Input[str] security_group_id: The
|
|
547
|
+
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
548
548
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
549
549
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
550
550
|
:param pulumi.Input[str] type: The commercial type of the server.
|
|
@@ -964,7 +964,7 @@ class _InstanceServerState:
|
|
|
964
964
|
@pulumi.getter(name="securityGroupId")
|
|
965
965
|
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
966
966
|
"""
|
|
967
|
-
The
|
|
967
|
+
The security group the server is attached to
|
|
968
968
|
"""
|
|
969
969
|
return pulumi.get(self, "security_group_id")
|
|
970
970
|
|
|
@@ -1240,10 +1240,8 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1240
1240
|
- `status` The private NIC state.
|
|
1241
1241
|
- `zone` - (Defaults to provider `zone`) The zone in which the server must be created.
|
|
1242
1242
|
|
|
1243
|
-
> **Important:**
|
|
1244
|
-
|
|
1245
|
-
- You can only attach an instance in the same zone as a private network.
|
|
1246
|
-
- Instance supports maximum 8 different private networks.
|
|
1243
|
+
> **Important:** You can only attach an instance in the same zone as a private network.
|
|
1244
|
+
**Important:** Instance supports a maximum of 8 different private networks.
|
|
1247
1245
|
|
|
1248
1246
|
## Import
|
|
1249
1247
|
|
|
@@ -1293,7 +1291,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1293
1291
|
:param pulumi.Input[bool] routed_ip_enabled: If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
1294
1292
|
|
|
1295
1293
|
> **Important:** Enabling routed ip will restart the server
|
|
1296
|
-
:param pulumi.Input[str] security_group_id: The
|
|
1294
|
+
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
1297
1295
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
1298
1296
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
1299
1297
|
:param pulumi.Input[str] type: The commercial type of the server.
|
|
@@ -1484,10 +1482,8 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1484
1482
|
- `status` The private NIC state.
|
|
1485
1483
|
- `zone` - (Defaults to provider `zone`) The zone in which the server must be created.
|
|
1486
1484
|
|
|
1487
|
-
> **Important:**
|
|
1488
|
-
|
|
1489
|
-
- You can only attach an instance in the same zone as a private network.
|
|
1490
|
-
- Instance supports maximum 8 different private networks.
|
|
1485
|
+
> **Important:** You can only attach an instance in the same zone as a private network.
|
|
1486
|
+
**Important:** Instance supports a maximum of 8 different private networks.
|
|
1491
1487
|
|
|
1492
1488
|
## Import
|
|
1493
1489
|
|
|
@@ -1671,7 +1667,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1671
1667
|
:param pulumi.Input[bool] routed_ip_enabled: If true, the server will support routed ips only. Changing it to true will migrate the server and its IP to routed type.
|
|
1672
1668
|
|
|
1673
1669
|
> **Important:** Enabling routed ip will restart the server
|
|
1674
|
-
:param pulumi.Input[str] security_group_id: The
|
|
1670
|
+
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
1675
1671
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
1676
1672
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
1677
1673
|
:param pulumi.Input[str] type: The commercial type of the server.
|
|
@@ -1949,7 +1945,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1949
1945
|
@pulumi.getter(name="securityGroupId")
|
|
1950
1946
|
def security_group_id(self) -> pulumi.Output[str]:
|
|
1951
1947
|
"""
|
|
1952
|
-
The
|
|
1948
|
+
The security group the server is attached to
|
|
1953
1949
|
"""
|
|
1954
1950
|
return pulumi.get(self, "security_group_id")
|
|
1955
1951
|
|