pulumiverse-scaleway 1.22.0a1736239435__py3-none-any.whl → 1.23.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.

Potentially problematic release.


This version of pulumiverse-scaleway might be problematic. Click here for more details.

Files changed (145) hide show
  1. pulumiverse_scaleway/__init__.py +10 -0
  2. pulumiverse_scaleway/_inputs.py +326 -12
  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/baremetal_server.py +67 -7
  7. pulumiverse_scaleway/block_snapshot.py +2 -2
  8. pulumiverse_scaleway/block_volume.py +58 -11
  9. pulumiverse_scaleway/cockpit_grafana_user.py +28 -0
  10. pulumiverse_scaleway/cockpit_source.py +53 -3
  11. pulumiverse_scaleway/container.py +236 -23
  12. pulumiverse_scaleway/container_domain.py +2 -2
  13. pulumiverse_scaleway/database_instance.py +74 -21
  14. pulumiverse_scaleway/get_account_project.py +4 -4
  15. pulumiverse_scaleway/get_account_ssh_key.py +4 -4
  16. pulumiverse_scaleway/get_availability_zones.py +2 -2
  17. pulumiverse_scaleway/get_baremetal_offer.py +2 -2
  18. pulumiverse_scaleway/get_baremetal_option.py +2 -2
  19. pulumiverse_scaleway/get_baremetal_os.py +2 -2
  20. pulumiverse_scaleway/get_baremetal_server.py +2 -2
  21. pulumiverse_scaleway/get_billing_consumptions.py +2 -2
  22. pulumiverse_scaleway/get_billing_invoices.py +2 -2
  23. pulumiverse_scaleway/get_block_snapshot.py +4 -4
  24. pulumiverse_scaleway/get_block_volume.py +16 -5
  25. pulumiverse_scaleway/get_cockpit.py +2 -2
  26. pulumiverse_scaleway/get_cockpit_plan.py +2 -2
  27. pulumiverse_scaleway/get_cockpit_source.py +262 -0
  28. pulumiverse_scaleway/get_config.py +2 -2
  29. pulumiverse_scaleway/get_container.py +32 -6
  30. pulumiverse_scaleway/get_container_namespace.py +2 -2
  31. pulumiverse_scaleway/get_database.py +2 -2
  32. pulumiverse_scaleway/get_database_acl.py +2 -2
  33. pulumiverse_scaleway/get_database_backup.py +2 -2
  34. pulumiverse_scaleway/get_database_instance.py +14 -3
  35. pulumiverse_scaleway/get_database_privilege.py +2 -2
  36. pulumiverse_scaleway/get_domain_record.py +2 -2
  37. pulumiverse_scaleway/get_domain_zone.py +2 -2
  38. pulumiverse_scaleway/get_flexible_ip.py +2 -2
  39. pulumiverse_scaleway/get_flexible_ips.py +2 -2
  40. pulumiverse_scaleway/get_function.py +2 -2
  41. pulumiverse_scaleway/get_function_namespace.py +2 -2
  42. pulumiverse_scaleway/get_iam_api_key.py +2 -2
  43. pulumiverse_scaleway/get_iam_application.py +2 -2
  44. pulumiverse_scaleway/get_iam_group.py +2 -2
  45. pulumiverse_scaleway/get_iam_ssh_key.py +2 -2
  46. pulumiverse_scaleway/get_iam_user.py +2 -2
  47. pulumiverse_scaleway/get_instance_image.py +2 -2
  48. pulumiverse_scaleway/get_instance_ip.py +2 -2
  49. pulumiverse_scaleway/get_instance_placement_group.py +2 -2
  50. pulumiverse_scaleway/get_instance_private_nic.py +2 -2
  51. pulumiverse_scaleway/get_instance_security_group.py +2 -2
  52. pulumiverse_scaleway/get_instance_server.py +3 -17
  53. pulumiverse_scaleway/get_instance_servers.py +2 -2
  54. pulumiverse_scaleway/get_instance_snapshot.py +2 -2
  55. pulumiverse_scaleway/get_instance_volume.py +14 -3
  56. pulumiverse_scaleway/get_iot_device.py +2 -2
  57. pulumiverse_scaleway/get_iot_hub.py +2 -2
  58. pulumiverse_scaleway/get_ipam_ip.py +4 -4
  59. pulumiverse_scaleway/get_ipam_ips.py +4 -4
  60. pulumiverse_scaleway/get_k8s_version.py +2 -2
  61. pulumiverse_scaleway/get_kubernetes_cluster.py +2 -2
  62. pulumiverse_scaleway/get_kubernetes_node_pool.py +2 -2
  63. pulumiverse_scaleway/get_lb_acls.py +4 -4
  64. pulumiverse_scaleway/get_lb_backend.py +4 -4
  65. pulumiverse_scaleway/get_lb_backends.py +4 -4
  66. pulumiverse_scaleway/get_lb_frontend.py +4 -4
  67. pulumiverse_scaleway/get_lb_frontends.py +4 -4
  68. pulumiverse_scaleway/get_lb_ips.py +4 -4
  69. pulumiverse_scaleway/get_lb_route.py +4 -4
  70. pulumiverse_scaleway/get_lb_routes.py +4 -4
  71. pulumiverse_scaleway/get_lbs.py +4 -4
  72. pulumiverse_scaleway/get_loadbalancer.py +4 -4
  73. pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -4
  74. pulumiverse_scaleway/get_loadbalancer_ip.py +4 -4
  75. pulumiverse_scaleway/get_marketplace_image.py +2 -2
  76. pulumiverse_scaleway/get_mnq_sns.py +2 -2
  77. pulumiverse_scaleway/get_mnq_sqs.py +2 -2
  78. pulumiverse_scaleway/get_mongo_db_instance.py +2 -2
  79. pulumiverse_scaleway/get_object_bucket.py +4 -4
  80. pulumiverse_scaleway/get_object_bucket_policy.py +4 -4
  81. pulumiverse_scaleway/get_redis_cluster.py +2 -2
  82. pulumiverse_scaleway/get_registry_image.py +2 -2
  83. pulumiverse_scaleway/get_registry_image_tag.py +2 -2
  84. pulumiverse_scaleway/get_registry_namespace.py +2 -2
  85. pulumiverse_scaleway/get_secret.py +2 -2
  86. pulumiverse_scaleway/get_secret_version.py +2 -2
  87. pulumiverse_scaleway/get_tem_domain.py +2 -2
  88. pulumiverse_scaleway/get_vpc.py +2 -2
  89. pulumiverse_scaleway/get_vpc_gateway_network.py +2 -2
  90. pulumiverse_scaleway/get_vpc_private_network.py +2 -2
  91. pulumiverse_scaleway/get_vpc_public_gateway.py +2 -2
  92. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +2 -2
  93. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +2 -2
  94. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +2 -2
  95. pulumiverse_scaleway/get_vpc_public_pat_rule.py +2 -2
  96. pulumiverse_scaleway/get_vpc_routes.py +2 -2
  97. pulumiverse_scaleway/get_vpcs.py +2 -2
  98. pulumiverse_scaleway/get_web_host_offer.py +2 -2
  99. pulumiverse_scaleway/get_webhosting.py +2 -2
  100. pulumiverse_scaleway/iam_policy.py +2 -2
  101. pulumiverse_scaleway/instance_ip.py +7 -21
  102. pulumiverse_scaleway/instance_server.py +13 -78
  103. pulumiverse_scaleway/instance_volume.py +47 -0
  104. pulumiverse_scaleway/iot_route.py +21 -21
  105. pulumiverse_scaleway/ipam_ip.py +2 -2
  106. pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
  107. pulumiverse_scaleway/loadbalancer.py +2 -2
  108. pulumiverse_scaleway/loadbalancer_acl.py +2 -2
  109. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  110. pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
  111. pulumiverse_scaleway/loadbalancer_ip.py +2 -2
  112. pulumiverse_scaleway/loadbalancer_route.py +2 -2
  113. pulumiverse_scaleway/mnq_nats_account.py +2 -2
  114. pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
  115. pulumiverse_scaleway/mnq_sns.py +2 -2
  116. pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
  117. pulumiverse_scaleway/mnq_sns_topic.py +2 -2
  118. pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
  119. pulumiverse_scaleway/mnq_sqs.py +2 -2
  120. pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
  121. pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
  122. pulumiverse_scaleway/mongo_db_instance.py +2 -2
  123. pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
  124. pulumiverse_scaleway/object_bucket.py +12 -12
  125. pulumiverse_scaleway/object_bucket_acl.py +2 -2
  126. pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
  127. pulumiverse_scaleway/object_bucket_policy.py +6 -6
  128. pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
  129. pulumiverse_scaleway/object_item.py +60 -11
  130. pulumiverse_scaleway/outputs.py +353 -8
  131. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  132. pulumiverse_scaleway/rdb_snapshot.py +608 -0
  133. pulumiverse_scaleway/redis_cluster.py +49 -14
  134. pulumiverse_scaleway/sdb_database.py +2 -2
  135. pulumiverse_scaleway/secret_version.py +2 -2
  136. pulumiverse_scaleway/vpc.py +2 -2
  137. pulumiverse_scaleway/vpc_gateway_network.py +7 -7
  138. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
  139. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
  140. pulumiverse_scaleway/vpc_route.py +2 -2
  141. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/METADATA +3 -3
  142. pulumiverse_scaleway-1.23.0.dist-info/RECORD +206 -0
  143. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.dist-info}/WHEEL +1 -1
  144. pulumiverse_scaleway-1.22.0a1736239435.dist-info/RECORD +0 -204
  145. {pulumiverse_scaleway-1.22.0a1736239435.dist-info → pulumiverse_scaleway-1.23.0.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]:
@@ -54,7 +54,7 @@ class BaremetalServerArgs:
54
54
  :param pulumi.Input[str] os: The UUID of the os to install on the server.
55
55
  Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
56
56
  > **Important:** Updates to `os` will reinstall the server.
57
- :param pulumi.Input[str] partitioning: The partitioning schema in json format
57
+ :param pulumi.Input[str] partitioning: The partitioning schema in JSON format
58
58
  :param pulumi.Input[str] password: Password used for the installation. May be required depending on used os.
59
59
  :param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
60
60
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
@@ -197,7 +197,7 @@ class BaremetalServerArgs:
197
197
  @pulumi.getter
198
198
  def partitioning(self) -> Optional[pulumi.Input[str]]:
199
199
  """
200
- The partitioning schema in json format
200
+ The partitioning schema in JSON format
201
201
  """
202
202
  return pulumi.get(self, "partitioning")
203
203
 
@@ -379,7 +379,7 @@ class _BaremetalServerState:
379
379
  Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
380
380
  > **Important:** Updates to `os` will reinstall the server.
381
381
  :param pulumi.Input[str] os_name: The name of the os.
382
- :param pulumi.Input[str] partitioning: The partitioning schema in json format
382
+ :param pulumi.Input[str] partitioning: The partitioning schema in JSON format
383
383
  :param pulumi.Input[str] password: Password used for the installation. May be required depending on used os.
384
384
  :param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
385
385
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
@@ -635,7 +635,7 @@ class _BaremetalServerState:
635
635
  @pulumi.getter
636
636
  def partitioning(self) -> Optional[pulumi.Input[str]]:
637
637
  """
638
- The partitioning schema in json format
638
+ The partitioning schema in JSON format
639
639
  """
640
640
  return pulumi.get(self, "partitioning")
641
641
 
@@ -928,6 +928,36 @@ class BaremetalServer(pulumi.CustomResource):
928
928
  install_config_afterward=True)
929
929
  ```
930
930
 
931
+ ### With custom partitioning
932
+
933
+ ```python
934
+ import pulumi
935
+ import pulumi_scaleway as scaleway
936
+ import pulumiverse_scaleway as scaleway
937
+
938
+ config = pulumi.Config()
939
+ config_custom_partitioning = config.get("configCustomPartitioning")
940
+ if config_custom_partitioning is None:
941
+ config_custom_partitioning = "{\\"disks\\":[{\\"device\\":\\"/dev/nvme0n1\\",\\"partitions\\":[{\\"label\\":\\"uefi\\",\\"number\\":1,\\"size\\":536870912},{\\"label\\":\\"swap\\",\\"number\\":2,\\"size\\":4294967296},{\\"label\\":\\"boot\\",\\"number\\":3,\\"size\\":1073741824},{\\"label\\":\\"root\\",\\"number\\":4,\\"size\\":1017827045376}]},{\\"device\\":\\"/dev/nvme1n1\\",\\"partitions\\":[{\\"label\\":\\"swap\\",\\"number\\":1,\\"size\\":4294967296},{\\"label\\":\\"boot\\",\\"number\\":2,\\"size\\":1073741824},{\\"label\\":\\"root\\",\\"number\\":3,\\"size\\":1017827045376}]}],\\"filesystems\\":[{\\"device\\":\\"/dev/nvme0n1p1\\",\\"format\\":\\"fat32\\",\\"mountpoint\\":\\"/boot/efi\\"},{\\"device\\":\\"/dev/md0\\",\\"format\\":\\"ext4\\",\\"mountpoint\\":\\"/boot\\"},{\\"device\\":\\"/dev/md1\\",\\"format\\":\\"ext4\\",\\"mountpoint\\":\\"/\\"}],\\"raids\\":[{\\"devices\\":[\\"/dev/nvme0n1p3\\",\\"/dev/nvme1n1p2\\"],\\"level\\":\\"raid_level_1\\",\\"name\\":\\"/dev/md0\\"},{\\"devices\\":[\\"/dev/nvme0n1p4\\",\\"/dev/nvme1n1p3\\"],\\"level\\":\\"raid_level_1\\",\\"name\\":\\"/dev/md1\\"}],\\"zfs\\":{\\"pools\\":[]}}"
942
+ my_os = scaleway.get_baremetal_os(zone="fr-par-1",
943
+ name="Ubuntu",
944
+ version="22.04 LTS (Jammy Jellyfish)")
945
+ main = scaleway.IamSshKey("main", name="main")
946
+ base = scaleway.BaremetalServer("base",
947
+ name="%s",
948
+ zone="fr-par-1",
949
+ description="test a description",
950
+ offer="EM-B220E-NVME",
951
+ os=my_os.os_id,
952
+ partitioning=config_custom_partitioning,
953
+ tags=[
954
+ "terraform-test",
955
+ "scaleway_baremetal_server",
956
+ "minimal",
957
+ ],
958
+ ssh_key_ids=[main.id])
959
+ ```
960
+
931
961
  ## Import
932
962
 
933
963
  Baremetal servers can be imported using the `{zone}/{id}`, e.g.
@@ -953,7 +983,7 @@ class BaremetalServer(pulumi.CustomResource):
953
983
  :param pulumi.Input[str] os: The UUID of the os to install on the server.
954
984
  Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
955
985
  > **Important:** Updates to `os` will reinstall the server.
956
- :param pulumi.Input[str] partitioning: The partitioning schema in json format
986
+ :param pulumi.Input[str] partitioning: The partitioning schema in JSON format
957
987
  :param pulumi.Input[str] password: Password used for the installation. May be required depending on used os.
958
988
  :param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
959
989
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
@@ -1111,6 +1141,36 @@ class BaremetalServer(pulumi.CustomResource):
1111
1141
  install_config_afterward=True)
1112
1142
  ```
1113
1143
 
1144
+ ### With custom partitioning
1145
+
1146
+ ```python
1147
+ import pulumi
1148
+ import pulumi_scaleway as scaleway
1149
+ import pulumiverse_scaleway as scaleway
1150
+
1151
+ config = pulumi.Config()
1152
+ config_custom_partitioning = config.get("configCustomPartitioning")
1153
+ if config_custom_partitioning is None:
1154
+ config_custom_partitioning = "{\\"disks\\":[{\\"device\\":\\"/dev/nvme0n1\\",\\"partitions\\":[{\\"label\\":\\"uefi\\",\\"number\\":1,\\"size\\":536870912},{\\"label\\":\\"swap\\",\\"number\\":2,\\"size\\":4294967296},{\\"label\\":\\"boot\\",\\"number\\":3,\\"size\\":1073741824},{\\"label\\":\\"root\\",\\"number\\":4,\\"size\\":1017827045376}]},{\\"device\\":\\"/dev/nvme1n1\\",\\"partitions\\":[{\\"label\\":\\"swap\\",\\"number\\":1,\\"size\\":4294967296},{\\"label\\":\\"boot\\",\\"number\\":2,\\"size\\":1073741824},{\\"label\\":\\"root\\",\\"number\\":3,\\"size\\":1017827045376}]}],\\"filesystems\\":[{\\"device\\":\\"/dev/nvme0n1p1\\",\\"format\\":\\"fat32\\",\\"mountpoint\\":\\"/boot/efi\\"},{\\"device\\":\\"/dev/md0\\",\\"format\\":\\"ext4\\",\\"mountpoint\\":\\"/boot\\"},{\\"device\\":\\"/dev/md1\\",\\"format\\":\\"ext4\\",\\"mountpoint\\":\\"/\\"}],\\"raids\\":[{\\"devices\\":[\\"/dev/nvme0n1p3\\",\\"/dev/nvme1n1p2\\"],\\"level\\":\\"raid_level_1\\",\\"name\\":\\"/dev/md0\\"},{\\"devices\\":[\\"/dev/nvme0n1p4\\",\\"/dev/nvme1n1p3\\"],\\"level\\":\\"raid_level_1\\",\\"name\\":\\"/dev/md1\\"}],\\"zfs\\":{\\"pools\\":[]}}"
1155
+ my_os = scaleway.get_baremetal_os(zone="fr-par-1",
1156
+ name="Ubuntu",
1157
+ version="22.04 LTS (Jammy Jellyfish)")
1158
+ main = scaleway.IamSshKey("main", name="main")
1159
+ base = scaleway.BaremetalServer("base",
1160
+ name="%s",
1161
+ zone="fr-par-1",
1162
+ description="test a description",
1163
+ offer="EM-B220E-NVME",
1164
+ os=my_os.os_id,
1165
+ partitioning=config_custom_partitioning,
1166
+ tags=[
1167
+ "terraform-test",
1168
+ "scaleway_baremetal_server",
1169
+ "minimal",
1170
+ ],
1171
+ ssh_key_ids=[main.id])
1172
+ ```
1173
+
1114
1174
  ## Import
1115
1175
 
1116
1176
  Baremetal servers can be imported using the `{zone}/{id}`, e.g.
@@ -1257,7 +1317,7 @@ class BaremetalServer(pulumi.CustomResource):
1257
1317
  Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
1258
1318
  > **Important:** Updates to `os` will reinstall the server.
1259
1319
  :param pulumi.Input[str] os_name: The name of the os.
1260
- :param pulumi.Input[str] partitioning: The partitioning schema in json format
1320
+ :param pulumi.Input[str] partitioning: The partitioning schema in JSON format
1261
1321
  :param pulumi.Input[str] password: Password used for the installation. May be required depending on used os.
1262
1322
  :param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
1263
1323
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
@@ -1432,7 +1492,7 @@ class BaremetalServer(pulumi.CustomResource):
1432
1492
  @pulumi.getter
1433
1493
  def partitioning(self) -> pulumi.Output[Optional[str]]:
1434
1494
  """
1435
- The partitioning schema in json format
1495
+ The partitioning schema in JSON format
1436
1496
  """
1437
1497
  return pulumi.get(self, "partitioning")
1438
1498
 
@@ -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