pulumiverse-scaleway 1.23.0a1739624899__py3-none-any.whl → 1.23.0a1739864644__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.
Files changed (78) hide show
  1. pulumiverse_scaleway/__init__.py +9 -0
  2. pulumiverse_scaleway/_inputs.py +323 -9
  3. pulumiverse_scaleway/_utilities.py +8 -4
  4. pulumiverse_scaleway/account_ssh_key.py +2 -2
  5. pulumiverse_scaleway/apple_silicon_server.py +124 -0
  6. pulumiverse_scaleway/block_snapshot.py +2 -2
  7. pulumiverse_scaleway/block_volume.py +58 -11
  8. pulumiverse_scaleway/cockpit_source.py +7 -7
  9. pulumiverse_scaleway/container.py +236 -23
  10. pulumiverse_scaleway/container_domain.py +2 -2
  11. pulumiverse_scaleway/database_instance.py +74 -21
  12. pulumiverse_scaleway/get_account_project.py +2 -2
  13. pulumiverse_scaleway/get_account_ssh_key.py +2 -2
  14. pulumiverse_scaleway/get_block_snapshot.py +2 -2
  15. pulumiverse_scaleway/get_block_volume.py +14 -3
  16. pulumiverse_scaleway/get_container.py +30 -4
  17. pulumiverse_scaleway/get_database_instance.py +12 -1
  18. pulumiverse_scaleway/get_instance_server.py +1 -15
  19. pulumiverse_scaleway/get_instance_volume.py +12 -1
  20. pulumiverse_scaleway/get_ipam_ip.py +2 -2
  21. pulumiverse_scaleway/get_ipam_ips.py +2 -2
  22. pulumiverse_scaleway/get_lb_acls.py +2 -2
  23. pulumiverse_scaleway/get_lb_backend.py +2 -2
  24. pulumiverse_scaleway/get_lb_backends.py +2 -2
  25. pulumiverse_scaleway/get_lb_frontend.py +2 -2
  26. pulumiverse_scaleway/get_lb_frontends.py +2 -2
  27. pulumiverse_scaleway/get_lb_ips.py +2 -2
  28. pulumiverse_scaleway/get_lb_route.py +2 -2
  29. pulumiverse_scaleway/get_lb_routes.py +2 -2
  30. pulumiverse_scaleway/get_lbs.py +2 -2
  31. pulumiverse_scaleway/get_loadbalancer.py +2 -2
  32. pulumiverse_scaleway/get_loadbalancer_certificate.py +2 -2
  33. pulumiverse_scaleway/get_loadbalancer_ip.py +2 -2
  34. pulumiverse_scaleway/get_object_bucket.py +2 -2
  35. pulumiverse_scaleway/get_object_bucket_policy.py +2 -2
  36. pulumiverse_scaleway/iam_policy.py +2 -2
  37. pulumiverse_scaleway/instance_ip.py +7 -21
  38. pulumiverse_scaleway/instance_server.py +4 -74
  39. pulumiverse_scaleway/instance_volume.py +47 -0
  40. pulumiverse_scaleway/iot_route.py +21 -21
  41. pulumiverse_scaleway/ipam_ip.py +2 -2
  42. pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
  43. pulumiverse_scaleway/loadbalancer.py +2 -2
  44. pulumiverse_scaleway/loadbalancer_acl.py +2 -2
  45. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  46. pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
  47. pulumiverse_scaleway/loadbalancer_ip.py +2 -2
  48. pulumiverse_scaleway/loadbalancer_route.py +2 -2
  49. pulumiverse_scaleway/mnq_nats_account.py +2 -2
  50. pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
  51. pulumiverse_scaleway/mnq_sns.py +2 -2
  52. pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
  53. pulumiverse_scaleway/mnq_sns_topic.py +2 -2
  54. pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
  55. pulumiverse_scaleway/mnq_sqs.py +2 -2
  56. pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
  57. pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
  58. pulumiverse_scaleway/mongo_db_instance.py +2 -2
  59. pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
  60. pulumiverse_scaleway/object_bucket.py +11 -11
  61. pulumiverse_scaleway/object_bucket_acl.py +2 -2
  62. pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
  63. pulumiverse_scaleway/object_bucket_policy.py +6 -6
  64. pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
  65. pulumiverse_scaleway/object_item.py +11 -11
  66. pulumiverse_scaleway/outputs.py +351 -6
  67. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  68. pulumiverse_scaleway/rdb_snapshot.py +608 -0
  69. pulumiverse_scaleway/sdb_database.py +2 -2
  70. pulumiverse_scaleway/secret_version.py +2 -2
  71. pulumiverse_scaleway/vpc.py +2 -2
  72. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
  73. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
  74. pulumiverse_scaleway/vpc_route.py +2 -2
  75. {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/METADATA +1 -1
  76. {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/RECORD +78 -77
  77. {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/WHEEL +0 -0
  78. {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/top_level.txt +0 -0
@@ -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__ = ['AppleSiliconServerArgs', 'AppleSiliconServer']
18
20
 
@@ -20,7 +22,9 @@ __all__ = ['AppleSiliconServerArgs', 'AppleSiliconServer']
20
22
  class AppleSiliconServerArgs:
21
23
  def __init__(__self__, *,
22
24
  type: pulumi.Input[str],
25
+ enable_vpc: Optional[pulumi.Input[bool]] = None,
23
26
  name: Optional[pulumi.Input[str]] = None,
27
+ private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]] = None,
24
28
  project_id: Optional[pulumi.Input[str]] = None,
25
29
  zone: Optional[pulumi.Input[str]] = None):
26
30
  """
@@ -28,15 +32,21 @@ class AppleSiliconServerArgs:
28
32
  :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on
29
33
  the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
30
34
  resource.
35
+ :param pulumi.Input[bool] enable_vpc: : Enables the VPC option when set to true.
31
36
  :param pulumi.Input[str] name: The name of the server.
37
+ :param pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server
32
38
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is
33
39
  associated with.
34
40
  :param pulumi.Input[str] zone: `zone`) The zone in which
35
41
  the server should be created.
36
42
  """
37
43
  pulumi.set(__self__, "type", type)
44
+ if enable_vpc is not None:
45
+ pulumi.set(__self__, "enable_vpc", enable_vpc)
38
46
  if name is not None:
39
47
  pulumi.set(__self__, "name", name)
48
+ if private_networks is not None:
49
+ pulumi.set(__self__, "private_networks", private_networks)
40
50
  if project_id is not None:
41
51
  pulumi.set(__self__, "project_id", project_id)
42
52
  if zone is not None:
@@ -56,6 +66,18 @@ class AppleSiliconServerArgs:
56
66
  def type(self, value: pulumi.Input[str]):
57
67
  pulumi.set(self, "type", value)
58
68
 
69
+ @property
70
+ @pulumi.getter(name="enableVpc")
71
+ def enable_vpc(self) -> Optional[pulumi.Input[bool]]:
72
+ """
73
+ : Enables the VPC option when set to true.
74
+ """
75
+ return pulumi.get(self, "enable_vpc")
76
+
77
+ @enable_vpc.setter
78
+ def enable_vpc(self, value: Optional[pulumi.Input[bool]]):
79
+ pulumi.set(self, "enable_vpc", value)
80
+
59
81
  @property
60
82
  @pulumi.getter
61
83
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -68,6 +90,18 @@ class AppleSiliconServerArgs:
68
90
  def name(self, value: Optional[pulumi.Input[str]]):
69
91
  pulumi.set(self, "name", value)
70
92
 
93
+ @property
94
+ @pulumi.getter(name="privateNetworks")
95
+ def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]]:
96
+ """
97
+ The private networks to attach to the server
98
+ """
99
+ return pulumi.get(self, "private_networks")
100
+
101
+ @private_networks.setter
102
+ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]]):
103
+ pulumi.set(self, "private_networks", value)
104
+
71
105
  @property
72
106
  @pulumi.getter(name="projectId")
73
107
  def project_id(self) -> Optional[pulumi.Input[str]]:
@@ -100,22 +134,27 @@ class _AppleSiliconServerState:
100
134
  def __init__(__self__, *,
101
135
  created_at: Optional[pulumi.Input[str]] = None,
102
136
  deletable_at: Optional[pulumi.Input[str]] = None,
137
+ enable_vpc: Optional[pulumi.Input[bool]] = None,
103
138
  ip: Optional[pulumi.Input[str]] = None,
104
139
  name: Optional[pulumi.Input[str]] = None,
105
140
  organization_id: Optional[pulumi.Input[str]] = None,
141
+ private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]] = None,
106
142
  project_id: Optional[pulumi.Input[str]] = None,
107
143
  state: Optional[pulumi.Input[str]] = None,
108
144
  type: Optional[pulumi.Input[str]] = None,
109
145
  updated_at: Optional[pulumi.Input[str]] = None,
110
146
  vnc_url: Optional[pulumi.Input[str]] = None,
147
+ vpc_status: Optional[pulumi.Input[str]] = None,
111
148
  zone: Optional[pulumi.Input[str]] = None):
112
149
  """
113
150
  Input properties used for looking up and filtering AppleSiliconServer resources.
114
151
  :param pulumi.Input[str] created_at: The date and time of the creation of the Apple Silicon server.
115
152
  :param pulumi.Input[str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence
153
+ :param pulumi.Input[bool] enable_vpc: : Enables the VPC option when set to true.
116
154
  :param pulumi.Input[str] ip: IPv4 address of the server (IPv4 address).
117
155
  :param pulumi.Input[str] name: The name of the server.
118
156
  :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
157
+ :param pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server
119
158
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is
120
159
  associated with.
121
160
  :param pulumi.Input[str] state: The state of the server.
@@ -124,6 +163,7 @@ class _AppleSiliconServerState:
124
163
  resource.
125
164
  :param pulumi.Input[str] updated_at: The date and time of the last update of the Apple Silicon server.
126
165
  :param pulumi.Input[str] vnc_url: URL of the VNC.
166
+ :param pulumi.Input[str] vpc_status: The current status of the VPC option.
127
167
  :param pulumi.Input[str] zone: `zone`) The zone in which
128
168
  the server should be created.
129
169
  """
@@ -131,12 +171,16 @@ class _AppleSiliconServerState:
131
171
  pulumi.set(__self__, "created_at", created_at)
132
172
  if deletable_at is not None:
133
173
  pulumi.set(__self__, "deletable_at", deletable_at)
174
+ if enable_vpc is not None:
175
+ pulumi.set(__self__, "enable_vpc", enable_vpc)
134
176
  if ip is not None:
135
177
  pulumi.set(__self__, "ip", ip)
136
178
  if name is not None:
137
179
  pulumi.set(__self__, "name", name)
138
180
  if organization_id is not None:
139
181
  pulumi.set(__self__, "organization_id", organization_id)
182
+ if private_networks is not None:
183
+ pulumi.set(__self__, "private_networks", private_networks)
140
184
  if project_id is not None:
141
185
  pulumi.set(__self__, "project_id", project_id)
142
186
  if state is not None:
@@ -147,6 +191,8 @@ class _AppleSiliconServerState:
147
191
  pulumi.set(__self__, "updated_at", updated_at)
148
192
  if vnc_url is not None:
149
193
  pulumi.set(__self__, "vnc_url", vnc_url)
194
+ if vpc_status is not None:
195
+ pulumi.set(__self__, "vpc_status", vpc_status)
150
196
  if zone is not None:
151
197
  pulumi.set(__self__, "zone", zone)
152
198
 
@@ -174,6 +220,18 @@ class _AppleSiliconServerState:
174
220
  def deletable_at(self, value: Optional[pulumi.Input[str]]):
175
221
  pulumi.set(self, "deletable_at", value)
176
222
 
223
+ @property
224
+ @pulumi.getter(name="enableVpc")
225
+ def enable_vpc(self) -> Optional[pulumi.Input[bool]]:
226
+ """
227
+ : Enables the VPC option when set to true.
228
+ """
229
+ return pulumi.get(self, "enable_vpc")
230
+
231
+ @enable_vpc.setter
232
+ def enable_vpc(self, value: Optional[pulumi.Input[bool]]):
233
+ pulumi.set(self, "enable_vpc", value)
234
+
177
235
  @property
178
236
  @pulumi.getter
179
237
  def ip(self) -> Optional[pulumi.Input[str]]:
@@ -210,6 +268,18 @@ class _AppleSiliconServerState:
210
268
  def organization_id(self, value: Optional[pulumi.Input[str]]):
211
269
  pulumi.set(self, "organization_id", value)
212
270
 
271
+ @property
272
+ @pulumi.getter(name="privateNetworks")
273
+ def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]]:
274
+ """
275
+ The private networks to attach to the server
276
+ """
277
+ return pulumi.get(self, "private_networks")
278
+
279
+ @private_networks.setter
280
+ def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppleSiliconServerPrivateNetworkArgs']]]]):
281
+ pulumi.set(self, "private_networks", value)
282
+
213
283
  @property
214
284
  @pulumi.getter(name="projectId")
215
285
  def project_id(self) -> Optional[pulumi.Input[str]]:
@@ -273,6 +343,18 @@ class _AppleSiliconServerState:
273
343
  def vnc_url(self, value: Optional[pulumi.Input[str]]):
274
344
  pulumi.set(self, "vnc_url", value)
275
345
 
346
+ @property
347
+ @pulumi.getter(name="vpcStatus")
348
+ def vpc_status(self) -> Optional[pulumi.Input[str]]:
349
+ """
350
+ The current status of the VPC option.
351
+ """
352
+ return pulumi.get(self, "vpc_status")
353
+
354
+ @vpc_status.setter
355
+ def vpc_status(self, value: Optional[pulumi.Input[str]]):
356
+ pulumi.set(self, "vpc_status", value)
357
+
276
358
  @property
277
359
  @pulumi.getter
278
360
  def zone(self) -> Optional[pulumi.Input[str]]:
@@ -292,7 +374,9 @@ class AppleSiliconServer(pulumi.CustomResource):
292
374
  def __init__(__self__,
293
375
  resource_name: str,
294
376
  opts: Optional[pulumi.ResourceOptions] = None,
377
+ enable_vpc: Optional[pulumi.Input[bool]] = None,
295
378
  name: Optional[pulumi.Input[str]] = None,
379
+ private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppleSiliconServerPrivateNetworkArgs', 'AppleSiliconServerPrivateNetworkArgsDict']]]]] = None,
296
380
  project_id: Optional[pulumi.Input[str]] = None,
297
381
  type: Optional[pulumi.Input[str]] = None,
298
382
  zone: Optional[pulumi.Input[str]] = None,
@@ -326,7 +410,9 @@ class AppleSiliconServer(pulumi.CustomResource):
326
410
 
327
411
  :param str resource_name: The name of the resource.
328
412
  :param pulumi.ResourceOptions opts: Options for the resource.
413
+ :param pulumi.Input[bool] enable_vpc: : Enables the VPC option when set to true.
329
414
  :param pulumi.Input[str] name: The name of the server.
415
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AppleSiliconServerPrivateNetworkArgs', 'AppleSiliconServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server
330
416
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is
331
417
  associated with.
332
418
  :param pulumi.Input[str] type: The commercial type of the server. You find all the available types on
@@ -383,7 +469,9 @@ class AppleSiliconServer(pulumi.CustomResource):
383
469
  def _internal_init(__self__,
384
470
  resource_name: str,
385
471
  opts: Optional[pulumi.ResourceOptions] = None,
472
+ enable_vpc: Optional[pulumi.Input[bool]] = None,
386
473
  name: Optional[pulumi.Input[str]] = None,
474
+ private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppleSiliconServerPrivateNetworkArgs', 'AppleSiliconServerPrivateNetworkArgsDict']]]]] = None,
387
475
  project_id: Optional[pulumi.Input[str]] = None,
388
476
  type: Optional[pulumi.Input[str]] = None,
389
477
  zone: Optional[pulumi.Input[str]] = None,
@@ -396,7 +484,9 @@ class AppleSiliconServer(pulumi.CustomResource):
396
484
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
397
485
  __props__ = AppleSiliconServerArgs.__new__(AppleSiliconServerArgs)
398
486
 
487
+ __props__.__dict__["enable_vpc"] = enable_vpc
399
488
  __props__.__dict__["name"] = name
489
+ __props__.__dict__["private_networks"] = private_networks
400
490
  __props__.__dict__["project_id"] = project_id
401
491
  if type is None and not opts.urn:
402
492
  raise TypeError("Missing required property 'type'")
@@ -409,6 +499,7 @@ class AppleSiliconServer(pulumi.CustomResource):
409
499
  __props__.__dict__["state"] = None
410
500
  __props__.__dict__["updated_at"] = None
411
501
  __props__.__dict__["vnc_url"] = None
502
+ __props__.__dict__["vpc_status"] = None
412
503
  super(AppleSiliconServer, __self__).__init__(
413
504
  'scaleway:index/appleSiliconServer:AppleSiliconServer',
414
505
  resource_name,
@@ -421,14 +512,17 @@ class AppleSiliconServer(pulumi.CustomResource):
421
512
  opts: Optional[pulumi.ResourceOptions] = None,
422
513
  created_at: Optional[pulumi.Input[str]] = None,
423
514
  deletable_at: Optional[pulumi.Input[str]] = None,
515
+ enable_vpc: Optional[pulumi.Input[bool]] = None,
424
516
  ip: Optional[pulumi.Input[str]] = None,
425
517
  name: Optional[pulumi.Input[str]] = None,
426
518
  organization_id: Optional[pulumi.Input[str]] = None,
519
+ private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AppleSiliconServerPrivateNetworkArgs', 'AppleSiliconServerPrivateNetworkArgsDict']]]]] = None,
427
520
  project_id: Optional[pulumi.Input[str]] = None,
428
521
  state: Optional[pulumi.Input[str]] = None,
429
522
  type: Optional[pulumi.Input[str]] = None,
430
523
  updated_at: Optional[pulumi.Input[str]] = None,
431
524
  vnc_url: Optional[pulumi.Input[str]] = None,
525
+ vpc_status: Optional[pulumi.Input[str]] = None,
432
526
  zone: Optional[pulumi.Input[str]] = None) -> 'AppleSiliconServer':
433
527
  """
434
528
  Get an existing AppleSiliconServer resource's state with the given name, id, and optional extra
@@ -439,9 +533,11 @@ class AppleSiliconServer(pulumi.CustomResource):
439
533
  :param pulumi.ResourceOptions opts: Options for the resource.
440
534
  :param pulumi.Input[str] created_at: The date and time of the creation of the Apple Silicon server.
441
535
  :param pulumi.Input[str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence
536
+ :param pulumi.Input[bool] enable_vpc: : Enables the VPC option when set to true.
442
537
  :param pulumi.Input[str] ip: IPv4 address of the server (IPv4 address).
443
538
  :param pulumi.Input[str] name: The name of the server.
444
539
  :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
540
+ :param pulumi.Input[Sequence[pulumi.Input[Union['AppleSiliconServerPrivateNetworkArgs', 'AppleSiliconServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server
445
541
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is
446
542
  associated with.
447
543
  :param pulumi.Input[str] state: The state of the server.
@@ -450,6 +546,7 @@ class AppleSiliconServer(pulumi.CustomResource):
450
546
  resource.
451
547
  :param pulumi.Input[str] updated_at: The date and time of the last update of the Apple Silicon server.
452
548
  :param pulumi.Input[str] vnc_url: URL of the VNC.
549
+ :param pulumi.Input[str] vpc_status: The current status of the VPC option.
453
550
  :param pulumi.Input[str] zone: `zone`) The zone in which
454
551
  the server should be created.
455
552
  """
@@ -459,14 +556,17 @@ class AppleSiliconServer(pulumi.CustomResource):
459
556
 
460
557
  __props__.__dict__["created_at"] = created_at
461
558
  __props__.__dict__["deletable_at"] = deletable_at
559
+ __props__.__dict__["enable_vpc"] = enable_vpc
462
560
  __props__.__dict__["ip"] = ip
463
561
  __props__.__dict__["name"] = name
464
562
  __props__.__dict__["organization_id"] = organization_id
563
+ __props__.__dict__["private_networks"] = private_networks
465
564
  __props__.__dict__["project_id"] = project_id
466
565
  __props__.__dict__["state"] = state
467
566
  __props__.__dict__["type"] = type
468
567
  __props__.__dict__["updated_at"] = updated_at
469
568
  __props__.__dict__["vnc_url"] = vnc_url
569
+ __props__.__dict__["vpc_status"] = vpc_status
470
570
  __props__.__dict__["zone"] = zone
471
571
  return AppleSiliconServer(resource_name, opts=opts, __props__=__props__)
472
572
 
@@ -486,6 +586,14 @@ class AppleSiliconServer(pulumi.CustomResource):
486
586
  """
487
587
  return pulumi.get(self, "deletable_at")
488
588
 
589
+ @property
590
+ @pulumi.getter(name="enableVpc")
591
+ def enable_vpc(self) -> pulumi.Output[Optional[bool]]:
592
+ """
593
+ : Enables the VPC option when set to true.
594
+ """
595
+ return pulumi.get(self, "enable_vpc")
596
+
489
597
  @property
490
598
  @pulumi.getter
491
599
  def ip(self) -> pulumi.Output[str]:
@@ -510,6 +618,14 @@ class AppleSiliconServer(pulumi.CustomResource):
510
618
  """
511
619
  return pulumi.get(self, "organization_id")
512
620
 
621
+ @property
622
+ @pulumi.getter(name="privateNetworks")
623
+ def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.AppleSiliconServerPrivateNetwork']]]:
624
+ """
625
+ The private networks to attach to the server
626
+ """
627
+ return pulumi.get(self, "private_networks")
628
+
513
629
  @property
514
630
  @pulumi.getter(name="projectId")
515
631
  def project_id(self) -> pulumi.Output[str]:
@@ -553,6 +669,14 @@ class AppleSiliconServer(pulumi.CustomResource):
553
669
  """
554
670
  return pulumi.get(self, "vnc_url")
555
671
 
672
+ @property
673
+ @pulumi.getter(name="vpcStatus")
674
+ def vpc_status(self) -> pulumi.Output[str]:
675
+ """
676
+ The current status of the VPC option.
677
+ """
678
+ return pulumi.get(self, "vpc_status")
679
+
556
680
  @property
557
681
  @pulumi.getter
558
682
  def zone(self) -> pulumi.Output[str]:
@@ -205,7 +205,7 @@ class BlockSnapshot(pulumi.CustomResource):
205
205
  """
206
206
  The `BlockSnapshot` resource is used to create and manage snapshots of Block Storage volumes.
207
207
 
208
- Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
208
+ Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
209
209
 
210
210
  ## Example Usage
211
211
 
@@ -253,7 +253,7 @@ class BlockSnapshot(pulumi.CustomResource):
253
253
  """
254
254
  The `BlockSnapshot` resource is used to create and manage snapshots of Block Storage volumes.
255
255
 
256
- Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
256
+ Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
257
257
 
258
258
  ## Example Usage
259
259
 
@@ -20,6 +20,7 @@ __all__ = ['BlockVolumeArgs', 'BlockVolume']
20
20
  class BlockVolumeArgs:
21
21
  def __init__(__self__, *,
22
22
  iops: pulumi.Input[int],
23
+ instance_volume_id: Optional[pulumi.Input[str]] = None,
23
24
  name: Optional[pulumi.Input[str]] = None,
24
25
  project_id: Optional[pulumi.Input[str]] = None,
25
26
  size_in_gb: Optional[pulumi.Input[int]] = None,
@@ -28,7 +29,8 @@ class BlockVolumeArgs:
28
29
  zone: Optional[pulumi.Input[str]] = None):
29
30
  """
30
31
  The set of arguments for constructing a BlockVolume resource.
31
- :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
32
+ :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
33
+ :param pulumi.Input[str] instance_volume_id: The instance volume to create the block volume from
32
34
  :param pulumi.Input[str] name: The name of the volume. If not provided, a name will be randomly generated.
33
35
  :param pulumi.Input[str] project_id: ). The ID of the Project the volume is associated with.
34
36
  :param pulumi.Input[int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
@@ -37,6 +39,8 @@ class BlockVolumeArgs:
37
39
  :param pulumi.Input[str] zone: ). The zone in which the volume should be created.
38
40
  """
39
41
  pulumi.set(__self__, "iops", iops)
42
+ if instance_volume_id is not None:
43
+ pulumi.set(__self__, "instance_volume_id", instance_volume_id)
40
44
  if name is not None:
41
45
  pulumi.set(__self__, "name", name)
42
46
  if project_id is not None:
@@ -54,7 +58,7 @@ class BlockVolumeArgs:
54
58
  @pulumi.getter
55
59
  def iops(self) -> pulumi.Input[int]:
56
60
  """
57
- The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
61
+ The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
58
62
  """
59
63
  return pulumi.get(self, "iops")
60
64
 
@@ -62,6 +66,18 @@ class BlockVolumeArgs:
62
66
  def iops(self, value: pulumi.Input[int]):
63
67
  pulumi.set(self, "iops", value)
64
68
 
69
+ @property
70
+ @pulumi.getter(name="instanceVolumeId")
71
+ def instance_volume_id(self) -> Optional[pulumi.Input[str]]:
72
+ """
73
+ The instance volume to create the block volume from
74
+ """
75
+ return pulumi.get(self, "instance_volume_id")
76
+
77
+ @instance_volume_id.setter
78
+ def instance_volume_id(self, value: Optional[pulumi.Input[str]]):
79
+ pulumi.set(self, "instance_volume_id", value)
80
+
65
81
  @property
66
82
  @pulumi.getter
67
83
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -138,6 +154,7 @@ class BlockVolumeArgs:
138
154
  @pulumi.input_type
139
155
  class _BlockVolumeState:
140
156
  def __init__(__self__, *,
157
+ instance_volume_id: Optional[pulumi.Input[str]] = None,
141
158
  iops: Optional[pulumi.Input[int]] = None,
142
159
  name: Optional[pulumi.Input[str]] = None,
143
160
  project_id: Optional[pulumi.Input[str]] = None,
@@ -147,7 +164,8 @@ class _BlockVolumeState:
147
164
  zone: Optional[pulumi.Input[str]] = None):
148
165
  """
149
166
  Input properties used for looking up and filtering BlockVolume resources.
150
- :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
167
+ :param pulumi.Input[str] instance_volume_id: The instance volume to create the block volume from
168
+ :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
151
169
  :param pulumi.Input[str] name: The name of the volume. If not provided, a name will be randomly generated.
152
170
  :param pulumi.Input[str] project_id: ). The ID of the Project the volume is associated with.
153
171
  :param pulumi.Input[int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
@@ -155,6 +173,8 @@ class _BlockVolumeState:
155
173
  :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of tags to apply to the volume.
156
174
  :param pulumi.Input[str] zone: ). The zone in which the volume should be created.
157
175
  """
176
+ if instance_volume_id is not None:
177
+ pulumi.set(__self__, "instance_volume_id", instance_volume_id)
158
178
  if iops is not None:
159
179
  pulumi.set(__self__, "iops", iops)
160
180
  if name is not None:
@@ -170,11 +190,23 @@ class _BlockVolumeState:
170
190
  if zone is not None:
171
191
  pulumi.set(__self__, "zone", zone)
172
192
 
193
+ @property
194
+ @pulumi.getter(name="instanceVolumeId")
195
+ def instance_volume_id(self) -> Optional[pulumi.Input[str]]:
196
+ """
197
+ The instance volume to create the block volume from
198
+ """
199
+ return pulumi.get(self, "instance_volume_id")
200
+
201
+ @instance_volume_id.setter
202
+ def instance_volume_id(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "instance_volume_id", value)
204
+
173
205
  @property
174
206
  @pulumi.getter
175
207
  def iops(self) -> Optional[pulumi.Input[int]]:
176
208
  """
177
- The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
209
+ The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
178
210
  """
179
211
  return pulumi.get(self, "iops")
180
212
 
@@ -260,6 +292,7 @@ class BlockVolume(pulumi.CustomResource):
260
292
  def __init__(__self__,
261
293
  resource_name: str,
262
294
  opts: Optional[pulumi.ResourceOptions] = None,
295
+ instance_volume_id: Optional[pulumi.Input[str]] = None,
263
296
  iops: Optional[pulumi.Input[int]] = None,
264
297
  name: Optional[pulumi.Input[str]] = None,
265
298
  project_id: Optional[pulumi.Input[str]] = None,
@@ -271,13 +304,13 @@ class BlockVolume(pulumi.CustomResource):
271
304
  """
272
305
  The `BlockVolume` resource is used to create and manage Scaleway Block Storage volumes.
273
306
 
274
- Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
307
+ Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
275
308
 
276
309
  ## Example Usage
277
310
 
278
311
  ### Create a Block Storage volume
279
312
 
280
- The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/storage/block/concepts/#iops).
313
+ The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/block-storage/concepts/#iops).
281
314
 
282
315
  ```python
283
316
  import pulumi
@@ -320,7 +353,8 @@ class BlockVolume(pulumi.CustomResource):
320
353
 
321
354
  :param str resource_name: The name of the resource.
322
355
  :param pulumi.ResourceOptions opts: Options for the resource.
323
- :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
356
+ :param pulumi.Input[str] instance_volume_id: The instance volume to create the block volume from
357
+ :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
324
358
  :param pulumi.Input[str] name: The name of the volume. If not provided, a name will be randomly generated.
325
359
  :param pulumi.Input[str] project_id: ). The ID of the Project the volume is associated with.
326
360
  :param pulumi.Input[int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
@@ -337,13 +371,13 @@ class BlockVolume(pulumi.CustomResource):
337
371
  """
338
372
  The `BlockVolume` resource is used to create and manage Scaleway Block Storage volumes.
339
373
 
340
- Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/storage/block/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
374
+ Refer to the Block Storage [product documentation](https://www.scaleway.com/en/docs/block-storage/) and [API documentation](https://www.scaleway.com/en/developers/api/block/) for more information.
341
375
 
342
376
  ## Example Usage
343
377
 
344
378
  ### Create a Block Storage volume
345
379
 
346
- The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/storage/block/concepts/#iops).
380
+ The following command allows you to create a Block Storage volume of 20 GB with a 5000 [IOPS](https://www.scaleway.com/en/docs/block-storage/concepts/#iops).
347
381
 
348
382
  ```python
349
383
  import pulumi
@@ -399,6 +433,7 @@ class BlockVolume(pulumi.CustomResource):
399
433
  def _internal_init(__self__,
400
434
  resource_name: str,
401
435
  opts: Optional[pulumi.ResourceOptions] = None,
436
+ instance_volume_id: Optional[pulumi.Input[str]] = None,
402
437
  iops: Optional[pulumi.Input[int]] = None,
403
438
  name: Optional[pulumi.Input[str]] = None,
404
439
  project_id: Optional[pulumi.Input[str]] = None,
@@ -415,6 +450,7 @@ class BlockVolume(pulumi.CustomResource):
415
450
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
416
451
  __props__ = BlockVolumeArgs.__new__(BlockVolumeArgs)
417
452
 
453
+ __props__.__dict__["instance_volume_id"] = instance_volume_id
418
454
  if iops is None and not opts.urn:
419
455
  raise TypeError("Missing required property 'iops'")
420
456
  __props__.__dict__["iops"] = iops
@@ -434,6 +470,7 @@ class BlockVolume(pulumi.CustomResource):
434
470
  def get(resource_name: str,
435
471
  id: pulumi.Input[str],
436
472
  opts: Optional[pulumi.ResourceOptions] = None,
473
+ instance_volume_id: Optional[pulumi.Input[str]] = None,
437
474
  iops: Optional[pulumi.Input[int]] = None,
438
475
  name: Optional[pulumi.Input[str]] = None,
439
476
  project_id: Optional[pulumi.Input[str]] = None,
@@ -448,7 +485,8 @@ class BlockVolume(pulumi.CustomResource):
448
485
  :param str resource_name: The unique name of the resulting resource.
449
486
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
450
487
  :param pulumi.ResourceOptions opts: Options for the resource.
451
- :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
488
+ :param pulumi.Input[str] instance_volume_id: The instance volume to create the block volume from
489
+ :param pulumi.Input[int] iops: The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
452
490
  :param pulumi.Input[str] name: The name of the volume. If not provided, a name will be randomly generated.
453
491
  :param pulumi.Input[str] project_id: ). The ID of the Project the volume is associated with.
454
492
  :param pulumi.Input[int] size_in_gb: The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
@@ -460,6 +498,7 @@ class BlockVolume(pulumi.CustomResource):
460
498
 
461
499
  __props__ = _BlockVolumeState.__new__(_BlockVolumeState)
462
500
 
501
+ __props__.__dict__["instance_volume_id"] = instance_volume_id
463
502
  __props__.__dict__["iops"] = iops
464
503
  __props__.__dict__["name"] = name
465
504
  __props__.__dict__["project_id"] = project_id
@@ -469,11 +508,19 @@ class BlockVolume(pulumi.CustomResource):
469
508
  __props__.__dict__["zone"] = zone
470
509
  return BlockVolume(resource_name, opts=opts, __props__=__props__)
471
510
 
511
+ @property
512
+ @pulumi.getter(name="instanceVolumeId")
513
+ def instance_volume_id(self) -> pulumi.Output[str]:
514
+ """
515
+ The instance volume to create the block volume from
516
+ """
517
+ return pulumi.get(self, "instance_volume_id")
518
+
472
519
  @property
473
520
  @pulumi.getter
474
521
  def iops(self) -> pulumi.Output[int]:
475
522
  """
476
- The maximum [IOPs](https://www.scaleway.com/en/docs/storage/block/concepts/#iops) expected, must match available options.
523
+ The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
477
524
  """
478
525
  return pulumi.get(self, "iops")
479
526
 
@@ -26,7 +26,7 @@ class CockpitSourceArgs:
26
26
  type: Optional[pulumi.Input[str]] = None):
27
27
  """
28
28
  The set of arguments for constructing a CockpitSource resource.
29
- :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
29
+ :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
30
30
  :param pulumi.Input[str] name: The name of the data source.
31
31
  :param pulumi.Input[str] project_id: ) The ID of the Project the data source is associated with.
32
32
  :param pulumi.Input[str] region: ) The region where the data source is located.
@@ -46,7 +46,7 @@ class CockpitSourceArgs:
46
46
  @pulumi.getter(name="retentionDays")
47
47
  def retention_days(self) -> pulumi.Input[int]:
48
48
  """
49
- The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
49
+ The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
50
50
  """
51
51
  return pulumi.get(self, "retention_days")
52
52
 
@@ -125,7 +125,7 @@ class _CockpitSourceState:
125
125
  :param pulumi.Input[str] project_id: ) The ID of the Project the data source is associated with.
126
126
  :param pulumi.Input[str] push_url: The URL endpoint used for pushing data to the Cockpit data source.
127
127
  :param pulumi.Input[str] region: ) The region where the data source is located.
128
- :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
128
+ :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
129
129
  :param pulumi.Input[bool] synchronized_with_grafana: Indicates whether the data source is synchronized with Grafana.
130
130
  :param pulumi.Input[str] type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
131
131
  :param pulumi.Input[str] updated_at: The date and time the data source was last updated (in RFC 3339 format).
@@ -230,7 +230,7 @@ class _CockpitSourceState:
230
230
  @pulumi.getter(name="retentionDays")
231
231
  def retention_days(self) -> Optional[pulumi.Input[int]]:
232
232
  """
233
- The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
233
+ The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
234
234
  """
235
235
  return pulumi.get(self, "retention_days")
236
236
 
@@ -336,7 +336,7 @@ class CockpitSource(pulumi.CustomResource):
336
336
  :param pulumi.Input[str] name: The name of the data source.
337
337
  :param pulumi.Input[str] project_id: ) The ID of the Project the data source is associated with.
338
338
  :param pulumi.Input[str] region: ) The region where the data source is located.
339
- :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
339
+ :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
340
340
  :param pulumi.Input[str] type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
341
341
  """
342
342
  ...
@@ -454,7 +454,7 @@ class CockpitSource(pulumi.CustomResource):
454
454
  :param pulumi.Input[str] project_id: ) The ID of the Project the data source is associated with.
455
455
  :param pulumi.Input[str] push_url: The URL endpoint used for pushing data to the Cockpit data source.
456
456
  :param pulumi.Input[str] region: ) The region where the data source is located.
457
- :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
457
+ :param pulumi.Input[int] retention_days: The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
458
458
  :param pulumi.Input[bool] synchronized_with_grafana: Indicates whether the data source is synchronized with Grafana.
459
459
  :param pulumi.Input[str] type: The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`.
460
460
  :param pulumi.Input[str] updated_at: The date and time the data source was last updated (in RFC 3339 format).
@@ -529,7 +529,7 @@ class CockpitSource(pulumi.CustomResource):
529
529
  @pulumi.getter(name="retentionDays")
530
530
  def retention_days(self) -> pulumi.Output[int]:
531
531
  """
532
- The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource.
532
+ The number of days to retain data in the data source. Must be a value between 1 and 365. For more details on retention policies, please refer to the [Scaleway Retention Documentation](https://www.scaleway.com/en/docs/cockpit/concepts/#retention). Note: Changes to this field will force the creation of a new resource.
533
533
  """
534
534
  return pulumi.get(self, "retention_days")
535
535