pulumiverse-scaleway 1.23.0a1739624899__py3-none-any.whl → 1.23.0a1739864644__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +323 -9
- pulumiverse_scaleway/_utilities.py +8 -4
- pulumiverse_scaleway/account_ssh_key.py +2 -2
- pulumiverse_scaleway/apple_silicon_server.py +124 -0
- pulumiverse_scaleway/block_snapshot.py +2 -2
- pulumiverse_scaleway/block_volume.py +58 -11
- pulumiverse_scaleway/cockpit_source.py +7 -7
- pulumiverse_scaleway/container.py +236 -23
- pulumiverse_scaleway/container_domain.py +2 -2
- pulumiverse_scaleway/database_instance.py +74 -21
- pulumiverse_scaleway/get_account_project.py +2 -2
- pulumiverse_scaleway/get_account_ssh_key.py +2 -2
- pulumiverse_scaleway/get_block_snapshot.py +2 -2
- pulumiverse_scaleway/get_block_volume.py +14 -3
- pulumiverse_scaleway/get_container.py +30 -4
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_server.py +1 -15
- pulumiverse_scaleway/get_instance_volume.py +12 -1
- pulumiverse_scaleway/get_ipam_ip.py +2 -2
- pulumiverse_scaleway/get_ipam_ips.py +2 -2
- pulumiverse_scaleway/get_lb_acls.py +2 -2
- pulumiverse_scaleway/get_lb_backend.py +2 -2
- pulumiverse_scaleway/get_lb_backends.py +2 -2
- pulumiverse_scaleway/get_lb_frontend.py +2 -2
- pulumiverse_scaleway/get_lb_frontends.py +2 -2
- pulumiverse_scaleway/get_lb_ips.py +2 -2
- pulumiverse_scaleway/get_lb_route.py +2 -2
- pulumiverse_scaleway/get_lb_routes.py +2 -2
- pulumiverse_scaleway/get_lbs.py +2 -2
- pulumiverse_scaleway/get_loadbalancer.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_certificate.py +2 -2
- pulumiverse_scaleway/get_loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/get_object_bucket.py +2 -2
- pulumiverse_scaleway/get_object_bucket_policy.py +2 -2
- pulumiverse_scaleway/iam_policy.py +2 -2
- pulumiverse_scaleway/instance_ip.py +7 -21
- pulumiverse_scaleway/instance_server.py +4 -74
- pulumiverse_scaleway/instance_volume.py +47 -0
- pulumiverse_scaleway/iot_route.py +21 -21
- pulumiverse_scaleway/ipam_ip.py +2 -2
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +2 -2
- pulumiverse_scaleway/loadbalancer.py +2 -2
- pulumiverse_scaleway/loadbalancer_acl.py +2 -2
- pulumiverse_scaleway/loadbalancer_backend.py +2 -2
- pulumiverse_scaleway/loadbalancer_frontend.py +2 -2
- pulumiverse_scaleway/loadbalancer_ip.py +2 -2
- pulumiverse_scaleway/loadbalancer_route.py +2 -2
- pulumiverse_scaleway/mnq_nats_account.py +2 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns.py +2 -2
- pulumiverse_scaleway/mnq_sns_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic.py +2 -2
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +2 -2
- pulumiverse_scaleway/mnq_sqs.py +2 -2
- pulumiverse_scaleway/mnq_sqs_credentials.py +2 -2
- pulumiverse_scaleway/mnq_sqs_queue.py +2 -2
- pulumiverse_scaleway/mongo_db_instance.py +2 -2
- pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
- pulumiverse_scaleway/object_bucket.py +11 -11
- pulumiverse_scaleway/object_bucket_acl.py +2 -2
- pulumiverse_scaleway/object_bucket_lock_configuration.py +4 -4
- pulumiverse_scaleway/object_bucket_policy.py +6 -6
- pulumiverse_scaleway/object_bucket_website_configuration.py +4 -4
- pulumiverse_scaleway/object_item.py +11 -11
- pulumiverse_scaleway/outputs.py +351 -6
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +608 -0
- pulumiverse_scaleway/sdb_database.py +2 -2
- pulumiverse_scaleway/secret_version.py +2 -2
- pulumiverse_scaleway/vpc.py +2 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +14 -0
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +2 -2
- pulumiverse_scaleway/vpc_route.py +2 -2
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/RECORD +78 -77
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.23.0a1739624899.dist-info → pulumiverse_scaleway-1.23.0a1739864644.dist-info}/top_level.txt +0 -0
pulumiverse_scaleway/outputs.py
CHANGED
@@ -16,6 +16,7 @@ from . import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'AppleSiliconServerPrivateNetwork',
|
19
20
|
'BaremetalServerIp',
|
20
21
|
'BaremetalServerIpv4',
|
21
22
|
'BaremetalServerIpv6',
|
@@ -25,6 +26,9 @@ __all__ = [
|
|
25
26
|
'CockpitEndpoint',
|
26
27
|
'CockpitPushUrl',
|
27
28
|
'CockpitTokenScopes',
|
29
|
+
'ContainerHealthCheck',
|
30
|
+
'ContainerHealthCheckHttp',
|
31
|
+
'ContainerScalingOption',
|
28
32
|
'ContainerTriggerNats',
|
29
33
|
'ContainerTriggerSqs',
|
30
34
|
'DatabaseAclAclRule',
|
@@ -122,6 +126,9 @@ __all__ = [
|
|
122
126
|
'GetBillingInvoicesInvoiceResult',
|
123
127
|
'GetCockpitEndpointResult',
|
124
128
|
'GetCockpitPushUrlResult',
|
129
|
+
'GetContainerHealthCheckResult',
|
130
|
+
'GetContainerHealthCheckHttpResult',
|
131
|
+
'GetContainerScalingOptionResult',
|
125
132
|
'GetDatabaseAclAclRuleResult',
|
126
133
|
'GetDatabaseInstanceLoadBalancerResult',
|
127
134
|
'GetDatabaseInstanceLogsPolicyResult',
|
@@ -199,6 +206,105 @@ __all__ = [
|
|
199
206
|
'GetWebhostingOptionResult',
|
200
207
|
]
|
201
208
|
|
209
|
+
@pulumi.output_type
|
210
|
+
class AppleSiliconServerPrivateNetwork(dict):
|
211
|
+
@staticmethod
|
212
|
+
def __key_warning(key: str):
|
213
|
+
suggest = None
|
214
|
+
if key == "createdAt":
|
215
|
+
suggest = "created_at"
|
216
|
+
elif key == "ipamIpIds":
|
217
|
+
suggest = "ipam_ip_ids"
|
218
|
+
elif key == "updatedAt":
|
219
|
+
suggest = "updated_at"
|
220
|
+
|
221
|
+
if suggest:
|
222
|
+
pulumi.log.warn(f"Key '{key}' not found in AppleSiliconServerPrivateNetwork. Access the value via the '{suggest}' property getter instead.")
|
223
|
+
|
224
|
+
def __getitem__(self, key: str) -> Any:
|
225
|
+
AppleSiliconServerPrivateNetwork.__key_warning(key)
|
226
|
+
return super().__getitem__(key)
|
227
|
+
|
228
|
+
def get(self, key: str, default = None) -> Any:
|
229
|
+
AppleSiliconServerPrivateNetwork.__key_warning(key)
|
230
|
+
return super().get(key, default)
|
231
|
+
|
232
|
+
def __init__(__self__, *,
|
233
|
+
id: str,
|
234
|
+
created_at: Optional[str] = None,
|
235
|
+
ipam_ip_ids: Optional[Sequence[str]] = None,
|
236
|
+
status: Optional[str] = None,
|
237
|
+
updated_at: Optional[str] = None,
|
238
|
+
vlan: Optional[int] = None):
|
239
|
+
"""
|
240
|
+
:param str id: The ID of the server.
|
241
|
+
:param str created_at: The date and time of the creation of the Apple Silicon server.
|
242
|
+
:param Sequence[str] ipam_ip_ids: List of IPAM IP IDs to attach to the server
|
243
|
+
:param str status: The private network status
|
244
|
+
:param str updated_at: The date and time of the last update of the Apple Silicon server.
|
245
|
+
:param int vlan: The VLAN ID associated to the private network
|
246
|
+
"""
|
247
|
+
pulumi.set(__self__, "id", id)
|
248
|
+
if created_at is not None:
|
249
|
+
pulumi.set(__self__, "created_at", created_at)
|
250
|
+
if ipam_ip_ids is not None:
|
251
|
+
pulumi.set(__self__, "ipam_ip_ids", ipam_ip_ids)
|
252
|
+
if status is not None:
|
253
|
+
pulumi.set(__self__, "status", status)
|
254
|
+
if updated_at is not None:
|
255
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
256
|
+
if vlan is not None:
|
257
|
+
pulumi.set(__self__, "vlan", vlan)
|
258
|
+
|
259
|
+
@property
|
260
|
+
@pulumi.getter
|
261
|
+
def id(self) -> str:
|
262
|
+
"""
|
263
|
+
The ID of the server.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "id")
|
266
|
+
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="createdAt")
|
269
|
+
def created_at(self) -> Optional[str]:
|
270
|
+
"""
|
271
|
+
The date and time of the creation of the Apple Silicon server.
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "created_at")
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="ipamIpIds")
|
277
|
+
def ipam_ip_ids(self) -> Optional[Sequence[str]]:
|
278
|
+
"""
|
279
|
+
List of IPAM IP IDs to attach to the server
|
280
|
+
"""
|
281
|
+
return pulumi.get(self, "ipam_ip_ids")
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter
|
285
|
+
def status(self) -> Optional[str]:
|
286
|
+
"""
|
287
|
+
The private network status
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "status")
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="updatedAt")
|
293
|
+
def updated_at(self) -> Optional[str]:
|
294
|
+
"""
|
295
|
+
The date and time of the last update of the Apple Silicon server.
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "updated_at")
|
298
|
+
|
299
|
+
@property
|
300
|
+
@pulumi.getter
|
301
|
+
def vlan(self) -> Optional[int]:
|
302
|
+
"""
|
303
|
+
The VLAN ID associated to the private network
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "vlan")
|
306
|
+
|
307
|
+
|
202
308
|
@pulumi.output_type
|
203
309
|
class BaremetalServerIp(dict):
|
204
310
|
def __init__(__self__, *,
|
@@ -831,6 +937,145 @@ class CockpitTokenScopes(dict):
|
|
831
937
|
return pulumi.get(self, "write_traces")
|
832
938
|
|
833
939
|
|
940
|
+
@pulumi.output_type
|
941
|
+
class ContainerHealthCheck(dict):
|
942
|
+
@staticmethod
|
943
|
+
def __key_warning(key: str):
|
944
|
+
suggest = None
|
945
|
+
if key == "failureThreshold":
|
946
|
+
suggest = "failure_threshold"
|
947
|
+
|
948
|
+
if suggest:
|
949
|
+
pulumi.log.warn(f"Key '{key}' not found in ContainerHealthCheck. Access the value via the '{suggest}' property getter instead.")
|
950
|
+
|
951
|
+
def __getitem__(self, key: str) -> Any:
|
952
|
+
ContainerHealthCheck.__key_warning(key)
|
953
|
+
return super().__getitem__(key)
|
954
|
+
|
955
|
+
def get(self, key: str, default = None) -> Any:
|
956
|
+
ContainerHealthCheck.__key_warning(key)
|
957
|
+
return super().get(key, default)
|
958
|
+
|
959
|
+
def __init__(__self__, *,
|
960
|
+
failure_threshold: int,
|
961
|
+
https: Sequence['outputs.ContainerHealthCheckHttp'],
|
962
|
+
interval: str):
|
963
|
+
"""
|
964
|
+
:param int failure_threshold: Number of consecutive health check failures before considering the container unhealthy.
|
965
|
+
:param Sequence['ContainerHealthCheckHttpArgs'] https: HTTP health check configuration.
|
966
|
+
:param str interval: Period between health checks.
|
967
|
+
"""
|
968
|
+
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
969
|
+
pulumi.set(__self__, "https", https)
|
970
|
+
pulumi.set(__self__, "interval", interval)
|
971
|
+
|
972
|
+
@property
|
973
|
+
@pulumi.getter(name="failureThreshold")
|
974
|
+
def failure_threshold(self) -> int:
|
975
|
+
"""
|
976
|
+
Number of consecutive health check failures before considering the container unhealthy.
|
977
|
+
"""
|
978
|
+
return pulumi.get(self, "failure_threshold")
|
979
|
+
|
980
|
+
@property
|
981
|
+
@pulumi.getter
|
982
|
+
def https(self) -> Sequence['outputs.ContainerHealthCheckHttp']:
|
983
|
+
"""
|
984
|
+
HTTP health check configuration.
|
985
|
+
"""
|
986
|
+
return pulumi.get(self, "https")
|
987
|
+
|
988
|
+
@property
|
989
|
+
@pulumi.getter
|
990
|
+
def interval(self) -> str:
|
991
|
+
"""
|
992
|
+
Period between health checks.
|
993
|
+
"""
|
994
|
+
return pulumi.get(self, "interval")
|
995
|
+
|
996
|
+
|
997
|
+
@pulumi.output_type
|
998
|
+
class ContainerHealthCheckHttp(dict):
|
999
|
+
def __init__(__self__, *,
|
1000
|
+
path: str):
|
1001
|
+
"""
|
1002
|
+
:param str path: Path to use for the HTTP health check.
|
1003
|
+
"""
|
1004
|
+
pulumi.set(__self__, "path", path)
|
1005
|
+
|
1006
|
+
@property
|
1007
|
+
@pulumi.getter
|
1008
|
+
def path(self) -> str:
|
1009
|
+
"""
|
1010
|
+
Path to use for the HTTP health check.
|
1011
|
+
"""
|
1012
|
+
return pulumi.get(self, "path")
|
1013
|
+
|
1014
|
+
|
1015
|
+
@pulumi.output_type
|
1016
|
+
class ContainerScalingOption(dict):
|
1017
|
+
@staticmethod
|
1018
|
+
def __key_warning(key: str):
|
1019
|
+
suggest = None
|
1020
|
+
if key == "concurrentRequestsThreshold":
|
1021
|
+
suggest = "concurrent_requests_threshold"
|
1022
|
+
elif key == "cpuUsageThreshold":
|
1023
|
+
suggest = "cpu_usage_threshold"
|
1024
|
+
elif key == "memoryUsageThreshold":
|
1025
|
+
suggest = "memory_usage_threshold"
|
1026
|
+
|
1027
|
+
if suggest:
|
1028
|
+
pulumi.log.warn(f"Key '{key}' not found in ContainerScalingOption. Access the value via the '{suggest}' property getter instead.")
|
1029
|
+
|
1030
|
+
def __getitem__(self, key: str) -> Any:
|
1031
|
+
ContainerScalingOption.__key_warning(key)
|
1032
|
+
return super().__getitem__(key)
|
1033
|
+
|
1034
|
+
def get(self, key: str, default = None) -> Any:
|
1035
|
+
ContainerScalingOption.__key_warning(key)
|
1036
|
+
return super().get(key, default)
|
1037
|
+
|
1038
|
+
def __init__(__self__, *,
|
1039
|
+
concurrent_requests_threshold: Optional[int] = None,
|
1040
|
+
cpu_usage_threshold: Optional[int] = None,
|
1041
|
+
memory_usage_threshold: Optional[int] = None):
|
1042
|
+
"""
|
1043
|
+
:param int concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
|
1044
|
+
:param int cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
|
1045
|
+
:param int memory_usage_threshold: Scale depending on the memory usage of a container instance.
|
1046
|
+
"""
|
1047
|
+
if concurrent_requests_threshold is not None:
|
1048
|
+
pulumi.set(__self__, "concurrent_requests_threshold", concurrent_requests_threshold)
|
1049
|
+
if cpu_usage_threshold is not None:
|
1050
|
+
pulumi.set(__self__, "cpu_usage_threshold", cpu_usage_threshold)
|
1051
|
+
if memory_usage_threshold is not None:
|
1052
|
+
pulumi.set(__self__, "memory_usage_threshold", memory_usage_threshold)
|
1053
|
+
|
1054
|
+
@property
|
1055
|
+
@pulumi.getter(name="concurrentRequestsThreshold")
|
1056
|
+
def concurrent_requests_threshold(self) -> Optional[int]:
|
1057
|
+
"""
|
1058
|
+
Scale depending on the number of concurrent requests being processed per container instance.
|
1059
|
+
"""
|
1060
|
+
return pulumi.get(self, "concurrent_requests_threshold")
|
1061
|
+
|
1062
|
+
@property
|
1063
|
+
@pulumi.getter(name="cpuUsageThreshold")
|
1064
|
+
def cpu_usage_threshold(self) -> Optional[int]:
|
1065
|
+
"""
|
1066
|
+
Scale depending on the CPU usage of a container instance.
|
1067
|
+
"""
|
1068
|
+
return pulumi.get(self, "cpu_usage_threshold")
|
1069
|
+
|
1070
|
+
@property
|
1071
|
+
@pulumi.getter(name="memoryUsageThreshold")
|
1072
|
+
def memory_usage_threshold(self) -> Optional[int]:
|
1073
|
+
"""
|
1074
|
+
Scale depending on the memory usage of a container instance.
|
1075
|
+
"""
|
1076
|
+
return pulumi.get(self, "memory_usage_threshold")
|
1077
|
+
|
1078
|
+
|
834
1079
|
@pulumi.output_type
|
835
1080
|
class ContainerTriggerNats(dict):
|
836
1081
|
@staticmethod
|
@@ -3264,7 +3509,7 @@ class IotRouteS3(dict):
|
|
3264
3509
|
"""
|
3265
3510
|
:param str bucket_name: The name of the S3 route's destination bucket (e.g. `my-object-storage`).
|
3266
3511
|
:param str bucket_region: The region of the S3 route's destination bucket (e.g. `fr-par`).
|
3267
|
-
:param str strategy: How the S3 route's objects will be created (e.g. `per_topic`). See [documentation](https://www.scaleway.com/en/docs/
|
3512
|
+
:param str strategy: How the S3 route's objects will be created (e.g. `per_topic`). See [documentation](https://www.scaleway.com/en/docs/iot-hub/how-to/create-route/) for behaviour details.
|
3268
3513
|
:param str object_prefix: The string to prefix object names with (e.g. `mykeyprefix-`).
|
3269
3514
|
"""
|
3270
3515
|
pulumi.set(__self__, "bucket_name", bucket_name)
|
@@ -3293,7 +3538,7 @@ class IotRouteS3(dict):
|
|
3293
3538
|
@pulumi.getter
|
3294
3539
|
def strategy(self) -> str:
|
3295
3540
|
"""
|
3296
|
-
How the S3 route's objects will be created (e.g. `per_topic`). See [documentation](https://www.scaleway.com/en/docs/
|
3541
|
+
How the S3 route's objects will be created (e.g. `per_topic`). See [documentation](https://www.scaleway.com/en/docs/iot-hub/how-to/create-route/) for behaviour details.
|
3297
3542
|
"""
|
3298
3543
|
return pulumi.get(self, "strategy")
|
3299
3544
|
|
@@ -5456,7 +5701,7 @@ class ObjectBucketLifecycleRuleTransition(dict):
|
|
5456
5701
|
storage_class: str,
|
5457
5702
|
days: Optional[int] = None):
|
5458
5703
|
"""
|
5459
|
-
:param str storage_class: Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/
|
5704
|
+
:param str storage_class: Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/object-storage/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` to which you want the object to transition.
|
5460
5705
|
|
5461
5706
|
|
5462
5707
|
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
@@ -5475,7 +5720,7 @@ class ObjectBucketLifecycleRuleTransition(dict):
|
|
5475
5720
|
@pulumi.getter(name="storageClass")
|
5476
5721
|
def storage_class(self) -> str:
|
5477
5722
|
"""
|
5478
|
-
Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/storage/
|
5723
|
+
Specifies the Scaleway [storage class](https://www.scaleway.com/en/docs/object-storage/concepts/#storage-class) `STANDARD`, `GLACIER`, `ONEZONE_IA` to which you want the object to transition.
|
5479
5724
|
|
5480
5725
|
|
5481
5726
|
> **Important:** If versioning is enabled, this rule only deletes the current version of an object.
|
@@ -5538,7 +5783,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
5538
5783
|
days: Optional[int] = None,
|
5539
5784
|
years: Optional[int] = None):
|
5540
5785
|
"""
|
5541
|
-
:param str mode: The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/
|
5786
|
+
:param str mode: The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/api-cli/object-lock/#retention-modes) for more information on retention modes.
|
5542
5787
|
:param int days: The number of days you want to specify for the default retention period.
|
5543
5788
|
:param int years: The number of years you want to specify for the default retention period.
|
5544
5789
|
"""
|
@@ -5552,7 +5797,7 @@ class ObjectBucketLockConfigurationRuleDefaultRetention(dict):
|
|
5552
5797
|
@pulumi.getter
|
5553
5798
|
def mode(self) -> str:
|
5554
5799
|
"""
|
5555
|
-
The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/
|
5800
|
+
The default object lock retention mode you want to apply to new objects placed in the specified bucket. Valid values are `GOVERNANCE` or `COMPLIANCE`. Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/object-storage/api-cli/object-lock/#retention-modes) for more information on retention modes.
|
5556
5801
|
"""
|
5557
5802
|
return pulumi.get(self, "mode")
|
5558
5803
|
|
@@ -5713,6 +5958,7 @@ class RedisClusterPrivateNetwork(dict):
|
|
5713
5958
|
Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to
|
5714
5959
|
scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes.
|
5715
5960
|
If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service.
|
5961
|
+
> **Important:** When IPAM is enabled, the IPs specified here will be ignored and should not be provided.
|
5716
5962
|
|
5717
5963
|
> The `private_network` conflicts with `acl`. Only one should be specified.
|
5718
5964
|
|
@@ -5763,6 +6009,7 @@ class RedisClusterPrivateNetwork(dict):
|
|
5763
6009
|
Keep in mind that in cluster mode you cannot edit your Private Network after its creation so if you want to be able to
|
5764
6010
|
scale your cluster horizontally (adding nodes) later, you should provide more IPs than nodes.
|
5765
6011
|
If not set, the IP network address within the private subnet is determined by the IP Address Management (IPAM) service.
|
6012
|
+
> **Important:** When IPAM is enabled, the IPs specified here will be ignored and should not be provided.
|
5766
6013
|
|
5767
6014
|
> The `private_network` conflicts with `acl`. Only one should be specified.
|
5768
6015
|
|
@@ -7076,6 +7323,104 @@ class GetCockpitPushUrlResult(dict):
|
|
7076
7323
|
return pulumi.get(self, "push_metrics_url")
|
7077
7324
|
|
7078
7325
|
|
7326
|
+
@pulumi.output_type
|
7327
|
+
class GetContainerHealthCheckResult(dict):
|
7328
|
+
def __init__(__self__, *,
|
7329
|
+
failure_threshold: int,
|
7330
|
+
https: Sequence['outputs.GetContainerHealthCheckHttpResult'],
|
7331
|
+
interval: str):
|
7332
|
+
"""
|
7333
|
+
:param int failure_threshold: Number of consecutive health check failures before considering the container unhealthy.
|
7334
|
+
:param Sequence['GetContainerHealthCheckHttpArgs'] https: HTTP health check configuration.
|
7335
|
+
:param str interval: Period between health checks (in seconds).
|
7336
|
+
"""
|
7337
|
+
pulumi.set(__self__, "failure_threshold", failure_threshold)
|
7338
|
+
pulumi.set(__self__, "https", https)
|
7339
|
+
pulumi.set(__self__, "interval", interval)
|
7340
|
+
|
7341
|
+
@property
|
7342
|
+
@pulumi.getter(name="failureThreshold")
|
7343
|
+
def failure_threshold(self) -> int:
|
7344
|
+
"""
|
7345
|
+
Number of consecutive health check failures before considering the container unhealthy.
|
7346
|
+
"""
|
7347
|
+
return pulumi.get(self, "failure_threshold")
|
7348
|
+
|
7349
|
+
@property
|
7350
|
+
@pulumi.getter
|
7351
|
+
def https(self) -> Sequence['outputs.GetContainerHealthCheckHttpResult']:
|
7352
|
+
"""
|
7353
|
+
HTTP health check configuration.
|
7354
|
+
"""
|
7355
|
+
return pulumi.get(self, "https")
|
7356
|
+
|
7357
|
+
@property
|
7358
|
+
@pulumi.getter
|
7359
|
+
def interval(self) -> str:
|
7360
|
+
"""
|
7361
|
+
Period between health checks (in seconds).
|
7362
|
+
"""
|
7363
|
+
return pulumi.get(self, "interval")
|
7364
|
+
|
7365
|
+
|
7366
|
+
@pulumi.output_type
|
7367
|
+
class GetContainerHealthCheckHttpResult(dict):
|
7368
|
+
def __init__(__self__, *,
|
7369
|
+
path: str):
|
7370
|
+
"""
|
7371
|
+
:param str path: Path to use for the HTTP health check.
|
7372
|
+
"""
|
7373
|
+
pulumi.set(__self__, "path", path)
|
7374
|
+
|
7375
|
+
@property
|
7376
|
+
@pulumi.getter
|
7377
|
+
def path(self) -> str:
|
7378
|
+
"""
|
7379
|
+
Path to use for the HTTP health check.
|
7380
|
+
"""
|
7381
|
+
return pulumi.get(self, "path")
|
7382
|
+
|
7383
|
+
|
7384
|
+
@pulumi.output_type
|
7385
|
+
class GetContainerScalingOptionResult(dict):
|
7386
|
+
def __init__(__self__, *,
|
7387
|
+
concurrent_requests_threshold: int,
|
7388
|
+
cpu_usage_threshold: int,
|
7389
|
+
memory_usage_threshold: int):
|
7390
|
+
"""
|
7391
|
+
:param int concurrent_requests_threshold: Scale depending on the number of concurrent requests being processed per container instance.
|
7392
|
+
:param int cpu_usage_threshold: Scale depending on the CPU usage of a container instance.
|
7393
|
+
:param int memory_usage_threshold: Scale depending on the memory usage of a container instance.
|
7394
|
+
"""
|
7395
|
+
pulumi.set(__self__, "concurrent_requests_threshold", concurrent_requests_threshold)
|
7396
|
+
pulumi.set(__self__, "cpu_usage_threshold", cpu_usage_threshold)
|
7397
|
+
pulumi.set(__self__, "memory_usage_threshold", memory_usage_threshold)
|
7398
|
+
|
7399
|
+
@property
|
7400
|
+
@pulumi.getter(name="concurrentRequestsThreshold")
|
7401
|
+
def concurrent_requests_threshold(self) -> int:
|
7402
|
+
"""
|
7403
|
+
Scale depending on the number of concurrent requests being processed per container instance.
|
7404
|
+
"""
|
7405
|
+
return pulumi.get(self, "concurrent_requests_threshold")
|
7406
|
+
|
7407
|
+
@property
|
7408
|
+
@pulumi.getter(name="cpuUsageThreshold")
|
7409
|
+
def cpu_usage_threshold(self) -> int:
|
7410
|
+
"""
|
7411
|
+
Scale depending on the CPU usage of a container instance.
|
7412
|
+
"""
|
7413
|
+
return pulumi.get(self, "cpu_usage_threshold")
|
7414
|
+
|
7415
|
+
@property
|
7416
|
+
@pulumi.getter(name="memoryUsageThreshold")
|
7417
|
+
def memory_usage_threshold(self) -> int:
|
7418
|
+
"""
|
7419
|
+
Scale depending on the memory usage of a container instance.
|
7420
|
+
"""
|
7421
|
+
return pulumi.get(self, "memory_usage_threshold")
|
7422
|
+
|
7423
|
+
|
7079
7424
|
@pulumi.output_type
|
7080
7425
|
class GetDatabaseAclAclRuleResult(dict):
|
7081
7426
|
def __init__(__self__, *,
|