pulumiverse-scaleway 1.28.0a1747119212__py3-none-any.whl → 1.29.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 -1
- pulumiverse_scaleway/_inputs.py +604 -6
- pulumiverse_scaleway/account/__init__.py +2 -0
- pulumiverse_scaleway/account/get_projects.py +235 -0
- pulumiverse_scaleway/account/outputs.py +95 -0
- pulumiverse_scaleway/baremetal_server.py +67 -258
- pulumiverse_scaleway/block/__init__.py +2 -0
- pulumiverse_scaleway/block/_inputs.py +73 -0
- pulumiverse_scaleway/block/get_snapshot.py +13 -1
- pulumiverse_scaleway/block/outputs.py +79 -0
- pulumiverse_scaleway/block/snapshot.py +62 -14
- pulumiverse_scaleway/block_snapshot.py +62 -14
- pulumiverse_scaleway/container.py +2 -2
- pulumiverse_scaleway/containers/container.py +2 -2
- pulumiverse_scaleway/database_instance.py +61 -21
- pulumiverse_scaleway/databases/_inputs.py +54 -0
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +61 -21
- pulumiverse_scaleway/databases/outputs.py +62 -0
- pulumiverse_scaleway/databases/snapshot.py +2 -2
- pulumiverse_scaleway/domain/get_zone.py +7 -1
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +74 -0
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/outputs.py +87 -0
- pulumiverse_scaleway/elasticmetal/server.py +67 -258
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_block_snapshot.py +13 -1
- pulumiverse_scaleway/get_cockpit_plan.py +2 -38
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_domain_zone.py +7 -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_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/get_redis_cluster.py +12 -1
- pulumiverse_scaleway/get_vpc_gateway_network.py +12 -1
- pulumiverse_scaleway/iam/user.py +468 -14
- pulumiverse_scaleway/iam_user.py +468 -14
- 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 +49 -0
- pulumiverse_scaleway/instance/server.py +47 -0
- pulumiverse_scaleway/instance/snapshot.py +28 -7
- pulumiverse_scaleway/instance/volume.py +28 -7
- pulumiverse_scaleway/instance_private_nic.py +49 -0
- pulumiverse_scaleway/instance_server.py +47 -0
- pulumiverse_scaleway/instance_snapshot.py +28 -7
- pulumiverse_scaleway/instance_volume.py +28 -7
- 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/mongo_db_instance.py +107 -7
- pulumiverse_scaleway/mongodb/_inputs.py +54 -0
- pulumiverse_scaleway/mongodb/get_instance.py +12 -1
- pulumiverse_scaleway/mongodb/instance.py +107 -7
- pulumiverse_scaleway/mongodb/outputs.py +62 -0
- pulumiverse_scaleway/network/_inputs.py +54 -0
- pulumiverse_scaleway/network/gateway_network.py +47 -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/__init__.py +0 -1
- pulumiverse_scaleway/observability/get_plan.py +2 -38
- pulumiverse_scaleway/outputs.py +718 -27
- 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 +47 -0
- pulumiverse_scaleway/redis/get_cluster.py +12 -1
- pulumiverse_scaleway/redis/outputs.py +66 -4
- pulumiverse_scaleway/redis_cluster.py +47 -0
- pulumiverse_scaleway/vpc_gateway_network.py +47 -0
- pulumiverse_scaleway/vpc_route.py +90 -2
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +102 -94
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.28.0a1747119212.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -35,8 +35,11 @@ class SnapshotArgs:
|
|
35
35
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the snapshot is
|
36
36
|
associated with.
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
38
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
38
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
39
39
|
Updates to this field will recreate a new resource.
|
40
|
+
|
41
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
42
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
40
43
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
41
44
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
42
45
|
the snapshot should be created.
|
@@ -109,8 +112,11 @@ class SnapshotArgs:
|
|
109
112
|
@pulumi.getter
|
110
113
|
def type(self) -> Optional[pulumi.Input[str]]:
|
111
114
|
"""
|
112
|
-
The snapshot's volume type. The possible values are: `
|
115
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
113
116
|
Updates to this field will recreate a new resource.
|
117
|
+
|
118
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
119
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
114
120
|
"""
|
115
121
|
return pulumi.get(self, "type")
|
116
122
|
|
@@ -167,8 +173,11 @@ class _SnapshotState:
|
|
167
173
|
associated with.
|
168
174
|
:param pulumi.Input[int] size_in_gb: (Optional) The size of the snapshot.
|
169
175
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
170
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
176
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
171
177
|
Updates to this field will recreate a new resource.
|
178
|
+
|
179
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
180
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
172
181
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
173
182
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
174
183
|
the snapshot should be created.
|
@@ -283,8 +292,11 @@ class _SnapshotState:
|
|
283
292
|
@pulumi.getter
|
284
293
|
def type(self) -> Optional[pulumi.Input[str]]:
|
285
294
|
"""
|
286
|
-
The snapshot's volume type. The possible values are: `
|
295
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
287
296
|
Updates to this field will recreate a new resource.
|
297
|
+
|
298
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
299
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
288
300
|
"""
|
289
301
|
return pulumi.get(self, "type")
|
290
302
|
|
@@ -406,8 +418,11 @@ class Snapshot(pulumi.CustomResource):
|
|
406
418
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the snapshot is
|
407
419
|
associated with.
|
408
420
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
409
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
421
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
410
422
|
Updates to this field will recreate a new resource.
|
423
|
+
|
424
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
425
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
411
426
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
412
427
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
413
428
|
the snapshot should be created.
|
@@ -564,8 +579,11 @@ class Snapshot(pulumi.CustomResource):
|
|
564
579
|
associated with.
|
565
580
|
:param pulumi.Input[int] size_in_gb: (Optional) The size of the snapshot.
|
566
581
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
567
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
582
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
568
583
|
Updates to this field will recreate a new resource.
|
584
|
+
|
585
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
586
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
569
587
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
570
588
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
571
589
|
the snapshot should be created.
|
@@ -647,8 +665,11 @@ class Snapshot(pulumi.CustomResource):
|
|
647
665
|
@pulumi.getter
|
648
666
|
def type(self) -> pulumi.Output[str]:
|
649
667
|
"""
|
650
|
-
The snapshot's volume type. The possible values are: `
|
668
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
651
669
|
Updates to this field will recreate a new resource.
|
670
|
+
|
671
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
672
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
652
673
|
"""
|
653
674
|
return pulumi.get(self, "type")
|
654
675
|
|
@@ -29,7 +29,10 @@ class VolumeArgs:
|
|
29
29
|
zone: Optional[pulumi.Input[str]] = None):
|
30
30
|
"""
|
31
31
|
The set of arguments for constructing a Volume resource.
|
32
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
32
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
33
|
+
|
34
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
35
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
33
36
|
:param pulumi.Input[str] from_snapshot_id: If set, the new volume will be created from this snapshot. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
34
37
|
:param pulumi.Input[bool] migrate_to_sbs: If true, consider that this volume may have been migrated and no longer exists.
|
35
38
|
:param pulumi.Input[str] name: The name of the volume. If not provided it will be randomly generated.
|
@@ -58,7 +61,10 @@ class VolumeArgs:
|
|
58
61
|
@pulumi.getter
|
59
62
|
def type(self) -> pulumi.Input[str]:
|
60
63
|
"""
|
61
|
-
The type of the volume. The possible values are: `
|
64
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
65
|
+
|
66
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
67
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
62
68
|
"""
|
63
69
|
return pulumi.get(self, "type")
|
64
70
|
|
@@ -174,7 +180,10 @@ class _VolumeState:
|
|
174
180
|
:param pulumi.Input[str] server_id: The id of the associated server.
|
175
181
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
176
182
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
177
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
183
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
184
|
+
|
185
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
186
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
178
187
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
179
188
|
"""
|
180
189
|
if from_snapshot_id is not None:
|
@@ -298,7 +307,10 @@ class _VolumeState:
|
|
298
307
|
@pulumi.getter
|
299
308
|
def type(self) -> Optional[pulumi.Input[str]]:
|
300
309
|
"""
|
301
|
-
The type of the volume. The possible values are: `
|
310
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
311
|
+
|
312
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
313
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
302
314
|
"""
|
303
315
|
return pulumi.get(self, "type")
|
304
316
|
|
@@ -367,7 +379,10 @@ class Volume(pulumi.CustomResource):
|
|
367
379
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the volume is associated with.
|
368
380
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
369
381
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
370
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
382
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
383
|
+
|
384
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
385
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
371
386
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
372
387
|
"""
|
373
388
|
...
|
@@ -483,7 +498,10 @@ class Volume(pulumi.CustomResource):
|
|
483
498
|
:param pulumi.Input[str] server_id: The id of the associated server.
|
484
499
|
:param pulumi.Input[int] size_in_gb: The size of the volume. Only one of `size_in_gb` and `from_snapshot_id` should be specified.
|
485
500
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
|
486
|
-
:param pulumi.Input[str] type: The type of the volume. The possible values are: `
|
501
|
+
:param pulumi.Input[str] type: The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
502
|
+
|
503
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
504
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
487
505
|
:param pulumi.Input[str] zone: `zone`) The zone in which the volume should be created.
|
488
506
|
"""
|
489
507
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -570,7 +588,10 @@ class Volume(pulumi.CustomResource):
|
|
570
588
|
@pulumi.getter
|
571
589
|
def type(self) -> pulumi.Output[str]:
|
572
590
|
"""
|
573
|
-
The type of the volume. The possible values are: `
|
591
|
+
The type of the volume. The possible values are: `l_ssd` (Local SSD), `scratch` (Local Scratch SSD).
|
592
|
+
|
593
|
+
> **Important:** Volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Volume` resource anymore. Please use the `block.Volume` resource instead.
|
594
|
+
If you want to migrate existing volumes, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
574
595
|
"""
|
575
596
|
return pulumi.get(self, "type")
|
576
597
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from . import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
16
18
|
|
17
19
|
__all__ = ['InstancePrivateNicArgs', 'InstancePrivateNic']
|
18
20
|
|
@@ -23,6 +25,7 @@ class InstancePrivateNicArgs:
|
|
23
25
|
server_id: pulumi.Input[str],
|
24
26
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
27
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]] = None,
|
26
29
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
27
30
|
zone: Optional[pulumi.Input[str]] = None):
|
28
31
|
"""
|
@@ -31,6 +34,7 @@ class InstancePrivateNicArgs:
|
|
31
34
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
32
35
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
33
36
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
|
37
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
34
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
35
39
|
:param pulumi.Input[str] zone: `zone`) The zone in which the server must be created.
|
36
40
|
"""
|
@@ -40,6 +44,8 @@ class InstancePrivateNicArgs:
|
|
40
44
|
pulumi.set(__self__, "ip_ids", ip_ids)
|
41
45
|
if ipam_ip_ids is not None:
|
42
46
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
47
|
+
if private_ips is not None:
|
48
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
43
49
|
if tags is not None:
|
44
50
|
pulumi.set(__self__, "tags", tags)
|
45
51
|
if zone is not None:
|
@@ -93,6 +99,18 @@ class InstancePrivateNicArgs:
|
|
93
99
|
def ipam_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
94
100
|
pulumi.set(self, "ipam_ip_ids", value)
|
95
101
|
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="privateIps")
|
104
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]]:
|
105
|
+
"""
|
106
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "private_ips")
|
109
|
+
|
110
|
+
@private_ips.setter
|
111
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]]):
|
112
|
+
pulumi.set(self, "private_ips", value)
|
113
|
+
|
96
114
|
@property
|
97
115
|
@pulumi.getter
|
98
116
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -124,6 +142,7 @@ class _InstancePrivateNicState:
|
|
124
142
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
125
143
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
126
144
|
mac_address: Optional[pulumi.Input[str]] = None,
|
145
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]] = None,
|
127
146
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
128
147
|
server_id: Optional[pulumi.Input[str]] = None,
|
129
148
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -133,6 +152,7 @@ class _InstancePrivateNicState:
|
|
133
152
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
134
153
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
|
135
154
|
:param pulumi.Input[str] mac_address: The MAC address of the private NIC.
|
155
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
136
156
|
:param pulumi.Input[str] private_network_id: The ID of the private network attached to.
|
137
157
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
138
158
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
@@ -144,6 +164,8 @@ class _InstancePrivateNicState:
|
|
144
164
|
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
145
165
|
if mac_address is not None:
|
146
166
|
pulumi.set(__self__, "mac_address", mac_address)
|
167
|
+
if private_ips is not None:
|
168
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
147
169
|
if private_network_id is not None:
|
148
170
|
pulumi.set(__self__, "private_network_id", private_network_id)
|
149
171
|
if server_id is not None:
|
@@ -189,6 +211,18 @@ class _InstancePrivateNicState:
|
|
189
211
|
def mac_address(self, value: Optional[pulumi.Input[str]]):
|
190
212
|
pulumi.set(self, "mac_address", value)
|
191
213
|
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="privateIps")
|
216
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]]:
|
217
|
+
"""
|
218
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "private_ips")
|
221
|
+
|
222
|
+
@private_ips.setter
|
223
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]]):
|
224
|
+
pulumi.set(self, "private_ips", value)
|
225
|
+
|
192
226
|
@property
|
193
227
|
@pulumi.getter(name="privateNetworkId")
|
194
228
|
def private_network_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -250,6 +284,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
250
284
|
opts: Optional[pulumi.ResourceOptions] = None,
|
251
285
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
252
286
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
287
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateNicPrivateIpArgs', 'InstancePrivateNicPrivateIpArgsDict']]]]] = None,
|
253
288
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
254
289
|
server_id: Optional[pulumi.Input[str]] = None,
|
255
290
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -332,6 +367,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
332
367
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
333
368
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
334
369
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
|
370
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateNicPrivateIpArgs', 'InstancePrivateNicPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
335
371
|
:param pulumi.Input[str] private_network_id: The ID of the private network attached to.
|
336
372
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
337
373
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
@@ -433,6 +469,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
433
469
|
opts: Optional[pulumi.ResourceOptions] = None,
|
434
470
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
435
471
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
472
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateNicPrivateIpArgs', 'InstancePrivateNicPrivateIpArgsDict']]]]] = None,
|
436
473
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
437
474
|
server_id: Optional[pulumi.Input[str]] = None,
|
438
475
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -449,6 +486,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
449
486
|
|
450
487
|
__props__.__dict__["ip_ids"] = ip_ids
|
451
488
|
__props__.__dict__["ipam_ip_ids"] = ipam_ip_ids
|
489
|
+
__props__.__dict__["private_ips"] = private_ips
|
452
490
|
if private_network_id is None and not opts.urn:
|
453
491
|
raise TypeError("Missing required property 'private_network_id'")
|
454
492
|
__props__.__dict__["private_network_id"] = private_network_id
|
@@ -471,6 +509,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
471
509
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
472
510
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
473
511
|
mac_address: Optional[pulumi.Input[str]] = None,
|
512
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateNicPrivateIpArgs', 'InstancePrivateNicPrivateIpArgsDict']]]]] = None,
|
474
513
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
475
514
|
server_id: Optional[pulumi.Input[str]] = None,
|
476
515
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -485,6 +524,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
485
524
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
486
525
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ipam_ip_ids: IPAM IDs of a pre-reserved IP addresses to assign to the Instance in the requested private network.
|
487
526
|
:param pulumi.Input[str] mac_address: The MAC address of the private NIC.
|
527
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstancePrivateNicPrivateIpArgs', 'InstancePrivateNicPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
488
528
|
:param pulumi.Input[str] private_network_id: The ID of the private network attached to.
|
489
529
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
490
530
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
@@ -497,6 +537,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
497
537
|
__props__.__dict__["ip_ids"] = ip_ids
|
498
538
|
__props__.__dict__["ipam_ip_ids"] = ipam_ip_ids
|
499
539
|
__props__.__dict__["mac_address"] = mac_address
|
540
|
+
__props__.__dict__["private_ips"] = private_ips
|
500
541
|
__props__.__dict__["private_network_id"] = private_network_id
|
501
542
|
__props__.__dict__["server_id"] = server_id
|
502
543
|
__props__.__dict__["tags"] = tags
|
@@ -527,6 +568,14 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
527
568
|
"""
|
528
569
|
return pulumi.get(self, "mac_address")
|
529
570
|
|
571
|
+
@property
|
572
|
+
@pulumi.getter(name="privateIps")
|
573
|
+
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstancePrivateNicPrivateIp']]:
|
574
|
+
"""
|
575
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
576
|
+
"""
|
577
|
+
return pulumi.get(self, "private_ips")
|
578
|
+
|
530
579
|
@property
|
531
580
|
@pulumi.getter(name="privateNetworkId")
|
532
581
|
def private_network_id(self) -> pulumi.Output[str]:
|
@@ -33,6 +33,7 @@ class InstanceServerArgs:
|
|
33
33
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
34
34
|
name: Optional[pulumi.Input[str]] = None,
|
35
35
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
36
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
36
37
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
37
38
|
project_id: Optional[pulumi.Input[str]] = None,
|
38
39
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -79,6 +80,7 @@ class InstanceServerArgs:
|
|
79
80
|
|
80
81
|
|
81
82
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
83
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
82
84
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
83
85
|
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.
|
84
86
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -126,6 +128,8 @@ class InstanceServerArgs:
|
|
126
128
|
pulumi.set(__self__, "name", name)
|
127
129
|
if placement_group_id is not None:
|
128
130
|
pulumi.set(__self__, "placement_group_id", placement_group_id)
|
131
|
+
if private_ips is not None:
|
132
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
129
133
|
if private_networks is not None:
|
130
134
|
pulumi.set(__self__, "private_networks", private_networks)
|
131
135
|
if project_id is not None:
|
@@ -316,6 +320,18 @@ class InstanceServerArgs:
|
|
316
320
|
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
317
321
|
pulumi.set(self, "placement_group_id", value)
|
318
322
|
|
323
|
+
@property
|
324
|
+
@pulumi.getter(name="privateIps")
|
325
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]:
|
326
|
+
"""
|
327
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "private_ips")
|
330
|
+
|
331
|
+
@private_ips.setter
|
332
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]):
|
333
|
+
pulumi.set(self, "private_ips", value)
|
334
|
+
|
319
335
|
@property
|
320
336
|
@pulumi.getter(name="privateNetworks")
|
321
337
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]:
|
@@ -475,6 +491,7 @@ class _InstanceServerState:
|
|
475
491
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
476
492
|
placement_group_policy_respected: Optional[pulumi.Input[bool]] = None,
|
477
493
|
private_ip: Optional[pulumi.Input[str]] = None,
|
494
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
478
495
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
479
496
|
project_id: Optional[pulumi.Input[str]] = None,
|
480
497
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -526,6 +543,7 @@ class _InstanceServerState:
|
|
526
543
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
527
544
|
:param pulumi.Input[bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
528
545
|
:param pulumi.Input[str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
546
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
529
547
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
530
548
|
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.
|
531
549
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -603,6 +621,8 @@ class _InstanceServerState:
|
|
603
621
|
pulumi.log.warn("""private_ip is deprecated: Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
604
622
|
if private_ip is not None:
|
605
623
|
pulumi.set(__self__, "private_ip", private_ip)
|
624
|
+
if private_ips is not None:
|
625
|
+
pulumi.set(__self__, "private_ips", private_ips)
|
606
626
|
if private_networks is not None:
|
607
627
|
pulumi.set(__self__, "private_networks", private_networks)
|
608
628
|
if project_id is not None:
|
@@ -862,6 +882,18 @@ class _InstanceServerState:
|
|
862
882
|
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
863
883
|
pulumi.set(self, "private_ip", value)
|
864
884
|
|
885
|
+
@property
|
886
|
+
@pulumi.getter(name="privateIps")
|
887
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]:
|
888
|
+
"""
|
889
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
890
|
+
"""
|
891
|
+
return pulumi.get(self, "private_ips")
|
892
|
+
|
893
|
+
@private_ips.setter
|
894
|
+
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]):
|
895
|
+
pulumi.set(self, "private_ips", value)
|
896
|
+
|
865
897
|
@property
|
866
898
|
@pulumi.getter(name="privateNetworks")
|
867
899
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]:
|
@@ -1052,6 +1084,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1052
1084
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1053
1085
|
name: Optional[pulumi.Input[str]] = None,
|
1054
1086
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1087
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1055
1088
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1056
1089
|
project_id: Optional[pulumi.Input[str]] = None,
|
1057
1090
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1275,6 +1308,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1275
1308
|
|
1276
1309
|
|
1277
1310
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1311
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1278
1312
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1279
1313
|
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.
|
1280
1314
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -1512,6 +1546,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1512
1546
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1513
1547
|
name: Optional[pulumi.Input[str]] = None,
|
1514
1548
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1549
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1515
1550
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1516
1551
|
project_id: Optional[pulumi.Input[str]] = None,
|
1517
1552
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1545,6 +1580,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1545
1580
|
__props__.__dict__["ip_ids"] = ip_ids
|
1546
1581
|
__props__.__dict__["name"] = name
|
1547
1582
|
__props__.__dict__["placement_group_id"] = placement_group_id
|
1583
|
+
__props__.__dict__["private_ips"] = private_ips
|
1548
1584
|
__props__.__dict__["private_networks"] = private_networks
|
1549
1585
|
__props__.__dict__["project_id"] = project_id
|
1550
1586
|
__props__.__dict__["protected"] = protected
|
@@ -1593,6 +1629,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1593
1629
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1594
1630
|
placement_group_policy_respected: Optional[pulumi.Input[bool]] = None,
|
1595
1631
|
private_ip: Optional[pulumi.Input[str]] = None,
|
1632
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1596
1633
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1597
1634
|
project_id: Optional[pulumi.Input[str]] = None,
|
1598
1635
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1649,6 +1686,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1649
1686
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1650
1687
|
:param pulumi.Input[bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
1651
1688
|
:param pulumi.Input[str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
1689
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1652
1690
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1653
1691
|
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.
|
1654
1692
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -1695,6 +1733,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1695
1733
|
__props__.__dict__["placement_group_id"] = placement_group_id
|
1696
1734
|
__props__.__dict__["placement_group_policy_respected"] = placement_group_policy_respected
|
1697
1735
|
__props__.__dict__["private_ip"] = private_ip
|
1736
|
+
__props__.__dict__["private_ips"] = private_ips
|
1698
1737
|
__props__.__dict__["private_networks"] = private_networks
|
1699
1738
|
__props__.__dict__["project_id"] = project_id
|
1700
1739
|
__props__.__dict__["protected"] = protected
|
@@ -1871,6 +1910,14 @@ class InstanceServer(pulumi.CustomResource):
|
|
1871
1910
|
"""
|
1872
1911
|
return pulumi.get(self, "private_ip")
|
1873
1912
|
|
1913
|
+
@property
|
1914
|
+
@pulumi.getter(name="privateIps")
|
1915
|
+
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstanceServerPrivateIp']]:
|
1916
|
+
"""
|
1917
|
+
The list of private IPv4 and IPv6 addresses associated with the resource.
|
1918
|
+
"""
|
1919
|
+
return pulumi.get(self, "private_ips")
|
1920
|
+
|
1874
1921
|
@property
|
1875
1922
|
@pulumi.getter(name="privateNetworks")
|
1876
1923
|
def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceServerPrivateNetwork']]]:
|
@@ -35,8 +35,11 @@ class InstanceSnapshotArgs:
|
|
35
35
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the snapshot is
|
36
36
|
associated with.
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
38
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
38
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
39
39
|
Updates to this field will recreate a new resource.
|
40
|
+
|
41
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
42
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
40
43
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
41
44
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
42
45
|
the snapshot should be created.
|
@@ -109,8 +112,11 @@ class InstanceSnapshotArgs:
|
|
109
112
|
@pulumi.getter
|
110
113
|
def type(self) -> Optional[pulumi.Input[str]]:
|
111
114
|
"""
|
112
|
-
The snapshot's volume type. The possible values are: `
|
115
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
113
116
|
Updates to this field will recreate a new resource.
|
117
|
+
|
118
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
119
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
114
120
|
"""
|
115
121
|
return pulumi.get(self, "type")
|
116
122
|
|
@@ -167,8 +173,11 @@ class _InstanceSnapshotState:
|
|
167
173
|
associated with.
|
168
174
|
:param pulumi.Input[int] size_in_gb: (Optional) The size of the snapshot.
|
169
175
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
170
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
176
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
171
177
|
Updates to this field will recreate a new resource.
|
178
|
+
|
179
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
180
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
172
181
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
173
182
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
174
183
|
the snapshot should be created.
|
@@ -283,8 +292,11 @@ class _InstanceSnapshotState:
|
|
283
292
|
@pulumi.getter
|
284
293
|
def type(self) -> Optional[pulumi.Input[str]]:
|
285
294
|
"""
|
286
|
-
The snapshot's volume type. The possible values are: `
|
295
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
287
296
|
Updates to this field will recreate a new resource.
|
297
|
+
|
298
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
299
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
288
300
|
"""
|
289
301
|
return pulumi.get(self, "type")
|
290
302
|
|
@@ -411,8 +423,11 @@ class InstanceSnapshot(pulumi.CustomResource):
|
|
411
423
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the snapshot is
|
412
424
|
associated with.
|
413
425
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
414
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
426
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
415
427
|
Updates to this field will recreate a new resource.
|
428
|
+
|
429
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
430
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
416
431
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
417
432
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
418
433
|
the snapshot should be created.
|
@@ -568,8 +583,11 @@ class InstanceSnapshot(pulumi.CustomResource):
|
|
568
583
|
associated with.
|
569
584
|
:param pulumi.Input[int] size_in_gb: (Optional) The size of the snapshot.
|
570
585
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the snapshot.
|
571
|
-
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `
|
586
|
+
:param pulumi.Input[str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
572
587
|
Updates to this field will recreate a new resource.
|
588
|
+
|
589
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
590
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
573
591
|
:param pulumi.Input[str] volume_id: The ID of the volume to take a snapshot from.
|
574
592
|
:param pulumi.Input[str] zone: `zone`) The zone in which
|
575
593
|
the snapshot should be created.
|
@@ -651,8 +669,11 @@ class InstanceSnapshot(pulumi.CustomResource):
|
|
651
669
|
@pulumi.getter
|
652
670
|
def type(self) -> pulumi.Output[str]:
|
653
671
|
"""
|
654
|
-
The snapshot's volume type. The possible values are: `
|
672
|
+
The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
|
655
673
|
Updates to this field will recreate a new resource.
|
674
|
+
|
675
|
+
> **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
|
676
|
+
If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
|
656
677
|
"""
|
657
678
|
return pulumi.get(self, "type")
|
658
679
|
|