pulumiverse-scaleway 1.28.0a1747384911__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 +0 -1
- pulumiverse_scaleway/_inputs.py +106 -0
- 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 +20 -1
- 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 +20 -1
- pulumiverse_scaleway/databases/instance.py +20 -1
- pulumiverse_scaleway/domain/get_zone.py +7 -1
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
- pulumiverse_scaleway/elasticmetal/server.py +20 -1
- pulumiverse_scaleway/get_block_snapshot.py +13 -1
- pulumiverse_scaleway/get_domain_zone.py +7 -1
- pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
- pulumiverse_scaleway/iam/user.py +468 -14
- pulumiverse_scaleway/iam_user.py +468 -14
- pulumiverse_scaleway/instance/private_nic.py +20 -1
- pulumiverse_scaleway/instance/server.py +20 -1
- pulumiverse_scaleway/instance/snapshot.py +28 -7
- pulumiverse_scaleway/instance/volume.py +28 -7
- pulumiverse_scaleway/instance_private_nic.py +20 -1
- pulumiverse_scaleway/instance_server.py +20 -1
- pulumiverse_scaleway/instance_snapshot.py +28 -7
- pulumiverse_scaleway/instance_volume.py +28 -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/gateway_network.py +20 -1
- pulumiverse_scaleway/observability/__init__.py +0 -1
- pulumiverse_scaleway/outputs.py +122 -0
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/redis/cluster.py +20 -1
- pulumiverse_scaleway/redis_cluster.py +20 -1
- pulumiverse_scaleway/vpc_gateway_network.py +20 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/RECORD +49 -44
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.28.0a1747384911.dist-info → pulumiverse_scaleway-1.29.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class PrivateNicArgs:
|
|
25
25
|
server_id: pulumi.Input[str],
|
26
26
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
27
27
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateNicPrivateIpArgs']]]] = None,
|
28
29
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
29
30
|
zone: Optional[pulumi.Input[str]] = None):
|
30
31
|
"""
|
@@ -33,6 +34,7 @@ class PrivateNicArgs:
|
|
33
34
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
34
35
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
35
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['PrivateNicPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
36
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
37
39
|
:param pulumi.Input[str] zone: `zone`) The zone in which the server must be created.
|
38
40
|
"""
|
@@ -42,6 +44,8 @@ class PrivateNicArgs:
|
|
42
44
|
pulumi.set(__self__, "ip_ids", ip_ids)
|
43
45
|
if ipam_ip_ids is not None:
|
44
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)
|
45
49
|
if tags is not None:
|
46
50
|
pulumi.set(__self__, "tags", tags)
|
47
51
|
if zone is not None:
|
@@ -95,6 +99,18 @@ class PrivateNicArgs:
|
|
95
99
|
def ipam_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
96
100
|
pulumi.set(self, "ipam_ip_ids", value)
|
97
101
|
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="privateIps")
|
104
|
+
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PrivateNicPrivateIpArgs']]]]:
|
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['PrivateNicPrivateIpArgs']]]]):
|
112
|
+
pulumi.set(self, "private_ips", value)
|
113
|
+
|
98
114
|
@property
|
99
115
|
@pulumi.getter
|
100
116
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -263,6 +279,7 @@ class PrivateNic(pulumi.CustomResource):
|
|
263
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
264
280
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
265
281
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
282
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrivateNicPrivateIpArgs', 'PrivateNicPrivateIpArgsDict']]]]] = None,
|
266
283
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
267
284
|
server_id: Optional[pulumi.Input[str]] = None,
|
268
285
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -345,6 +362,7 @@ class PrivateNic(pulumi.CustomResource):
|
|
345
362
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
346
363
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
347
364
|
: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.
|
365
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['PrivateNicPrivateIpArgs', 'PrivateNicPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
348
366
|
:param pulumi.Input[str] private_network_id: The ID of the private network attached to.
|
349
367
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
350
368
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
@@ -446,6 +464,7 @@ class PrivateNic(pulumi.CustomResource):
|
|
446
464
|
opts: Optional[pulumi.ResourceOptions] = None,
|
447
465
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
448
466
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
467
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrivateNicPrivateIpArgs', 'PrivateNicPrivateIpArgsDict']]]]] = None,
|
449
468
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
450
469
|
server_id: Optional[pulumi.Input[str]] = None,
|
451
470
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -461,6 +480,7 @@ class PrivateNic(pulumi.CustomResource):
|
|
461
480
|
|
462
481
|
__props__.__dict__["ip_ids"] = ip_ids
|
463
482
|
__props__.__dict__["ipam_ip_ids"] = ipam_ip_ids
|
483
|
+
__props__.__dict__["private_ips"] = private_ips
|
464
484
|
if private_network_id is None and not opts.urn:
|
465
485
|
raise TypeError("Missing required property 'private_network_id'")
|
466
486
|
__props__.__dict__["private_network_id"] = private_network_id
|
@@ -470,7 +490,6 @@ class PrivateNic(pulumi.CustomResource):
|
|
470
490
|
__props__.__dict__["tags"] = tags
|
471
491
|
__props__.__dict__["zone"] = zone
|
472
492
|
__props__.__dict__["mac_address"] = None
|
473
|
-
__props__.__dict__["private_ips"] = None
|
474
493
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/instancePrivateNic:InstancePrivateNic")])
|
475
494
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
476
495
|
super(PrivateNic, __self__).__init__(
|
@@ -33,6 +33,7 @@ class ServerArgs:
|
|
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['ServerPrivateIpArgs']]]] = None,
|
36
37
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
|
37
38
|
project_id: Optional[pulumi.Input[str]] = None,
|
38
39
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -79,6 +80,7 @@ class ServerArgs:
|
|
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['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
82
84
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] 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 ServerArgs:
|
|
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 ServerArgs:
|
|
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['ServerPrivateIpArgs']]]]:
|
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['ServerPrivateIpArgs']]]]):
|
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['ServerPrivateNetworkArgs']]]]:
|
@@ -1063,6 +1079,7 @@ class Server(pulumi.CustomResource):
|
|
1063
1079
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1064
1080
|
name: Optional[pulumi.Input[str]] = None,
|
1065
1081
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1082
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
1066
1083
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
1067
1084
|
project_id: Optional[pulumi.Input[str]] = None,
|
1068
1085
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1286,6 +1303,7 @@ class Server(pulumi.CustomResource):
|
|
1286
1303
|
|
1287
1304
|
|
1288
1305
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1306
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1289
1307
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1290
1308
|
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.
|
1291
1309
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -1523,6 +1541,7 @@ class Server(pulumi.CustomResource):
|
|
1523
1541
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1524
1542
|
name: Optional[pulumi.Input[str]] = None,
|
1525
1543
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1544
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
1526
1545
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
1527
1546
|
project_id: Optional[pulumi.Input[str]] = None,
|
1528
1547
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1555,6 +1574,7 @@ class Server(pulumi.CustomResource):
|
|
1555
1574
|
__props__.__dict__["ip_ids"] = ip_ids
|
1556
1575
|
__props__.__dict__["name"] = name
|
1557
1576
|
__props__.__dict__["placement_group_id"] = placement_group_id
|
1577
|
+
__props__.__dict__["private_ips"] = private_ips
|
1558
1578
|
__props__.__dict__["private_networks"] = private_networks
|
1559
1579
|
__props__.__dict__["project_id"] = project_id
|
1560
1580
|
__props__.__dict__["protected"] = protected
|
@@ -1575,7 +1595,6 @@ class Server(pulumi.CustomResource):
|
|
1575
1595
|
__props__.__dict__["organization_id"] = None
|
1576
1596
|
__props__.__dict__["placement_group_policy_respected"] = None
|
1577
1597
|
__props__.__dict__["private_ip"] = None
|
1578
|
-
__props__.__dict__["private_ips"] = None
|
1579
1598
|
__props__.__dict__["public_ip"] = None
|
1580
1599
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/instanceServer:InstanceServer")])
|
1581
1600
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
@@ -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
|
|
@@ -25,6 +25,7 @@ class InstancePrivateNicArgs:
|
|
25
25
|
server_id: pulumi.Input[str],
|
26
26
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
27
27
|
ipam_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePrivateNicPrivateIpArgs']]]] = None,
|
28
29
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
29
30
|
zone: Optional[pulumi.Input[str]] = None):
|
30
31
|
"""
|
@@ -33,6 +34,7 @@ class InstancePrivateNicArgs:
|
|
33
34
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
34
35
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
35
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.
|
36
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
37
39
|
:param pulumi.Input[str] zone: `zone`) The zone in which the server must be created.
|
38
40
|
"""
|
@@ -42,6 +44,8 @@ class InstancePrivateNicArgs:
|
|
42
44
|
pulumi.set(__self__, "ip_ids", ip_ids)
|
43
45
|
if ipam_ip_ids is not None:
|
44
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)
|
45
49
|
if tags is not None:
|
46
50
|
pulumi.set(__self__, "tags", tags)
|
47
51
|
if zone is not None:
|
@@ -95,6 +99,18 @@ class InstancePrivateNicArgs:
|
|
95
99
|
def ipam_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
96
100
|
pulumi.set(self, "ipam_ip_ids", value)
|
97
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
|
+
|
98
114
|
@property
|
99
115
|
@pulumi.getter
|
100
116
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -268,6 +284,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
268
284
|
opts: Optional[pulumi.ResourceOptions] = None,
|
269
285
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
270
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,
|
271
288
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
272
289
|
server_id: Optional[pulumi.Input[str]] = None,
|
273
290
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -350,6 +367,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
350
367
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
351
368
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: IPAM ip list, should be for internal use only
|
352
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.
|
353
371
|
:param pulumi.Input[str] private_network_id: The ID of the private network attached to.
|
354
372
|
:param pulumi.Input[str] server_id: The ID of the server associated with.
|
355
373
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the private NIC.
|
@@ -451,6 +469,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
451
469
|
opts: Optional[pulumi.ResourceOptions] = None,
|
452
470
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
453
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,
|
454
473
|
private_network_id: Optional[pulumi.Input[str]] = None,
|
455
474
|
server_id: Optional[pulumi.Input[str]] = None,
|
456
475
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
@@ -467,6 +486,7 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
467
486
|
|
468
487
|
__props__.__dict__["ip_ids"] = ip_ids
|
469
488
|
__props__.__dict__["ipam_ip_ids"] = ipam_ip_ids
|
489
|
+
__props__.__dict__["private_ips"] = private_ips
|
470
490
|
if private_network_id is None and not opts.urn:
|
471
491
|
raise TypeError("Missing required property 'private_network_id'")
|
472
492
|
__props__.__dict__["private_network_id"] = private_network_id
|
@@ -476,7 +496,6 @@ class InstancePrivateNic(pulumi.CustomResource):
|
|
476
496
|
__props__.__dict__["tags"] = tags
|
477
497
|
__props__.__dict__["zone"] = zone
|
478
498
|
__props__.__dict__["mac_address"] = None
|
479
|
-
__props__.__dict__["private_ips"] = None
|
480
499
|
super(InstancePrivateNic, __self__).__init__(
|
481
500
|
'scaleway:index/instancePrivateNic:InstancePrivateNic',
|
482
501
|
resource_name,
|
@@ -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']]]]:
|
@@ -1068,6 +1084,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1068
1084
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1069
1085
|
name: Optional[pulumi.Input[str]] = None,
|
1070
1086
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1087
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1071
1088
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1072
1089
|
project_id: Optional[pulumi.Input[str]] = None,
|
1073
1090
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1291,6 +1308,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1291
1308
|
|
1292
1309
|
|
1293
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.
|
1294
1312
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1295
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.
|
1296
1314
|
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
@@ -1528,6 +1546,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1528
1546
|
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1529
1547
|
name: Optional[pulumi.Input[str]] = None,
|
1530
1548
|
placement_group_id: Optional[pulumi.Input[str]] = None,
|
1549
|
+
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1531
1550
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1532
1551
|
project_id: Optional[pulumi.Input[str]] = None,
|
1533
1552
|
protected: Optional[pulumi.Input[bool]] = None,
|
@@ -1561,6 +1580,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1561
1580
|
__props__.__dict__["ip_ids"] = ip_ids
|
1562
1581
|
__props__.__dict__["name"] = name
|
1563
1582
|
__props__.__dict__["placement_group_id"] = placement_group_id
|
1583
|
+
__props__.__dict__["private_ips"] = private_ips
|
1564
1584
|
__props__.__dict__["private_networks"] = private_networks
|
1565
1585
|
__props__.__dict__["project_id"] = project_id
|
1566
1586
|
__props__.__dict__["protected"] = protected
|
@@ -1581,7 +1601,6 @@ class InstanceServer(pulumi.CustomResource):
|
|
1581
1601
|
__props__.__dict__["organization_id"] = None
|
1582
1602
|
__props__.__dict__["placement_group_policy_respected"] = None
|
1583
1603
|
__props__.__dict__["private_ip"] = None
|
1584
|
-
__props__.__dict__["private_ips"] = None
|
1585
1604
|
__props__.__dict__["public_ip"] = None
|
1586
1605
|
super(InstanceServer, __self__).__init__(
|
1587
1606
|
'scaleway:index/instanceServer:InstanceServer',
|
@@ -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
|
|