pulumiverse-scaleway 1.26.0a1742897201__py3-none-any.whl → 1.27.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 (85) hide show
  1. pulumiverse_scaleway/__init__.py +105 -0
  2. pulumiverse_scaleway/_inputs.py +776 -0
  3. pulumiverse_scaleway/apple_silicon_server.py +105 -0
  4. pulumiverse_scaleway/applesilicon/server.py +105 -0
  5. pulumiverse_scaleway/baremetal_server.py +82 -0
  6. pulumiverse_scaleway/cockpit.py +7 -0
  7. pulumiverse_scaleway/domain/__init__.py +1 -0
  8. pulumiverse_scaleway/domain/_inputs.py +2697 -0
  9. pulumiverse_scaleway/domain/outputs.py +2145 -0
  10. pulumiverse_scaleway/domain/registration.py +777 -0
  11. pulumiverse_scaleway/edge_services_backend_stage.py +472 -0
  12. pulumiverse_scaleway/edge_services_cache_stage.py +584 -0
  13. pulumiverse_scaleway/edge_services_dns_stage.py +516 -0
  14. pulumiverse_scaleway/edge_services_head_stage.py +258 -0
  15. pulumiverse_scaleway/edge_services_pipeline.py +478 -0
  16. pulumiverse_scaleway/edge_services_plan.py +239 -0
  17. pulumiverse_scaleway/edge_services_route_stage.py +422 -0
  18. pulumiverse_scaleway/edge_services_tls_stage.py +640 -0
  19. pulumiverse_scaleway/edge_services_waf_stage.py +444 -0
  20. pulumiverse_scaleway/elasticmetal/__init__.py +1 -0
  21. pulumiverse_scaleway/elasticmetal/get_easy_partitioning.py +177 -0
  22. pulumiverse_scaleway/elasticmetal/ip.py +13 -7
  23. pulumiverse_scaleway/elasticmetal/server.py +82 -0
  24. pulumiverse_scaleway/flexible_ip.py +13 -7
  25. pulumiverse_scaleway/get_cockpit_plan.py +1 -0
  26. pulumiverse_scaleway/get_instance_server.py +12 -1
  27. pulumiverse_scaleway/get_lb_frontend.py +12 -1
  28. pulumiverse_scaleway/get_lb_route.py +12 -1
  29. pulumiverse_scaleway/get_secret.py +15 -4
  30. pulumiverse_scaleway/get_vpc_public_gateway.py +34 -1
  31. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -0
  32. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +8 -0
  33. pulumiverse_scaleway/hosting/hosting.py +2 -2
  34. pulumiverse_scaleway/instance/get_server.py +12 -1
  35. pulumiverse_scaleway/instance/outputs.py +0 -11
  36. pulumiverse_scaleway/instance/server.py +54 -7
  37. pulumiverse_scaleway/instance_server.py +54 -7
  38. pulumiverse_scaleway/job/_inputs.py +113 -0
  39. pulumiverse_scaleway/job/definition.py +107 -0
  40. pulumiverse_scaleway/job/outputs.py +88 -0
  41. pulumiverse_scaleway/job_definition.py +107 -0
  42. pulumiverse_scaleway/loadbalancer_backend.py +2 -2
  43. pulumiverse_scaleway/loadbalancer_frontend.py +47 -0
  44. pulumiverse_scaleway/loadbalancer_route.py +48 -1
  45. pulumiverse_scaleway/loadbalancers/backend.py +2 -2
  46. pulumiverse_scaleway/loadbalancers/frontend.py +47 -0
  47. pulumiverse_scaleway/loadbalancers/get_frontend.py +12 -1
  48. pulumiverse_scaleway/loadbalancers/get_route.py +12 -1
  49. pulumiverse_scaleway/loadbalancers/outputs.py +13 -2
  50. pulumiverse_scaleway/loadbalancers/route.py +48 -1
  51. pulumiverse_scaleway/network/__init__.py +1 -0
  52. pulumiverse_scaleway/network/_inputs.py +194 -0
  53. pulumiverse_scaleway/network/acl.py +415 -0
  54. pulumiverse_scaleway/network/gateway_network.py +104 -122
  55. pulumiverse_scaleway/network/get_public_gateway.py +34 -1
  56. pulumiverse_scaleway/network/get_public_gateway_dhcp.py +8 -0
  57. pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +8 -0
  58. pulumiverse_scaleway/network/outputs.py +139 -0
  59. pulumiverse_scaleway/network/public_gateway.py +124 -21
  60. pulumiverse_scaleway/network/public_gateway_dhcp.py +8 -0
  61. pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +8 -0
  62. pulumiverse_scaleway/observability/cockpit.py +7 -0
  63. pulumiverse_scaleway/observability/get_plan.py +1 -0
  64. pulumiverse_scaleway/outputs.py +750 -13
  65. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  66. pulumiverse_scaleway/secret.py +22 -2
  67. pulumiverse_scaleway/secret_version.py +6 -6
  68. pulumiverse_scaleway/secrets/_inputs.py +154 -0
  69. pulumiverse_scaleway/secrets/get_secret.py +15 -4
  70. pulumiverse_scaleway/secrets/outputs.py +200 -0
  71. pulumiverse_scaleway/secrets/secret.py +22 -2
  72. pulumiverse_scaleway/tem/__init__.py +2 -0
  73. pulumiverse_scaleway/tem/blocked_list.py +442 -0
  74. pulumiverse_scaleway/tem/domain.py +7 -0
  75. pulumiverse_scaleway/tem/get_offer_subscription.py +254 -0
  76. pulumiverse_scaleway/tem_domain.py +7 -0
  77. pulumiverse_scaleway/vpc_gateway_network.py +104 -122
  78. pulumiverse_scaleway/vpc_public_gateway.py +124 -21
  79. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +8 -0
  80. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +8 -0
  81. pulumiverse_scaleway/webhosting.py +2 -2
  82. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/METADATA +1 -1
  83. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/RECORD +85 -71
  84. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/WHEEL +1 -1
  85. {pulumiverse_scaleway-1.26.0a1742897201.dist-info → pulumiverse_scaleway-1.27.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetServerResult:
27
27
  """
28
28
  A collection of values returned by getServer.
29
29
  """
30
- def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
30
+ def __init__(__self__, additional_volume_ids=None, boot_type=None, bootscript_id=None, cloud_init=None, enable_dynamic_ip=None, enable_ipv6=None, id=None, image=None, ip_id=None, ip_ids=None, ipv6_address=None, ipv6_gateway=None, ipv6_prefix_length=None, name=None, organization_id=None, placement_group_id=None, placement_group_policy_respected=None, private_ip=None, private_networks=None, project_id=None, protected=None, public_ip=None, public_ips=None, replace_on_type_change=None, root_volumes=None, security_group_id=None, server_id=None, state=None, tags=None, type=None, user_data=None, zone=None):
31
31
  if additional_volume_ids and not isinstance(additional_volume_ids, list):
32
32
  raise TypeError("Expected argument 'additional_volume_ids' to be a list")
33
33
  pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
@@ -88,6 +88,9 @@ class GetServerResult:
88
88
  if project_id and not isinstance(project_id, str):
89
89
  raise TypeError("Expected argument 'project_id' to be a str")
90
90
  pulumi.set(__self__, "project_id", project_id)
91
+ if protected and not isinstance(protected, bool):
92
+ raise TypeError("Expected argument 'protected' to be a bool")
93
+ pulumi.set(__self__, "protected", protected)
91
94
  if public_ip and not isinstance(public_ip, str):
92
95
  raise TypeError("Expected argument 'public_ip' to be a str")
93
96
  pulumi.set(__self__, "public_ip", public_ip)
@@ -262,6 +265,11 @@ class GetServerResult:
262
265
  def project_id(self) -> Optional[str]:
263
266
  return pulumi.get(self, "project_id")
264
267
 
268
+ @property
269
+ @pulumi.getter
270
+ def protected(self) -> bool:
271
+ return pulumi.get(self, "protected")
272
+
265
273
  @property
266
274
  @pulumi.getter(name="publicIp")
267
275
  def public_ip(self) -> str:
@@ -366,6 +374,7 @@ class AwaitableGetServerResult(GetServerResult):
366
374
  private_ip=self.private_ip,
367
375
  private_networks=self.private_networks,
368
376
  project_id=self.project_id,
377
+ protected=self.protected,
369
378
  public_ip=self.public_ip,
370
379
  public_ips=self.public_ips,
371
380
  replace_on_type_change=self.replace_on_type_change,
@@ -422,6 +431,7 @@ def get_server(name: Optional[str] = None,
422
431
  private_ip=pulumi.get(__ret__, 'private_ip'),
423
432
  private_networks=pulumi.get(__ret__, 'private_networks'),
424
433
  project_id=pulumi.get(__ret__, 'project_id'),
434
+ protected=pulumi.get(__ret__, 'protected'),
425
435
  public_ip=pulumi.get(__ret__, 'public_ip'),
426
436
  public_ips=pulumi.get(__ret__, 'public_ips'),
427
437
  replace_on_type_change=pulumi.get(__ret__, 'replace_on_type_change'),
@@ -475,6 +485,7 @@ def get_server_output(name: Optional[pulumi.Input[Optional[str]]] = None,
475
485
  private_ip=pulumi.get(__response__, 'private_ip'),
476
486
  private_networks=pulumi.get(__response__, 'private_networks'),
477
487
  project_id=pulumi.get(__response__, 'project_id'),
488
+ protected=pulumi.get(__response__, 'protected'),
478
489
  public_ip=pulumi.get(__response__, 'public_ip'),
479
490
  public_ips=pulumi.get(__response__, 'public_ips'),
480
491
  replace_on_type_change=pulumi.get(__response__, 'replace_on_type_change'),
@@ -1239,7 +1239,6 @@ class GetServersServerResult(dict):
1239
1239
  project_id: str,
1240
1240
  public_ip: str,
1241
1241
  public_ips: Sequence['outputs.GetServersServerPublicIpResult'],
1242
- routed_ip_enabled: bool,
1243
1242
  security_group_id: str,
1244
1243
  state: str,
1245
1244
  tags: Sequence[str],
@@ -1261,7 +1260,6 @@ class GetServersServerResult(dict):
1261
1260
  :param str project_id: The ID of the project the server is associated with.
1262
1261
  :param str public_ip: The public IP address of the server.
1263
1262
  :param Sequence['GetServersServerPublicIpArgs'] public_ips: The list of public IPs of the server
1264
- :param bool routed_ip_enabled: True if the server support routed ip only.
1265
1263
  :param str security_group_id: The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
1266
1264
  :param str state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
1267
1265
  :param Sequence[str] tags: List of tags used as filter. Servers with these exact tags are listed.
@@ -1285,7 +1283,6 @@ class GetServersServerResult(dict):
1285
1283
  pulumi.set(__self__, "project_id", project_id)
1286
1284
  pulumi.set(__self__, "public_ip", public_ip)
1287
1285
  pulumi.set(__self__, "public_ips", public_ips)
1288
- pulumi.set(__self__, "routed_ip_enabled", routed_ip_enabled)
1289
1286
  pulumi.set(__self__, "security_group_id", security_group_id)
1290
1287
  pulumi.set(__self__, "state", state)
1291
1288
  pulumi.set(__self__, "tags", tags)
@@ -1424,14 +1421,6 @@ class GetServersServerResult(dict):
1424
1421
  """
1425
1422
  return pulumi.get(self, "public_ips")
1426
1423
 
1427
- @property
1428
- @pulumi.getter(name="routedIpEnabled")
1429
- def routed_ip_enabled(self) -> bool:
1430
- """
1431
- True if the server support routed ip only.
1432
- """
1433
- return pulumi.get(self, "routed_ip_enabled")
1434
-
1435
1424
  @property
1436
1425
  @pulumi.getter(name="securityGroupId")
1437
1426
  def security_group_id(self) -> str:
@@ -35,6 +35,7 @@ class ServerArgs:
35
35
  placement_group_id: Optional[pulumi.Input[str]] = None,
36
36
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
37
37
  project_id: Optional[pulumi.Input[str]] = None,
38
+ protected: Optional[pulumi.Input[bool]] = None,
38
39
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]]] = None,
39
40
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
40
41
  root_volume: Optional[pulumi.Input['ServerRootVolumeArgs']] = None,
@@ -61,7 +62,7 @@ class ServerArgs:
61
62
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
62
63
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
63
64
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
64
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
65
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
65
66
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
66
67
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
67
68
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -81,6 +82,7 @@ class ServerArgs:
81
82
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
82
83
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
83
84
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
85
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
84
86
  :param pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
85
87
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
86
88
  :param pulumi.Input['ServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -128,6 +130,8 @@ class ServerArgs:
128
130
  pulumi.set(__self__, "private_networks", private_networks)
129
131
  if project_id is not None:
130
132
  pulumi.set(__self__, "project_id", project_id)
133
+ if protected is not None:
134
+ pulumi.set(__self__, "protected", protected)
131
135
  if public_ips is not None:
132
136
  pulumi.set(__self__, "public_ips", public_ips)
133
137
  if replace_on_type_change is not None:
@@ -233,7 +237,7 @@ class ServerArgs:
233
237
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
234
238
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
235
239
  """
236
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
240
+ Determines if IPv6 is enabled for the server.
237
241
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
238
242
  """
239
243
  return pulumi.get(self, "enable_ipv6")
@@ -337,6 +341,18 @@ class ServerArgs:
337
341
  def project_id(self, value: Optional[pulumi.Input[str]]):
338
342
  pulumi.set(self, "project_id", value)
339
343
 
344
+ @property
345
+ @pulumi.getter
346
+ def protected(self) -> Optional[pulumi.Input[bool]]:
347
+ """
348
+ Set to true to activate server protection option.
349
+ """
350
+ return pulumi.get(self, "protected")
351
+
352
+ @protected.setter
353
+ def protected(self, value: Optional[pulumi.Input[bool]]):
354
+ pulumi.set(self, "protected", value)
355
+
340
356
  @property
341
357
  @pulumi.getter(name="publicIps")
342
358
  def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]]]:
@@ -461,6 +477,7 @@ class _ServerState:
461
477
  private_ip: Optional[pulumi.Input[str]] = None,
462
478
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
463
479
  project_id: Optional[pulumi.Input[str]] = None,
480
+ protected: Optional[pulumi.Input[bool]] = None,
464
481
  public_ip: Optional[pulumi.Input[str]] = None,
465
482
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]]] = None,
466
483
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
@@ -483,7 +500,7 @@ class _ServerState:
483
500
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
484
501
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
485
502
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
486
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
503
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
487
504
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
488
505
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
489
506
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -512,6 +529,7 @@ class _ServerState:
512
529
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
513
530
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
514
531
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
532
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
515
533
  :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
516
534
  :param pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
517
535
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
@@ -589,6 +607,8 @@ class _ServerState:
589
607
  pulumi.set(__self__, "private_networks", private_networks)
590
608
  if project_id is not None:
591
609
  pulumi.set(__self__, "project_id", project_id)
610
+ if protected is not None:
611
+ pulumi.set(__self__, "protected", protected)
592
612
  if public_ip is not None:
593
613
  warnings.warn("""Use public_ips instead""", DeprecationWarning)
594
614
  pulumi.log.warn("""public_ip is deprecated: Use public_ips instead""")
@@ -684,7 +704,7 @@ class _ServerState:
684
704
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
685
705
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
686
706
  """
687
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
707
+ Determines if IPv6 is enabled for the server.
688
708
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
689
709
  """
690
710
  return pulumi.get(self, "enable_ipv6")
@@ -867,6 +887,18 @@ class _ServerState:
867
887
  def project_id(self, value: Optional[pulumi.Input[str]]):
868
888
  pulumi.set(self, "project_id", value)
869
889
 
890
+ @property
891
+ @pulumi.getter
892
+ def protected(self) -> Optional[pulumi.Input[bool]]:
893
+ """
894
+ Set to true to activate server protection option.
895
+ """
896
+ return pulumi.get(self, "protected")
897
+
898
+ @protected.setter
899
+ def protected(self, value: Optional[pulumi.Input[bool]]):
900
+ pulumi.set(self, "protected", value)
901
+
870
902
  @property
871
903
  @pulumi.getter(name="publicIp")
872
904
  @_utilities.deprecated("""Use public_ips instead""")
@@ -1017,6 +1049,7 @@ class Server(pulumi.CustomResource):
1017
1049
  placement_group_id: Optional[pulumi.Input[str]] = None,
1018
1050
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1019
1051
  project_id: Optional[pulumi.Input[str]] = None,
1052
+ protected: Optional[pulumi.Input[bool]] = None,
1020
1053
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1021
1054
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1022
1055
  root_volume: Optional[pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']]] = None,
@@ -1220,7 +1253,7 @@ class Server(pulumi.CustomResource):
1220
1253
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1221
1254
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1222
1255
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1223
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1256
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1224
1257
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1225
1258
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1226
1259
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -1240,6 +1273,7 @@ class Server(pulumi.CustomResource):
1240
1273
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1241
1274
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1242
1275
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1276
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1243
1277
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1244
1278
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1245
1279
  :param pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -1475,6 +1509,7 @@ class Server(pulumi.CustomResource):
1475
1509
  placement_group_id: Optional[pulumi.Input[str]] = None,
1476
1510
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1477
1511
  project_id: Optional[pulumi.Input[str]] = None,
1512
+ protected: Optional[pulumi.Input[bool]] = None,
1478
1513
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1479
1514
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1480
1515
  root_volume: Optional[pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']]] = None,
@@ -1506,6 +1541,7 @@ class Server(pulumi.CustomResource):
1506
1541
  __props__.__dict__["placement_group_id"] = placement_group_id
1507
1542
  __props__.__dict__["private_networks"] = private_networks
1508
1543
  __props__.__dict__["project_id"] = project_id
1544
+ __props__.__dict__["protected"] = protected
1509
1545
  __props__.__dict__["public_ips"] = public_ips
1510
1546
  __props__.__dict__["replace_on_type_change"] = replace_on_type_change
1511
1547
  __props__.__dict__["root_volume"] = root_volume
@@ -1555,6 +1591,7 @@ class Server(pulumi.CustomResource):
1555
1591
  private_ip: Optional[pulumi.Input[str]] = None,
1556
1592
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1557
1593
  project_id: Optional[pulumi.Input[str]] = None,
1594
+ protected: Optional[pulumi.Input[bool]] = None,
1558
1595
  public_ip: Optional[pulumi.Input[str]] = None,
1559
1596
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1560
1597
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
@@ -1582,7 +1619,7 @@ class Server(pulumi.CustomResource):
1582
1619
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1583
1620
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1584
1621
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1585
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1622
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1586
1623
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1587
1624
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1588
1625
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -1611,6 +1648,7 @@ class Server(pulumi.CustomResource):
1611
1648
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1612
1649
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1613
1650
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1651
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1614
1652
  :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
1615
1653
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1616
1654
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
@@ -1655,6 +1693,7 @@ class Server(pulumi.CustomResource):
1655
1693
  __props__.__dict__["private_ip"] = private_ip
1656
1694
  __props__.__dict__["private_networks"] = private_networks
1657
1695
  __props__.__dict__["project_id"] = project_id
1696
+ __props__.__dict__["protected"] = protected
1658
1697
  __props__.__dict__["public_ip"] = public_ip
1659
1698
  __props__.__dict__["public_ips"] = public_ips
1660
1699
  __props__.__dict__["replace_on_type_change"] = replace_on_type_change
@@ -1718,7 +1757,7 @@ class Server(pulumi.CustomResource):
1718
1757
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1719
1758
  def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
1720
1759
  """
1721
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1760
+ Determines if IPv6 is enabled for the server.
1722
1761
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1723
1762
  """
1724
1763
  return pulumi.get(self, "enable_ipv6")
@@ -1845,6 +1884,14 @@ class Server(pulumi.CustomResource):
1845
1884
  """
1846
1885
  return pulumi.get(self, "project_id")
1847
1886
 
1887
+ @property
1888
+ @pulumi.getter
1889
+ def protected(self) -> pulumi.Output[Optional[bool]]:
1890
+ """
1891
+ Set to true to activate server protection option.
1892
+ """
1893
+ return pulumi.get(self, "protected")
1894
+
1848
1895
  @property
1849
1896
  @pulumi.getter(name="publicIp")
1850
1897
  @_utilities.deprecated("""Use public_ips instead""")
@@ -35,6 +35,7 @@ class InstanceServerArgs:
35
35
  placement_group_id: Optional[pulumi.Input[str]] = None,
36
36
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
37
37
  project_id: Optional[pulumi.Input[str]] = None,
38
+ protected: Optional[pulumi.Input[bool]] = None,
38
39
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
39
40
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
40
41
  root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
@@ -61,7 +62,7 @@ class InstanceServerArgs:
61
62
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
62
63
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
63
64
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
64
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
65
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
65
66
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
66
67
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
67
68
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -81,6 +82,7 @@ class InstanceServerArgs:
81
82
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
82
83
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
83
84
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
85
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
84
86
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
85
87
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
86
88
  :param pulumi.Input['InstanceServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -128,6 +130,8 @@ class InstanceServerArgs:
128
130
  pulumi.set(__self__, "private_networks", private_networks)
129
131
  if project_id is not None:
130
132
  pulumi.set(__self__, "project_id", project_id)
133
+ if protected is not None:
134
+ pulumi.set(__self__, "protected", protected)
131
135
  if public_ips is not None:
132
136
  pulumi.set(__self__, "public_ips", public_ips)
133
137
  if replace_on_type_change is not None:
@@ -233,7 +237,7 @@ class InstanceServerArgs:
233
237
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
234
238
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
235
239
  """
236
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
240
+ Determines if IPv6 is enabled for the server.
237
241
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
238
242
  """
239
243
  return pulumi.get(self, "enable_ipv6")
@@ -337,6 +341,18 @@ class InstanceServerArgs:
337
341
  def project_id(self, value: Optional[pulumi.Input[str]]):
338
342
  pulumi.set(self, "project_id", value)
339
343
 
344
+ @property
345
+ @pulumi.getter
346
+ def protected(self) -> Optional[pulumi.Input[bool]]:
347
+ """
348
+ Set to true to activate server protection option.
349
+ """
350
+ return pulumi.get(self, "protected")
351
+
352
+ @protected.setter
353
+ def protected(self, value: Optional[pulumi.Input[bool]]):
354
+ pulumi.set(self, "protected", value)
355
+
340
356
  @property
341
357
  @pulumi.getter(name="publicIps")
342
358
  def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]:
@@ -461,6 +477,7 @@ class _InstanceServerState:
461
477
  private_ip: Optional[pulumi.Input[str]] = None,
462
478
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
463
479
  project_id: Optional[pulumi.Input[str]] = None,
480
+ protected: Optional[pulumi.Input[bool]] = None,
464
481
  public_ip: Optional[pulumi.Input[str]] = None,
465
482
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
466
483
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
@@ -483,7 +500,7 @@ class _InstanceServerState:
483
500
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
484
501
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
485
502
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
486
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
503
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
487
504
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
488
505
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
489
506
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -512,6 +529,7 @@ class _InstanceServerState:
512
529
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
513
530
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
514
531
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
532
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
515
533
  :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
516
534
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
517
535
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
@@ -589,6 +607,8 @@ class _InstanceServerState:
589
607
  pulumi.set(__self__, "private_networks", private_networks)
590
608
  if project_id is not None:
591
609
  pulumi.set(__self__, "project_id", project_id)
610
+ if protected is not None:
611
+ pulumi.set(__self__, "protected", protected)
592
612
  if public_ip is not None:
593
613
  warnings.warn("""Use public_ips instead""", DeprecationWarning)
594
614
  pulumi.log.warn("""public_ip is deprecated: Use public_ips instead""")
@@ -684,7 +704,7 @@ class _InstanceServerState:
684
704
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
685
705
  def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
686
706
  """
687
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
707
+ Determines if IPv6 is enabled for the server.
688
708
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
689
709
  """
690
710
  return pulumi.get(self, "enable_ipv6")
@@ -867,6 +887,18 @@ class _InstanceServerState:
867
887
  def project_id(self, value: Optional[pulumi.Input[str]]):
868
888
  pulumi.set(self, "project_id", value)
869
889
 
890
+ @property
891
+ @pulumi.getter
892
+ def protected(self) -> Optional[pulumi.Input[bool]]:
893
+ """
894
+ Set to true to activate server protection option.
895
+ """
896
+ return pulumi.get(self, "protected")
897
+
898
+ @protected.setter
899
+ def protected(self, value: Optional[pulumi.Input[bool]]):
900
+ pulumi.set(self, "protected", value)
901
+
870
902
  @property
871
903
  @pulumi.getter(name="publicIp")
872
904
  @_utilities.deprecated("""Use public_ips instead""")
@@ -1022,6 +1054,7 @@ class InstanceServer(pulumi.CustomResource):
1022
1054
  placement_group_id: Optional[pulumi.Input[str]] = None,
1023
1055
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
1024
1056
  project_id: Optional[pulumi.Input[str]] = None,
1057
+ protected: Optional[pulumi.Input[bool]] = None,
1025
1058
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
1026
1059
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1027
1060
  root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
@@ -1225,7 +1258,7 @@ class InstanceServer(pulumi.CustomResource):
1225
1258
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1226
1259
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1227
1260
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1228
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1261
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1229
1262
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1230
1263
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1231
1264
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -1245,6 +1278,7 @@ class InstanceServer(pulumi.CustomResource):
1245
1278
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1246
1279
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1247
1280
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1281
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1248
1282
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1249
1283
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1250
1284
  :param pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
@@ -1480,6 +1514,7 @@ class InstanceServer(pulumi.CustomResource):
1480
1514
  placement_group_id: Optional[pulumi.Input[str]] = None,
1481
1515
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
1482
1516
  project_id: Optional[pulumi.Input[str]] = None,
1517
+ protected: Optional[pulumi.Input[bool]] = None,
1483
1518
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
1484
1519
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1485
1520
  root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
@@ -1512,6 +1547,7 @@ class InstanceServer(pulumi.CustomResource):
1512
1547
  __props__.__dict__["placement_group_id"] = placement_group_id
1513
1548
  __props__.__dict__["private_networks"] = private_networks
1514
1549
  __props__.__dict__["project_id"] = project_id
1550
+ __props__.__dict__["protected"] = protected
1515
1551
  __props__.__dict__["public_ips"] = public_ips
1516
1552
  __props__.__dict__["replace_on_type_change"] = replace_on_type_change
1517
1553
  __props__.__dict__["root_volume"] = root_volume
@@ -1559,6 +1595,7 @@ class InstanceServer(pulumi.CustomResource):
1559
1595
  private_ip: Optional[pulumi.Input[str]] = None,
1560
1596
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
1561
1597
  project_id: Optional[pulumi.Input[str]] = None,
1598
+ protected: Optional[pulumi.Input[bool]] = None,
1562
1599
  public_ip: Optional[pulumi.Input[str]] = None,
1563
1600
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
1564
1601
  replace_on_type_change: Optional[pulumi.Input[bool]] = None,
@@ -1586,7 +1623,7 @@ class InstanceServer(pulumi.CustomResource):
1586
1623
  :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1587
1624
  :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1588
1625
  :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1589
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1626
+ :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1590
1627
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1591
1628
  :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1592
1629
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -1615,6 +1652,7 @@ class InstanceServer(pulumi.CustomResource):
1615
1652
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1616
1653
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1617
1654
  :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1655
+ :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1618
1656
  :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
1619
1657
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1620
1658
  :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
@@ -1659,6 +1697,7 @@ class InstanceServer(pulumi.CustomResource):
1659
1697
  __props__.__dict__["private_ip"] = private_ip
1660
1698
  __props__.__dict__["private_networks"] = private_networks
1661
1699
  __props__.__dict__["project_id"] = project_id
1700
+ __props__.__dict__["protected"] = protected
1662
1701
  __props__.__dict__["public_ip"] = public_ip
1663
1702
  __props__.__dict__["public_ips"] = public_ips
1664
1703
  __props__.__dict__["replace_on_type_change"] = replace_on_type_change
@@ -1722,7 +1761,7 @@ class InstanceServer(pulumi.CustomResource):
1722
1761
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1723
1762
  def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
1724
1763
  """
1725
- Determines if IPv6 is enabled for the server. Useful only with `routed_ip_enabled` as false, otherwise ipv6 is always supported.
1764
+ Determines if IPv6 is enabled for the server.
1726
1765
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1727
1766
  """
1728
1767
  return pulumi.get(self, "enable_ipv6")
@@ -1849,6 +1888,14 @@ class InstanceServer(pulumi.CustomResource):
1849
1888
  """
1850
1889
  return pulumi.get(self, "project_id")
1851
1890
 
1891
+ @property
1892
+ @pulumi.getter
1893
+ def protected(self) -> pulumi.Output[Optional[bool]]:
1894
+ """
1895
+ Set to true to activate server protection option.
1896
+ """
1897
+ return pulumi.get(self, "protected")
1898
+
1852
1899
  @property
1853
1900
  @pulumi.getter(name="publicIp")
1854
1901
  @_utilities.deprecated("""Use public_ips instead""")