pulumiverse-scaleway 1.36.0a1761749266__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.0a1761749266.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.36.0a1761749266.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/RECORD +37 -36
- {pulumiverse_scaleway-1.36.0a1761749266.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.36.0a1761749266.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,7 @@ class InstanceServerArgs:
|
|
|
28
28
|
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
29
|
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
30
|
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
31
|
-
|
|
31
|
+
filesystems: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]] = None,
|
|
32
32
|
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
34
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -67,8 +67,7 @@ class InstanceServerArgs:
|
|
|
67
67
|
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
|
68
68
|
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
|
69
69
|
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
70
|
-
:param pulumi.Input[
|
|
71
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
70
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]] filesystems: List of filesystems attached to the server.
|
|
72
71
|
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
|
73
72
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
|
74
73
|
|
|
@@ -119,11 +118,8 @@ class InstanceServerArgs:
|
|
|
119
118
|
pulumi.set(__self__, "cloud_init", cloud_init)
|
|
120
119
|
if enable_dynamic_ip is not None:
|
|
121
120
|
pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
|
|
122
|
-
if
|
|
123
|
-
|
|
124
|
-
pulumi.log.warn("""enable_ipv6 is deprecated: Please use a instance.Ip with a `routed_ipv6` type""")
|
|
125
|
-
if enable_ipv6 is not None:
|
|
126
|
-
pulumi.set(__self__, "enable_ipv6", enable_ipv6)
|
|
121
|
+
if filesystems is not None:
|
|
122
|
+
pulumi.set(__self__, "filesystems", filesystems)
|
|
127
123
|
if image is not None:
|
|
128
124
|
pulumi.set(__self__, "image", image)
|
|
129
125
|
if ip_id is not None:
|
|
@@ -257,18 +253,16 @@ class InstanceServerArgs:
|
|
|
257
253
|
pulumi.set(self, "enable_dynamic_ip", value)
|
|
258
254
|
|
|
259
255
|
@_builtins.property
|
|
260
|
-
@pulumi.getter
|
|
261
|
-
|
|
262
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
256
|
+
@pulumi.getter
|
|
257
|
+
def filesystems(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]]:
|
|
263
258
|
"""
|
|
264
|
-
|
|
265
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
259
|
+
List of filesystems attached to the server.
|
|
266
260
|
"""
|
|
267
|
-
return pulumi.get(self, "
|
|
261
|
+
return pulumi.get(self, "filesystems")
|
|
268
262
|
|
|
269
|
-
@
|
|
270
|
-
def
|
|
271
|
-
pulumi.set(self, "
|
|
263
|
+
@filesystems.setter
|
|
264
|
+
def filesystems(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]]):
|
|
265
|
+
pulumi.set(self, "filesystems", value)
|
|
272
266
|
|
|
273
267
|
@_builtins.property
|
|
274
268
|
@pulumi.getter
|
|
@@ -500,23 +494,18 @@ class _InstanceServerState:
|
|
|
500
494
|
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
501
495
|
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
|
502
496
|
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
503
|
-
|
|
497
|
+
filesystems: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]] = None,
|
|
504
498
|
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
505
499
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
506
500
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
507
|
-
ipv6_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
508
|
-
ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
|
509
|
-
ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None,
|
|
510
501
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
511
502
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
512
503
|
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
513
504
|
placement_group_policy_respected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
514
|
-
private_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
515
505
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
|
516
506
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
|
517
507
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
518
508
|
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
519
|
-
public_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
520
509
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
|
|
521
510
|
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
522
511
|
root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
|
|
@@ -541,8 +530,7 @@ class _InstanceServerState:
|
|
|
541
530
|
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
|
542
531
|
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
|
543
532
|
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
544
|
-
:param pulumi.Input[
|
|
545
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
533
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]] filesystems: List of filesystems attached to the server.
|
|
546
534
|
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
|
547
535
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
|
548
536
|
|
|
@@ -553,26 +541,18 @@ class _InstanceServerState:
|
|
|
553
541
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
|
554
542
|
|
|
555
543
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
|
556
|
-
:param pulumi.Input[_builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
557
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
558
|
-
:param pulumi.Input[_builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
559
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
560
|
-
:param pulumi.Input[_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 )
|
|
561
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
562
544
|
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
563
545
|
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
|
564
546
|
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
|
565
547
|
|
|
566
548
|
|
|
567
549
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
|
568
|
-
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group
|
|
569
|
-
:param pulumi.Input[_builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
|
550
|
+
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group resource to known when the placement group policy is respected.
|
|
570
551
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
571
552
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
|
572
553
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
|
573
554
|
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
574
555
|
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
575
|
-
:param pulumi.Input[_builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
|
576
556
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
|
|
577
557
|
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
|
578
558
|
:param pulumi.Input['InstanceServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
|
@@ -608,32 +588,14 @@ class _InstanceServerState:
|
|
|
608
588
|
pulumi.set(__self__, "cloud_init", cloud_init)
|
|
609
589
|
if enable_dynamic_ip is not None:
|
|
610
590
|
pulumi.set(__self__, "enable_dynamic_ip", enable_dynamic_ip)
|
|
611
|
-
if
|
|
612
|
-
|
|
613
|
-
pulumi.log.warn("""enable_ipv6 is deprecated: Please use a instance.Ip with a `routed_ipv6` type""")
|
|
614
|
-
if enable_ipv6 is not None:
|
|
615
|
-
pulumi.set(__self__, "enable_ipv6", enable_ipv6)
|
|
591
|
+
if filesystems is not None:
|
|
592
|
+
pulumi.set(__self__, "filesystems", filesystems)
|
|
616
593
|
if image is not None:
|
|
617
594
|
pulumi.set(__self__, "image", image)
|
|
618
595
|
if ip_id is not None:
|
|
619
596
|
pulumi.set(__self__, "ip_id", ip_id)
|
|
620
597
|
if ip_ids is not None:
|
|
621
598
|
pulumi.set(__self__, "ip_ids", ip_ids)
|
|
622
|
-
if ipv6_address is not None:
|
|
623
|
-
warnings.warn("""Please use a instance.Ip with a `routed_ipv6` type""", DeprecationWarning)
|
|
624
|
-
pulumi.log.warn("""ipv6_address is deprecated: Please use a instance.Ip with a `routed_ipv6` type""")
|
|
625
|
-
if ipv6_address is not None:
|
|
626
|
-
pulumi.set(__self__, "ipv6_address", ipv6_address)
|
|
627
|
-
if ipv6_gateway is not None:
|
|
628
|
-
warnings.warn("""Please use a instance.Ip with a `routed_ipv6` type""", DeprecationWarning)
|
|
629
|
-
pulumi.log.warn("""ipv6_gateway is deprecated: Please use a instance.Ip with a `routed_ipv6` type""")
|
|
630
|
-
if ipv6_gateway is not None:
|
|
631
|
-
pulumi.set(__self__, "ipv6_gateway", ipv6_gateway)
|
|
632
|
-
if ipv6_prefix_length is not None:
|
|
633
|
-
warnings.warn("""Please use a instance.Ip with a `routed_ipv6` type""", DeprecationWarning)
|
|
634
|
-
pulumi.log.warn("""ipv6_prefix_length is deprecated: Please use a instance.Ip with a `routed_ipv6` type""")
|
|
635
|
-
if ipv6_prefix_length is not None:
|
|
636
|
-
pulumi.set(__self__, "ipv6_prefix_length", ipv6_prefix_length)
|
|
637
599
|
if name is not None:
|
|
638
600
|
pulumi.set(__self__, "name", name)
|
|
639
601
|
if organization_id is not None:
|
|
@@ -642,11 +604,6 @@ class _InstanceServerState:
|
|
|
642
604
|
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
|
643
605
|
if placement_group_policy_respected is not None:
|
|
644
606
|
pulumi.set(__self__, "placement_group_policy_respected", placement_group_policy_respected)
|
|
645
|
-
if private_ip is not None:
|
|
646
|
-
warnings.warn("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""", DeprecationWarning)
|
|
647
|
-
pulumi.log.warn("""private_ip is deprecated: Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
|
648
|
-
if private_ip is not None:
|
|
649
|
-
pulumi.set(__self__, "private_ip", private_ip)
|
|
650
607
|
if private_ips is not None:
|
|
651
608
|
pulumi.set(__self__, "private_ips", private_ips)
|
|
652
609
|
if private_networks is not None:
|
|
@@ -655,11 +612,6 @@ class _InstanceServerState:
|
|
|
655
612
|
pulumi.set(__self__, "project_id", project_id)
|
|
656
613
|
if protected is not None:
|
|
657
614
|
pulumi.set(__self__, "protected", protected)
|
|
658
|
-
if public_ip is not None:
|
|
659
|
-
warnings.warn("""Use public_ips instead""", DeprecationWarning)
|
|
660
|
-
pulumi.log.warn("""public_ip is deprecated: Use public_ips instead""")
|
|
661
|
-
if public_ip is not None:
|
|
662
|
-
pulumi.set(__self__, "public_ip", public_ip)
|
|
663
615
|
if public_ips is not None:
|
|
664
616
|
pulumi.set(__self__, "public_ips", public_ips)
|
|
665
617
|
if replace_on_type_change is not None:
|
|
@@ -760,18 +712,16 @@ class _InstanceServerState:
|
|
|
760
712
|
pulumi.set(self, "enable_dynamic_ip", value)
|
|
761
713
|
|
|
762
714
|
@_builtins.property
|
|
763
|
-
@pulumi.getter
|
|
764
|
-
|
|
765
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
715
|
+
@pulumi.getter
|
|
716
|
+
def filesystems(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]]:
|
|
766
717
|
"""
|
|
767
|
-
|
|
768
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
718
|
+
List of filesystems attached to the server.
|
|
769
719
|
"""
|
|
770
|
-
return pulumi.get(self, "
|
|
720
|
+
return pulumi.get(self, "filesystems")
|
|
771
721
|
|
|
772
|
-
@
|
|
773
|
-
def
|
|
774
|
-
pulumi.set(self, "
|
|
722
|
+
@filesystems.setter
|
|
723
|
+
def filesystems(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerFilesystemArgs']]]]):
|
|
724
|
+
pulumi.set(self, "filesystems", value)
|
|
775
725
|
|
|
776
726
|
@_builtins.property
|
|
777
727
|
@pulumi.getter
|
|
@@ -816,48 +766,6 @@ class _InstanceServerState:
|
|
|
816
766
|
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
817
767
|
pulumi.set(self, "ip_ids", value)
|
|
818
768
|
|
|
819
|
-
@_builtins.property
|
|
820
|
-
@pulumi.getter(name="ipv6Address")
|
|
821
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
822
|
-
def ipv6_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
823
|
-
"""
|
|
824
|
-
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
825
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
826
|
-
"""
|
|
827
|
-
return pulumi.get(self, "ipv6_address")
|
|
828
|
-
|
|
829
|
-
@ipv6_address.setter
|
|
830
|
-
def ipv6_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
831
|
-
pulumi.set(self, "ipv6_address", value)
|
|
832
|
-
|
|
833
|
-
@_builtins.property
|
|
834
|
-
@pulumi.getter(name="ipv6Gateway")
|
|
835
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
836
|
-
def ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
837
|
-
"""
|
|
838
|
-
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
839
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
840
|
-
"""
|
|
841
|
-
return pulumi.get(self, "ipv6_gateway")
|
|
842
|
-
|
|
843
|
-
@ipv6_gateway.setter
|
|
844
|
-
def ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
845
|
-
pulumi.set(self, "ipv6_gateway", value)
|
|
846
|
-
|
|
847
|
-
@_builtins.property
|
|
848
|
-
@pulumi.getter(name="ipv6PrefixLength")
|
|
849
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
850
|
-
def ipv6_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
851
|
-
"""
|
|
852
|
-
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
853
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
854
|
-
"""
|
|
855
|
-
return pulumi.get(self, "ipv6_prefix_length")
|
|
856
|
-
|
|
857
|
-
@ipv6_prefix_length.setter
|
|
858
|
-
def ipv6_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
859
|
-
pulumi.set(self, "ipv6_prefix_length", value)
|
|
860
|
-
|
|
861
769
|
@_builtins.property
|
|
862
770
|
@pulumi.getter
|
|
863
771
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -901,7 +809,7 @@ class _InstanceServerState:
|
|
|
901
809
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
|
902
810
|
def placement_group_policy_respected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
903
811
|
"""
|
|
904
|
-
(Deprecated) Always false, use instance_placement_group
|
|
812
|
+
(Deprecated) Always false, use instance_placement_group resource to known when the placement group policy is respected.
|
|
905
813
|
"""
|
|
906
814
|
return pulumi.get(self, "placement_group_policy_respected")
|
|
907
815
|
|
|
@@ -909,19 +817,6 @@ class _InstanceServerState:
|
|
|
909
817
|
def placement_group_policy_respected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
910
818
|
pulumi.set(self, "placement_group_policy_respected", value)
|
|
911
819
|
|
|
912
|
-
@_builtins.property
|
|
913
|
-
@pulumi.getter(name="privateIp")
|
|
914
|
-
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
|
915
|
-
def private_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
916
|
-
"""
|
|
917
|
-
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
|
918
|
-
"""
|
|
919
|
-
return pulumi.get(self, "private_ip")
|
|
920
|
-
|
|
921
|
-
@private_ip.setter
|
|
922
|
-
def private_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
923
|
-
pulumi.set(self, "private_ip", value)
|
|
924
|
-
|
|
925
820
|
@_builtins.property
|
|
926
821
|
@pulumi.getter(name="privateIps")
|
|
927
822
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]:
|
|
@@ -971,19 +866,6 @@ class _InstanceServerState:
|
|
|
971
866
|
def protected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
972
867
|
pulumi.set(self, "protected", value)
|
|
973
868
|
|
|
974
|
-
@_builtins.property
|
|
975
|
-
@pulumi.getter(name="publicIp")
|
|
976
|
-
@_utilities.deprecated("""Use public_ips instead""")
|
|
977
|
-
def public_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
978
|
-
"""
|
|
979
|
-
The public IP address of the server (Deprecated use `public_ips` instead).
|
|
980
|
-
"""
|
|
981
|
-
return pulumi.get(self, "public_ip")
|
|
982
|
-
|
|
983
|
-
@public_ip.setter
|
|
984
|
-
def public_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
985
|
-
pulumi.set(self, "public_ip", value)
|
|
986
|
-
|
|
987
869
|
@_builtins.property
|
|
988
870
|
@pulumi.getter(name="publicIps")
|
|
989
871
|
def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]:
|
|
@@ -1120,7 +1002,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1120
1002
|
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1121
1003
|
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1122
1004
|
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1123
|
-
|
|
1005
|
+
filesystems: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerFilesystemArgs', 'InstanceServerFilesystemArgsDict']]]]] = None,
|
|
1124
1006
|
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1125
1007
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1126
1008
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -1182,6 +1064,35 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1182
1064
|
additional_volume_ids=[data.id])
|
|
1183
1065
|
```
|
|
1184
1066
|
|
|
1067
|
+
### With filesystem
|
|
1068
|
+
|
|
1069
|
+
```python
|
|
1070
|
+
import pulumi
|
|
1071
|
+
import pulumiverse_scaleway as scaleway
|
|
1072
|
+
|
|
1073
|
+
volume = scaleway.block.Volume("volume",
|
|
1074
|
+
iops=15000,
|
|
1075
|
+
size_in_gb=15)
|
|
1076
|
+
terraform_instance_filesystem = scaleway.FileFilesystem("terraform_instance_filesystem",
|
|
1077
|
+
name="filesystem-instance-terraform",
|
|
1078
|
+
size_in_gb=100)
|
|
1079
|
+
base = scaleway.instance.Server("base",
|
|
1080
|
+
type="POP2-HM-2C-16G",
|
|
1081
|
+
state="started",
|
|
1082
|
+
tags=[
|
|
1083
|
+
"terraform-test",
|
|
1084
|
+
"scaleway_instance_server",
|
|
1085
|
+
"state",
|
|
1086
|
+
],
|
|
1087
|
+
root_volume={
|
|
1088
|
+
"volume_type": "sbs_volume",
|
|
1089
|
+
"volume_id": volume.id,
|
|
1090
|
+
},
|
|
1091
|
+
filesystems=[{
|
|
1092
|
+
"filesystem_id": terraform_instance_filesystem.id,
|
|
1093
|
+
}])
|
|
1094
|
+
```
|
|
1095
|
+
|
|
1185
1096
|
### With a reserved IP
|
|
1186
1097
|
|
|
1187
1098
|
```python
|
|
@@ -1336,8 +1247,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1336
1247
|
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
|
1337
1248
|
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
|
1338
1249
|
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
1339
|
-
:param pulumi.Input[
|
|
1340
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1250
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerFilesystemArgs', 'InstanceServerFilesystemArgsDict']]]] filesystems: List of filesystems attached to the server.
|
|
1341
1251
|
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
|
1342
1252
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
|
1343
1253
|
|
|
@@ -1426,6 +1336,35 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1426
1336
|
additional_volume_ids=[data.id])
|
|
1427
1337
|
```
|
|
1428
1338
|
|
|
1339
|
+
### With filesystem
|
|
1340
|
+
|
|
1341
|
+
```python
|
|
1342
|
+
import pulumi
|
|
1343
|
+
import pulumiverse_scaleway as scaleway
|
|
1344
|
+
|
|
1345
|
+
volume = scaleway.block.Volume("volume",
|
|
1346
|
+
iops=15000,
|
|
1347
|
+
size_in_gb=15)
|
|
1348
|
+
terraform_instance_filesystem = scaleway.FileFilesystem("terraform_instance_filesystem",
|
|
1349
|
+
name="filesystem-instance-terraform",
|
|
1350
|
+
size_in_gb=100)
|
|
1351
|
+
base = scaleway.instance.Server("base",
|
|
1352
|
+
type="POP2-HM-2C-16G",
|
|
1353
|
+
state="started",
|
|
1354
|
+
tags=[
|
|
1355
|
+
"terraform-test",
|
|
1356
|
+
"scaleway_instance_server",
|
|
1357
|
+
"state",
|
|
1358
|
+
],
|
|
1359
|
+
root_volume={
|
|
1360
|
+
"volume_type": "sbs_volume",
|
|
1361
|
+
"volume_id": volume.id,
|
|
1362
|
+
},
|
|
1363
|
+
filesystems=[{
|
|
1364
|
+
"filesystem_id": terraform_instance_filesystem.id,
|
|
1365
|
+
}])
|
|
1366
|
+
```
|
|
1367
|
+
|
|
1429
1368
|
### With a reserved IP
|
|
1430
1369
|
|
|
1431
1370
|
```python
|
|
@@ -1586,7 +1525,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1586
1525
|
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1587
1526
|
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1588
1527
|
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1589
|
-
|
|
1528
|
+
filesystems: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerFilesystemArgs', 'InstanceServerFilesystemArgsDict']]]]] = None,
|
|
1590
1529
|
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1591
1530
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1592
1531
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -1621,7 +1560,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1621
1560
|
__props__.__dict__["bootscript_id"] = bootscript_id
|
|
1622
1561
|
__props__.__dict__["cloud_init"] = cloud_init
|
|
1623
1562
|
__props__.__dict__["enable_dynamic_ip"] = enable_dynamic_ip
|
|
1624
|
-
__props__.__dict__["
|
|
1563
|
+
__props__.__dict__["filesystems"] = filesystems
|
|
1625
1564
|
__props__.__dict__["image"] = image
|
|
1626
1565
|
__props__.__dict__["ip_id"] = ip_id
|
|
1627
1566
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
@@ -1642,13 +1581,8 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1642
1581
|
__props__.__dict__["type"] = type
|
|
1643
1582
|
__props__.__dict__["user_data"] = user_data
|
|
1644
1583
|
__props__.__dict__["zone"] = zone
|
|
1645
|
-
__props__.__dict__["ipv6_address"] = None
|
|
1646
|
-
__props__.__dict__["ipv6_gateway"] = None
|
|
1647
|
-
__props__.__dict__["ipv6_prefix_length"] = None
|
|
1648
1584
|
__props__.__dict__["organization_id"] = None
|
|
1649
1585
|
__props__.__dict__["placement_group_policy_respected"] = None
|
|
1650
|
-
__props__.__dict__["private_ip"] = None
|
|
1651
|
-
__props__.__dict__["public_ip"] = None
|
|
1652
1586
|
super(InstanceServer, __self__).__init__(
|
|
1653
1587
|
'scaleway:index/instanceServer:InstanceServer',
|
|
1654
1588
|
resource_name,
|
|
@@ -1665,23 +1599,18 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1665
1599
|
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1666
1600
|
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1667
1601
|
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1668
|
-
|
|
1602
|
+
filesystems: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerFilesystemArgs', 'InstanceServerFilesystemArgsDict']]]]] = None,
|
|
1669
1603
|
image: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1670
1604
|
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1671
1605
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1672
|
-
ipv6_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1673
|
-
ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1674
|
-
ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1675
1606
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1676
1607
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1677
1608
|
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1678
1609
|
placement_group_policy_respected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1679
|
-
private_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1680
1610
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
|
1681
1611
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
|
1682
1612
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1683
1613
|
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1684
|
-
public_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1685
1614
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
|
1686
1615
|
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1687
1616
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
|
@@ -1711,8 +1640,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1711
1640
|
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
|
1712
1641
|
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
|
1713
1642
|
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
|
1714
|
-
:param pulumi.Input[
|
|
1715
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1643
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerFilesystemArgs', 'InstanceServerFilesystemArgsDict']]]] filesystems: List of filesystems attached to the server.
|
|
1716
1644
|
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
|
1717
1645
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
|
1718
1646
|
|
|
@@ -1723,26 +1651,18 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1723
1651
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
|
1724
1652
|
|
|
1725
1653
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
|
1726
|
-
:param pulumi.Input[_builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1727
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1728
|
-
:param pulumi.Input[_builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
1729
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1730
|
-
:param pulumi.Input[_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 )
|
|
1731
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1732
1654
|
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
1733
1655
|
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
|
1734
1656
|
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
|
1735
1657
|
|
|
1736
1658
|
|
|
1737
1659
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
|
1738
|
-
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group
|
|
1739
|
-
:param pulumi.Input[_builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
|
1660
|
+
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group resource to known when the placement group policy is respected.
|
|
1740
1661
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
1741
1662
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
|
1742
1663
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
|
1743
1664
|
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
1744
1665
|
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
1745
|
-
:param pulumi.Input[_builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
|
1746
1666
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
|
|
1747
1667
|
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
|
1748
1668
|
:param pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
|
@@ -1773,23 +1693,18 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1773
1693
|
__props__.__dict__["bootscript_id"] = bootscript_id
|
|
1774
1694
|
__props__.__dict__["cloud_init"] = cloud_init
|
|
1775
1695
|
__props__.__dict__["enable_dynamic_ip"] = enable_dynamic_ip
|
|
1776
|
-
__props__.__dict__["
|
|
1696
|
+
__props__.__dict__["filesystems"] = filesystems
|
|
1777
1697
|
__props__.__dict__["image"] = image
|
|
1778
1698
|
__props__.__dict__["ip_id"] = ip_id
|
|
1779
1699
|
__props__.__dict__["ip_ids"] = ip_ids
|
|
1780
|
-
__props__.__dict__["ipv6_address"] = ipv6_address
|
|
1781
|
-
__props__.__dict__["ipv6_gateway"] = ipv6_gateway
|
|
1782
|
-
__props__.__dict__["ipv6_prefix_length"] = ipv6_prefix_length
|
|
1783
1700
|
__props__.__dict__["name"] = name
|
|
1784
1701
|
__props__.__dict__["organization_id"] = organization_id
|
|
1785
1702
|
__props__.__dict__["placement_group_id"] = placement_group_id
|
|
1786
1703
|
__props__.__dict__["placement_group_policy_respected"] = placement_group_policy_respected
|
|
1787
|
-
__props__.__dict__["private_ip"] = private_ip
|
|
1788
1704
|
__props__.__dict__["private_ips"] = private_ips
|
|
1789
1705
|
__props__.__dict__["private_networks"] = private_networks
|
|
1790
1706
|
__props__.__dict__["project_id"] = project_id
|
|
1791
1707
|
__props__.__dict__["protected"] = protected
|
|
1792
|
-
__props__.__dict__["public_ip"] = public_ip
|
|
1793
1708
|
__props__.__dict__["public_ips"] = public_ips
|
|
1794
1709
|
__props__.__dict__["replace_on_type_change"] = replace_on_type_change
|
|
1795
1710
|
__props__.__dict__["root_volume"] = root_volume
|
|
@@ -1858,14 +1773,12 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1858
1773
|
return pulumi.get(self, "enable_dynamic_ip")
|
|
1859
1774
|
|
|
1860
1775
|
@_builtins.property
|
|
1861
|
-
@pulumi.getter
|
|
1862
|
-
|
|
1863
|
-
def enable_ipv6(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1776
|
+
@pulumi.getter
|
|
1777
|
+
def filesystems(self) -> pulumi.Output[Sequence['outputs.InstanceServerFilesystem']]:
|
|
1864
1778
|
"""
|
|
1865
|
-
|
|
1866
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1779
|
+
List of filesystems attached to the server.
|
|
1867
1780
|
"""
|
|
1868
|
-
return pulumi.get(self, "
|
|
1781
|
+
return pulumi.get(self, "filesystems")
|
|
1869
1782
|
|
|
1870
1783
|
@_builtins.property
|
|
1871
1784
|
@pulumi.getter
|
|
@@ -1898,36 +1811,6 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1898
1811
|
"""
|
|
1899
1812
|
return pulumi.get(self, "ip_ids")
|
|
1900
1813
|
|
|
1901
|
-
@_builtins.property
|
|
1902
|
-
@pulumi.getter(name="ipv6Address")
|
|
1903
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
1904
|
-
def ipv6_address(self) -> pulumi.Output[_builtins.str]:
|
|
1905
|
-
"""
|
|
1906
|
-
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1907
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1908
|
-
"""
|
|
1909
|
-
return pulumi.get(self, "ipv6_address")
|
|
1910
|
-
|
|
1911
|
-
@_builtins.property
|
|
1912
|
-
@pulumi.getter(name="ipv6Gateway")
|
|
1913
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
1914
|
-
def ipv6_gateway(self) -> pulumi.Output[_builtins.str]:
|
|
1915
|
-
"""
|
|
1916
|
-
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
|
1917
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1918
|
-
"""
|
|
1919
|
-
return pulumi.get(self, "ipv6_gateway")
|
|
1920
|
-
|
|
1921
|
-
@_builtins.property
|
|
1922
|
-
@pulumi.getter(name="ipv6PrefixLength")
|
|
1923
|
-
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
|
1924
|
-
def ipv6_prefix_length(self) -> pulumi.Output[_builtins.int]:
|
|
1925
|
-
"""
|
|
1926
|
-
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
|
1927
|
-
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
|
1928
|
-
"""
|
|
1929
|
-
return pulumi.get(self, "ipv6_prefix_length")
|
|
1930
|
-
|
|
1931
1814
|
@_builtins.property
|
|
1932
1815
|
@pulumi.getter
|
|
1933
1816
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -1959,19 +1842,10 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
1959
1842
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
|
1960
1843
|
def placement_group_policy_respected(self) -> pulumi.Output[_builtins.bool]:
|
|
1961
1844
|
"""
|
|
1962
|
-
(Deprecated) Always false, use instance_placement_group
|
|
1845
|
+
(Deprecated) Always false, use instance_placement_group resource to known when the placement group policy is respected.
|
|
1963
1846
|
"""
|
|
1964
1847
|
return pulumi.get(self, "placement_group_policy_respected")
|
|
1965
1848
|
|
|
1966
|
-
@_builtins.property
|
|
1967
|
-
@pulumi.getter(name="privateIp")
|
|
1968
|
-
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
|
1969
|
-
def private_ip(self) -> pulumi.Output[_builtins.str]:
|
|
1970
|
-
"""
|
|
1971
|
-
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
|
1972
|
-
"""
|
|
1973
|
-
return pulumi.get(self, "private_ip")
|
|
1974
|
-
|
|
1975
1849
|
@_builtins.property
|
|
1976
1850
|
@pulumi.getter(name="privateIps")
|
|
1977
1851
|
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstanceServerPrivateIp']]:
|
|
@@ -2005,15 +1879,6 @@ class InstanceServer(pulumi.CustomResource):
|
|
|
2005
1879
|
"""
|
|
2006
1880
|
return pulumi.get(self, "protected")
|
|
2007
1881
|
|
|
2008
|
-
@_builtins.property
|
|
2009
|
-
@pulumi.getter(name="publicIp")
|
|
2010
|
-
@_utilities.deprecated("""Use public_ips instead""")
|
|
2011
|
-
def public_ip(self) -> pulumi.Output[_builtins.str]:
|
|
2012
|
-
"""
|
|
2013
|
-
The public IP address of the server (Deprecated use `public_ips` instead).
|
|
2014
|
-
"""
|
|
2015
|
-
return pulumi.get(self, "public_ip")
|
|
2016
|
-
|
|
2017
1882
|
@_builtins.property
|
|
2018
1883
|
@pulumi.getter(name="publicIps")
|
|
2019
1884
|
def public_ips(self) -> pulumi.Output[Sequence['outputs.InstanceServerPublicIp']]:
|