pulumiverse-scaleway 1.36.0a1761749977__py3-none-any.whl → 1.36.0a1761895416__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.
- pulumiverse_scaleway/_inputs.py +151 -3
- pulumiverse_scaleway/database_instance.py +71 -21
- pulumiverse_scaleway/database_user.py +6 -6
- pulumiverse_scaleway/databases/_inputs.py +97 -3
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +71 -21
- pulumiverse_scaleway/databases/outputs.py +127 -2
- pulumiverse_scaleway/databases/user.py +6 -6
- pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
- pulumiverse_scaleway/file_filesystem.py +33 -33
- pulumiverse_scaleway/get_baremetal_offer.py +2 -0
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_server.py +13 -83
- pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
- pulumiverse_scaleway/iam/__init__.py +1 -0
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/outputs.py +52 -0
- pulumiverse_scaleway/instance/_inputs.py +54 -0
- pulumiverse_scaleway/instance/get_server.py +13 -83
- pulumiverse_scaleway/instance/outputs.py +87 -75
- pulumiverse_scaleway/instance/server.py +95 -230
- pulumiverse_scaleway/instance_server.py +95 -230
- pulumiverse_scaleway/iot/device.py +0 -38
- pulumiverse_scaleway/iot/route.py +20 -20
- pulumiverse_scaleway/iot_device.py +0 -38
- pulumiverse_scaleway/iot_route.py +20 -20
- pulumiverse_scaleway/kubernetes/cluster.py +208 -4
- pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
- pulumiverse_scaleway/kubernetes_cluster.py +208 -4
- pulumiverse_scaleway/object/bucket_policy.py +0 -64
- pulumiverse_scaleway/object_bucket_policy.py +0 -64
- pulumiverse_scaleway/outputs.py +214 -77
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/RECORD +37 -36
- {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/top_level.txt +0 -0
|
@@ -16,6 +16,7 @@ from .. import _utilities
|
|
|
16
16
|
|
|
17
17
|
__all__ = [
|
|
18
18
|
'PolicyRule',
|
|
19
|
+
'GetPolicyRuleResult',
|
|
19
20
|
]
|
|
20
21
|
|
|
21
22
|
@pulumi.output_type
|
|
@@ -109,3 +110,54 @@ class PolicyRule(dict):
|
|
|
109
110
|
return pulumi.get(self, "project_ids")
|
|
110
111
|
|
|
111
112
|
|
|
113
|
+
@pulumi.output_type
|
|
114
|
+
class GetPolicyRuleResult(dict):
|
|
115
|
+
def __init__(__self__, *,
|
|
116
|
+
condition: _builtins.str,
|
|
117
|
+
organization_id: _builtins.str,
|
|
118
|
+
permission_set_names: Sequence[_builtins.str],
|
|
119
|
+
project_ids: Sequence[_builtins.str]):
|
|
120
|
+
"""
|
|
121
|
+
:param _builtins.str condition: The condition of the rule.
|
|
122
|
+
:param _builtins.str organization_id: ID of organization scoped to the rule.
|
|
123
|
+
:param Sequence[_builtins.str] permission_set_names: Names of permission sets bound to the rule.
|
|
124
|
+
:param Sequence[_builtins.str] project_ids: List of project IDs scoped to the rule.
|
|
125
|
+
"""
|
|
126
|
+
pulumi.set(__self__, "condition", condition)
|
|
127
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
128
|
+
pulumi.set(__self__, "permission_set_names", permission_set_names)
|
|
129
|
+
pulumi.set(__self__, "project_ids", project_ids)
|
|
130
|
+
|
|
131
|
+
@_builtins.property
|
|
132
|
+
@pulumi.getter
|
|
133
|
+
def condition(self) -> _builtins.str:
|
|
134
|
+
"""
|
|
135
|
+
The condition of the rule.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "condition")
|
|
138
|
+
|
|
139
|
+
@_builtins.property
|
|
140
|
+
@pulumi.getter(name="organizationId")
|
|
141
|
+
def organization_id(self) -> _builtins.str:
|
|
142
|
+
"""
|
|
143
|
+
ID of organization scoped to the rule.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "organization_id")
|
|
146
|
+
|
|
147
|
+
@_builtins.property
|
|
148
|
+
@pulumi.getter(name="permissionSetNames")
|
|
149
|
+
def permission_set_names(self) -> Sequence[_builtins.str]:
|
|
150
|
+
"""
|
|
151
|
+
Names of permission sets bound to the rule.
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "permission_set_names")
|
|
154
|
+
|
|
155
|
+
@_builtins.property
|
|
156
|
+
@pulumi.getter(name="projectIds")
|
|
157
|
+
def project_ids(self) -> Sequence[_builtins.str]:
|
|
158
|
+
"""
|
|
159
|
+
List of project IDs scoped to the rule.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "project_ids")
|
|
162
|
+
|
|
163
|
+
|
|
@@ -29,6 +29,8 @@ __all__ = [
|
|
|
29
29
|
'SecurityGroupRulesInboundRuleArgsDict',
|
|
30
30
|
'SecurityGroupRulesOutboundRuleArgs',
|
|
31
31
|
'SecurityGroupRulesOutboundRuleArgsDict',
|
|
32
|
+
'ServerFilesystemArgs',
|
|
33
|
+
'ServerFilesystemArgsDict',
|
|
32
34
|
'ServerPrivateIpArgs',
|
|
33
35
|
'ServerPrivateIpArgsDict',
|
|
34
36
|
'ServerPrivateNetworkArgs',
|
|
@@ -859,6 +861,58 @@ class SecurityGroupRulesOutboundRuleArgs:
|
|
|
859
861
|
pulumi.set(self, "protocol", value)
|
|
860
862
|
|
|
861
863
|
|
|
864
|
+
if not MYPY:
|
|
865
|
+
class ServerFilesystemArgsDict(TypedDict):
|
|
866
|
+
filesystem_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
867
|
+
"""
|
|
868
|
+
The unique ID of the filesystem attached to the server.
|
|
869
|
+
"""
|
|
870
|
+
status: NotRequired[pulumi.Input[_builtins.str]]
|
|
871
|
+
"""
|
|
872
|
+
The state of the filesystem
|
|
873
|
+
"""
|
|
874
|
+
elif False:
|
|
875
|
+
ServerFilesystemArgsDict: TypeAlias = Mapping[str, Any]
|
|
876
|
+
|
|
877
|
+
@pulumi.input_type
|
|
878
|
+
class ServerFilesystemArgs:
|
|
879
|
+
def __init__(__self__, *,
|
|
880
|
+
filesystem_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
881
|
+
status: Optional[pulumi.Input[_builtins.str]] = None):
|
|
882
|
+
"""
|
|
883
|
+
:param pulumi.Input[_builtins.str] filesystem_id: The unique ID of the filesystem attached to the server.
|
|
884
|
+
:param pulumi.Input[_builtins.str] status: The state of the filesystem
|
|
885
|
+
"""
|
|
886
|
+
if filesystem_id is not None:
|
|
887
|
+
pulumi.set(__self__, "filesystem_id", filesystem_id)
|
|
888
|
+
if status is not None:
|
|
889
|
+
pulumi.set(__self__, "status", status)
|
|
890
|
+
|
|
891
|
+
@_builtins.property
|
|
892
|
+
@pulumi.getter(name="filesystemId")
|
|
893
|
+
def filesystem_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
894
|
+
"""
|
|
895
|
+
The unique ID of the filesystem attached to the server.
|
|
896
|
+
"""
|
|
897
|
+
return pulumi.get(self, "filesystem_id")
|
|
898
|
+
|
|
899
|
+
@filesystem_id.setter
|
|
900
|
+
def filesystem_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
901
|
+
pulumi.set(self, "filesystem_id", value)
|
|
902
|
+
|
|
903
|
+
@_builtins.property
|
|
904
|
+
@pulumi.getter
|
|
905
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
906
|
+
"""
|
|
907
|
+
The state of the filesystem
|
|
908
|
+
"""
|
|
909
|
+
return pulumi.get(self, "status")
|
|
910
|
+
|
|
911
|
+
@status.setter
|
|
912
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
913
|
+
pulumi.set(self, "status", value)
|
|
914
|
+
|
|
915
|
+
|
|
862
916
|
if not MYPY:
|
|
863
917
|
class ServerPrivateIpArgsDict(TypedDict):
|
|
864
918
|
address: NotRequired[pulumi.Input[_builtins.str]]
|
|
@@ -27,7 +27,7 @@ class GetServerResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getServer.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_volume_ids=None, admin_password_encryption_ssh_key_id=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None,
|
|
30
|
+
def __init__(__self__, additional_volume_ids=None, admin_password_encryption_ssh_key_id=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, filesystems=None, id=None, image=None, ip_id=None, ip_ids=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ips=None, private_networks=None, project_id=None, protected=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
|
|
31
31
|
if additional_volume_ids and not isinstance(additional_volume_ids, list):
|
|
32
32
|
raise TypeError("Expected argument 'additional_volume_ids' to be a list")
|
|
33
33
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
|
@@ -46,9 +46,9 @@ class GetServerResult:
|
|
|
46
46
|
if enable_dynamic_ip and not isinstance(enable_dynamic_ip, bool):
|
|
47
47
|
raise TypeError("Expected argument 'enable_dynamic_ip' to be a bool")
|
|
48
48
|
pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
|
|
49
|
-
if
|
|
50
|
-
raise TypeError("Expected argument '
|
|
51
|
-
pulumi.set(__self__, "
|
|
49
|
+
if filesystems and not isinstance(filesystems, list):
|
|
50
|
+
raise TypeError("Expected argument 'filesystems' to be a list")
|
|
51
|
+
pulumi.set(__self__, "filesystems", filesystems)
|
|
52
52
|
if id and not isinstance(id, str):
|
|
53
53
|
raise TypeError("Expected argument 'id' to be a str")
|
|
54
54
|
pulumi.set(__self__, "id", id)
|
|
@@ -61,15 +61,6 @@ class GetServerResult:
|
|
|
61
61
|
if ip_ids and not isinstance(ip_ids, list):
|
|
62
62
|
raise TypeError("Expected argument 'ip_ids' to be a list")
|
|
63
63
|
pulumi.set(__self__, "ip_ids", ip_ids)
|
|
64
|
-
if ipv6_address and not isinstance(ipv6_address, str):
|
|
65
|
-
raise TypeError("Expected argument 'ipv6_address' to be a str")
|
|
66
|
-
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
67
|
-
if ipv6_gateway and not isinstance(ipv6_gateway, str):
|
|
68
|
-
raise TypeError("Expected argument 'ipv6_gateway' to be a str")
|
|
69
|
-
pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
|
|
70
|
-
if ipv6_prefix_length and not isinstance(ipv6_prefix_length, int):
|
|
71
|
-
raise TypeError("Expected argument 'ipv6_prefix_length' to be a int")
|
|
72
|
-
pulumi.set(__self__, "ipv6_prefix_length", ipv6_prefix_length)
|
|
73
64
|
if name and not isinstance(name, str):
|
|
74
65
|
raise TypeError("Expected argument 'name' to be a str")
|
|
75
66
|
pulumi.set(__self__, "name", name)
|
|
@@ -82,9 +73,6 @@ class GetServerResult:
|
|
|
82
73
|
if placement_group_policy_respected and not isinstance(placement_group_policy_respected, bool):
|
|
83
74
|
raise TypeError("Expected argument 'placement_group_policy_respected' to be a bool")
|
|
84
75
|
pulumi.set(__self__, "placement_group_policy_respected", placement_group_policy_respected)
|
|
85
|
-
if private_ip and not isinstance(private_ip, str):
|
|
86
|
-
raise TypeError("Expected argument 'private_ip' to be a str")
|
|
87
|
-
pulumi.set(__self__, "private_ip", private_ip)
|
|
88
76
|
if private_ips and not isinstance(private_ips, list):
|
|
89
77
|
raise TypeError("Expected argument 'private_ips' to be a list")
|
|
90
78
|
pulumi.set(__self__, "private_ips", private_ips)
|
|
@@ -97,9 +85,6 @@ class GetServerResult:
|
|
|
97
85
|
if protected and not isinstance(protected, bool):
|
|
98
86
|
raise TypeError("Expected argument 'protected' to be a bool")
|
|
99
87
|
pulumi.set(__self__, "protected", protected)
|
|
100
|
-
if public_ip and not isinstance(public_ip, str):
|
|
101
|
-
raise TypeError("Expected argument 'public_ip' to be a str")
|
|
102
|
-
pulumi.set(__self__, "public_ip", public_ip)
|
|
103
88
|
if public_ips and not isinstance(public_ips, list):
|
|
104
89
|
raise TypeError("Expected argument 'public_ips' to be a list")
|
|
105
90
|
pulumi.set(__self__, "public_ips", public_ips)
|
|
@@ -172,12 +157,9 @@ class GetServerResult:
|
|
|
172
157
|
return pulumi.get(self, "enable_dynamic_ip")
|
|
173
158
|
|
|
174
159
|
@_builtins.property
|
|
175
|
-
@pulumi.getter
|
|
176
|
-
def
|
|
177
|
-
""
|
|
178
|
-
Determines if IPv6 is enabled for the server.
|
|
179
|
-
"""
|
|
180
|
-
return pulumi.get(self, "enable_ipv6")
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def filesystems(self) -> Sequence['outputs.GetServerFilesystemResult']:
|
|
162
|
+
return pulumi.get(self, "filesystems")
|
|
181
163
|
|
|
182
164
|
@_builtins.property
|
|
183
165
|
@pulumi.getter
|
|
@@ -205,30 +187,6 @@ class GetServerResult:
|
|
|
205
187
|
def ip_ids(self) -> Sequence[_builtins.str]:
|
|
206
188
|
return pulumi.get(self, "ip_ids")
|
|
207
189
|
|
|
208
|
-
@_builtins.property
|
|
209
|
-
@pulumi.getter(name="ipv6Address")
|
|
210
|
-
def ipv6_address(self) -> _builtins.str:
|
|
211
|
-
"""
|
|
212
|
-
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
213
|
-
"""
|
|
214
|
-
return pulumi.get(self, "ipv6_address")
|
|
215
|
-
|
|
216
|
-
@_builtins.property
|
|
217
|
-
@pulumi.getter(name="ipv6Gateway")
|
|
218
|
-
def ipv6_gateway(self) -> _builtins.str:
|
|
219
|
-
"""
|
|
220
|
-
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
221
|
-
"""
|
|
222
|
-
return pulumi.get(self, "ipv6_gateway")
|
|
223
|
-
|
|
224
|
-
@_builtins.property
|
|
225
|
-
@pulumi.getter(name="ipv6PrefixLength")
|
|
226
|
-
def ipv6_prefix_length(self) -> _builtins.int:
|
|
227
|
-
"""
|
|
228
|
-
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
229
|
-
"""
|
|
230
|
-
return pulumi.get(self, "ipv6_prefix_length")
|
|
231
|
-
|
|
232
190
|
@_builtins.property
|
|
233
191
|
@pulumi.getter
|
|
234
192
|
def name(self) -> Optional[_builtins.str]:
|
|
@@ -258,17 +216,12 @@ class GetServerResult:
|
|
|
258
216
|
"""
|
|
259
217
|
return pulumi.get(self, "placement_group_policy_respected")
|
|
260
218
|
|
|
261
|
-
@_builtins.property
|
|
262
|
-
@pulumi.getter(name="privateIp")
|
|
263
|
-
def private_ip(self) -> _builtins.str:
|
|
264
|
-
"""
|
|
265
|
-
The Scaleway internal IP address of the server.
|
|
266
|
-
"""
|
|
267
|
-
return pulumi.get(self, "private_ip")
|
|
268
|
-
|
|
269
219
|
@_builtins.property
|
|
270
220
|
@pulumi.getter(name="privateIps")
|
|
271
221
|
def private_ips(self) -> Sequence['outputs.GetServerPrivateIpResult']:
|
|
222
|
+
"""
|
|
223
|
+
The list of private IPs of the server.
|
|
224
|
+
"""
|
|
272
225
|
return pulumi.get(self, "private_ips")
|
|
273
226
|
|
|
274
227
|
@_builtins.property
|
|
@@ -286,14 +239,6 @@ class GetServerResult:
|
|
|
286
239
|
def protected(self) -> _builtins.bool:
|
|
287
240
|
return pulumi.get(self, "protected")
|
|
288
241
|
|
|
289
|
-
@_builtins.property
|
|
290
|
-
@pulumi.getter(name="publicIp")
|
|
291
|
-
def public_ip(self) -> _builtins.str:
|
|
292
|
-
"""
|
|
293
|
-
The public IP address of the server.
|
|
294
|
-
"""
|
|
295
|
-
return pulumi.get(self, "public_ip")
|
|
296
|
-
|
|
297
242
|
@_builtins.property
|
|
298
243
|
@pulumi.getter(name="publicIps")
|
|
299
244
|
def public_ips(self) -> Sequence['outputs.GetServerPublicIpResult']:
|
|
@@ -376,24 +321,19 @@ class AwaitableGetServerResult(GetServerResult):
|
|
|
376
321
|
bootscript_id=self.bootscript_id,
|
|
377
322
|
cloud_init=self.cloud_init,
|
|
378
323
|
enable_dynamic_ip=self.enable_dynamic_ip,
|
|
379
|
-
|
|
324
|
+
filesystems=self.filesystems,
|
|
380
325
|
id=self.id,
|
|
381
326
|
image=self.image,
|
|
382
327
|
ip_id=self.ip_id,
|
|
383
328
|
ip_ids=self.ip_ids,
|
|
384
|
-
ipv6_address=self.ipv6_address,
|
|
385
|
-
ipv6_gateway=self.ipv6_gateway,
|
|
386
|
-
ipv6_prefix_length=self.ipv6_prefix_length,
|
|
387
329
|
name=self.name,
|
|
388
330
|
organization_id=self.organization_id,
|
|
389
331
|
placement_group_id=self.placement_group_id,
|
|
390
332
|
placement_group_policy_respected=self.placement_group_policy_respected,
|
|
391
|
-
private_ip=self.private_ip,
|
|
392
333
|
private_ips=self.private_ips,
|
|
393
334
|
private_networks=self.private_networks,
|
|
394
335
|
project_id=self.project_id,
|
|
395
336
|
protected=self.protected,
|
|
396
|
-
public_ip=self.public_ip,
|
|
397
337
|
public_ips=self.public_ips,
|
|
398
338
|
replace_on_type_change=self.replace_on_type_change,
|
|
399
339
|
root_volumes=self.root_volumes,
|
|
@@ -435,24 +375,19 @@ def get_server(name: Optional[_builtins.str] = None,
|
|
|
435
375
|
bootscript_id=pulumi.get(__ret__, 'bootscript_id'),
|
|
436
376
|
cloud_init=pulumi.get(__ret__, 'cloud_init'),
|
|
437
377
|
enable_dynamic_ip=pulumi.get(__ret__, 'enable_dynamic_ip'),
|
|
438
|
-
|
|
378
|
+
filesystems=pulumi.get(__ret__, 'filesystems'),
|
|
439
379
|
id=pulumi.get(__ret__, 'id'),
|
|
440
380
|
image=pulumi.get(__ret__, 'image'),
|
|
441
381
|
ip_id=pulumi.get(__ret__, 'ip_id'),
|
|
442
382
|
ip_ids=pulumi.get(__ret__, 'ip_ids'),
|
|
443
|
-
ipv6_address=pulumi.get(__ret__, 'ipv6_address'),
|
|
444
|
-
ipv6_gateway=pulumi.get(__ret__, 'ipv6_gateway'),
|
|
445
|
-
ipv6_prefix_length=pulumi.get(__ret__, 'ipv6_prefix_length'),
|
|
446
383
|
name=pulumi.get(__ret__, 'name'),
|
|
447
384
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
448
385
|
placement_group_id=pulumi.get(__ret__, 'placement_group_id'),
|
|
449
386
|
placement_group_policy_respected=pulumi.get(__ret__, 'placement_group_policy_respected'),
|
|
450
|
-
private_ip=pulumi.get(__ret__, 'private_ip'),
|
|
451
387
|
private_ips=pulumi.get(__ret__, 'private_ips'),
|
|
452
388
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
|
453
389
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
454
390
|
protected=pulumi.get(__ret__, 'protected'),
|
|
455
|
-
public_ip=pulumi.get(__ret__, 'public_ip'),
|
|
456
391
|
public_ips=pulumi.get(__ret__, 'public_ips'),
|
|
457
392
|
replace_on_type_change=pulumi.get(__ret__, 'replace_on_type_change'),
|
|
458
393
|
root_volumes=pulumi.get(__ret__, 'root_volumes'),
|
|
@@ -491,24 +426,19 @@ def get_server_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = No
|
|
|
491
426
|
bootscript_id=pulumi.get(__response__, 'bootscript_id'),
|
|
492
427
|
cloud_init=pulumi.get(__response__, 'cloud_init'),
|
|
493
428
|
enable_dynamic_ip=pulumi.get(__response__, 'enable_dynamic_ip'),
|
|
494
|
-
|
|
429
|
+
filesystems=pulumi.get(__response__, 'filesystems'),
|
|
495
430
|
id=pulumi.get(__response__, 'id'),
|
|
496
431
|
image=pulumi.get(__response__, 'image'),
|
|
497
432
|
ip_id=pulumi.get(__response__, 'ip_id'),
|
|
498
433
|
ip_ids=pulumi.get(__response__, 'ip_ids'),
|
|
499
|
-
ipv6_address=pulumi.get(__response__, 'ipv6_address'),
|
|
500
|
-
ipv6_gateway=pulumi.get(__response__, 'ipv6_gateway'),
|
|
501
|
-
ipv6_prefix_length=pulumi.get(__response__, 'ipv6_prefix_length'),
|
|
502
434
|
name=pulumi.get(__response__, 'name'),
|
|
503
435
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
504
436
|
placement_group_id=pulumi.get(__response__, 'placement_group_id'),
|
|
505
437
|
placement_group_policy_respected=pulumi.get(__response__, 'placement_group_policy_respected'),
|
|
506
|
-
private_ip=pulumi.get(__response__, 'private_ip'),
|
|
507
438
|
private_ips=pulumi.get(__response__, 'private_ips'),
|
|
508
439
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
|
509
440
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
510
441
|
protected=pulumi.get(__response__, 'protected'),
|
|
511
|
-
public_ip=pulumi.get(__response__, 'public_ip'),
|
|
512
442
|
public_ips=pulumi.get(__response__, 'public_ips'),
|
|
513
443
|
replace_on_type_change=pulumi.get(__response__, 'replace_on_type_change'),
|
|
514
444
|
root_volumes=pulumi.get(__response__, 'root_volumes'),
|
|
@@ -23,6 +23,7 @@ __all__ = [
|
|
|
23
23
|
'SecurityGroupOutboundRule',
|
|
24
24
|
'SecurityGroupRulesInboundRule',
|
|
25
25
|
'SecurityGroupRulesOutboundRule',
|
|
26
|
+
'ServerFilesystem',
|
|
26
27
|
'ServerPrivateIp',
|
|
27
28
|
'ServerPrivateNetwork',
|
|
28
29
|
'ServerPublicIp',
|
|
@@ -31,6 +32,7 @@ __all__ = [
|
|
|
31
32
|
'GetPrivateNicPrivateIpResult',
|
|
32
33
|
'GetSecurityGroupInboundRuleResult',
|
|
33
34
|
'GetSecurityGroupOutboundRuleResult',
|
|
35
|
+
'GetServerFilesystemResult',
|
|
34
36
|
'GetServerPrivateIpResult',
|
|
35
37
|
'GetServerPrivateNetworkResult',
|
|
36
38
|
'GetServerPublicIpResult',
|
|
@@ -635,6 +637,54 @@ class SecurityGroupRulesOutboundRule(dict):
|
|
|
635
637
|
return pulumi.get(self, "protocol")
|
|
636
638
|
|
|
637
639
|
|
|
640
|
+
@pulumi.output_type
|
|
641
|
+
class ServerFilesystem(dict):
|
|
642
|
+
@staticmethod
|
|
643
|
+
def __key_warning(key: str):
|
|
644
|
+
suggest = None
|
|
645
|
+
if key == "filesystemId":
|
|
646
|
+
suggest = "filesystem_id"
|
|
647
|
+
|
|
648
|
+
if suggest:
|
|
649
|
+
pulumi.log.warn(f"Key '{key}' not found in ServerFilesystem. Access the value via the '{suggest}' property getter instead.")
|
|
650
|
+
|
|
651
|
+
def __getitem__(self, key: str) -> Any:
|
|
652
|
+
ServerFilesystem.__key_warning(key)
|
|
653
|
+
return super().__getitem__(key)
|
|
654
|
+
|
|
655
|
+
def get(self, key: str, default = None) -> Any:
|
|
656
|
+
ServerFilesystem.__key_warning(key)
|
|
657
|
+
return super().get(key, default)
|
|
658
|
+
|
|
659
|
+
def __init__(__self__, *,
|
|
660
|
+
filesystem_id: Optional[_builtins.str] = None,
|
|
661
|
+
status: Optional[_builtins.str] = None):
|
|
662
|
+
"""
|
|
663
|
+
:param _builtins.str filesystem_id: The unique ID of the filesystem attached to the server.
|
|
664
|
+
:param _builtins.str status: The state of the filesystem
|
|
665
|
+
"""
|
|
666
|
+
if filesystem_id is not None:
|
|
667
|
+
pulumi.set(__self__, "filesystem_id", filesystem_id)
|
|
668
|
+
if status is not None:
|
|
669
|
+
pulumi.set(__self__, "status", status)
|
|
670
|
+
|
|
671
|
+
@_builtins.property
|
|
672
|
+
@pulumi.getter(name="filesystemId")
|
|
673
|
+
def filesystem_id(self) -> Optional[_builtins.str]:
|
|
674
|
+
"""
|
|
675
|
+
The unique ID of the filesystem attached to the server.
|
|
676
|
+
"""
|
|
677
|
+
return pulumi.get(self, "filesystem_id")
|
|
678
|
+
|
|
679
|
+
@_builtins.property
|
|
680
|
+
@pulumi.getter
|
|
681
|
+
def status(self) -> Optional[_builtins.str]:
|
|
682
|
+
"""
|
|
683
|
+
The state of the filesystem
|
|
684
|
+
"""
|
|
685
|
+
return pulumi.get(self, "status")
|
|
686
|
+
|
|
687
|
+
|
|
638
688
|
@pulumi.output_type
|
|
639
689
|
class ServerPrivateIp(dict):
|
|
640
690
|
def __init__(__self__, *,
|
|
@@ -1199,14 +1249,43 @@ class GetSecurityGroupOutboundRuleResult(dict):
|
|
|
1199
1249
|
return pulumi.get(self, "protocol")
|
|
1200
1250
|
|
|
1201
1251
|
|
|
1252
|
+
@pulumi.output_type
|
|
1253
|
+
class GetServerFilesystemResult(dict):
|
|
1254
|
+
def __init__(__self__, *,
|
|
1255
|
+
filesystem_id: _builtins.str,
|
|
1256
|
+
status: _builtins.str):
|
|
1257
|
+
"""
|
|
1258
|
+
:param _builtins.str filesystem_id: The filesystem ID attached to the server
|
|
1259
|
+
:param _builtins.str status: The state of the filesystem
|
|
1260
|
+
"""
|
|
1261
|
+
pulumi.set(__self__, "filesystem_id", filesystem_id)
|
|
1262
|
+
pulumi.set(__self__, "status", status)
|
|
1263
|
+
|
|
1264
|
+
@_builtins.property
|
|
1265
|
+
@pulumi.getter(name="filesystemId")
|
|
1266
|
+
def filesystem_id(self) -> _builtins.str:
|
|
1267
|
+
"""
|
|
1268
|
+
The filesystem ID attached to the server
|
|
1269
|
+
"""
|
|
1270
|
+
return pulumi.get(self, "filesystem_id")
|
|
1271
|
+
|
|
1272
|
+
@_builtins.property
|
|
1273
|
+
@pulumi.getter
|
|
1274
|
+
def status(self) -> _builtins.str:
|
|
1275
|
+
"""
|
|
1276
|
+
The state of the filesystem
|
|
1277
|
+
"""
|
|
1278
|
+
return pulumi.get(self, "status")
|
|
1279
|
+
|
|
1280
|
+
|
|
1202
1281
|
@pulumi.output_type
|
|
1203
1282
|
class GetServerPrivateIpResult(dict):
|
|
1204
1283
|
def __init__(__self__, *,
|
|
1205
1284
|
address: _builtins.str,
|
|
1206
1285
|
id: _builtins.str):
|
|
1207
1286
|
"""
|
|
1208
|
-
:param _builtins.str address: The
|
|
1209
|
-
:param _builtins.str id: The ID of the IP
|
|
1287
|
+
:param _builtins.str address: The private IP address.
|
|
1288
|
+
:param _builtins.str id: The ID of the IP address resource.
|
|
1210
1289
|
"""
|
|
1211
1290
|
pulumi.set(__self__, "address", address)
|
|
1212
1291
|
pulumi.set(__self__, "id", id)
|
|
@@ -1215,7 +1294,7 @@ class GetServerPrivateIpResult(dict):
|
|
|
1215
1294
|
@pulumi.getter
|
|
1216
1295
|
def address(self) -> _builtins.str:
|
|
1217
1296
|
"""
|
|
1218
|
-
The
|
|
1297
|
+
The private IP address.
|
|
1219
1298
|
"""
|
|
1220
1299
|
return pulumi.get(self, "address")
|
|
1221
1300
|
|
|
@@ -1223,7 +1302,7 @@ class GetServerPrivateIpResult(dict):
|
|
|
1223
1302
|
@pulumi.getter
|
|
1224
1303
|
def id(self) -> _builtins.str:
|
|
1225
1304
|
"""
|
|
1226
|
-
The ID of the IP
|
|
1305
|
+
The ID of the IP address resource.
|
|
1227
1306
|
"""
|
|
1228
1307
|
return pulumi.get(self, "id")
|
|
1229
1308
|
|
|
@@ -1301,11 +1380,11 @@ class GetServerPublicIpResult(dict):
|
|
|
1301
1380
|
netmask: _builtins.str,
|
|
1302
1381
|
provisioning_mode: _builtins.str):
|
|
1303
1382
|
"""
|
|
1304
|
-
:param _builtins.str address: The
|
|
1383
|
+
:param _builtins.str address: The private IP address.
|
|
1305
1384
|
:param _builtins.bool dynamic: Whether the IP is dynamic
|
|
1306
1385
|
:param _builtins.str family: IP address family (inet or inet6)
|
|
1307
1386
|
:param _builtins.str gateway: Gateway's IP address
|
|
1308
|
-
:param _builtins.str id: The ID of the IP
|
|
1387
|
+
:param _builtins.str id: The ID of the IP address resource.
|
|
1309
1388
|
:param _builtins.str netmask: CIDR netmask
|
|
1310
1389
|
:param _builtins.str provisioning_mode: Provisioning mode of the IP address
|
|
1311
1390
|
"""
|
|
@@ -1321,7 +1400,7 @@ class GetServerPublicIpResult(dict):
|
|
|
1321
1400
|
@pulumi.getter
|
|
1322
1401
|
def address(self) -> _builtins.str:
|
|
1323
1402
|
"""
|
|
1324
|
-
The
|
|
1403
|
+
The private IP address.
|
|
1325
1404
|
"""
|
|
1326
1405
|
return pulumi.get(self, "address")
|
|
1327
1406
|
|
|
@@ -1353,7 +1432,7 @@ class GetServerPublicIpResult(dict):
|
|
|
1353
1432
|
@pulumi.getter
|
|
1354
1433
|
def id(self) -> _builtins.str:
|
|
1355
1434
|
"""
|
|
1356
|
-
The ID of the IP
|
|
1435
|
+
The ID of the IP address resource.
|
|
1357
1436
|
"""
|
|
1358
1437
|
return pulumi.get(self, "id")
|
|
1359
1438
|
|
|
@@ -1606,20 +1685,14 @@ class GetServersServerResult(dict):
|
|
|
1606
1685
|
boot_type: _builtins.str,
|
|
1607
1686
|
bootscript_id: _builtins.str,
|
|
1608
1687
|
enable_dynamic_ip: _builtins.bool,
|
|
1609
|
-
enable_ipv6: _builtins.bool,
|
|
1610
1688
|
id: _builtins.str,
|
|
1611
1689
|
image: _builtins.str,
|
|
1612
|
-
ipv6_address: _builtins.str,
|
|
1613
|
-
ipv6_gateway: _builtins.str,
|
|
1614
|
-
ipv6_prefix_length: _builtins.int,
|
|
1615
1690
|
name: _builtins.str,
|
|
1616
1691
|
organization_id: _builtins.str,
|
|
1617
1692
|
placement_group_id: _builtins.str,
|
|
1618
1693
|
placement_group_policy_respected: _builtins.bool,
|
|
1619
|
-
private_ip: _builtins.str,
|
|
1620
1694
|
private_ips: Sequence['outputs.GetServersServerPrivateIpResult'],
|
|
1621
1695
|
project_id: _builtins.str,
|
|
1622
|
-
public_ip: _builtins.str,
|
|
1623
1696
|
public_ips: Sequence['outputs.GetServersServerPublicIpResult'],
|
|
1624
1697
|
security_group_id: _builtins.str,
|
|
1625
1698
|
state: _builtins.str,
|
|
@@ -1630,20 +1703,14 @@ class GetServersServerResult(dict):
|
|
|
1630
1703
|
:param _builtins.str boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
|
1631
1704
|
:param _builtins.str bootscript_id: UUID of the bootscript
|
|
1632
1705
|
:param _builtins.bool enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
1633
|
-
:param _builtins.bool enable_ipv6: Determines if IPv6 is enabled for the server.
|
|
1634
1706
|
:param _builtins.str id: The ID of the IP
|
|
1635
1707
|
:param _builtins.str image: The UUID or the label of the base image used by the server.
|
|
1636
|
-
:param _builtins.str ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1637
|
-
:param _builtins.str ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
1638
|
-
:param _builtins.int ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1639
1708
|
:param _builtins.str name: The server name used as filter. Servers with a name like it are listed.
|
|
1640
1709
|
:param _builtins.str organization_id: The organization ID the server is associated with.
|
|
1641
1710
|
:param _builtins.str placement_group_id: The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
|
|
1642
1711
|
:param _builtins.bool placement_group_policy_respected: Whether the placement group policy respected or not
|
|
1643
|
-
:param _builtins.str private_ip: The Scaleway internal IP address of the server.
|
|
1644
1712
|
:param Sequence['GetServersServerPrivateIpArgs'] private_ips: The list of private IPv4 and IPv6 addresses associated with the server.
|
|
1645
1713
|
:param _builtins.str project_id: The ID of the project the server is associated with.
|
|
1646
|
-
:param _builtins.str public_ip: The public IP address of the server.
|
|
1647
1714
|
:param Sequence['GetServersServerPublicIpArgs'] public_ips: The list of public IPs of the server
|
|
1648
1715
|
:param _builtins.str security_group_id: The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
|
|
1649
1716
|
:param _builtins.str state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
|
@@ -1654,20 +1721,14 @@ class GetServersServerResult(dict):
|
|
|
1654
1721
|
pulumi.set(__self__, "boot_type", boot_type)
|
|
1655
1722
|
pulumi.set(__self__, "bootscript_id", bootscript_id)
|
|
1656
1723
|
pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
|
|
1657
|
-
pulumi.set(__self__, "enable_ipv6", enable_ipv6)
|
|
1658
1724
|
pulumi.set(__self__, "id", id)
|
|
1659
1725
|
pulumi.set(__self__, "image", image)
|
|
1660
|
-
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
1661
|
-
pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
|
|
1662
|
-
pulumi.set(__self__, "ipv6_prefix_length", ipv6_prefix_length)
|
|
1663
1726
|
pulumi.set(__self__, "name", name)
|
|
1664
1727
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
1665
1728
|
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
|
1666
1729
|
pulumi.set(__self__, "placement_group_policy_respected", placement_group_policy_respected)
|
|
1667
|
-
pulumi.set(__self__, "private_ip", private_ip)
|
|
1668
1730
|
pulumi.set(__self__, "private_ips", private_ips)
|
|
1669
1731
|
pulumi.set(__self__, "project_id", project_id)
|
|
1670
|
-
pulumi.set(__self__, "public_ip", public_ip)
|
|
1671
1732
|
pulumi.set(__self__, "public_ips", public_ips)
|
|
1672
1733
|
pulumi.set(__self__, "security_group_id", security_group_id)
|
|
1673
1734
|
pulumi.set(__self__, "state", state)
|
|
@@ -1701,14 +1762,6 @@ class GetServersServerResult(dict):
|
|
|
1701
1762
|
"""
|
|
1702
1763
|
return pulumi.get(self, "enable_dynamic_ip")
|
|
1703
1764
|
|
|
1704
|
-
@_builtins.property
|
|
1705
|
-
@pulumi.getter(name="enableIpv6")
|
|
1706
|
-
def enable_ipv6(self) -> _builtins.bool:
|
|
1707
|
-
"""
|
|
1708
|
-
Determines if IPv6 is enabled for the server.
|
|
1709
|
-
"""
|
|
1710
|
-
return pulumi.get(self, "enable_ipv6")
|
|
1711
|
-
|
|
1712
1765
|
@_builtins.property
|
|
1713
1766
|
@pulumi.getter
|
|
1714
1767
|
def id(self) -> _builtins.str:
|
|
@@ -1725,30 +1778,6 @@ class GetServersServerResult(dict):
|
|
|
1725
1778
|
"""
|
|
1726
1779
|
return pulumi.get(self, "image")
|
|
1727
1780
|
|
|
1728
|
-
@_builtins.property
|
|
1729
|
-
@pulumi.getter(name="ipv6Address")
|
|
1730
|
-
def ipv6_address(self) -> _builtins.str:
|
|
1731
|
-
"""
|
|
1732
|
-
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1733
|
-
"""
|
|
1734
|
-
return pulumi.get(self, "ipv6_address")
|
|
1735
|
-
|
|
1736
|
-
@_builtins.property
|
|
1737
|
-
@pulumi.getter(name="ipv6Gateway")
|
|
1738
|
-
def ipv6_gateway(self) -> _builtins.str:
|
|
1739
|
-
"""
|
|
1740
|
-
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
1741
|
-
"""
|
|
1742
|
-
return pulumi.get(self, "ipv6_gateway")
|
|
1743
|
-
|
|
1744
|
-
@_builtins.property
|
|
1745
|
-
@pulumi.getter(name="ipv6PrefixLength")
|
|
1746
|
-
def ipv6_prefix_length(self) -> _builtins.int:
|
|
1747
|
-
"""
|
|
1748
|
-
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1749
|
-
"""
|
|
1750
|
-
return pulumi.get(self, "ipv6_prefix_length")
|
|
1751
|
-
|
|
1752
1781
|
@_builtins.property
|
|
1753
1782
|
@pulumi.getter
|
|
1754
1783
|
def name(self) -> _builtins.str:
|
|
@@ -1781,14 +1810,6 @@ class GetServersServerResult(dict):
|
|
|
1781
1810
|
"""
|
|
1782
1811
|
return pulumi.get(self, "placement_group_policy_respected")
|
|
1783
1812
|
|
|
1784
|
-
@_builtins.property
|
|
1785
|
-
@pulumi.getter(name="privateIp")
|
|
1786
|
-
def private_ip(self) -> _builtins.str:
|
|
1787
|
-
"""
|
|
1788
|
-
The Scaleway internal IP address of the server.
|
|
1789
|
-
"""
|
|
1790
|
-
return pulumi.get(self, "private_ip")
|
|
1791
|
-
|
|
1792
1813
|
@_builtins.property
|
|
1793
1814
|
@pulumi.getter(name="privateIps")
|
|
1794
1815
|
def private_ips(self) -> Sequence['outputs.GetServersServerPrivateIpResult']:
|
|
@@ -1805,15 +1826,6 @@ class GetServersServerResult(dict):
|
|
|
1805
1826
|
"""
|
|
1806
1827
|
return pulumi.get(self, "project_id")
|
|
1807
1828
|
|
|
1808
|
-
@_builtins.property
|
|
1809
|
-
@pulumi.getter(name="publicIp")
|
|
1810
|
-
@_utilities.deprecated("""Use public_ips instead""")
|
|
1811
|
-
def public_ip(self) -> _builtins.str:
|
|
1812
|
-
"""
|
|
1813
|
-
The public IP address of the server.
|
|
1814
|
-
"""
|
|
1815
|
-
return pulumi.get(self, "public_ip")
|
|
1816
|
-
|
|
1817
1829
|
@_builtins.property
|
|
1818
1830
|
@pulumi.getter(name="publicIps")
|
|
1819
1831
|
def public_ips(self) -> Sequence['outputs.GetServersServerPublicIpResult']:
|