pulumiverse-scaleway 1.31.0__py3-none-any.whl → 1.32.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.
Files changed (40) hide show
  1. pulumiverse_scaleway/__init__.py +9 -0
  2. pulumiverse_scaleway/_inputs.py +142 -36
  3. pulumiverse_scaleway/apple_silicon_server.py +46 -8
  4. pulumiverse_scaleway/applesilicon/_inputs.py +18 -18
  5. pulumiverse_scaleway/applesilicon/outputs.py +12 -12
  6. pulumiverse_scaleway/applesilicon/server.py +46 -8
  7. pulumiverse_scaleway/block/_inputs.py +58 -6
  8. pulumiverse_scaleway/block/get_snapshot.py +12 -1
  9. pulumiverse_scaleway/block/outputs.py +60 -0
  10. pulumiverse_scaleway/block/snapshot.py +54 -7
  11. pulumiverse_scaleway/block/volume.py +14 -14
  12. pulumiverse_scaleway/block_snapshot.py +54 -7
  13. pulumiverse_scaleway/block_volume.py +14 -14
  14. pulumiverse_scaleway/domain/get_record.py +1 -12
  15. pulumiverse_scaleway/domain/record.py +0 -47
  16. pulumiverse_scaleway/domain_record.py +0 -47
  17. pulumiverse_scaleway/get_block_snapshot.py +12 -1
  18. pulumiverse_scaleway/get_domain_record.py +1 -12
  19. pulumiverse_scaleway/get_iam_user.py +2 -2
  20. pulumiverse_scaleway/get_lb_frontend.py +37 -4
  21. pulumiverse_scaleway/get_mongo_db_instance.py +12 -1
  22. pulumiverse_scaleway/iam/get_user.py +2 -2
  23. pulumiverse_scaleway/key_manager_key.py +831 -0
  24. pulumiverse_scaleway/kubernetes/cluster.py +6 -6
  25. pulumiverse_scaleway/kubernetes_cluster.py +6 -6
  26. pulumiverse_scaleway/loadbalancer_frontend.py +105 -2
  27. pulumiverse_scaleway/loadbalancers/_inputs.py +12 -12
  28. pulumiverse_scaleway/loadbalancers/frontend.py +105 -2
  29. pulumiverse_scaleway/loadbalancers/get_frontend.py +37 -4
  30. pulumiverse_scaleway/loadbalancers/outputs.py +32 -10
  31. pulumiverse_scaleway/mongo_db_instance.py +28 -0
  32. pulumiverse_scaleway/mongodb/get_instance.py +12 -1
  33. pulumiverse_scaleway/mongodb/instance.py +28 -0
  34. pulumiverse_scaleway/network/acl.py +35 -37
  35. pulumiverse_scaleway/outputs.py +159 -26
  36. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  37. {pulumiverse_scaleway-1.31.0.dist-info → pulumiverse_scaleway-1.32.0.dist-info}/METADATA +1 -1
  38. {pulumiverse_scaleway-1.31.0.dist-info → pulumiverse_scaleway-1.32.0.dist-info}/RECORD +40 -39
  39. {pulumiverse_scaleway-1.31.0.dist-info → pulumiverse_scaleway-1.32.0.dist-info}/WHEEL +0 -0
  40. {pulumiverse_scaleway-1.31.0.dist-info → pulumiverse_scaleway-1.32.0.dist-info}/top_level.txt +0 -0
@@ -161,6 +161,7 @@ from .iot_route import *
161
161
  from .ipam_ip import *
162
162
  from .ipam_ip_reverse_dns import *
163
163
  from .job_definition import *
164
+ from .key_manager_key import *
164
165
  from .kubernetes_cluster import *
165
166
  from .kubernetes_node_pool import *
166
167
  from .loadbalancer import *
@@ -1209,6 +1210,14 @@ _utilities.register(
1209
1210
  "scaleway:index/jobDefinition:JobDefinition": "JobDefinition"
1210
1211
  }
1211
1212
  },
1213
+ {
1214
+ "pkg": "scaleway",
1215
+ "mod": "index/keyManagerKey",
1216
+ "fqn": "pulumiverse_scaleway",
1217
+ "classes": {
1218
+ "scaleway:index/keyManagerKey:KeyManagerKey": "KeyManagerKey"
1219
+ }
1220
+ },
1212
1221
  {
1213
1222
  "pkg": "scaleway",
1214
1223
  "mod": "index/kubernetesCluster",
@@ -32,6 +32,8 @@ __all__ = [
32
32
  'BaremetalServerPrivateIpArgsDict',
33
33
  'BaremetalServerPrivateNetworkArgs',
34
34
  'BaremetalServerPrivateNetworkArgsDict',
35
+ 'BlockSnapshotExportArgs',
36
+ 'BlockSnapshotExportArgsDict',
35
37
  'BlockSnapshotImportArgs',
36
38
  'BlockSnapshotImportArgsDict',
37
39
  'CockpitAlertManagerContactPointArgs',
@@ -154,6 +156,8 @@ __all__ = [
154
156
  'JobDefinitionCronArgsDict',
155
157
  'JobDefinitionSecretReferenceArgs',
156
158
  'JobDefinitionSecretReferenceArgsDict',
159
+ 'KeyManagerKeyRotationPolicyArgs',
160
+ 'KeyManagerKeyRotationPolicyArgsDict',
157
161
  'KubernetesClusterAutoUpgradeArgs',
158
162
  'KubernetesClusterAutoUpgradeArgsDict',
159
163
  'KubernetesClusterAutoscalerConfigArgs',
@@ -326,27 +330,27 @@ if not MYPY:
326
330
  class AppleSiliconServerPrivateNetworkArgsDict(TypedDict):
327
331
  id: pulumi.Input[builtins.str]
328
332
  """
329
- The ID of the IP address resource.
333
+ The private network ID
330
334
  """
331
335
  created_at: NotRequired[pulumi.Input[builtins.str]]
332
336
  """
333
- The date and time of the creation of the Apple Silicon server.
337
+ The date and time the private network was created.
334
338
  """
335
339
  ipam_ip_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
336
340
  """
337
- List of IPAM IP IDs to attach to the server
341
+ A list of IPAM IP IDs to attach to the server.
338
342
  """
339
343
  status: NotRequired[pulumi.Input[builtins.str]]
340
344
  """
341
- The private network status
345
+ The current status of the private network.
342
346
  """
343
347
  updated_at: NotRequired[pulumi.Input[builtins.str]]
344
348
  """
345
- The date and time of the last update of the Apple Silicon server.
349
+ The date and time the private network was last updated.
346
350
  """
347
351
  vlan: NotRequired[pulumi.Input[builtins.int]]
348
352
  """
349
- The VLAN ID associated to the private network
353
+ The VLAN ID associated with the private network.
350
354
  """
351
355
  elif False:
352
356
  AppleSiliconServerPrivateNetworkArgsDict: TypeAlias = Mapping[str, Any]
@@ -361,12 +365,12 @@ class AppleSiliconServerPrivateNetworkArgs:
361
365
  updated_at: Optional[pulumi.Input[builtins.str]] = None,
362
366
  vlan: Optional[pulumi.Input[builtins.int]] = None):
363
367
  """
364
- :param pulumi.Input[builtins.str] id: The ID of the IP address resource.
365
- :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the Apple Silicon server.
366
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipam_ip_ids: List of IPAM IP IDs to attach to the server
367
- :param pulumi.Input[builtins.str] status: The private network status
368
- :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the Apple Silicon server.
369
- :param pulumi.Input[builtins.int] vlan: The VLAN ID associated to the private network
368
+ :param pulumi.Input[builtins.str] id: The private network ID
369
+ :param pulumi.Input[builtins.str] created_at: The date and time the private network was created.
370
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipam_ip_ids: A list of IPAM IP IDs to attach to the server.
371
+ :param pulumi.Input[builtins.str] status: The current status of the private network.
372
+ :param pulumi.Input[builtins.str] updated_at: The date and time the private network was last updated.
373
+ :param pulumi.Input[builtins.int] vlan: The VLAN ID associated with the private network.
370
374
  """
371
375
  pulumi.set(__self__, "id", id)
372
376
  if created_at is not None:
@@ -384,7 +388,7 @@ class AppleSiliconServerPrivateNetworkArgs:
384
388
  @pulumi.getter
385
389
  def id(self) -> pulumi.Input[builtins.str]:
386
390
  """
387
- The ID of the IP address resource.
391
+ The private network ID
388
392
  """
389
393
  return pulumi.get(self, "id")
390
394
 
@@ -396,7 +400,7 @@ class AppleSiliconServerPrivateNetworkArgs:
396
400
  @pulumi.getter(name="createdAt")
397
401
  def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
398
402
  """
399
- The date and time of the creation of the Apple Silicon server.
403
+ The date and time the private network was created.
400
404
  """
401
405
  return pulumi.get(self, "created_at")
402
406
 
@@ -408,7 +412,7 @@ class AppleSiliconServerPrivateNetworkArgs:
408
412
  @pulumi.getter(name="ipamIpIds")
409
413
  def ipam_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
410
414
  """
411
- List of IPAM IP IDs to attach to the server
415
+ A list of IPAM IP IDs to attach to the server.
412
416
  """
413
417
  return pulumi.get(self, "ipam_ip_ids")
414
418
 
@@ -420,7 +424,7 @@ class AppleSiliconServerPrivateNetworkArgs:
420
424
  @pulumi.getter
421
425
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
422
426
  """
423
- The private network status
427
+ The current status of the private network.
424
428
  """
425
429
  return pulumi.get(self, "status")
426
430
 
@@ -432,7 +436,7 @@ class AppleSiliconServerPrivateNetworkArgs:
432
436
  @pulumi.getter(name="updatedAt")
433
437
  def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
434
438
  """
435
- The date and time of the last update of the Apple Silicon server.
439
+ The date and time the private network was last updated.
436
440
  """
437
441
  return pulumi.get(self, "updated_at")
438
442
 
@@ -444,7 +448,7 @@ class AppleSiliconServerPrivateNetworkArgs:
444
448
  @pulumi.getter
445
449
  def vlan(self) -> Optional[pulumi.Input[builtins.int]]:
446
450
  """
447
- The VLAN ID associated to the private network
451
+ The VLAN ID associated with the private network.
448
452
  """
449
453
  return pulumi.get(self, "vlan")
450
454
 
@@ -1003,15 +1007,65 @@ class BaremetalServerPrivateNetworkArgs:
1003
1007
  pulumi.set(self, "vlan", value)
1004
1008
 
1005
1009
 
1010
+ if not MYPY:
1011
+ class BlockSnapshotExportArgsDict(TypedDict):
1012
+ bucket: pulumi.Input[builtins.str]
1013
+ """
1014
+ The name of the bucket where the QCOW file will be saved.
1015
+ """
1016
+ key: pulumi.Input[builtins.str]
1017
+ """
1018
+ The desired key (path) for the QCOW file within the bucket.
1019
+ """
1020
+ elif False:
1021
+ BlockSnapshotExportArgsDict: TypeAlias = Mapping[str, Any]
1022
+
1023
+ @pulumi.input_type
1024
+ class BlockSnapshotExportArgs:
1025
+ def __init__(__self__, *,
1026
+ bucket: pulumi.Input[builtins.str],
1027
+ key: pulumi.Input[builtins.str]):
1028
+ """
1029
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket where the QCOW file will be saved.
1030
+ :param pulumi.Input[builtins.str] key: The desired key (path) for the QCOW file within the bucket.
1031
+ """
1032
+ pulumi.set(__self__, "bucket", bucket)
1033
+ pulumi.set(__self__, "key", key)
1034
+
1035
+ @property
1036
+ @pulumi.getter
1037
+ def bucket(self) -> pulumi.Input[builtins.str]:
1038
+ """
1039
+ The name of the bucket where the QCOW file will be saved.
1040
+ """
1041
+ return pulumi.get(self, "bucket")
1042
+
1043
+ @bucket.setter
1044
+ def bucket(self, value: pulumi.Input[builtins.str]):
1045
+ pulumi.set(self, "bucket", value)
1046
+
1047
+ @property
1048
+ @pulumi.getter
1049
+ def key(self) -> pulumi.Input[builtins.str]:
1050
+ """
1051
+ The desired key (path) for the QCOW file within the bucket.
1052
+ """
1053
+ return pulumi.get(self, "key")
1054
+
1055
+ @key.setter
1056
+ def key(self, value: pulumi.Input[builtins.str]):
1057
+ pulumi.set(self, "key", value)
1058
+
1059
+
1006
1060
  if not MYPY:
1007
1061
  class BlockSnapshotImportArgsDict(TypedDict):
1008
1062
  bucket: pulumi.Input[builtins.str]
1009
1063
  """
1010
- Bucket containing qcow
1064
+ The name of the bucket containing the QCOW file.
1011
1065
  """
1012
1066
  key: pulumi.Input[builtins.str]
1013
1067
  """
1014
- Key of the qcow file in the specified bucket
1068
+ The key of the QCOW file within the bucket.
1015
1069
  """
1016
1070
  elif False:
1017
1071
  BlockSnapshotImportArgsDict: TypeAlias = Mapping[str, Any]
@@ -1022,8 +1076,8 @@ class BlockSnapshotImportArgs:
1022
1076
  bucket: pulumi.Input[builtins.str],
1023
1077
  key: pulumi.Input[builtins.str]):
1024
1078
  """
1025
- :param pulumi.Input[builtins.str] bucket: Bucket containing qcow
1026
- :param pulumi.Input[builtins.str] key: Key of the qcow file in the specified bucket
1079
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket containing the QCOW file.
1080
+ :param pulumi.Input[builtins.str] key: The key of the QCOW file within the bucket.
1027
1081
  """
1028
1082
  pulumi.set(__self__, "bucket", bucket)
1029
1083
  pulumi.set(__self__, "key", key)
@@ -1032,7 +1086,7 @@ class BlockSnapshotImportArgs:
1032
1086
  @pulumi.getter
1033
1087
  def bucket(self) -> pulumi.Input[builtins.str]:
1034
1088
  """
1035
- Bucket containing qcow
1089
+ The name of the bucket containing the QCOW file.
1036
1090
  """
1037
1091
  return pulumi.get(self, "bucket")
1038
1092
 
@@ -1044,7 +1098,7 @@ class BlockSnapshotImportArgs:
1044
1098
  @pulumi.getter
1045
1099
  def key(self) -> pulumi.Input[builtins.str]:
1046
1100
  """
1047
- Key of the qcow file in the specified bucket
1101
+ The key of the QCOW file within the bucket.
1048
1102
  """
1049
1103
  return pulumi.get(self, "key")
1050
1104
 
@@ -6212,6 +6266,58 @@ class JobDefinitionSecretReferenceArgs:
6212
6266
  pulumi.set(self, "secret_version", value)
6213
6267
 
6214
6268
 
6269
+ if not MYPY:
6270
+ class KeyManagerKeyRotationPolicyArgsDict(TypedDict):
6271
+ next_rotation_at: NotRequired[pulumi.Input[builtins.str]]
6272
+ """
6273
+ The date and time of the next scheduled rotation.
6274
+ """
6275
+ rotation_period: NotRequired[pulumi.Input[builtins.str]]
6276
+ """
6277
+ – The period between key rotations (e.g., `"720h"` for 30 days).
6278
+ """
6279
+ elif False:
6280
+ KeyManagerKeyRotationPolicyArgsDict: TypeAlias = Mapping[str, Any]
6281
+
6282
+ @pulumi.input_type
6283
+ class KeyManagerKeyRotationPolicyArgs:
6284
+ def __init__(__self__, *,
6285
+ next_rotation_at: Optional[pulumi.Input[builtins.str]] = None,
6286
+ rotation_period: Optional[pulumi.Input[builtins.str]] = None):
6287
+ """
6288
+ :param pulumi.Input[builtins.str] next_rotation_at: The date and time of the next scheduled rotation.
6289
+ :param pulumi.Input[builtins.str] rotation_period: – The period between key rotations (e.g., `"720h"` for 30 days).
6290
+ """
6291
+ if next_rotation_at is not None:
6292
+ pulumi.set(__self__, "next_rotation_at", next_rotation_at)
6293
+ if rotation_period is not None:
6294
+ pulumi.set(__self__, "rotation_period", rotation_period)
6295
+
6296
+ @property
6297
+ @pulumi.getter(name="nextRotationAt")
6298
+ def next_rotation_at(self) -> Optional[pulumi.Input[builtins.str]]:
6299
+ """
6300
+ The date and time of the next scheduled rotation.
6301
+ """
6302
+ return pulumi.get(self, "next_rotation_at")
6303
+
6304
+ @next_rotation_at.setter
6305
+ def next_rotation_at(self, value: Optional[pulumi.Input[builtins.str]]):
6306
+ pulumi.set(self, "next_rotation_at", value)
6307
+
6308
+ @property
6309
+ @pulumi.getter(name="rotationPeriod")
6310
+ def rotation_period(self) -> Optional[pulumi.Input[builtins.str]]:
6311
+ """
6312
+ – The period between key rotations (e.g., `"720h"` for 30 days).
6313
+ """
6314
+ return pulumi.get(self, "rotation_period")
6315
+
6316
+ @rotation_period.setter
6317
+ def rotation_period(self, value: Optional[pulumi.Input[builtins.str]]):
6318
+ pulumi.set(self, "rotation_period", value)
6319
+
6320
+
6215
6321
  if not MYPY:
6216
6322
  class KubernetesClusterAutoUpgradeArgsDict(TypedDict):
6217
6323
  enable: pulumi.Input[builtins.bool]
@@ -7560,7 +7666,7 @@ if not MYPY:
7560
7666
  """
7561
7667
  created_at: NotRequired[pulumi.Input[builtins.str]]
7562
7668
  """
7563
- IsDate and time of ACL's creation (RFC 3339 format)
7669
+ The date and time the frontend was created.
7564
7670
  """
7565
7671
  description: NotRequired[pulumi.Input[builtins.str]]
7566
7672
  """
@@ -7572,7 +7678,7 @@ if not MYPY:
7572
7678
  """
7573
7679
  updated_at: NotRequired[pulumi.Input[builtins.str]]
7574
7680
  """
7575
- IsDate and time of ACL's update (RFC 3339 format)
7681
+ The date and time the frontend resource was updated.
7576
7682
  """
7577
7683
  elif False:
7578
7684
  LoadbalancerFrontendAclArgsDict: TypeAlias = Mapping[str, Any]
@@ -7589,10 +7695,10 @@ class LoadbalancerFrontendAclArgs:
7589
7695
  """
7590
7696
  :param pulumi.Input['LoadbalancerFrontendAclActionArgs'] action: Action to undertake when an ACL filter matches.
7591
7697
  :param pulumi.Input['LoadbalancerFrontendAclMatchArgs'] match: The ACL match rule. At least `ip_subnet` or `ips_edge_services` or `http_filter` and `http_filter_value` are required.
7592
- :param pulumi.Input[builtins.str] created_at: IsDate and time of ACL's creation (RFC 3339 format)
7698
+ :param pulumi.Input[builtins.str] created_at: The date and time the frontend was created.
7593
7699
  :param pulumi.Input[builtins.str] description: Description of the ACL
7594
7700
  :param pulumi.Input[builtins.str] name: The ACL name. If not provided it will be randomly generated.
7595
- :param pulumi.Input[builtins.str] updated_at: IsDate and time of ACL's update (RFC 3339 format)
7701
+ :param pulumi.Input[builtins.str] updated_at: The date and time the frontend resource was updated.
7596
7702
  """
7597
7703
  pulumi.set(__self__, "action", action)
7598
7704
  pulumi.set(__self__, "match", match)
@@ -7633,7 +7739,7 @@ class LoadbalancerFrontendAclArgs:
7633
7739
  @pulumi.getter(name="createdAt")
7634
7740
  def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
7635
7741
  """
7636
- IsDate and time of ACL's creation (RFC 3339 format)
7742
+ The date and time the frontend was created.
7637
7743
  """
7638
7744
  return pulumi.get(self, "created_at")
7639
7745
 
@@ -7669,7 +7775,7 @@ class LoadbalancerFrontendAclArgs:
7669
7775
  @pulumi.getter(name="updatedAt")
7670
7776
  def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
7671
7777
  """
7672
- IsDate and time of ACL's update (RFC 3339 format)
7778
+ The date and time the frontend resource was updated.
7673
7779
  """
7674
7780
  return pulumi.get(self, "updated_at")
7675
7781
 
@@ -8003,7 +8109,7 @@ if not MYPY:
8003
8109
  """
8004
8110
  dhcp_config: NotRequired[pulumi.Input[builtins.bool]]
8005
8111
  """
8006
- Please use `ipam_ids`. Set to `true` if you want to let DHCP assign IP addresses.
8112
+ Set to true if you want to let DHCP assign IP addresses
8007
8113
  """
8008
8114
  ipam_ids: NotRequired[pulumi.Input[builtins.str]]
8009
8115
  """
@@ -8011,7 +8117,7 @@ if not MYPY:
8011
8117
  """
8012
8118
  static_config: NotRequired[pulumi.Input[builtins.str]]
8013
8119
  """
8014
- Please use `ipam_ids`. Define a local ip address of your choice for the load balancer instance.
8120
+ Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
8015
8121
  """
8016
8122
  status: NotRequired[pulumi.Input[builtins.str]]
8017
8123
  """
@@ -8036,9 +8142,9 @@ class LoadbalancerPrivateNetworkArgs:
8036
8142
  """
8037
8143
  :param pulumi.Input[builtins.str] private_network_id: The ID of the Private Network to attach to.
8038
8144
  - > **Important:** Updates to `private_network` will recreate the attachment.
8039
- :param pulumi.Input[builtins.bool] dhcp_config: Please use `ipam_ids`. Set to `true` if you want to let DHCP assign IP addresses.
8145
+ :param pulumi.Input[builtins.bool] dhcp_config: Set to true if you want to let DHCP assign IP addresses
8040
8146
  :param pulumi.Input[builtins.str] ipam_ids: IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
8041
- :param pulumi.Input[builtins.str] static_config: Please use `ipam_ids`. Define a local ip address of your choice for the load balancer instance.
8147
+ :param pulumi.Input[builtins.str] static_config: Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
8042
8148
  :param pulumi.Input[builtins.str] status: The status of the private network connection.
8043
8149
  :param pulumi.Input[builtins.str] zone: `zone`) The zone of the Load Balancer.
8044
8150
  """
@@ -8078,7 +8184,7 @@ class LoadbalancerPrivateNetworkArgs:
8078
8184
  @_utilities.deprecated("""dhcp_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
8079
8185
  def dhcp_config(self) -> Optional[pulumi.Input[builtins.bool]]:
8080
8186
  """
8081
- Please use `ipam_ids`. Set to `true` if you want to let DHCP assign IP addresses.
8187
+ Set to true if you want to let DHCP assign IP addresses
8082
8188
  """
8083
8189
  return pulumi.get(self, "dhcp_config")
8084
8190
 
@@ -8103,7 +8209,7 @@ class LoadbalancerPrivateNetworkArgs:
8103
8209
  @_utilities.deprecated("""static_config field is deprecated, please use `private_network_id` or `ipam_ids` instead""")
8104
8210
  def static_config(self) -> Optional[pulumi.Input[builtins.str]]:
8105
8211
  """
8106
- Please use `ipam_ids`. Define a local ip address of your choice for the load balancer instance.
8212
+ Define an IP address in the subnet of your private network that will be assigned to your load balancer instance
8107
8213
  """
8108
8214
  return pulumi.get(self, "static_config")
8109
8215
 
@@ -203,7 +203,7 @@ class _AppleSiliconServerState:
203
203
  """
204
204
  Input properties used for looking up and filtering AppleSiliconServer resources.
205
205
  :param pulumi.Input[builtins.str] commitment: The commitment period of the server
206
- :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the Apple Silicon server.
206
+ :param pulumi.Input[builtins.str] created_at: The date and time the private network was created.
207
207
  :param pulumi.Input[builtins.str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence
208
208
  :param pulumi.Input[builtins.bool] enable_vpc: : Enables the VPC option when set to true.
209
209
  :param pulumi.Input[builtins.str] ip: IPv4 address of the server (IPv4 address).
@@ -219,7 +219,7 @@ class _AppleSiliconServerState:
219
219
  :param pulumi.Input[builtins.str] type: The commercial type of the server. You find all the available types on
220
220
  the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
221
221
  resource.
222
- :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the Apple Silicon server.
222
+ :param pulumi.Input[builtins.str] updated_at: The date and time the private network was last updated.
223
223
  :param pulumi.Input[builtins.str] username: The username of the server
224
224
  :param pulumi.Input[builtins.str] vnc_url: URL of the VNC.
225
225
  :param pulumi.Input[builtins.str] vpc_status: The current status of the VPC option.
@@ -281,7 +281,7 @@ class _AppleSiliconServerState:
281
281
  @pulumi.getter(name="createdAt")
282
282
  def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
283
283
  """
284
- The date and time of the creation of the Apple Silicon server.
284
+ The date and time the private network was created.
285
285
  """
286
286
  return pulumi.get(self, "created_at")
287
287
 
@@ -440,7 +440,7 @@ class _AppleSiliconServerState:
440
440
  @pulumi.getter(name="updatedAt")
441
441
  def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
442
442
  """
443
- The date and time of the last update of the Apple Silicon server.
443
+ The date and time the private network was last updated.
444
444
  """
445
445
  return pulumi.get(self, "updated_at")
446
446
 
@@ -536,6 +536,25 @@ class AppleSiliconServer(pulumi.CustomResource):
536
536
  type="M1-M")
537
537
  ```
538
538
 
539
+ ### Enable VPC and attach private network
540
+
541
+ ```python
542
+ import pulumi
543
+ import pulumiverse_scaleway as scaleway
544
+
545
+ vpc_apple_silicon = scaleway.network.Vpc("vpc-apple-silicon", name="vpc-apple-silicon")
546
+ pn_apple_silicon = scaleway.network.PrivateNetwork("pn-apple-silicon",
547
+ name="pn-apple-silicon",
548
+ vpc_id=vpc_apple_silicon.id)
549
+ my_server = scaleway.applesilicon.Server("my-server",
550
+ name="TestAccServerEnableVPC",
551
+ type="M2-M",
552
+ enable_vpc=True,
553
+ private_networks=[{
554
+ "id": pn_apple_silicon.id,
555
+ }])
556
+ ```
557
+
539
558
  ## Import
540
559
 
541
560
  Instance servers can be imported using the `{zone}/{id}`, e.g.
@@ -585,6 +604,25 @@ class AppleSiliconServer(pulumi.CustomResource):
585
604
  type="M1-M")
586
605
  ```
587
606
 
607
+ ### Enable VPC and attach private network
608
+
609
+ ```python
610
+ import pulumi
611
+ import pulumiverse_scaleway as scaleway
612
+
613
+ vpc_apple_silicon = scaleway.network.Vpc("vpc-apple-silicon", name="vpc-apple-silicon")
614
+ pn_apple_silicon = scaleway.network.PrivateNetwork("pn-apple-silicon",
615
+ name="pn-apple-silicon",
616
+ vpc_id=vpc_apple_silicon.id)
617
+ my_server = scaleway.applesilicon.Server("my-server",
618
+ name="TestAccServerEnableVPC",
619
+ type="M2-M",
620
+ enable_vpc=True,
621
+ private_networks=[{
622
+ "id": pn_apple_silicon.id,
623
+ }])
624
+ ```
625
+
588
626
  ## Import
589
627
 
590
628
  Instance servers can be imported using the `{zone}/{id}`, e.g.
@@ -689,7 +727,7 @@ class AppleSiliconServer(pulumi.CustomResource):
689
727
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
690
728
  :param pulumi.ResourceOptions opts: Options for the resource.
691
729
  :param pulumi.Input[builtins.str] commitment: The commitment period of the server
692
- :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the Apple Silicon server.
730
+ :param pulumi.Input[builtins.str] created_at: The date and time the private network was created.
693
731
  :param pulumi.Input[builtins.str] deletable_at: The minimal date and time on which you can delete this server due to Apple licence
694
732
  :param pulumi.Input[builtins.bool] enable_vpc: : Enables the VPC option when set to true.
695
733
  :param pulumi.Input[builtins.str] ip: IPv4 address of the server (IPv4 address).
@@ -705,7 +743,7 @@ class AppleSiliconServer(pulumi.CustomResource):
705
743
  :param pulumi.Input[builtins.str] type: The commercial type of the server. You find all the available types on
706
744
  the [pricing page](https://www.scaleway.com/en/pricing/apple-silicon/). Updates to this field will recreate a new
707
745
  resource.
708
- :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the Apple Silicon server.
746
+ :param pulumi.Input[builtins.str] updated_at: The date and time the private network was last updated.
709
747
  :param pulumi.Input[builtins.str] username: The username of the server
710
748
  :param pulumi.Input[builtins.str] vnc_url: URL of the VNC.
711
749
  :param pulumi.Input[builtins.str] vpc_status: The current status of the VPC option.
@@ -749,7 +787,7 @@ class AppleSiliconServer(pulumi.CustomResource):
749
787
  @pulumi.getter(name="createdAt")
750
788
  def created_at(self) -> pulumi.Output[builtins.str]:
751
789
  """
752
- The date and time of the creation of the Apple Silicon server.
790
+ The date and time the private network was created.
753
791
  """
754
792
  return pulumi.get(self, "created_at")
755
793
 
@@ -856,7 +894,7 @@ class AppleSiliconServer(pulumi.CustomResource):
856
894
  @pulumi.getter(name="updatedAt")
857
895
  def updated_at(self) -> pulumi.Output[builtins.str]:
858
896
  """
859
- The date and time of the last update of the Apple Silicon server.
897
+ The date and time the private network was last updated.
860
898
  """
861
899
  return pulumi.get(self, "updated_at")
862
900
 
@@ -80,27 +80,27 @@ if not MYPY:
80
80
  class ServerPrivateNetworkArgsDict(TypedDict):
81
81
  id: pulumi.Input[builtins.str]
82
82
  """
83
- The ID of the IP address resource.
83
+ The private network ID
84
84
  """
85
85
  created_at: NotRequired[pulumi.Input[builtins.str]]
86
86
  """
87
- The date and time of the creation of the Apple Silicon server.
87
+ The date and time the private network was created.
88
88
  """
89
89
  ipam_ip_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
90
90
  """
91
- List of IPAM IP IDs to attach to the server
91
+ A list of IPAM IP IDs to attach to the server.
92
92
  """
93
93
  status: NotRequired[pulumi.Input[builtins.str]]
94
94
  """
95
- The private network status
95
+ The current status of the private network.
96
96
  """
97
97
  updated_at: NotRequired[pulumi.Input[builtins.str]]
98
98
  """
99
- The date and time of the last update of the Apple Silicon server.
99
+ The date and time the private network was last updated.
100
100
  """
101
101
  vlan: NotRequired[pulumi.Input[builtins.int]]
102
102
  """
103
- The VLAN ID associated to the private network
103
+ The VLAN ID associated with the private network.
104
104
  """
105
105
  elif False:
106
106
  ServerPrivateNetworkArgsDict: TypeAlias = Mapping[str, Any]
@@ -115,12 +115,12 @@ class ServerPrivateNetworkArgs:
115
115
  updated_at: Optional[pulumi.Input[builtins.str]] = None,
116
116
  vlan: Optional[pulumi.Input[builtins.int]] = None):
117
117
  """
118
- :param pulumi.Input[builtins.str] id: The ID of the IP address resource.
119
- :param pulumi.Input[builtins.str] created_at: The date and time of the creation of the Apple Silicon server.
120
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipam_ip_ids: List of IPAM IP IDs to attach to the server
121
- :param pulumi.Input[builtins.str] status: The private network status
122
- :param pulumi.Input[builtins.str] updated_at: The date and time of the last update of the Apple Silicon server.
123
- :param pulumi.Input[builtins.int] vlan: The VLAN ID associated to the private network
118
+ :param pulumi.Input[builtins.str] id: The private network ID
119
+ :param pulumi.Input[builtins.str] created_at: The date and time the private network was created.
120
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ipam_ip_ids: A list of IPAM IP IDs to attach to the server.
121
+ :param pulumi.Input[builtins.str] status: The current status of the private network.
122
+ :param pulumi.Input[builtins.str] updated_at: The date and time the private network was last updated.
123
+ :param pulumi.Input[builtins.int] vlan: The VLAN ID associated with the private network.
124
124
  """
125
125
  pulumi.set(__self__, "id", id)
126
126
  if created_at is not None:
@@ -138,7 +138,7 @@ class ServerPrivateNetworkArgs:
138
138
  @pulumi.getter
139
139
  def id(self) -> pulumi.Input[builtins.str]:
140
140
  """
141
- The ID of the IP address resource.
141
+ The private network ID
142
142
  """
143
143
  return pulumi.get(self, "id")
144
144
 
@@ -150,7 +150,7 @@ class ServerPrivateNetworkArgs:
150
150
  @pulumi.getter(name="createdAt")
151
151
  def created_at(self) -> Optional[pulumi.Input[builtins.str]]:
152
152
  """
153
- The date and time of the creation of the Apple Silicon server.
153
+ The date and time the private network was created.
154
154
  """
155
155
  return pulumi.get(self, "created_at")
156
156
 
@@ -162,7 +162,7 @@ class ServerPrivateNetworkArgs:
162
162
  @pulumi.getter(name="ipamIpIds")
163
163
  def ipam_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
164
164
  """
165
- List of IPAM IP IDs to attach to the server
165
+ A list of IPAM IP IDs to attach to the server.
166
166
  """
167
167
  return pulumi.get(self, "ipam_ip_ids")
168
168
 
@@ -174,7 +174,7 @@ class ServerPrivateNetworkArgs:
174
174
  @pulumi.getter
175
175
  def status(self) -> Optional[pulumi.Input[builtins.str]]:
176
176
  """
177
- The private network status
177
+ The current status of the private network.
178
178
  """
179
179
  return pulumi.get(self, "status")
180
180
 
@@ -186,7 +186,7 @@ class ServerPrivateNetworkArgs:
186
186
  @pulumi.getter(name="updatedAt")
187
187
  def updated_at(self) -> Optional[pulumi.Input[builtins.str]]:
188
188
  """
189
- The date and time of the last update of the Apple Silicon server.
189
+ The date and time the private network was last updated.
190
190
  """
191
191
  return pulumi.get(self, "updated_at")
192
192
 
@@ -198,7 +198,7 @@ class ServerPrivateNetworkArgs:
198
198
  @pulumi.getter
199
199
  def vlan(self) -> Optional[pulumi.Input[builtins.int]]:
200
200
  """
201
- The VLAN ID associated to the private network
201
+ The VLAN ID associated with the private network.
202
202
  """
203
203
  return pulumi.get(self, "vlan")
204
204