pulumiverse-scaleway 1.27.1__py3-none-any.whl → 1.28.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +16 -0
- pulumiverse_scaleway/_inputs.py +498 -6
- pulumiverse_scaleway/baremetal_server.py +48 -258
- pulumiverse_scaleway/database_instance.py +42 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +42 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +48 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_private_nic.py +13 -1
- pulumiverse_scaleway/get_instance_server.py +12 -1
- pulumiverse_scaleway/get_lb_route.py +12 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- pulumiverse_scaleway/inference/__init__.py +2 -0
- pulumiverse_scaleway/inference/_inputs.py +128 -0
- pulumiverse_scaleway/inference/deployment.py +70 -55
- pulumiverse_scaleway/inference/get_model.py +299 -0
- pulumiverse_scaleway/inference/model.py +683 -0
- pulumiverse_scaleway/inference/outputs.py +184 -0
- pulumiverse_scaleway/inference_deployment.py +70 -55
- pulumiverse_scaleway/instance/_inputs.py +108 -0
- pulumiverse_scaleway/instance/get_private_nic.py +13 -1
- pulumiverse_scaleway/instance/get_server.py +12 -1
- pulumiverse_scaleway/instance/outputs.py +124 -0
- pulumiverse_scaleway/instance/private_nic.py +30 -0
- pulumiverse_scaleway/instance/server.py +28 -0
- pulumiverse_scaleway/instance_private_nic.py +30 -0
- pulumiverse_scaleway/instance_server.py +28 -0
- pulumiverse_scaleway/kubernetes/__init__.py +1 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +203 -0
- pulumiverse_scaleway/kubernetes/acl.py +446 -0
- pulumiverse_scaleway/kubernetes/outputs.py +195 -1
- pulumiverse_scaleway/loadbalancer.py +28 -0
- pulumiverse_scaleway/loadbalancer_route.py +138 -14
- pulumiverse_scaleway/loadbalancers/_inputs.py +54 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +28 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +62 -0
- pulumiverse_scaleway/loadbalancers/route.py +138 -14
- pulumiverse_scaleway/mnq/sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq/sqs_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sns_credentials.py +7 -7
- pulumiverse_scaleway/mnq_sqs_credentials.py +7 -7
- pulumiverse_scaleway/network/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +28 -0
- pulumiverse_scaleway/network/get_gateway_network.py +12 -1
- pulumiverse_scaleway/network/outputs.py +62 -0
- pulumiverse_scaleway/network/route.py +90 -2
- pulumiverse_scaleway/observability/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +574 -5
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +2 -2
- pulumiverse_scaleway/redis/_inputs.py +60 -6
- pulumiverse_scaleway/redis/cluster.py +28 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +28 -0
- pulumiverse_scaleway/vpc_gateway_network.py +28 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/RECORD +73 -70
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.27.1.dist-info → pulumiverse_scaleway-1.28.0.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,7 @@ __all__ = [
|
|
18
18
|
'AclAclRule',
|
19
19
|
'InstanceLoadBalancer',
|
20
20
|
'InstanceLogsPolicy',
|
21
|
+
'InstancePrivateIp',
|
21
22
|
'InstancePrivateNetwork',
|
22
23
|
'InstanceReadReplica',
|
23
24
|
'ReadReplicaDirectAccess',
|
@@ -25,6 +26,7 @@ __all__ = [
|
|
25
26
|
'GetAclAclRuleResult',
|
26
27
|
'GetInstanceLoadBalancerResult',
|
27
28
|
'GetInstanceLogsPolicyResult',
|
29
|
+
'GetInstancePrivateIpResult',
|
28
30
|
'GetInstancePrivateNetworkResult',
|
29
31
|
'GetInstanceReadReplicaResult',
|
30
32
|
]
|
@@ -193,6 +195,37 @@ class InstanceLogsPolicy(dict):
|
|
193
195
|
return pulumi.get(self, "total_disk_retention")
|
194
196
|
|
195
197
|
|
198
|
+
@pulumi.output_type
|
199
|
+
class InstancePrivateIp(dict):
|
200
|
+
def __init__(__self__, *,
|
201
|
+
address: Optional[str] = None,
|
202
|
+
id: Optional[str] = None):
|
203
|
+
"""
|
204
|
+
:param str address: The private IPv4 address.
|
205
|
+
:param str id: The ID of the IPv4 address resource.
|
206
|
+
"""
|
207
|
+
if address is not None:
|
208
|
+
pulumi.set(__self__, "address", address)
|
209
|
+
if id is not None:
|
210
|
+
pulumi.set(__self__, "id", id)
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter
|
214
|
+
def address(self) -> Optional[str]:
|
215
|
+
"""
|
216
|
+
The private IPv4 address.
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "address")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def id(self) -> Optional[str]:
|
223
|
+
"""
|
224
|
+
The ID of the IPv4 address resource.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "id")
|
227
|
+
|
228
|
+
|
196
229
|
@pulumi.output_type
|
197
230
|
class InstancePrivateNetwork(dict):
|
198
231
|
@staticmethod
|
@@ -718,6 +751,35 @@ class GetInstanceLogsPolicyResult(dict):
|
|
718
751
|
return pulumi.get(self, "total_disk_retention")
|
719
752
|
|
720
753
|
|
754
|
+
@pulumi.output_type
|
755
|
+
class GetInstancePrivateIpResult(dict):
|
756
|
+
def __init__(__self__, *,
|
757
|
+
address: str,
|
758
|
+
id: str):
|
759
|
+
"""
|
760
|
+
:param str address: The private IPv4 address
|
761
|
+
:param str id: The ID of the Database Instance.
|
762
|
+
"""
|
763
|
+
pulumi.set(__self__, "address", address)
|
764
|
+
pulumi.set(__self__, "id", id)
|
765
|
+
|
766
|
+
@property
|
767
|
+
@pulumi.getter
|
768
|
+
def address(self) -> str:
|
769
|
+
"""
|
770
|
+
The private IPv4 address
|
771
|
+
"""
|
772
|
+
return pulumi.get(self, "address")
|
773
|
+
|
774
|
+
@property
|
775
|
+
@pulumi.getter
|
776
|
+
def id(self) -> str:
|
777
|
+
"""
|
778
|
+
The ID of the Database Instance.
|
779
|
+
"""
|
780
|
+
return pulumi.get(self, "id")
|
781
|
+
|
782
|
+
|
721
783
|
@pulumi.output_type
|
722
784
|
class GetInstancePrivateNetworkResult(dict):
|
723
785
|
def __init__(__self__, *,
|
@@ -291,7 +291,7 @@ class Snapshot(pulumi.CustomResource):
|
|
291
291
|
"scaleway_rdb_instance",
|
292
292
|
"minimal",
|
293
293
|
],
|
294
|
-
volume_type="
|
294
|
+
volume_type="sbs_5k",
|
295
295
|
volume_size_in_gb=10)
|
296
296
|
test = scaleway.databases.Snapshot("test",
|
297
297
|
name="initial-snapshot",
|
@@ -381,7 +381,7 @@ class Snapshot(pulumi.CustomResource):
|
|
381
381
|
"scaleway_rdb_instance",
|
382
382
|
"minimal",
|
383
383
|
],
|
384
|
-
volume_type="
|
384
|
+
volume_type="sbs_5k",
|
385
385
|
volume_size_in_gb=10)
|
386
386
|
test = scaleway.databases.Snapshot("test",
|
387
387
|
name="initial-snapshot",
|
@@ -23,6 +23,8 @@ __all__ = [
|
|
23
23
|
'ServerIpv6ArgsDict',
|
24
24
|
'ServerOptionArgs',
|
25
25
|
'ServerOptionArgsDict',
|
26
|
+
'ServerPrivateIpArgs',
|
27
|
+
'ServerPrivateIpArgsDict',
|
26
28
|
'ServerPrivateNetworkArgs',
|
27
29
|
'ServerPrivateNetworkArgsDict',
|
28
30
|
]
|
@@ -376,6 +378,58 @@ class ServerOptionArgs:
|
|
376
378
|
pulumi.set(self, "name", value)
|
377
379
|
|
378
380
|
|
381
|
+
if not MYPY:
|
382
|
+
class ServerPrivateIpArgsDict(TypedDict):
|
383
|
+
address: NotRequired[pulumi.Input[str]]
|
384
|
+
"""
|
385
|
+
The address of the IPv6.
|
386
|
+
"""
|
387
|
+
id: NotRequired[pulumi.Input[str]]
|
388
|
+
"""
|
389
|
+
The ID of the IPv6.
|
390
|
+
"""
|
391
|
+
elif False:
|
392
|
+
ServerPrivateIpArgsDict: TypeAlias = Mapping[str, Any]
|
393
|
+
|
394
|
+
@pulumi.input_type
|
395
|
+
class ServerPrivateIpArgs:
|
396
|
+
def __init__(__self__, *,
|
397
|
+
address: Optional[pulumi.Input[str]] = None,
|
398
|
+
id: Optional[pulumi.Input[str]] = None):
|
399
|
+
"""
|
400
|
+
:param pulumi.Input[str] address: The address of the IPv6.
|
401
|
+
:param pulumi.Input[str] id: The ID of the IPv6.
|
402
|
+
"""
|
403
|
+
if address is not None:
|
404
|
+
pulumi.set(__self__, "address", address)
|
405
|
+
if id is not None:
|
406
|
+
pulumi.set(__self__, "id", id)
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter
|
410
|
+
def address(self) -> Optional[pulumi.Input[str]]:
|
411
|
+
"""
|
412
|
+
The address of the IPv6.
|
413
|
+
"""
|
414
|
+
return pulumi.get(self, "address")
|
415
|
+
|
416
|
+
@address.setter
|
417
|
+
def address(self, value: Optional[pulumi.Input[str]]):
|
418
|
+
pulumi.set(self, "address", value)
|
419
|
+
|
420
|
+
@property
|
421
|
+
@pulumi.getter
|
422
|
+
def id(self) -> Optional[pulumi.Input[str]]:
|
423
|
+
"""
|
424
|
+
The ID of the IPv6.
|
425
|
+
"""
|
426
|
+
return pulumi.get(self, "id")
|
427
|
+
|
428
|
+
@id.setter
|
429
|
+
def id(self, value: Optional[pulumi.Input[str]]):
|
430
|
+
pulumi.set(self, "id", value)
|
431
|
+
|
432
|
+
|
379
433
|
if not MYPY:
|
380
434
|
class ServerPrivateNetworkArgsDict(TypedDict):
|
381
435
|
id: pulumi.Input[str]
|
@@ -390,6 +444,10 @@ if not MYPY:
|
|
390
444
|
"""
|
391
445
|
List of IPAM IP IDs to assign to the server in the requested private network.
|
392
446
|
"""
|
447
|
+
mapping_id: NotRequired[pulumi.Input[str]]
|
448
|
+
"""
|
449
|
+
The ID of the Server-to-Private Network mapping.
|
450
|
+
"""
|
393
451
|
status: NotRequired[pulumi.Input[str]]
|
394
452
|
"""
|
395
453
|
The private network status.
|
@@ -411,6 +469,7 @@ class ServerPrivateNetworkArgs:
|
|
411
469
|
id: pulumi.Input[str],
|
412
470
|
created_at: Optional[pulumi.Input[str]] = None,
|
413
471
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
472
|
+
mapping_id: Optional[pulumi.Input[str]] = None,
|
414
473
|
status: Optional[pulumi.Input[str]] = None,
|
415
474
|
updated_at: Optional[pulumi.Input[str]] = None,
|
416
475
|
vlan: Optional[pulumi.Input[int]] = None):
|
@@ -418,6 +477,7 @@ class ServerPrivateNetworkArgs:
|
|
418
477
|
:param pulumi.Input[str] id: The id of the private network to attach.
|
419
478
|
:param pulumi.Input[str] created_at: The date and time of the creation of the private network.
|
420
479
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: List of IPAM IP IDs to assign to the server in the requested private network.
|
480
|
+
:param pulumi.Input[str] mapping_id: The ID of the Server-to-Private Network mapping.
|
421
481
|
:param pulumi.Input[str] status: The private network status.
|
422
482
|
:param pulumi.Input[str] updated_at: The date and time of the last update of the private network.
|
423
483
|
:param pulumi.Input[int] vlan: The VLAN ID associated to the private network.
|
@@ -427,6 +487,8 @@ class ServerPrivateNetworkArgs:
|
|
427
487
|
pulumi.set(__self__, "created_at", created_at)
|
428
488
|
if ipam_ip_ids is not None:
|
429
489
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
490
|
+
if mapping_id is not None:
|
491
|
+
pulumi.set(__self__, "mapping_id", mapping_id)
|
430
492
|
if status is not None:
|
431
493
|
pulumi.set(__self__, "status", status)
|
432
494
|
if updated_at is not None:
|
@@ -470,6 +532,18 @@ class ServerPrivateNetworkArgs:
|
|
470
532
|
def ipam_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
471
533
|
pulumi.set(self, "ipam_ip_ids", value)
|
472
534
|
|
535
|
+
@property
|
536
|
+
@pulumi.getter(name="mappingId")
|
537
|
+
def mapping_id(self) -> Optional[pulumi.Input[str]]:
|
538
|
+
"""
|
539
|
+
The ID of the Server-to-Private Network mapping.
|
540
|
+
"""
|
541
|
+
return pulumi.get(self, "mapping_id")
|
542
|
+
|
543
|
+
@mapping_id.setter
|
544
|
+
def mapping_id(self, value: Optional[pulumi.Input[str]]):
|
545
|
+
pulumi.set(self, "mapping_id", value)
|
546
|
+
|
473
547
|
@property
|
474
548
|
@pulumi.getter
|
475
549
|
def status(self) -> Optional[pulumi.Input[str]]:
|
@@ -27,7 +27,7 @@ class GetServerResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getServer.
|
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, 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):
|
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_ips=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)
|
@@ -82,6 +82,9 @@ class GetServerResult:
|
|
82
82
|
if password and not isinstance(password, str):
|
83
83
|
raise TypeError("Expected argument 'password' to be a str")
|
84
84
|
pulumi.set(__self__, "password", password)
|
85
|
+
if private_ips and not isinstance(private_ips, list):
|
86
|
+
raise TypeError("Expected argument 'private_ips' to be a list")
|
87
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
85
88
|
if private_networks and not isinstance(private_networks, list):
|
86
89
|
raise TypeError("Expected argument 'private_networks' to be a list")
|
87
90
|
pulumi.set(__self__, "private_networks", private_networks)
|
@@ -206,6 +209,11 @@ class GetServerResult:
|
|
206
209
|
def password(self) -> str:
|
207
210
|
return pulumi.get(self, "password")
|
208
211
|
|
212
|
+
@property
|
213
|
+
@pulumi.getter(name="privateIps")
|
214
|
+
def private_ips(self) -> Sequence['outputs.GetServerPrivateIpResult']:
|
215
|
+
return pulumi.get(self, "private_ips")
|
216
|
+
|
209
217
|
@property
|
210
218
|
@pulumi.getter(name="privateNetworks")
|
211
219
|
def private_networks(self) -> Sequence['outputs.GetServerPrivateNetworkResult']:
|
@@ -281,6 +289,7 @@ class AwaitableGetServerResult(GetServerResult):
|
|
281
289
|
os_name=self.os_name,
|
282
290
|
partitioning=self.partitioning,
|
283
291
|
password=self.password,
|
292
|
+
private_ips=self.private_ips,
|
284
293
|
private_networks=self.private_networks,
|
285
294
|
project_id=self.project_id,
|
286
295
|
reinstall_on_config_changes=self.reinstall_on_config_changes,
|
@@ -347,6 +356,7 @@ def get_server(name: Optional[str] = None,
|
|
347
356
|
os_name=pulumi.get(__ret__, 'os_name'),
|
348
357
|
partitioning=pulumi.get(__ret__, 'partitioning'),
|
349
358
|
password=pulumi.get(__ret__, 'password'),
|
359
|
+
private_ips=pulumi.get(__ret__, 'private_ips'),
|
350
360
|
private_networks=pulumi.get(__ret__, 'private_networks'),
|
351
361
|
project_id=pulumi.get(__ret__, 'project_id'),
|
352
362
|
reinstall_on_config_changes=pulumi.get(__ret__, 'reinstall_on_config_changes'),
|
@@ -410,6 +420,7 @@ def get_server_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
410
420
|
os_name=pulumi.get(__response__, 'os_name'),
|
411
421
|
partitioning=pulumi.get(__response__, 'partitioning'),
|
412
422
|
password=pulumi.get(__response__, 'password'),
|
423
|
+
private_ips=pulumi.get(__response__, 'private_ips'),
|
413
424
|
private_networks=pulumi.get(__response__, 'private_networks'),
|
414
425
|
project_id=pulumi.get(__response__, 'project_id'),
|
415
426
|
reinstall_on_config_changes=pulumi.get(__response__, 'reinstall_on_config_changes'),
|
@@ -20,6 +20,7 @@ __all__ = [
|
|
20
20
|
'ServerIpv4',
|
21
21
|
'ServerIpv6',
|
22
22
|
'ServerOption',
|
23
|
+
'ServerPrivateIp',
|
23
24
|
'ServerPrivateNetwork',
|
24
25
|
'GetIpsIpResult',
|
25
26
|
'GetIpsIpMacAddressResult',
|
@@ -30,6 +31,7 @@ __all__ = [
|
|
30
31
|
'GetServerIpv4Result',
|
31
32
|
'GetServerIpv6Result',
|
32
33
|
'GetServerOptionResult',
|
34
|
+
'GetServerPrivateIpResult',
|
33
35
|
'GetServerPrivateNetworkResult',
|
34
36
|
]
|
35
37
|
|
@@ -257,6 +259,37 @@ class ServerOption(dict):
|
|
257
259
|
return pulumi.get(self, "name")
|
258
260
|
|
259
261
|
|
262
|
+
@pulumi.output_type
|
263
|
+
class ServerPrivateIp(dict):
|
264
|
+
def __init__(__self__, *,
|
265
|
+
address: Optional[str] = None,
|
266
|
+
id: Optional[str] = None):
|
267
|
+
"""
|
268
|
+
:param str address: The address of the IPv6.
|
269
|
+
:param str id: The ID of the IPv6.
|
270
|
+
"""
|
271
|
+
if address is not None:
|
272
|
+
pulumi.set(__self__, "address", address)
|
273
|
+
if id is not None:
|
274
|
+
pulumi.set(__self__, "id", id)
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter
|
278
|
+
def address(self) -> Optional[str]:
|
279
|
+
"""
|
280
|
+
The address of the IPv6.
|
281
|
+
"""
|
282
|
+
return pulumi.get(self, "address")
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter
|
286
|
+
def id(self) -> Optional[str]:
|
287
|
+
"""
|
288
|
+
The ID of the IPv6.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "id")
|
291
|
+
|
292
|
+
|
260
293
|
@pulumi.output_type
|
261
294
|
class ServerPrivateNetwork(dict):
|
262
295
|
@staticmethod
|
@@ -266,6 +299,8 @@ class ServerPrivateNetwork(dict):
|
|
266
299
|
suggest = "created_at"
|
267
300
|
elif key == "ipamIpIds":
|
268
301
|
suggest = "ipam_ip_ids"
|
302
|
+
elif key == "mappingId":
|
303
|
+
suggest = "mapping_id"
|
269
304
|
elif key == "updatedAt":
|
270
305
|
suggest = "updated_at"
|
271
306
|
|
@@ -284,6 +319,7 @@ class ServerPrivateNetwork(dict):
|
|
284
319
|
id: str,
|
285
320
|
created_at: Optional[str] = None,
|
286
321
|
ipam_ip_ids: Optional[Sequence[str]] = None,
|
322
|
+
mapping_id: Optional[str] = None,
|
287
323
|
status: Optional[str] = None,
|
288
324
|
updated_at: Optional[str] = None,
|
289
325
|
vlan: Optional[int] = None):
|
@@ -291,6 +327,7 @@ class ServerPrivateNetwork(dict):
|
|
291
327
|
:param str id: The id of the private network to attach.
|
292
328
|
:param str created_at: The date and time of the creation of the private network.
|
293
329
|
:param Sequence[str] ipam_ip_ids: List of IPAM IP IDs to assign to the server in the requested private network.
|
330
|
+
:param str mapping_id: The ID of the Server-to-Private Network mapping.
|
294
331
|
:param str status: The private network status.
|
295
332
|
:param str updated_at: The date and time of the last update of the private network.
|
296
333
|
:param int vlan: The VLAN ID associated to the private network.
|
@@ -300,6 +337,8 @@ class ServerPrivateNetwork(dict):
|
|
300
337
|
pulumi.set(__self__, "created_at", created_at)
|
301
338
|
if ipam_ip_ids is not None:
|
302
339
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
340
|
+
if mapping_id is not None:
|
341
|
+
pulumi.set(__self__, "mapping_id", mapping_id)
|
303
342
|
if status is not None:
|
304
343
|
pulumi.set(__self__, "status", status)
|
305
344
|
if updated_at is not None:
|
@@ -331,6 +370,14 @@ class ServerPrivateNetwork(dict):
|
|
331
370
|
"""
|
332
371
|
return pulumi.get(self, "ipam_ip_ids")
|
333
372
|
|
373
|
+
@property
|
374
|
+
@pulumi.getter(name="mappingId")
|
375
|
+
def mapping_id(self) -> Optional[str]:
|
376
|
+
"""
|
377
|
+
The ID of the Server-to-Private Network mapping.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "mapping_id")
|
380
|
+
|
334
381
|
@property
|
335
382
|
@pulumi.getter
|
336
383
|
def status(self) -> Optional[str]:
|
@@ -899,12 +946,42 @@ class GetServerOptionResult(dict):
|
|
899
946
|
return pulumi.get(self, "name")
|
900
947
|
|
901
948
|
|
949
|
+
@pulumi.output_type
|
950
|
+
class GetServerPrivateIpResult(dict):
|
951
|
+
def __init__(__self__, *,
|
952
|
+
address: str,
|
953
|
+
id: str):
|
954
|
+
"""
|
955
|
+
:param str address: The private IP address
|
956
|
+
:param str id: The ID of the server.
|
957
|
+
"""
|
958
|
+
pulumi.set(__self__, "address", address)
|
959
|
+
pulumi.set(__self__, "id", id)
|
960
|
+
|
961
|
+
@property
|
962
|
+
@pulumi.getter
|
963
|
+
def address(self) -> str:
|
964
|
+
"""
|
965
|
+
The private IP address
|
966
|
+
"""
|
967
|
+
return pulumi.get(self, "address")
|
968
|
+
|
969
|
+
@property
|
970
|
+
@pulumi.getter
|
971
|
+
def id(self) -> str:
|
972
|
+
"""
|
973
|
+
The ID of the server.
|
974
|
+
"""
|
975
|
+
return pulumi.get(self, "id")
|
976
|
+
|
977
|
+
|
902
978
|
@pulumi.output_type
|
903
979
|
class GetServerPrivateNetworkResult(dict):
|
904
980
|
def __init__(__self__, *,
|
905
981
|
created_at: str,
|
906
982
|
id: str,
|
907
983
|
ipam_ip_ids: Sequence[str],
|
984
|
+
mapping_id: str,
|
908
985
|
status: str,
|
909
986
|
updated_at: str,
|
910
987
|
vlan: int):
|
@@ -912,6 +989,7 @@ class GetServerPrivateNetworkResult(dict):
|
|
912
989
|
:param str created_at: The date and time of the creation of the private network
|
913
990
|
:param str id: The ID of the server.
|
914
991
|
:param Sequence[str] ipam_ip_ids: List of IPAM IP IDs to attach to the server
|
992
|
+
:param str mapping_id: The ID of the Server-to-Private Network mapping
|
915
993
|
:param str status: The private network status
|
916
994
|
:param str updated_at: The date and time of the last update of the private network
|
917
995
|
:param int vlan: The VLAN ID associated to the private network
|
@@ -919,6 +997,7 @@ class GetServerPrivateNetworkResult(dict):
|
|
919
997
|
pulumi.set(__self__, "created_at", created_at)
|
920
998
|
pulumi.set(__self__, "id", id)
|
921
999
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
1000
|
+
pulumi.set(__self__, "mapping_id", mapping_id)
|
922
1001
|
pulumi.set(__self__, "status", status)
|
923
1002
|
pulumi.set(__self__, "updated_at", updated_at)
|
924
1003
|
pulumi.set(__self__, "vlan", vlan)
|
@@ -947,6 +1026,14 @@ class GetServerPrivateNetworkResult(dict):
|
|
947
1026
|
"""
|
948
1027
|
return pulumi.get(self, "ipam_ip_ids")
|
949
1028
|
|
1029
|
+
@property
|
1030
|
+
@pulumi.getter(name="mappingId")
|
1031
|
+
def mapping_id(self) -> str:
|
1032
|
+
"""
|
1033
|
+
The ID of the Server-to-Private Network mapping
|
1034
|
+
"""
|
1035
|
+
return pulumi.get(self, "mapping_id")
|
1036
|
+
|
950
1037
|
@property
|
951
1038
|
@pulumi.getter
|
952
1039
|
def status(self) -> str:
|