pulumiverse-scaleway 1.21.0__py3-none-any.whl → 1.21.0a1730725353__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 +15 -18
- pulumiverse_scaleway/baremetal_server.py +0 -47
- pulumiverse_scaleway/container_namespace.py +5 -52
- pulumiverse_scaleway/function_namespace.py +5 -52
- pulumiverse_scaleway/get_baremetal_server.py +1 -12
- pulumiverse_scaleway/get_container_namespace.py +4 -15
- pulumiverse_scaleway/get_function_namespace.py +4 -15
- pulumiverse_scaleway/get_iam_user.py +1 -21
- pulumiverse_scaleway/get_loadbalancer_ip.py +2 -8
- pulumiverse_scaleway/iam_user.py +1 -48
- pulumiverse_scaleway/instance_server.py +15 -11
- pulumiverse_scaleway/loadbalancer.py +72 -38
- pulumiverse_scaleway/mnq_nats_credentials.py +0 -2
- pulumiverse_scaleway/outputs.py +10 -12
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.21.0.dist-info → pulumiverse_scaleway-1.21.0a1730725353.dist-info}/METADATA +19 -27
- {pulumiverse_scaleway-1.21.0.dist-info → pulumiverse_scaleway-1.21.0a1730725353.dist-info}/RECORD +19 -19
- {pulumiverse_scaleway-1.21.0.dist-info → pulumiverse_scaleway-1.21.0a1730725353.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.21.0.dist-info → pulumiverse_scaleway-1.21.0a1730725353.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,
|
|
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):
|
|
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,9 +76,6 @@ 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)
|
|
82
79
|
if password and not isinstance(password, str):
|
|
83
80
|
raise TypeError("Expected argument 'password' to be a str")
|
|
84
81
|
pulumi.set(__self__, "password", password)
|
|
@@ -196,11 +193,6 @@ class GetBaremetalServerResult:
|
|
|
196
193
|
def os_name(self) -> str:
|
|
197
194
|
return pulumi.get(self, "os_name")
|
|
198
195
|
|
|
199
|
-
@property
|
|
200
|
-
@pulumi.getter
|
|
201
|
-
def partitioning(self) -> str:
|
|
202
|
-
return pulumi.get(self, "partitioning")
|
|
203
|
-
|
|
204
196
|
@property
|
|
205
197
|
@pulumi.getter
|
|
206
198
|
def password(self) -> str:
|
|
@@ -279,7 +271,6 @@ class AwaitableGetBaremetalServerResult(GetBaremetalServerResult):
|
|
|
279
271
|
organization_id=self.organization_id,
|
|
280
272
|
os=self.os,
|
|
281
273
|
os_name=self.os_name,
|
|
282
|
-
partitioning=self.partitioning,
|
|
283
274
|
password=self.password,
|
|
284
275
|
private_networks=self.private_networks,
|
|
285
276
|
project_id=self.project_id,
|
|
@@ -345,7 +336,6 @@ def get_baremetal_server(name: Optional[str] = None,
|
|
|
345
336
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
346
337
|
os=pulumi.get(__ret__, 'os'),
|
|
347
338
|
os_name=pulumi.get(__ret__, 'os_name'),
|
|
348
|
-
partitioning=pulumi.get(__ret__, 'partitioning'),
|
|
349
339
|
password=pulumi.get(__ret__, 'password'),
|
|
350
340
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
|
351
341
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
@@ -408,7 +398,6 @@ def get_baremetal_server_output(name: Optional[pulumi.Input[Optional[str]]] = No
|
|
|
408
398
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
409
399
|
os=pulumi.get(__response__, 'os'),
|
|
410
400
|
os_name=pulumi.get(__response__, 'os_name'),
|
|
411
|
-
partitioning=pulumi.get(__response__, 'partitioning'),
|
|
412
401
|
password=pulumi.get(__response__, 'password'),
|
|
413
402
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
|
414
403
|
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):
|
|
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,9 +63,6 @@ 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)
|
|
69
66
|
|
|
70
67
|
@property
|
|
71
68
|
@pulumi.getter
|
|
@@ -145,11 +142,6 @@ class GetContainerNamespaceResult:
|
|
|
145
142
|
def secret_environment_variables(self) -> Mapping[str, str]:
|
|
146
143
|
return pulumi.get(self, "secret_environment_variables")
|
|
147
144
|
|
|
148
|
-
@property
|
|
149
|
-
@pulumi.getter
|
|
150
|
-
def tags(self) -> Sequence[str]:
|
|
151
|
-
return pulumi.get(self, "tags")
|
|
152
|
-
|
|
153
145
|
|
|
154
146
|
class AwaitableGetContainerNamespaceResult(GetContainerNamespaceResult):
|
|
155
147
|
# pylint: disable=using-constant-test
|
|
@@ -168,8 +160,7 @@ class AwaitableGetContainerNamespaceResult(GetContainerNamespaceResult):
|
|
|
168
160
|
region=self.region,
|
|
169
161
|
registry_endpoint=self.registry_endpoint,
|
|
170
162
|
registry_namespace_id=self.registry_namespace_id,
|
|
171
|
-
secret_environment_variables=self.secret_environment_variables
|
|
172
|
-
tags=self.tags)
|
|
163
|
+
secret_environment_variables=self.secret_environment_variables)
|
|
173
164
|
|
|
174
165
|
|
|
175
166
|
def get_container_namespace(name: Optional[str] = None,
|
|
@@ -225,8 +216,7 @@ def get_container_namespace(name: Optional[str] = None,
|
|
|
225
216
|
region=pulumi.get(__ret__, 'region'),
|
|
226
217
|
registry_endpoint=pulumi.get(__ret__, 'registry_endpoint'),
|
|
227
218
|
registry_namespace_id=pulumi.get(__ret__, 'registry_namespace_id'),
|
|
228
|
-
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables')
|
|
229
|
-
tags=pulumi.get(__ret__, 'tags'))
|
|
219
|
+
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'))
|
|
230
220
|
def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
231
221
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
232
222
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -279,5 +269,4 @@ def get_container_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
279
269
|
region=pulumi.get(__response__, 'region'),
|
|
280
270
|
registry_endpoint=pulumi.get(__response__, 'registry_endpoint'),
|
|
281
271
|
registry_namespace_id=pulumi.get(__response__, 'registry_namespace_id'),
|
|
282
|
-
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')
|
|
283
|
-
tags=pulumi.get(__response__, 'tags')))
|
|
272
|
+
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')))
|
|
@@ -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):
|
|
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,9 +60,6 @@ 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)
|
|
66
63
|
|
|
67
64
|
@property
|
|
68
65
|
@pulumi.getter
|
|
@@ -137,11 +134,6 @@ class GetFunctionNamespaceResult:
|
|
|
137
134
|
def secret_environment_variables(self) -> Mapping[str, str]:
|
|
138
135
|
return pulumi.get(self, "secret_environment_variables")
|
|
139
136
|
|
|
140
|
-
@property
|
|
141
|
-
@pulumi.getter
|
|
142
|
-
def tags(self) -> Sequence[str]:
|
|
143
|
-
return pulumi.get(self, "tags")
|
|
144
|
-
|
|
145
137
|
|
|
146
138
|
class AwaitableGetFunctionNamespaceResult(GetFunctionNamespaceResult):
|
|
147
139
|
# pylint: disable=using-constant-test
|
|
@@ -159,8 +151,7 @@ class AwaitableGetFunctionNamespaceResult(GetFunctionNamespaceResult):
|
|
|
159
151
|
region=self.region,
|
|
160
152
|
registry_endpoint=self.registry_endpoint,
|
|
161
153
|
registry_namespace_id=self.registry_namespace_id,
|
|
162
|
-
secret_environment_variables=self.secret_environment_variables
|
|
163
|
-
tags=self.tags)
|
|
154
|
+
secret_environment_variables=self.secret_environment_variables)
|
|
164
155
|
|
|
165
156
|
|
|
166
157
|
def get_function_namespace(name: Optional[str] = None,
|
|
@@ -198,8 +189,7 @@ def get_function_namespace(name: Optional[str] = None,
|
|
|
198
189
|
region=pulumi.get(__ret__, 'region'),
|
|
199
190
|
registry_endpoint=pulumi.get(__ret__, 'registry_endpoint'),
|
|
200
191
|
registry_namespace_id=pulumi.get(__ret__, 'registry_namespace_id'),
|
|
201
|
-
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables')
|
|
202
|
-
tags=pulumi.get(__ret__, 'tags'))
|
|
192
|
+
secret_environment_variables=pulumi.get(__ret__, 'secret_environment_variables'))
|
|
203
193
|
def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
204
194
|
namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
205
195
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
@@ -234,5 +224,4 @@ def get_function_namespace_output(name: Optional[pulumi.Input[Optional[str]]] =
|
|
|
234
224
|
region=pulumi.get(__response__, 'region'),
|
|
235
225
|
registry_endpoint=pulumi.get(__response__, 'registry_endpoint'),
|
|
236
226
|
registry_namespace_id=pulumi.get(__response__, 'registry_namespace_id'),
|
|
237
|
-
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')
|
|
238
|
-
tags=pulumi.get(__response__, 'tags')))
|
|
227
|
+
secret_environment_variables=pulumi.get(__response__, 'secret_environment_variables')))
|
|
@@ -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,
|
|
29
|
+
def __init__(__self__, email=None, id=None, organization_id=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,9 +36,6 @@ 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)
|
|
42
39
|
if user_id and not isinstance(user_id, str):
|
|
43
40
|
raise TypeError("Expected argument 'user_id' to be a str")
|
|
44
41
|
pulumi.set(__self__, "user_id", user_id)
|
|
@@ -61,14 +58,6 @@ class GetIamUserResult:
|
|
|
61
58
|
def organization_id(self) -> Optional[str]:
|
|
62
59
|
return pulumi.get(self, "organization_id")
|
|
63
60
|
|
|
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
|
-
|
|
72
61
|
@property
|
|
73
62
|
@pulumi.getter(name="userId")
|
|
74
63
|
def user_id(self) -> Optional[str]:
|
|
@@ -84,13 +73,11 @@ class AwaitableGetIamUserResult(GetIamUserResult):
|
|
|
84
73
|
email=self.email,
|
|
85
74
|
id=self.id,
|
|
86
75
|
organization_id=self.organization_id,
|
|
87
|
-
tags=self.tags,
|
|
88
76
|
user_id=self.user_id)
|
|
89
77
|
|
|
90
78
|
|
|
91
79
|
def get_iam_user(email: Optional[str] = None,
|
|
92
80
|
organization_id: Optional[str] = None,
|
|
93
|
-
tags: Optional[Sequence[str]] = None,
|
|
94
81
|
user_id: Optional[str] = None,
|
|
95
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamUserResult:
|
|
96
83
|
"""
|
|
@@ -113,7 +100,6 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
113
100
|
:param str email: The email address of the IAM user.
|
|
114
101
|
:param str organization_id: `organization_id`) The ID of the
|
|
115
102
|
organization the user is associated with.
|
|
116
|
-
:param Sequence[str] tags: The tags associated with the user.
|
|
117
103
|
:param str user_id: The ID of the IAM user.
|
|
118
104
|
|
|
119
105
|
> **Note** You must specify at least one: `name` and/or `user_id`.
|
|
@@ -121,7 +107,6 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
121
107
|
__args__ = dict()
|
|
122
108
|
__args__['email'] = email
|
|
123
109
|
__args__['organizationId'] = organization_id
|
|
124
|
-
__args__['tags'] = tags
|
|
125
110
|
__args__['userId'] = user_id
|
|
126
111
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
127
112
|
__ret__ = pulumi.runtime.invoke('scaleway:index/getIamUser:getIamUser', __args__, opts=opts, typ=GetIamUserResult).value
|
|
@@ -130,11 +115,9 @@ def get_iam_user(email: Optional[str] = None,
|
|
|
130
115
|
email=pulumi.get(__ret__, 'email'),
|
|
131
116
|
id=pulumi.get(__ret__, 'id'),
|
|
132
117
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
133
|
-
tags=pulumi.get(__ret__, 'tags'),
|
|
134
118
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
135
119
|
def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
136
120
|
organization_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
137
|
-
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
138
121
|
user_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
139
122
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIamUserResult]:
|
|
140
123
|
"""
|
|
@@ -157,7 +140,6 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
157
140
|
:param str email: The email address of the IAM user.
|
|
158
141
|
:param str organization_id: `organization_id`) The ID of the
|
|
159
142
|
organization the user is associated with.
|
|
160
|
-
:param Sequence[str] tags: The tags associated with the user.
|
|
161
143
|
:param str user_id: The ID of the IAM user.
|
|
162
144
|
|
|
163
145
|
> **Note** You must specify at least one: `name` and/or `user_id`.
|
|
@@ -165,7 +147,6 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
165
147
|
__args__ = dict()
|
|
166
148
|
__args__['email'] = email
|
|
167
149
|
__args__['organizationId'] = organization_id
|
|
168
|
-
__args__['tags'] = tags
|
|
169
150
|
__args__['userId'] = user_id
|
|
170
151
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
152
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getIamUser:getIamUser', __args__, opts=opts, typ=GetIamUserResult)
|
|
@@ -173,5 +154,4 @@ def get_iam_user_output(email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
173
154
|
email=pulumi.get(__response__, 'email'),
|
|
174
155
|
id=pulumi.get(__response__, 'id'),
|
|
175
156
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
176
|
-
tags=pulumi.get(__response__, 'tags'),
|
|
177
157
|
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) ->
|
|
105
|
+
def project_id(self) -> 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) ->
|
|
131
|
+
def zone(self) -> str:
|
|
132
132
|
return pulumi.get(self, "zone")
|
|
133
133
|
|
|
134
134
|
|
|
@@ -154,7 +154,6 @@ 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,
|
|
158
157
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLoadbalancerIpResult:
|
|
159
158
|
"""
|
|
160
159
|
Gets information about a Load Balancer IP address.
|
|
@@ -167,13 +166,11 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None,
|
|
|
167
166
|
:param str ip_id: The IP ID.
|
|
168
167
|
Only one of `ip_address` and `ip_id` should be specified.
|
|
169
168
|
: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.
|
|
171
169
|
"""
|
|
172
170
|
__args__ = dict()
|
|
173
171
|
__args__['ipAddress'] = ip_address
|
|
174
172
|
__args__['ipId'] = ip_id
|
|
175
173
|
__args__['projectId'] = project_id
|
|
176
|
-
__args__['zone'] = zone
|
|
177
174
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
178
175
|
__ret__ = pulumi.runtime.invoke('scaleway:index/getLoadbalancerIp:getLoadbalancerIp', __args__, opts=opts, typ=GetLoadbalancerIpResult).value
|
|
179
176
|
|
|
@@ -192,7 +189,6 @@ def get_loadbalancer_ip(ip_address: Optional[str] = None,
|
|
|
192
189
|
def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]] = None,
|
|
193
190
|
ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
194
191
|
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
|
-
zone: Optional[pulumi.Input[Optional[str]]] = None,
|
|
196
192
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadbalancerIpResult]:
|
|
197
193
|
"""
|
|
198
194
|
Gets information about a Load Balancer IP address.
|
|
@@ -205,13 +201,11 @@ def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[Optional[str]]]
|
|
|
205
201
|
:param str ip_id: The IP ID.
|
|
206
202
|
Only one of `ip_address` and `ip_id` should be specified.
|
|
207
203
|
: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.
|
|
209
204
|
"""
|
|
210
205
|
__args__ = dict()
|
|
211
206
|
__args__['ipAddress'] = ip_address
|
|
212
207
|
__args__['ipId'] = ip_id
|
|
213
208
|
__args__['projectId'] = project_id
|
|
214
|
-
__args__['zone'] = zone
|
|
215
209
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
216
210
|
__ret__ = pulumi.runtime.invoke_output('scaleway:index/getLoadbalancerIp:getLoadbalancerIp', __args__, opts=opts, typ=GetLoadbalancerIpResult)
|
|
217
211
|
return __ret__.apply(lambda __response__: GetLoadbalancerIpResult(
|
pulumiverse_scaleway/iam_user.py
CHANGED
|
@@ -20,19 +20,15 @@ __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
|
|
24
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
23
|
+
organization_id: Optional[pulumi.Input[str]] = None):
|
|
25
24
|
"""
|
|
26
25
|
The set of arguments for constructing a IamUser resource.
|
|
27
26
|
:param pulumi.Input[str] email: The email of the IAM user.
|
|
28
27
|
: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.
|
|
30
28
|
"""
|
|
31
29
|
pulumi.set(__self__, "email", email)
|
|
32
30
|
if organization_id is not None:
|
|
33
31
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
34
|
-
if tags is not None:
|
|
35
|
-
pulumi.set(__self__, "tags", tags)
|
|
36
32
|
|
|
37
33
|
@property
|
|
38
34
|
@pulumi.getter
|
|
@@ -58,18 +54,6 @@ class IamUserArgs:
|
|
|
58
54
|
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
59
55
|
pulumi.set(self, "organization_id", value)
|
|
60
56
|
|
|
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
|
-
|
|
73
57
|
|
|
74
58
|
@pulumi.input_type
|
|
75
59
|
class _IamUserState:
|
|
@@ -82,7 +66,6 @@ class _IamUserState:
|
|
|
82
66
|
mfa: Optional[pulumi.Input[bool]] = None,
|
|
83
67
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
84
68
|
status: Optional[pulumi.Input[str]] = None,
|
|
85
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
86
69
|
type: Optional[pulumi.Input[str]] = None,
|
|
87
70
|
updated_at: Optional[pulumi.Input[str]] = None):
|
|
88
71
|
"""
|
|
@@ -95,7 +78,6 @@ class _IamUserState:
|
|
|
95
78
|
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
96
79
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
97
80
|
: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.
|
|
99
81
|
: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).
|
|
100
82
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
101
83
|
"""
|
|
@@ -115,8 +97,6 @@ class _IamUserState:
|
|
|
115
97
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
116
98
|
if status is not None:
|
|
117
99
|
pulumi.set(__self__, "status", status)
|
|
118
|
-
if tags is not None:
|
|
119
|
-
pulumi.set(__self__, "tags", tags)
|
|
120
100
|
if type is not None:
|
|
121
101
|
pulumi.set(__self__, "type", type)
|
|
122
102
|
if updated_at is not None:
|
|
@@ -218,18 +198,6 @@ class _IamUserState:
|
|
|
218
198
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
219
199
|
pulumi.set(self, "status", value)
|
|
220
200
|
|
|
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
|
-
|
|
233
201
|
@property
|
|
234
202
|
@pulumi.getter
|
|
235
203
|
def type(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -262,7 +230,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
262
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
263
231
|
email: Optional[pulumi.Input[str]] = None,
|
|
264
232
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
265
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
266
233
|
__props__=None):
|
|
267
234
|
"""
|
|
268
235
|
Creates and manages Scaleway IAM Users.
|
|
@@ -293,7 +260,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
293
260
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
294
261
|
:param pulumi.Input[str] email: The email of the IAM user.
|
|
295
262
|
: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.
|
|
297
263
|
"""
|
|
298
264
|
...
|
|
299
265
|
@overload
|
|
@@ -343,7 +309,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
343
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
344
310
|
email: Optional[pulumi.Input[str]] = None,
|
|
345
311
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
346
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
347
312
|
__props__=None):
|
|
348
313
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
349
314
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -357,7 +322,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
357
322
|
raise TypeError("Missing required property 'email'")
|
|
358
323
|
__props__.__dict__["email"] = email
|
|
359
324
|
__props__.__dict__["organization_id"] = organization_id
|
|
360
|
-
__props__.__dict__["tags"] = tags
|
|
361
325
|
__props__.__dict__["account_root_user_id"] = None
|
|
362
326
|
__props__.__dict__["created_at"] = None
|
|
363
327
|
__props__.__dict__["deletable"] = None
|
|
@@ -384,7 +348,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
384
348
|
mfa: Optional[pulumi.Input[bool]] = None,
|
|
385
349
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
386
350
|
status: Optional[pulumi.Input[str]] = None,
|
|
387
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
388
351
|
type: Optional[pulumi.Input[str]] = None,
|
|
389
352
|
updated_at: Optional[pulumi.Input[str]] = None) -> 'IamUser':
|
|
390
353
|
"""
|
|
@@ -402,7 +365,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
402
365
|
:param pulumi.Input[bool] mfa: Whether the MFA is enabled.
|
|
403
366
|
:param pulumi.Input[str] organization_id: `organization_id`) The ID of the organization the user is associated with.
|
|
404
367
|
: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.
|
|
406
368
|
: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).
|
|
407
369
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the IAM user.
|
|
408
370
|
"""
|
|
@@ -418,7 +380,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
418
380
|
__props__.__dict__["mfa"] = mfa
|
|
419
381
|
__props__.__dict__["organization_id"] = organization_id
|
|
420
382
|
__props__.__dict__["status"] = status
|
|
421
|
-
__props__.__dict__["tags"] = tags
|
|
422
383
|
__props__.__dict__["type"] = type
|
|
423
384
|
__props__.__dict__["updated_at"] = updated_at
|
|
424
385
|
return IamUser(resource_name, opts=opts, __props__=__props__)
|
|
@@ -487,14 +448,6 @@ class IamUser(pulumi.CustomResource):
|
|
|
487
448
|
"""
|
|
488
449
|
return pulumi.get(self, "status")
|
|
489
450
|
|
|
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
|
-
|
|
498
451
|
@property
|
|
499
452
|
@pulumi.getter
|
|
500
453
|
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 security group the server is attached to
|
|
91
|
+
:param pulumi.Input[str] security_group_id: The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) 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 security group the server is attached to
|
|
404
|
+
The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) 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 security group the server is attached to
|
|
547
|
+
:param pulumi.Input[str] security_group_id: The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) 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 security group the server is attached to
|
|
967
|
+
The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) the server is attached to.
|
|
968
968
|
"""
|
|
969
969
|
return pulumi.get(self, "security_group_id")
|
|
970
970
|
|
|
@@ -1240,8 +1240,10 @@ 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
|
-
|
|
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.
|
|
1245
1247
|
|
|
1246
1248
|
## Import
|
|
1247
1249
|
|
|
@@ -1291,7 +1293,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1291
1293
|
: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.
|
|
1292
1294
|
|
|
1293
1295
|
> **Important:** Enabling routed ip will restart the server
|
|
1294
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
1296
|
+
:param pulumi.Input[str] security_group_id: The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) the server is attached to.
|
|
1295
1297
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
1296
1298
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
1297
1299
|
:param pulumi.Input[str] type: The commercial type of the server.
|
|
@@ -1482,8 +1484,10 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1482
1484
|
- `status` The private NIC state.
|
|
1483
1485
|
- `zone` - (Defaults to provider `zone`) The zone in which the server must be created.
|
|
1484
1486
|
|
|
1485
|
-
> **Important:**
|
|
1486
|
-
|
|
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.
|
|
1487
1491
|
|
|
1488
1492
|
## Import
|
|
1489
1493
|
|
|
@@ -1667,7 +1671,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1667
1671
|
: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.
|
|
1668
1672
|
|
|
1669
1673
|
> **Important:** Enabling routed ip will restart the server
|
|
1670
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
|
1674
|
+
:param pulumi.Input[str] security_group_id: The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) the server is attached to.
|
|
1671
1675
|
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
1672
1676
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
|
1673
1677
|
:param pulumi.Input[str] type: The commercial type of the server.
|
|
@@ -1945,7 +1949,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1945
1949
|
@pulumi.getter(name="securityGroupId")
|
|
1946
1950
|
def security_group_id(self) -> pulumi.Output[str]:
|
|
1947
1951
|
"""
|
|
1948
|
-
The security group the server is attached to
|
|
1952
|
+
The [security group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group9) the server is attached to.
|
|
1949
1953
|
"""
|
|
1950
1954
|
return pulumi.get(self, "security_group_id")
|
|
1951
1955
|
|