pulumiverse-scaleway 1.33.0a1755026511__py3-none-any.whl → 1.34.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 (52) hide show
  1. pulumiverse_scaleway/__init__.py +8 -0
  2. pulumiverse_scaleway/_inputs.py +235 -34
  3. pulumiverse_scaleway/cockpit.py +14 -0
  4. pulumiverse_scaleway/container_namespace.py +16 -7
  5. pulumiverse_scaleway/containers/namespace.py +16 -7
  6. pulumiverse_scaleway/database_user.py +83 -11
  7. pulumiverse_scaleway/databases/user.py +83 -11
  8. pulumiverse_scaleway/elasticmetal/outputs.py +4 -0
  9. pulumiverse_scaleway/function_namespace.py +16 -7
  10. pulumiverse_scaleway/functions/namespace.py +16 -7
  11. pulumiverse_scaleway/get_mongo_db_instance.py +34 -1
  12. pulumiverse_scaleway/hosting/_inputs.py +42 -0
  13. pulumiverse_scaleway/hosting/outputs.py +84 -0
  14. pulumiverse_scaleway/instance/_inputs.py +107 -13
  15. pulumiverse_scaleway/instance/outputs.py +187 -10
  16. pulumiverse_scaleway/instance/security_group_rules.py +16 -16
  17. pulumiverse_scaleway/instance/snapshot.py +26 -27
  18. pulumiverse_scaleway/instance_security_group_rules.py +16 -16
  19. pulumiverse_scaleway/instance_snapshot.py +26 -27
  20. pulumiverse_scaleway/loadbalancer_backend.py +39 -0
  21. pulumiverse_scaleway/loadbalancers/backend.py +39 -0
  22. pulumiverse_scaleway/loadbalancers/outputs.py +16 -0
  23. pulumiverse_scaleway/mnq/_inputs.py +52 -0
  24. pulumiverse_scaleway/mnq/outputs.py +47 -0
  25. pulumiverse_scaleway/mnq/sqs_queue.py +159 -0
  26. pulumiverse_scaleway/mnq_sqs_queue.py +159 -0
  27. pulumiverse_scaleway/mongo_db_instance.py +171 -23
  28. pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
  29. pulumiverse_scaleway/mongodb/__init__.py +1 -0
  30. pulumiverse_scaleway/mongodb/_inputs.py +73 -0
  31. pulumiverse_scaleway/mongodb/get_instance.py +34 -1
  32. pulumiverse_scaleway/mongodb/instance.py +171 -23
  33. pulumiverse_scaleway/mongodb/outputs.py +62 -0
  34. pulumiverse_scaleway/mongodb/snapshot.py +2 -2
  35. pulumiverse_scaleway/mongodb/user.py +508 -0
  36. pulumiverse_scaleway/network/outputs.py +4 -0
  37. pulumiverse_scaleway/object/_inputs.py +14 -0
  38. pulumiverse_scaleway/object/bucket.py +13 -0
  39. pulumiverse_scaleway/object/outputs.py +30 -0
  40. pulumiverse_scaleway/object_bucket.py +13 -0
  41. pulumiverse_scaleway/observability/__init__.py +1 -0
  42. pulumiverse_scaleway/observability/cockpit.py +14 -0
  43. pulumiverse_scaleway/observability/get_sources.py +376 -0
  44. pulumiverse_scaleway/observability/outputs.py +140 -0
  45. pulumiverse_scaleway/outputs.py +387 -26
  46. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  47. pulumiverse_scaleway/secret.py +8 -0
  48. pulumiverse_scaleway/secrets/secret.py +8 -0
  49. {pulumiverse_scaleway-1.33.0a1755026511.dist-info → pulumiverse_scaleway-1.34.0.dist-info}/METADATA +1 -1
  50. {pulumiverse_scaleway-1.33.0a1755026511.dist-info → pulumiverse_scaleway-1.34.0.dist-info}/RECORD +52 -50
  51. {pulumiverse_scaleway-1.33.0a1755026511.dist-info → pulumiverse_scaleway-1.34.0.dist-info}/WHEEL +0 -0
  52. {pulumiverse_scaleway-1.33.0a1755026511.dist-info → pulumiverse_scaleway-1.34.0.dist-info}/top_level.txt +0 -0
@@ -36,11 +36,12 @@ class InstanceSnapshotArgs:
36
36
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the snapshot is
37
37
  associated with.
38
38
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
39
- :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
39
+ :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
40
40
  Updates to this field will recreate a new resource.
41
41
 
42
42
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
43
43
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
44
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
44
45
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
45
46
  :param pulumi.Input[builtins.str] zone: `zone`) The zone in which
46
47
  the snapshot should be created.
@@ -113,11 +114,12 @@ class InstanceSnapshotArgs:
113
114
  @pulumi.getter
114
115
  def type(self) -> Optional[pulumi.Input[builtins.str]]:
115
116
  """
116
- The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
117
+ The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
117
118
  Updates to this field will recreate a new resource.
118
119
 
119
120
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
120
121
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
122
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
121
123
  """
122
124
  return pulumi.get(self, "type")
123
125
 
@@ -174,11 +176,12 @@ class _InstanceSnapshotState:
174
176
  associated with.
175
177
  :param pulumi.Input[builtins.int] size_in_gb: (Optional) The size of the snapshot.
176
178
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
177
- :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
179
+ :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
178
180
  Updates to this field will recreate a new resource.
179
181
 
180
182
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
181
183
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
184
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
182
185
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
183
186
  :param pulumi.Input[builtins.str] zone: `zone`) The zone in which
184
187
  the snapshot should be created.
@@ -293,11 +296,12 @@ class _InstanceSnapshotState:
293
296
  @pulumi.getter
294
297
  def type(self) -> Optional[pulumi.Input[builtins.str]]:
295
298
  """
296
- The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
299
+ The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
297
300
  Updates to this field will recreate a new resource.
298
301
 
299
302
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
300
303
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
304
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
301
305
  """
302
306
  return pulumi.get(self, "type")
303
307
 
@@ -383,10 +387,8 @@ class InstanceSnapshot(pulumi.CustomResource):
383
387
  "volume_type": "l_ssd",
384
388
  },
385
389
  additional_volume_ids=[main.id])
386
- main_snapshot = scaleway.instance.Snapshot("main",
387
- volume_id=main.id,
388
- type="unified",
389
- opts = pulumi.ResourceOptions(depends_on=[main_server]))
390
+ main_snapshot = scaleway.instance.Snapshot("main", volume_id=main.id,
391
+ opts = pulumi.ResourceOptions(depends_on=[main_server]))
390
392
  ```
391
393
 
392
394
  ### Example importing a local qcow2 file
@@ -400,12 +402,10 @@ class InstanceSnapshot(pulumi.CustomResource):
400
402
  bucket=bucket.name,
401
403
  key="server.qcow2",
402
404
  file="myqcow.qcow2")
403
- snapshot = scaleway.instance.Snapshot("snapshot",
404
- type="unified",
405
- import_={
406
- "bucket": qcow.bucket,
407
- "key": qcow.key,
408
- })
405
+ snapshot = scaleway.instance.Snapshot("snapshot", import_={
406
+ "bucket": qcow.bucket,
407
+ "key": qcow.key,
408
+ })
409
409
  ```
410
410
 
411
411
  ## Import
@@ -425,11 +425,12 @@ class InstanceSnapshot(pulumi.CustomResource):
425
425
  :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the snapshot is
426
426
  associated with.
427
427
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
428
- :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
428
+ :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
429
429
  Updates to this field will recreate a new resource.
430
430
 
431
431
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
432
432
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
433
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
433
434
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
434
435
  :param pulumi.Input[builtins.str] zone: `zone`) The zone in which
435
436
  the snapshot should be created.
@@ -473,10 +474,8 @@ class InstanceSnapshot(pulumi.CustomResource):
473
474
  "volume_type": "l_ssd",
474
475
  },
475
476
  additional_volume_ids=[main.id])
476
- main_snapshot = scaleway.instance.Snapshot("main",
477
- volume_id=main.id,
478
- type="unified",
479
- opts = pulumi.ResourceOptions(depends_on=[main_server]))
477
+ main_snapshot = scaleway.instance.Snapshot("main", volume_id=main.id,
478
+ opts = pulumi.ResourceOptions(depends_on=[main_server]))
480
479
  ```
481
480
 
482
481
  ### Example importing a local qcow2 file
@@ -490,12 +489,10 @@ class InstanceSnapshot(pulumi.CustomResource):
490
489
  bucket=bucket.name,
491
490
  key="server.qcow2",
492
491
  file="myqcow.qcow2")
493
- snapshot = scaleway.instance.Snapshot("snapshot",
494
- type="unified",
495
- import_={
496
- "bucket": qcow.bucket,
497
- "key": qcow.key,
498
- })
492
+ snapshot = scaleway.instance.Snapshot("snapshot", import_={
493
+ "bucket": qcow.bucket,
494
+ "key": qcow.key,
495
+ })
499
496
  ```
500
497
 
501
498
  ## Import
@@ -585,11 +582,12 @@ class InstanceSnapshot(pulumi.CustomResource):
585
582
  associated with.
586
583
  :param pulumi.Input[builtins.int] size_in_gb: (Optional) The size of the snapshot.
587
584
  :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the snapshot.
588
- :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
585
+ :param pulumi.Input[builtins.str] type: The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
589
586
  Updates to this field will recreate a new resource.
590
587
 
591
588
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
592
589
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
590
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
593
591
  :param pulumi.Input[builtins.str] volume_id: The ID of the volume to take a snapshot from.
594
592
  :param pulumi.Input[builtins.str] zone: `zone`) The zone in which
595
593
  the snapshot should be created.
@@ -671,11 +669,12 @@ class InstanceSnapshot(pulumi.CustomResource):
671
669
  @pulumi.getter
672
670
  def type(self) -> pulumi.Output[builtins.str]:
673
671
  """
674
- The snapshot's volume type. The possible values are: `l_ssd` (Local SSD) and `unified`.
672
+ The snapshot's volume type. The possible values are: `l_ssd` (Local SSD).
675
673
  Updates to this field will recreate a new resource.
676
674
 
677
675
  > **Important:** Snapshots of volumes with type `b_ssd` (Block SSD) are deprecated and cannot be managed using the `instance.Snapshot` resource anymore. Please use the `block.Snapshot` resource instead.
678
676
  If you want to migrate existing snapshots, you can visit [this page](https://www.scaleway.com/en/docs/instances/how-to/migrate-volumes-snapshots-to-sbs/) for more information.
677
+ > **Important:** Snapshots of volumes with type `unified` (can be used with both Block and Local SSD) are deprecated since the migration to SBS.
679
678
  """
680
679
  return pulumi.get(self, "type")
681
680
 
@@ -62,9 +62,12 @@ class LoadbalancerBackendArgs:
62
62
  is 'https://failover-website.s3-website.fr-par.scw.cloud/'.
63
63
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
64
64
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
65
+ :param pulumi.Input['LoadbalancerBackendHealthCheckHttpArgs'] health_check_http: HTTP Health check
66
+ :param pulumi.Input['LoadbalancerBackendHealthCheckHttpsArgs'] health_check_https: HTTPS Health check
65
67
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
66
68
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
67
69
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
70
+ :param pulumi.Input['LoadbalancerBackendHealthCheckTcpArgs'] health_check_tcp: TCP Health check
68
71
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
69
72
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
70
73
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -222,6 +225,9 @@ class LoadbalancerBackendArgs:
222
225
  @property
223
226
  @pulumi.getter(name="healthCheckHttp")
224
227
  def health_check_http(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckHttpArgs']]:
228
+ """
229
+ HTTP Health check
230
+ """
225
231
  return pulumi.get(self, "health_check_http")
226
232
 
227
233
  @health_check_http.setter
@@ -231,6 +237,9 @@ class LoadbalancerBackendArgs:
231
237
  @property
232
238
  @pulumi.getter(name="healthCheckHttps")
233
239
  def health_check_https(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckHttpsArgs']]:
240
+ """
241
+ HTTPS Health check
242
+ """
234
243
  return pulumi.get(self, "health_check_https")
235
244
 
236
245
  @health_check_https.setter
@@ -276,6 +285,9 @@ class LoadbalancerBackendArgs:
276
285
  @property
277
286
  @pulumi.getter(name="healthCheckTcp")
278
287
  def health_check_tcp(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckTcpArgs']]:
288
+ """
289
+ TCP Health check
290
+ """
279
291
  return pulumi.get(self, "health_check_tcp")
280
292
 
281
293
  @health_check_tcp.setter
@@ -542,9 +554,12 @@ class _LoadbalancerBackendState:
542
554
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
543
555
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
544
556
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
557
+ :param pulumi.Input['LoadbalancerBackendHealthCheckHttpArgs'] health_check_http: HTTP Health check
558
+ :param pulumi.Input['LoadbalancerBackendHealthCheckHttpsArgs'] health_check_https: HTTPS Health check
545
559
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
546
560
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
547
561
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
562
+ :param pulumi.Input['LoadbalancerBackendHealthCheckTcpArgs'] health_check_tcp: TCP Health check
548
563
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
549
564
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
550
565
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -694,6 +709,9 @@ class _LoadbalancerBackendState:
694
709
  @property
695
710
  @pulumi.getter(name="healthCheckHttp")
696
711
  def health_check_http(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckHttpArgs']]:
712
+ """
713
+ HTTP Health check
714
+ """
697
715
  return pulumi.get(self, "health_check_http")
698
716
 
699
717
  @health_check_http.setter
@@ -703,6 +721,9 @@ class _LoadbalancerBackendState:
703
721
  @property
704
722
  @pulumi.getter(name="healthCheckHttps")
705
723
  def health_check_https(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckHttpsArgs']]:
724
+ """
725
+ HTTPS Health check
726
+ """
706
727
  return pulumi.get(self, "health_check_https")
707
728
 
708
729
  @health_check_https.setter
@@ -748,6 +769,9 @@ class _LoadbalancerBackendState:
748
769
  @property
749
770
  @pulumi.getter(name="healthCheckTcp")
750
771
  def health_check_tcp(self) -> Optional[pulumi.Input['LoadbalancerBackendHealthCheckTcpArgs']]:
772
+ """
773
+ TCP Health check
774
+ """
751
775
  return pulumi.get(self, "health_check_tcp")
752
776
 
753
777
  @health_check_tcp.setter
@@ -1081,9 +1105,12 @@ class LoadbalancerBackend(pulumi.CustomResource):
1081
1105
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
1082
1106
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
1083
1107
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
1108
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckHttpArgs', 'LoadbalancerBackendHealthCheckHttpArgsDict']] health_check_http: HTTP Health check
1109
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckHttpsArgs', 'LoadbalancerBackendHealthCheckHttpsArgsDict']] health_check_https: HTTPS Health check
1084
1110
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
1085
1111
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
1086
1112
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
1113
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckTcpArgs', 'LoadbalancerBackendHealthCheckTcpArgsDict']] health_check_tcp: TCP Health check
1087
1114
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
1088
1115
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
1089
1116
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -1301,9 +1328,12 @@ class LoadbalancerBackend(pulumi.CustomResource):
1301
1328
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
1302
1329
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
1303
1330
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
1331
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckHttpArgs', 'LoadbalancerBackendHealthCheckHttpArgsDict']] health_check_http: HTTP Health check
1332
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckHttpsArgs', 'LoadbalancerBackendHealthCheckHttpsArgsDict']] health_check_https: HTTPS Health check
1304
1333
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
1305
1334
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
1306
1335
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
1336
+ :param pulumi.Input[Union['LoadbalancerBackendHealthCheckTcpArgs', 'LoadbalancerBackendHealthCheckTcpArgsDict']] health_check_tcp: TCP Health check
1307
1337
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
1308
1338
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
1309
1339
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -1405,11 +1435,17 @@ class LoadbalancerBackend(pulumi.CustomResource):
1405
1435
  @property
1406
1436
  @pulumi.getter(name="healthCheckHttp")
1407
1437
  def health_check_http(self) -> pulumi.Output[Optional['outputs.LoadbalancerBackendHealthCheckHttp']]:
1438
+ """
1439
+ HTTP Health check
1440
+ """
1408
1441
  return pulumi.get(self, "health_check_http")
1409
1442
 
1410
1443
  @property
1411
1444
  @pulumi.getter(name="healthCheckHttps")
1412
1445
  def health_check_https(self) -> pulumi.Output[Optional['outputs.LoadbalancerBackendHealthCheckHttps']]:
1446
+ """
1447
+ HTTPS Health check
1448
+ """
1413
1449
  return pulumi.get(self, "health_check_https")
1414
1450
 
1415
1451
  @property
@@ -1439,6 +1475,9 @@ class LoadbalancerBackend(pulumi.CustomResource):
1439
1475
  @property
1440
1476
  @pulumi.getter(name="healthCheckTcp")
1441
1477
  def health_check_tcp(self) -> pulumi.Output['outputs.LoadbalancerBackendHealthCheckTcp']:
1478
+ """
1479
+ TCP Health check
1480
+ """
1442
1481
  return pulumi.get(self, "health_check_tcp")
1443
1482
 
1444
1483
  @property
@@ -62,9 +62,12 @@ class BackendArgs:
62
62
  is 'https://failover-website.s3-website.fr-par.scw.cloud/'.
63
63
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
64
64
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
65
+ :param pulumi.Input['BackendHealthCheckHttpArgs'] health_check_http: HTTP Health check
66
+ :param pulumi.Input['BackendHealthCheckHttpsArgs'] health_check_https: HTTPS Health check
65
67
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
66
68
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
67
69
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
70
+ :param pulumi.Input['BackendHealthCheckTcpArgs'] health_check_tcp: TCP Health check
68
71
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
69
72
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
70
73
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -222,6 +225,9 @@ class BackendArgs:
222
225
  @property
223
226
  @pulumi.getter(name="healthCheckHttp")
224
227
  def health_check_http(self) -> Optional[pulumi.Input['BackendHealthCheckHttpArgs']]:
228
+ """
229
+ HTTP Health check
230
+ """
225
231
  return pulumi.get(self, "health_check_http")
226
232
 
227
233
  @health_check_http.setter
@@ -231,6 +237,9 @@ class BackendArgs:
231
237
  @property
232
238
  @pulumi.getter(name="healthCheckHttps")
233
239
  def health_check_https(self) -> Optional[pulumi.Input['BackendHealthCheckHttpsArgs']]:
240
+ """
241
+ HTTPS Health check
242
+ """
234
243
  return pulumi.get(self, "health_check_https")
235
244
 
236
245
  @health_check_https.setter
@@ -276,6 +285,9 @@ class BackendArgs:
276
285
  @property
277
286
  @pulumi.getter(name="healthCheckTcp")
278
287
  def health_check_tcp(self) -> Optional[pulumi.Input['BackendHealthCheckTcpArgs']]:
288
+ """
289
+ TCP Health check
290
+ """
279
291
  return pulumi.get(self, "health_check_tcp")
280
292
 
281
293
  @health_check_tcp.setter
@@ -542,9 +554,12 @@ class _BackendState:
542
554
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
543
555
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
544
556
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
557
+ :param pulumi.Input['BackendHealthCheckHttpArgs'] health_check_http: HTTP Health check
558
+ :param pulumi.Input['BackendHealthCheckHttpsArgs'] health_check_https: HTTPS Health check
545
559
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
546
560
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
547
561
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
562
+ :param pulumi.Input['BackendHealthCheckTcpArgs'] health_check_tcp: TCP Health check
548
563
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
549
564
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
550
565
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -694,6 +709,9 @@ class _BackendState:
694
709
  @property
695
710
  @pulumi.getter(name="healthCheckHttp")
696
711
  def health_check_http(self) -> Optional[pulumi.Input['BackendHealthCheckHttpArgs']]:
712
+ """
713
+ HTTP Health check
714
+ """
697
715
  return pulumi.get(self, "health_check_http")
698
716
 
699
717
  @health_check_http.setter
@@ -703,6 +721,9 @@ class _BackendState:
703
721
  @property
704
722
  @pulumi.getter(name="healthCheckHttps")
705
723
  def health_check_https(self) -> Optional[pulumi.Input['BackendHealthCheckHttpsArgs']]:
724
+ """
725
+ HTTPS Health check
726
+ """
706
727
  return pulumi.get(self, "health_check_https")
707
728
 
708
729
  @health_check_https.setter
@@ -748,6 +769,9 @@ class _BackendState:
748
769
  @property
749
770
  @pulumi.getter(name="healthCheckTcp")
750
771
  def health_check_tcp(self) -> Optional[pulumi.Input['BackendHealthCheckTcpArgs']]:
772
+ """
773
+ TCP Health check
774
+ """
751
775
  return pulumi.get(self, "health_check_tcp")
752
776
 
753
777
  @health_check_tcp.setter
@@ -1076,9 +1100,12 @@ class Backend(pulumi.CustomResource):
1076
1100
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
1077
1101
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
1078
1102
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
1103
+ :param pulumi.Input[Union['BackendHealthCheckHttpArgs', 'BackendHealthCheckHttpArgsDict']] health_check_http: HTTP Health check
1104
+ :param pulumi.Input[Union['BackendHealthCheckHttpsArgs', 'BackendHealthCheckHttpsArgsDict']] health_check_https: HTTPS Health check
1079
1105
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
1080
1106
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
1081
1107
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
1108
+ :param pulumi.Input[Union['BackendHealthCheckTcpArgs', 'BackendHealthCheckTcpArgsDict']] health_check_tcp: TCP Health check
1082
1109
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
1083
1110
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
1084
1111
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -1297,9 +1324,12 @@ class Backend(pulumi.CustomResource):
1297
1324
  :param pulumi.Input[builtins.str] forward_port_algorithm: Load balancing algorithm
1298
1325
  :param pulumi.Input[builtins.str] forward_protocol: Backend protocol
1299
1326
  :param pulumi.Input[builtins.str] health_check_delay: Interval between two HC requests
1327
+ :param pulumi.Input[Union['BackendHealthCheckHttpArgs', 'BackendHealthCheckHttpArgsDict']] health_check_http: HTTP Health check
1328
+ :param pulumi.Input[Union['BackendHealthCheckHttpsArgs', 'BackendHealthCheckHttpsArgsDict']] health_check_https: HTTPS Health check
1300
1329
  :param pulumi.Input[builtins.int] health_check_max_retries: Number of allowed failed HC requests before the backend server is marked down
1301
1330
  :param pulumi.Input[builtins.int] health_check_port: Port the HC requests will be send to. Default to `forward_port`
1302
1331
  :param pulumi.Input[builtins.bool] health_check_send_proxy: Defines whether proxy protocol should be activated for the health check
1332
+ :param pulumi.Input[Union['BackendHealthCheckTcpArgs', 'BackendHealthCheckTcpArgsDict']] health_check_tcp: TCP Health check
1303
1333
  :param pulumi.Input[builtins.str] health_check_timeout: Timeout before we consider a HC request failed
1304
1334
  :param pulumi.Input[builtins.str] health_check_transient_delay: Time to wait between two consecutive health checks when a backend server is in a transient state (going UP or DOWN)
1305
1335
  :param pulumi.Input[builtins.bool] ignore_ssl_server_verify: Specifies whether the Load Balancer should check the backend server’s certificate before initiating a connection
@@ -1401,11 +1431,17 @@ class Backend(pulumi.CustomResource):
1401
1431
  @property
1402
1432
  @pulumi.getter(name="healthCheckHttp")
1403
1433
  def health_check_http(self) -> pulumi.Output[Optional['outputs.BackendHealthCheckHttp']]:
1434
+ """
1435
+ HTTP Health check
1436
+ """
1404
1437
  return pulumi.get(self, "health_check_http")
1405
1438
 
1406
1439
  @property
1407
1440
  @pulumi.getter(name="healthCheckHttps")
1408
1441
  def health_check_https(self) -> pulumi.Output[Optional['outputs.BackendHealthCheckHttps']]:
1442
+ """
1443
+ HTTPS Health check
1444
+ """
1409
1445
  return pulumi.get(self, "health_check_https")
1410
1446
 
1411
1447
  @property
@@ -1435,6 +1471,9 @@ class Backend(pulumi.CustomResource):
1435
1471
  @property
1436
1472
  @pulumi.getter(name="healthCheckTcp")
1437
1473
  def health_check_tcp(self) -> pulumi.Output['outputs.BackendHealthCheckTcp']:
1474
+ """
1475
+ TCP Health check
1476
+ """
1438
1477
  return pulumi.get(self, "health_check_tcp")
1439
1478
 
1440
1479
  @property
@@ -2411,6 +2411,7 @@ class GetLoadBalancersLbInstanceResult(dict):
2411
2411
  """
2412
2412
  :param builtins.str created_at: Date on which the Load Balancer was created.
2413
2413
  :param builtins.str id: The ID of the Load Balancer.
2414
+ :param builtins.str ip_address: IP address of the instance
2414
2415
  :param builtins.str status: The state of the Load Balancer Instance. Possible values are: `unknown`, `ready`, `pending`, `stopped`, `error`, `locked` and `migrating`.
2415
2416
  :param builtins.str updated_at: Date on which the Load Balancer was updated.
2416
2417
  :param builtins.str zone: `zone`) The zone in which the Load Balancers exist.
@@ -2441,6 +2442,9 @@ class GetLoadBalancersLbInstanceResult(dict):
2441
2442
  @property
2442
2443
  @pulumi.getter(name="ipAddress")
2443
2444
  def ip_address(self) -> builtins.str:
2445
+ """
2446
+ IP address of the instance
2447
+ """
2444
2448
  return pulumi.get(self, "ip_address")
2445
2449
 
2446
2450
  @property
@@ -2480,8 +2484,11 @@ class GetLoadBalancersLbIpResult(dict):
2480
2484
  zone: builtins.str):
2481
2485
  """
2482
2486
  :param builtins.str id: The ID of the Load Balancer.
2487
+ :param builtins.str ip_address: IP address
2488
+ :param builtins.str lb_id: UUID of the load balancer attached to the IP
2483
2489
  :param builtins.str organization_id: The ID of the Organization the Load Balancer is associated with.
2484
2490
  :param builtins.str project_id: The ID of the Project the Load Balancer is associated with.
2491
+ :param builtins.str reverse: Reverse DNS attached to the IP
2485
2492
  :param builtins.str zone: `zone`) The zone in which the Load Balancers exist.
2486
2493
  """
2487
2494
  pulumi.set(__self__, "id", id)
@@ -2503,11 +2510,17 @@ class GetLoadBalancersLbIpResult(dict):
2503
2510
  @property
2504
2511
  @pulumi.getter(name="ipAddress")
2505
2512
  def ip_address(self) -> builtins.str:
2513
+ """
2514
+ IP address
2515
+ """
2506
2516
  return pulumi.get(self, "ip_address")
2507
2517
 
2508
2518
  @property
2509
2519
  @pulumi.getter(name="lbId")
2510
2520
  def lb_id(self) -> builtins.str:
2521
+ """
2522
+ UUID of the load balancer attached to the IP
2523
+ """
2511
2524
  return pulumi.get(self, "lb_id")
2512
2525
 
2513
2526
  @property
@@ -2529,6 +2542,9 @@ class GetLoadBalancersLbIpResult(dict):
2529
2542
  @property
2530
2543
  @pulumi.getter
2531
2544
  def reverse(self) -> builtins.str:
2545
+ """
2546
+ Reverse DNS attached to the IP
2547
+ """
2532
2548
  return pulumi.get(self, "reverse")
2533
2549
 
2534
2550
  @property
@@ -20,6 +20,8 @@ __all__ = [
20
20
  'SnsCredentialsPermissionsArgsDict',
21
21
  'SqsCredentialsPermissionsArgs',
22
22
  'SqsCredentialsPermissionsArgsDict',
23
+ 'SqsQueueDeadLetterQueueArgs',
24
+ 'SqsQueueDeadLetterQueueArgsDict',
23
25
  ]
24
26
 
25
27
  MYPY = False
@@ -168,3 +170,53 @@ class SqsCredentialsPermissionsArgs:
168
170
  pulumi.set(self, "can_receive", value)
169
171
 
170
172
 
173
+ if not MYPY:
174
+ class SqsQueueDeadLetterQueueArgsDict(TypedDict):
175
+ id: pulumi.Input[builtins.str]
176
+ """
177
+ The ID of the queue with format `{region/{project-id}/{queue-name}`
178
+ """
179
+ max_receive_count: pulumi.Input[builtins.int]
180
+ """
181
+ The number of times a message is delivered to the source queue before being sent to the dead-letter queue. Must be between 1 and 1,000.
182
+ """
183
+ elif False:
184
+ SqsQueueDeadLetterQueueArgsDict: TypeAlias = Mapping[str, Any]
185
+
186
+ @pulumi.input_type
187
+ class SqsQueueDeadLetterQueueArgs:
188
+ def __init__(__self__, *,
189
+ id: pulumi.Input[builtins.str],
190
+ max_receive_count: pulumi.Input[builtins.int]):
191
+ """
192
+ :param pulumi.Input[builtins.str] id: The ID of the queue with format `{region/{project-id}/{queue-name}`
193
+ :param pulumi.Input[builtins.int] max_receive_count: The number of times a message is delivered to the source queue before being sent to the dead-letter queue. Must be between 1 and 1,000.
194
+ """
195
+ pulumi.set(__self__, "id", id)
196
+ pulumi.set(__self__, "max_receive_count", max_receive_count)
197
+
198
+ @property
199
+ @pulumi.getter
200
+ def id(self) -> pulumi.Input[builtins.str]:
201
+ """
202
+ The ID of the queue with format `{region/{project-id}/{queue-name}`
203
+ """
204
+ return pulumi.get(self, "id")
205
+
206
+ @id.setter
207
+ def id(self, value: pulumi.Input[builtins.str]):
208
+ pulumi.set(self, "id", value)
209
+
210
+ @property
211
+ @pulumi.getter(name="maxReceiveCount")
212
+ def max_receive_count(self) -> pulumi.Input[builtins.int]:
213
+ """
214
+ The number of times a message is delivered to the source queue before being sent to the dead-letter queue. Must be between 1 and 1,000.
215
+ """
216
+ return pulumi.get(self, "max_receive_count")
217
+
218
+ @max_receive_count.setter
219
+ def max_receive_count(self, value: pulumi.Input[builtins.int]):
220
+ pulumi.set(self, "max_receive_count", value)
221
+
222
+
@@ -18,6 +18,7 @@ from .. import _utilities
18
18
  __all__ = [
19
19
  'SnsCredentialsPermissions',
20
20
  'SqsCredentialsPermissions',
21
+ 'SqsQueueDeadLetterQueue',
21
22
  ]
22
23
 
23
24
  @pulumi.output_type
@@ -148,3 +149,49 @@ class SqsCredentialsPermissions(dict):
148
149
  return pulumi.get(self, "can_receive")
149
150
 
150
151
 
152
+ @pulumi.output_type
153
+ class SqsQueueDeadLetterQueue(dict):
154
+ @staticmethod
155
+ def __key_warning(key: str):
156
+ suggest = None
157
+ if key == "maxReceiveCount":
158
+ suggest = "max_receive_count"
159
+
160
+ if suggest:
161
+ pulumi.log.warn(f"Key '{key}' not found in SqsQueueDeadLetterQueue. Access the value via the '{suggest}' property getter instead.")
162
+
163
+ def __getitem__(self, key: str) -> Any:
164
+ SqsQueueDeadLetterQueue.__key_warning(key)
165
+ return super().__getitem__(key)
166
+
167
+ def get(self, key: str, default = None) -> Any:
168
+ SqsQueueDeadLetterQueue.__key_warning(key)
169
+ return super().get(key, default)
170
+
171
+ def __init__(__self__, *,
172
+ id: builtins.str,
173
+ max_receive_count: builtins.int):
174
+ """
175
+ :param builtins.str id: The ID of the queue with format `{region/{project-id}/{queue-name}`
176
+ :param builtins.int max_receive_count: The number of times a message is delivered to the source queue before being sent to the dead-letter queue. Must be between 1 and 1,000.
177
+ """
178
+ pulumi.set(__self__, "id", id)
179
+ pulumi.set(__self__, "max_receive_count", max_receive_count)
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def id(self) -> builtins.str:
184
+ """
185
+ The ID of the queue with format `{region/{project-id}/{queue-name}`
186
+ """
187
+ return pulumi.get(self, "id")
188
+
189
+ @property
190
+ @pulumi.getter(name="maxReceiveCount")
191
+ def max_receive_count(self) -> builtins.int:
192
+ """
193
+ The number of times a message is delivered to the source queue before being sent to the dead-letter queue. Must be between 1 and 1,000.
194
+ """
195
+ return pulumi.get(self, "max_receive_count")
196
+
197
+