cdktf-cdktf-provider-upcloud 14.8.0__py3-none-any.whl → 14.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.9.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +238 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +385 -336
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +349 -300
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +166 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +232 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +29 -72
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.9.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.9.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.8.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.9.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.9.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.9.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_managed_database_redis`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_managed_database_redis`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_database_redis`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class ManagedDatabaseRedis(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.managedDatabaseRedis.ManagedDatabaseRedis",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis upcloud_managed_database_redis}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -41,6 +41,7 @@ class ManagedDatabaseRedis(
|
|
|
41
41
|
title: builtins.str,
|
|
42
42
|
zone: builtins.str,
|
|
43
43
|
id: typing.Optional[builtins.str] = None,
|
|
44
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
44
45
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
45
46
|
maintenance_window_time: typing.Optional[builtins.str] = None,
|
|
46
47
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabaseRedisNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
@@ -54,20 +55,21 @@ class ManagedDatabaseRedis(
|
|
|
54
55
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
55
56
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
56
57
|
) -> None:
|
|
57
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
58
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis upcloud_managed_database_redis} Resource.
|
|
58
59
|
|
|
59
60
|
:param scope: The scope in which to define this construct.
|
|
60
61
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
61
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
64
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
65
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
66
|
-
:param
|
|
67
|
-
:param
|
|
68
|
-
:param
|
|
69
|
-
:param
|
|
70
|
-
:param
|
|
62
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#name ManagedDatabaseRedis#name}
|
|
63
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#plan ManagedDatabaseRedis#plan}
|
|
64
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#title ManagedDatabaseRedis#title}
|
|
65
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#zone ManagedDatabaseRedis#zone}
|
|
66
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#id ManagedDatabaseRedis#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
67
|
+
:param labels: Key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#labels ManagedDatabaseRedis#labels}
|
|
68
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_dow ManagedDatabaseRedis#maintenance_window_dow}
|
|
69
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_time ManagedDatabaseRedis#maintenance_window_time}
|
|
70
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#network ManagedDatabaseRedis#network}
|
|
71
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#powered ManagedDatabaseRedis#powered}
|
|
72
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#properties ManagedDatabaseRedis#properties}
|
|
71
73
|
:param connection:
|
|
72
74
|
:param count:
|
|
73
75
|
:param depends_on:
|
|
@@ -86,6 +88,7 @@ class ManagedDatabaseRedis(
|
|
|
86
88
|
title=title,
|
|
87
89
|
zone=zone,
|
|
88
90
|
id=id,
|
|
91
|
+
labels=labels,
|
|
89
92
|
maintenance_window_dow=maintenance_window_dow,
|
|
90
93
|
maintenance_window_time=maintenance_window_time,
|
|
91
94
|
network=network,
|
|
@@ -115,7 +118,7 @@ class ManagedDatabaseRedis(
|
|
|
115
118
|
|
|
116
119
|
:param scope: The scope in which to define this construct.
|
|
117
120
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabaseRedis to import.
|
|
118
|
-
:param import_from_id: The id of the existing ManagedDatabaseRedis that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
121
|
+
:param import_from_id: The id of the existing ManagedDatabaseRedis that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#import import section} in the documentation of this resource for the id to use
|
|
119
122
|
:param provider: ? Optional instance of the provider where the ManagedDatabaseRedis to import is found.
|
|
120
123
|
'''
|
|
121
124
|
if __debug__:
|
|
@@ -162,23 +165,23 @@ class ManagedDatabaseRedis(
|
|
|
162
165
|
service_log: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
163
166
|
) -> None:
|
|
164
167
|
'''
|
|
165
|
-
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
166
|
-
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
167
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
168
|
-
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
169
|
-
:param redis_acl_channels_default: Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
170
|
-
:param redis_io_threads: Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
171
|
-
:param redis_lfu_decay_time: LFU maxmemory-policy counter decay time in minutes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
172
|
-
:param redis_lfu_log_factor: Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
173
|
-
:param redis_maxmemory_policy: Redis maxmemory-policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
174
|
-
:param redis_notify_keyspace_events: Set notify-keyspace-events option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
175
|
-
:param redis_number_of_databases: Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
176
|
-
:param redis_persistence: Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
177
|
-
:param redis_pubsub_client_output_buffer_limit: Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
178
|
-
:param redis_ssl: Require SSL to access Redis. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
179
|
-
:param redis_timeout: Redis idle connection timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
180
|
-
:param redis_version: Redis major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
181
|
-
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
168
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#automatic_utility_network_ip_filter ManagedDatabaseRedis#automatic_utility_network_ip_filter}
|
|
169
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ip_filter ManagedDatabaseRedis#ip_filter}
|
|
170
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#migration ManagedDatabaseRedis#migration}
|
|
171
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#public_access ManagedDatabaseRedis#public_access}
|
|
172
|
+
:param redis_acl_channels_default: Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_acl_channels_default ManagedDatabaseRedis#redis_acl_channels_default}
|
|
173
|
+
:param redis_io_threads: Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_io_threads ManagedDatabaseRedis#redis_io_threads}
|
|
174
|
+
:param redis_lfu_decay_time: LFU maxmemory-policy counter decay time in minutes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_decay_time ManagedDatabaseRedis#redis_lfu_decay_time}
|
|
175
|
+
:param redis_lfu_log_factor: Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_log_factor ManagedDatabaseRedis#redis_lfu_log_factor}
|
|
176
|
+
:param redis_maxmemory_policy: Redis maxmemory-policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_maxmemory_policy ManagedDatabaseRedis#redis_maxmemory_policy}
|
|
177
|
+
:param redis_notify_keyspace_events: Set notify-keyspace-events option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_notify_keyspace_events ManagedDatabaseRedis#redis_notify_keyspace_events}
|
|
178
|
+
:param redis_number_of_databases: Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_number_of_databases ManagedDatabaseRedis#redis_number_of_databases}
|
|
179
|
+
:param redis_persistence: Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_persistence ManagedDatabaseRedis#redis_persistence}
|
|
180
|
+
:param redis_pubsub_client_output_buffer_limit: Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_pubsub_client_output_buffer_limit ManagedDatabaseRedis#redis_pubsub_client_output_buffer_limit}
|
|
181
|
+
:param redis_ssl: Require SSL to access Redis. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_ssl ManagedDatabaseRedis#redis_ssl}
|
|
182
|
+
:param redis_timeout: Redis idle connection timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_timeout ManagedDatabaseRedis#redis_timeout}
|
|
183
|
+
:param redis_version: Redis major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_version ManagedDatabaseRedis#redis_version}
|
|
184
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#service_log ManagedDatabaseRedis#service_log}
|
|
182
185
|
'''
|
|
183
186
|
value = ManagedDatabaseRedisProperties(
|
|
184
187
|
automatic_utility_network_ip_filter=automatic_utility_network_ip_filter,
|
|
@@ -206,6 +209,10 @@ class ManagedDatabaseRedis(
|
|
|
206
209
|
def reset_id(self) -> None:
|
|
207
210
|
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
208
211
|
|
|
212
|
+
@jsii.member(jsii_name="resetLabels")
|
|
213
|
+
def reset_labels(self) -> None:
|
|
214
|
+
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
215
|
+
|
|
209
216
|
@jsii.member(jsii_name="resetMaintenanceWindowDow")
|
|
210
217
|
def reset_maintenance_window_dow(self) -> None:
|
|
211
218
|
return typing.cast(None, jsii.invoke(self, "resetMaintenanceWindowDow", []))
|
|
@@ -304,6 +311,13 @@ class ManagedDatabaseRedis(
|
|
|
304
311
|
def id_input(self) -> typing.Optional[builtins.str]:
|
|
305
312
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
306
313
|
|
|
314
|
+
@builtins.property
|
|
315
|
+
@jsii.member(jsii_name="labelsInput")
|
|
316
|
+
def labels_input(
|
|
317
|
+
self,
|
|
318
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
319
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
320
|
+
|
|
307
321
|
@builtins.property
|
|
308
322
|
@jsii.member(jsii_name="maintenanceWindowDowInput")
|
|
309
323
|
def maintenance_window_dow_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -365,6 +379,18 @@ class ManagedDatabaseRedis(
|
|
|
365
379
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
366
380
|
jsii.set(self, "id", value)
|
|
367
381
|
|
|
382
|
+
@builtins.property
|
|
383
|
+
@jsii.member(jsii_name="labels")
|
|
384
|
+
def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
|
|
385
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
|
|
386
|
+
|
|
387
|
+
@labels.setter
|
|
388
|
+
def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
|
389
|
+
if __debug__:
|
|
390
|
+
type_hints = typing.get_type_hints(_typecheckingstub__51d0c28fb35bf674f211a2ed1b5d83a783d842439f1e32106228254fd8368995)
|
|
391
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
392
|
+
jsii.set(self, "labels", value)
|
|
393
|
+
|
|
368
394
|
@builtins.property
|
|
369
395
|
@jsii.member(jsii_name="maintenanceWindowDow")
|
|
370
396
|
def maintenance_window_dow(self) -> builtins.str:
|
|
@@ -633,6 +659,7 @@ class ManagedDatabaseRedisComponentsOutputReference(
|
|
|
633
659
|
"title": "title",
|
|
634
660
|
"zone": "zone",
|
|
635
661
|
"id": "id",
|
|
662
|
+
"labels": "labels",
|
|
636
663
|
"maintenance_window_dow": "maintenanceWindowDow",
|
|
637
664
|
"maintenance_window_time": "maintenanceWindowTime",
|
|
638
665
|
"network": "network",
|
|
@@ -656,6 +683,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
656
683
|
title: builtins.str,
|
|
657
684
|
zone: builtins.str,
|
|
658
685
|
id: typing.Optional[builtins.str] = None,
|
|
686
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
659
687
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
660
688
|
maintenance_window_time: typing.Optional[builtins.str] = None,
|
|
661
689
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabaseRedisNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
@@ -670,16 +698,17 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
670
698
|
:param lifecycle:
|
|
671
699
|
:param provider:
|
|
672
700
|
:param provisioners:
|
|
673
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
674
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
675
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
676
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
677
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
678
|
-
:param
|
|
679
|
-
:param
|
|
680
|
-
:param
|
|
681
|
-
:param
|
|
682
|
-
:param
|
|
701
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#name ManagedDatabaseRedis#name}
|
|
702
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#plan ManagedDatabaseRedis#plan}
|
|
703
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#title ManagedDatabaseRedis#title}
|
|
704
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#zone ManagedDatabaseRedis#zone}
|
|
705
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#id ManagedDatabaseRedis#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
706
|
+
:param labels: Key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#labels ManagedDatabaseRedis#labels}
|
|
707
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_dow ManagedDatabaseRedis#maintenance_window_dow}
|
|
708
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_time ManagedDatabaseRedis#maintenance_window_time}
|
|
709
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#network ManagedDatabaseRedis#network}
|
|
710
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#powered ManagedDatabaseRedis#powered}
|
|
711
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#properties ManagedDatabaseRedis#properties}
|
|
683
712
|
'''
|
|
684
713
|
if isinstance(lifecycle, dict):
|
|
685
714
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -699,6 +728,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
699
728
|
check_type(argname="argument title", value=title, expected_type=type_hints["title"])
|
|
700
729
|
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
701
730
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
731
|
+
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
702
732
|
check_type(argname="argument maintenance_window_dow", value=maintenance_window_dow, expected_type=type_hints["maintenance_window_dow"])
|
|
703
733
|
check_type(argname="argument maintenance_window_time", value=maintenance_window_time, expected_type=type_hints["maintenance_window_time"])
|
|
704
734
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
@@ -726,6 +756,8 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
726
756
|
self._values["provisioners"] = provisioners
|
|
727
757
|
if id is not None:
|
|
728
758
|
self._values["id"] = id
|
|
759
|
+
if labels is not None:
|
|
760
|
+
self._values["labels"] = labels
|
|
729
761
|
if maintenance_window_dow is not None:
|
|
730
762
|
self._values["maintenance_window_dow"] = maintenance_window_dow
|
|
731
763
|
if maintenance_window_time is not None:
|
|
@@ -807,7 +839,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
807
839
|
|
|
808
840
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
809
841
|
|
|
810
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
842
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#name ManagedDatabaseRedis#name}
|
|
811
843
|
'''
|
|
812
844
|
result = self._values.get("name")
|
|
813
845
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -819,7 +851,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
819
851
|
|
|
820
852
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
821
853
|
|
|
822
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
854
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#plan ManagedDatabaseRedis#plan}
|
|
823
855
|
'''
|
|
824
856
|
result = self._values.get("plan")
|
|
825
857
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -829,7 +861,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
829
861
|
def title(self) -> builtins.str:
|
|
830
862
|
'''Title of a managed database instance.
|
|
831
863
|
|
|
832
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
864
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#title ManagedDatabaseRedis#title}
|
|
833
865
|
'''
|
|
834
866
|
result = self._values.get("title")
|
|
835
867
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -839,7 +871,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
839
871
|
def zone(self) -> builtins.str:
|
|
840
872
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
841
873
|
|
|
842
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
874
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#zone ManagedDatabaseRedis#zone}
|
|
843
875
|
'''
|
|
844
876
|
result = self._values.get("zone")
|
|
845
877
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -847,7 +879,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
847
879
|
|
|
848
880
|
@builtins.property
|
|
849
881
|
def id(self) -> typing.Optional[builtins.str]:
|
|
850
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
882
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#id ManagedDatabaseRedis#id}.
|
|
851
883
|
|
|
852
884
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
853
885
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -855,11 +887,20 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
855
887
|
result = self._values.get("id")
|
|
856
888
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
857
889
|
|
|
890
|
+
@builtins.property
|
|
891
|
+
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
892
|
+
'''Key-value pairs to classify the managed database.
|
|
893
|
+
|
|
894
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#labels ManagedDatabaseRedis#labels}
|
|
895
|
+
'''
|
|
896
|
+
result = self._values.get("labels")
|
|
897
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
898
|
+
|
|
858
899
|
@builtins.property
|
|
859
900
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
860
901
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
861
902
|
|
|
862
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
903
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_dow ManagedDatabaseRedis#maintenance_window_dow}
|
|
863
904
|
'''
|
|
864
905
|
result = self._values.get("maintenance_window_dow")
|
|
865
906
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -868,7 +909,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
868
909
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
869
910
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
870
911
|
|
|
871
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
912
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#maintenance_window_time ManagedDatabaseRedis#maintenance_window_time}
|
|
872
913
|
'''
|
|
873
914
|
result = self._values.get("maintenance_window_time")
|
|
874
915
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -879,7 +920,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
879
920
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseRedisNetwork"]]]:
|
|
880
921
|
'''network block.
|
|
881
922
|
|
|
882
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
923
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#network ManagedDatabaseRedis#network}
|
|
883
924
|
'''
|
|
884
925
|
result = self._values.get("network")
|
|
885
926
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseRedisNetwork"]]], result)
|
|
@@ -890,7 +931,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
890
931
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
891
932
|
'''The administrative power state of the service.
|
|
892
933
|
|
|
893
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
934
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#powered ManagedDatabaseRedis#powered}
|
|
894
935
|
'''
|
|
895
936
|
result = self._values.get("powered")
|
|
896
937
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -899,7 +940,7 @@ class ManagedDatabaseRedisConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
899
940
|
def properties(self) -> typing.Optional["ManagedDatabaseRedisProperties"]:
|
|
900
941
|
'''properties block.
|
|
901
942
|
|
|
902
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
943
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#properties ManagedDatabaseRedis#properties}
|
|
903
944
|
'''
|
|
904
945
|
result = self._values.get("properties")
|
|
905
946
|
return typing.cast(typing.Optional["ManagedDatabaseRedisProperties"], result)
|
|
@@ -931,10 +972,10 @@ class ManagedDatabaseRedisNetwork:
|
|
|
931
972
|
uuid: builtins.str,
|
|
932
973
|
) -> None:
|
|
933
974
|
'''
|
|
934
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
935
|
-
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
936
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
937
|
-
:param uuid: Private network UUID. Must reside in the same zone as the database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
975
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#family ManagedDatabaseRedis#family}
|
|
976
|
+
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#name ManagedDatabaseRedis#name}
|
|
977
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#type ManagedDatabaseRedis#type}
|
|
978
|
+
:param uuid: Private network UUID. Must reside in the same zone as the database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#uuid ManagedDatabaseRedis#uuid}
|
|
938
979
|
'''
|
|
939
980
|
if __debug__:
|
|
940
981
|
type_hints = typing.get_type_hints(_typecheckingstub__661c5761f17574ec6c7e1ef066e4e4db8095a4bd4a383335afeea40feaf30f16)
|
|
@@ -953,7 +994,7 @@ class ManagedDatabaseRedisNetwork:
|
|
|
953
994
|
def family(self) -> builtins.str:
|
|
954
995
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
955
996
|
|
|
956
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
997
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#family ManagedDatabaseRedis#family}
|
|
957
998
|
'''
|
|
958
999
|
result = self._values.get("family")
|
|
959
1000
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -963,7 +1004,7 @@ class ManagedDatabaseRedisNetwork:
|
|
|
963
1004
|
def name(self) -> builtins.str:
|
|
964
1005
|
'''The name of the network. Must be unique within the service.
|
|
965
1006
|
|
|
966
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1007
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#name ManagedDatabaseRedis#name}
|
|
967
1008
|
'''
|
|
968
1009
|
result = self._values.get("name")
|
|
969
1010
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -973,7 +1014,7 @@ class ManagedDatabaseRedisNetwork:
|
|
|
973
1014
|
def type(self) -> builtins.str:
|
|
974
1015
|
'''The type of the network. Must be private.
|
|
975
1016
|
|
|
976
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1017
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#type ManagedDatabaseRedis#type}
|
|
977
1018
|
'''
|
|
978
1019
|
result = self._values.get("type")
|
|
979
1020
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -983,7 +1024,7 @@ class ManagedDatabaseRedisNetwork:
|
|
|
983
1024
|
def uuid(self) -> builtins.str:
|
|
984
1025
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
985
1026
|
|
|
986
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1027
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#uuid ManagedDatabaseRedis#uuid}
|
|
987
1028
|
'''
|
|
988
1029
|
result = self._values.get("uuid")
|
|
989
1030
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1403,23 +1444,23 @@ class ManagedDatabaseRedisProperties:
|
|
|
1403
1444
|
service_log: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
1404
1445
|
) -> None:
|
|
1405
1446
|
'''
|
|
1406
|
-
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1407
|
-
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1408
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1409
|
-
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1410
|
-
:param redis_acl_channels_default: Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1411
|
-
:param redis_io_threads: Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1412
|
-
:param redis_lfu_decay_time: LFU maxmemory-policy counter decay time in minutes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1413
|
-
:param redis_lfu_log_factor: Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1414
|
-
:param redis_maxmemory_policy: Redis maxmemory-policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1415
|
-
:param redis_notify_keyspace_events: Set notify-keyspace-events option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1416
|
-
:param redis_number_of_databases: Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1417
|
-
:param redis_persistence: Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1418
|
-
:param redis_pubsub_client_output_buffer_limit: Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1419
|
-
:param redis_ssl: Require SSL to access Redis. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1420
|
-
:param redis_timeout: Redis idle connection timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1421
|
-
:param redis_version: Redis major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1422
|
-
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1447
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#automatic_utility_network_ip_filter ManagedDatabaseRedis#automatic_utility_network_ip_filter}
|
|
1448
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ip_filter ManagedDatabaseRedis#ip_filter}
|
|
1449
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#migration ManagedDatabaseRedis#migration}
|
|
1450
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#public_access ManagedDatabaseRedis#public_access}
|
|
1451
|
+
:param redis_acl_channels_default: Default ACL for pub/sub channels used when Redis user is created. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_acl_channels_default ManagedDatabaseRedis#redis_acl_channels_default}
|
|
1452
|
+
:param redis_io_threads: Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_io_threads ManagedDatabaseRedis#redis_io_threads}
|
|
1453
|
+
:param redis_lfu_decay_time: LFU maxmemory-policy counter decay time in minutes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_decay_time ManagedDatabaseRedis#redis_lfu_decay_time}
|
|
1454
|
+
:param redis_lfu_log_factor: Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_log_factor ManagedDatabaseRedis#redis_lfu_log_factor}
|
|
1455
|
+
:param redis_maxmemory_policy: Redis maxmemory-policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_maxmemory_policy ManagedDatabaseRedis#redis_maxmemory_policy}
|
|
1456
|
+
:param redis_notify_keyspace_events: Set notify-keyspace-events option. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_notify_keyspace_events ManagedDatabaseRedis#redis_notify_keyspace_events}
|
|
1457
|
+
:param redis_number_of_databases: Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_number_of_databases ManagedDatabaseRedis#redis_number_of_databases}
|
|
1458
|
+
:param redis_persistence: Redis persistence. When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_persistence ManagedDatabaseRedis#redis_persistence}
|
|
1459
|
+
:param redis_pubsub_client_output_buffer_limit: Pub/sub client output buffer hard limit in MB. Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_pubsub_client_output_buffer_limit ManagedDatabaseRedis#redis_pubsub_client_output_buffer_limit}
|
|
1460
|
+
:param redis_ssl: Require SSL to access Redis. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_ssl ManagedDatabaseRedis#redis_ssl}
|
|
1461
|
+
:param redis_timeout: Redis idle connection timeout in seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_timeout ManagedDatabaseRedis#redis_timeout}
|
|
1462
|
+
:param redis_version: Redis major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_version ManagedDatabaseRedis#redis_version}
|
|
1463
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#service_log ManagedDatabaseRedis#service_log}
|
|
1423
1464
|
'''
|
|
1424
1465
|
if isinstance(migration, dict):
|
|
1425
1466
|
migration = ManagedDatabaseRedisPropertiesMigration(**migration)
|
|
@@ -1484,7 +1525,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1484
1525
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1485
1526
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1486
1527
|
|
|
1487
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1528
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#automatic_utility_network_ip_filter ManagedDatabaseRedis#automatic_utility_network_ip_filter}
|
|
1488
1529
|
'''
|
|
1489
1530
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
1490
1531
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1493,7 +1534,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1493
1534
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1494
1535
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
1495
1536
|
|
|
1496
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1537
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ip_filter ManagedDatabaseRedis#ip_filter}
|
|
1497
1538
|
'''
|
|
1498
1539
|
result = self._values.get("ip_filter")
|
|
1499
1540
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1502,7 +1543,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1502
1543
|
def migration(self) -> typing.Optional["ManagedDatabaseRedisPropertiesMigration"]:
|
|
1503
1544
|
'''migration block.
|
|
1504
1545
|
|
|
1505
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#migration ManagedDatabaseRedis#migration}
|
|
1506
1547
|
'''
|
|
1507
1548
|
result = self._values.get("migration")
|
|
1508
1549
|
return typing.cast(typing.Optional["ManagedDatabaseRedisPropertiesMigration"], result)
|
|
@@ -1513,7 +1554,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1513
1554
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1514
1555
|
'''Public Access. Allow access to the service from the public Internet.
|
|
1515
1556
|
|
|
1516
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1557
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#public_access ManagedDatabaseRedis#public_access}
|
|
1517
1558
|
'''
|
|
1518
1559
|
result = self._values.get("public_access")
|
|
1519
1560
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1524,7 +1565,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1524
1565
|
|
|
1525
1566
|
Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default.
|
|
1526
1567
|
|
|
1527
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1568
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_acl_channels_default ManagedDatabaseRedis#redis_acl_channels_default}
|
|
1528
1569
|
'''
|
|
1529
1570
|
result = self._values.get("redis_acl_channels_default")
|
|
1530
1571
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1533,7 +1574,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1533
1574
|
def redis_io_threads(self) -> typing.Optional[jsii.Number]:
|
|
1534
1575
|
'''Redis IO thread count. Set Redis IO thread count. Changing this will cause a restart of the Redis service.
|
|
1535
1576
|
|
|
1536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1577
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_io_threads ManagedDatabaseRedis#redis_io_threads}
|
|
1537
1578
|
'''
|
|
1538
1579
|
result = self._values.get("redis_io_threads")
|
|
1539
1580
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1542,7 +1583,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1542
1583
|
def redis_lfu_decay_time(self) -> typing.Optional[jsii.Number]:
|
|
1543
1584
|
'''LFU maxmemory-policy counter decay time in minutes.
|
|
1544
1585
|
|
|
1545
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1586
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_decay_time ManagedDatabaseRedis#redis_lfu_decay_time}
|
|
1546
1587
|
'''
|
|
1547
1588
|
result = self._values.get("redis_lfu_decay_time")
|
|
1548
1589
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1551,7 +1592,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1551
1592
|
def redis_lfu_log_factor(self) -> typing.Optional[jsii.Number]:
|
|
1552
1593
|
'''Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
|
|
1553
1594
|
|
|
1554
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1595
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_lfu_log_factor ManagedDatabaseRedis#redis_lfu_log_factor}
|
|
1555
1596
|
'''
|
|
1556
1597
|
result = self._values.get("redis_lfu_log_factor")
|
|
1557
1598
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1560,7 +1601,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1560
1601
|
def redis_maxmemory_policy(self) -> typing.Optional[builtins.str]:
|
|
1561
1602
|
'''Redis maxmemory-policy.
|
|
1562
1603
|
|
|
1563
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1604
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_maxmemory_policy ManagedDatabaseRedis#redis_maxmemory_policy}
|
|
1564
1605
|
'''
|
|
1565
1606
|
result = self._values.get("redis_maxmemory_policy")
|
|
1566
1607
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1569,7 +1610,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1569
1610
|
def redis_notify_keyspace_events(self) -> typing.Optional[builtins.str]:
|
|
1570
1611
|
'''Set notify-keyspace-events option.
|
|
1571
1612
|
|
|
1572
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1613
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_notify_keyspace_events ManagedDatabaseRedis#redis_notify_keyspace_events}
|
|
1573
1614
|
'''
|
|
1574
1615
|
result = self._values.get("redis_notify_keyspace_events")
|
|
1575
1616
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1578,7 +1619,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1578
1619
|
def redis_number_of_databases(self) -> typing.Optional[jsii.Number]:
|
|
1579
1620
|
'''Number of Redis databases. Set number of Redis databases. Changing this will cause a restart of the Redis service.
|
|
1580
1621
|
|
|
1581
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1622
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_number_of_databases ManagedDatabaseRedis#redis_number_of_databases}
|
|
1582
1623
|
'''
|
|
1583
1624
|
result = self._values.get("redis_number_of_databases")
|
|
1584
1625
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1589,7 +1630,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1589
1630
|
|
|
1590
1631
|
When persistence is 'rdb', Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence is 'off', no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked.
|
|
1591
1632
|
|
|
1592
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1633
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_persistence ManagedDatabaseRedis#redis_persistence}
|
|
1593
1634
|
'''
|
|
1594
1635
|
result = self._values.get("redis_persistence")
|
|
1595
1636
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1600,7 +1641,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1600
1641
|
|
|
1601
1642
|
Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
|
|
1602
1643
|
|
|
1603
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1644
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_pubsub_client_output_buffer_limit ManagedDatabaseRedis#redis_pubsub_client_output_buffer_limit}
|
|
1604
1645
|
'''
|
|
1605
1646
|
result = self._values.get("redis_pubsub_client_output_buffer_limit")
|
|
1606
1647
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1611,7 +1652,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1611
1652
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1612
1653
|
'''Require SSL to access Redis.
|
|
1613
1654
|
|
|
1614
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1655
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_ssl ManagedDatabaseRedis#redis_ssl}
|
|
1615
1656
|
'''
|
|
1616
1657
|
result = self._values.get("redis_ssl")
|
|
1617
1658
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1620,7 +1661,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1620
1661
|
def redis_timeout(self) -> typing.Optional[jsii.Number]:
|
|
1621
1662
|
'''Redis idle connection timeout in seconds.
|
|
1622
1663
|
|
|
1623
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1664
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_timeout ManagedDatabaseRedis#redis_timeout}
|
|
1624
1665
|
'''
|
|
1625
1666
|
result = self._values.get("redis_timeout")
|
|
1626
1667
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1629,7 +1670,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1629
1670
|
def redis_version(self) -> typing.Optional[builtins.str]:
|
|
1630
1671
|
'''Redis major version.
|
|
1631
1672
|
|
|
1632
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1673
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#redis_version ManagedDatabaseRedis#redis_version}
|
|
1633
1674
|
'''
|
|
1634
1675
|
result = self._values.get("redis_version")
|
|
1635
1676
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1640,7 +1681,7 @@ class ManagedDatabaseRedisProperties:
|
|
|
1640
1681
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1641
1682
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
1642
1683
|
|
|
1643
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1684
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#service_log ManagedDatabaseRedis#service_log}
|
|
1644
1685
|
'''
|
|
1645
1686
|
result = self._values.get("service_log")
|
|
1646
1687
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1685,14 +1726,14 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1685
1726
|
username: typing.Optional[builtins.str] = None,
|
|
1686
1727
|
) -> None:
|
|
1687
1728
|
'''
|
|
1688
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1689
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1690
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1691
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1692
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1693
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1694
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1695
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1729
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#dbname ManagedDatabaseRedis#dbname}
|
|
1730
|
+
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#host ManagedDatabaseRedis#host}
|
|
1731
|
+
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ignore_dbs ManagedDatabaseRedis#ignore_dbs}
|
|
1732
|
+
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#method ManagedDatabaseRedis#method}
|
|
1733
|
+
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#password ManagedDatabaseRedis#password}
|
|
1734
|
+
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#port ManagedDatabaseRedis#port}
|
|
1735
|
+
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ssl ManagedDatabaseRedis#ssl}
|
|
1736
|
+
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#username ManagedDatabaseRedis#username}
|
|
1696
1737
|
'''
|
|
1697
1738
|
if __debug__:
|
|
1698
1739
|
type_hints = typing.get_type_hints(_typecheckingstub__5868695ab3eeee48f1195fac696f82883094948c50a1392b710ba328c403e191)
|
|
@@ -1726,7 +1767,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1726
1767
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
1727
1768
|
'''Database name for bootstrapping the initial connection.
|
|
1728
1769
|
|
|
1729
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1770
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#dbname ManagedDatabaseRedis#dbname}
|
|
1730
1771
|
'''
|
|
1731
1772
|
result = self._values.get("dbname")
|
|
1732
1773
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1735,7 +1776,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1735
1776
|
def host(self) -> typing.Optional[builtins.str]:
|
|
1736
1777
|
'''Hostname or IP address of the server where to migrate data from.
|
|
1737
1778
|
|
|
1738
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1779
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#host ManagedDatabaseRedis#host}
|
|
1739
1780
|
'''
|
|
1740
1781
|
result = self._values.get("host")
|
|
1741
1782
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1744,7 +1785,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1744
1785
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
1745
1786
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
1746
1787
|
|
|
1747
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1788
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ignore_dbs ManagedDatabaseRedis#ignore_dbs}
|
|
1748
1789
|
'''
|
|
1749
1790
|
result = self._values.get("ignore_dbs")
|
|
1750
1791
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1753,7 +1794,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1753
1794
|
def method(self) -> typing.Optional[builtins.str]:
|
|
1754
1795
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
1755
1796
|
|
|
1756
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1797
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#method ManagedDatabaseRedis#method}
|
|
1757
1798
|
'''
|
|
1758
1799
|
result = self._values.get("method")
|
|
1759
1800
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1762,7 +1803,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1762
1803
|
def password(self) -> typing.Optional[builtins.str]:
|
|
1763
1804
|
'''Password for authentication with the server where to migrate data from.
|
|
1764
1805
|
|
|
1765
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1806
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#password ManagedDatabaseRedis#password}
|
|
1766
1807
|
'''
|
|
1767
1808
|
result = self._values.get("password")
|
|
1768
1809
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1771,7 +1812,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1771
1812
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
1772
1813
|
'''Port number of the server where to migrate data from.
|
|
1773
1814
|
|
|
1774
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1815
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#port ManagedDatabaseRedis#port}
|
|
1775
1816
|
'''
|
|
1776
1817
|
result = self._values.get("port")
|
|
1777
1818
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1782,7 +1823,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1782
1823
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1783
1824
|
'''The server where to migrate data from is secured with SSL.
|
|
1784
1825
|
|
|
1785
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1826
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ssl ManagedDatabaseRedis#ssl}
|
|
1786
1827
|
'''
|
|
1787
1828
|
result = self._values.get("ssl")
|
|
1788
1829
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1791,7 +1832,7 @@ class ManagedDatabaseRedisPropertiesMigration:
|
|
|
1791
1832
|
def username(self) -> typing.Optional[builtins.str]:
|
|
1792
1833
|
'''User name for authentication with the server where to migrate data from.
|
|
1793
1834
|
|
|
1794
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1835
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#username ManagedDatabaseRedis#username}
|
|
1795
1836
|
'''
|
|
1796
1837
|
result = self._values.get("username")
|
|
1797
1838
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2053,14 +2094,14 @@ class ManagedDatabaseRedisPropertiesOutputReference(
|
|
|
2053
2094
|
username: typing.Optional[builtins.str] = None,
|
|
2054
2095
|
) -> None:
|
|
2055
2096
|
'''
|
|
2056
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2057
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2058
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2059
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2060
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2061
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2062
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2063
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2097
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#dbname ManagedDatabaseRedis#dbname}
|
|
2098
|
+
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#host ManagedDatabaseRedis#host}
|
|
2099
|
+
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ignore_dbs ManagedDatabaseRedis#ignore_dbs}
|
|
2100
|
+
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#method ManagedDatabaseRedis#method}
|
|
2101
|
+
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#password ManagedDatabaseRedis#password}
|
|
2102
|
+
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#port ManagedDatabaseRedis#port}
|
|
2103
|
+
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#ssl ManagedDatabaseRedis#ssl}
|
|
2104
|
+
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.0/docs/resources/managed_database_redis#username ManagedDatabaseRedis#username}
|
|
2064
2105
|
'''
|
|
2065
2106
|
value = ManagedDatabaseRedisPropertiesMigration(
|
|
2066
2107
|
dbname=dbname,
|
|
@@ -2496,6 +2537,7 @@ def _typecheckingstub__1e10737b3441da242e45d6c2d2bc2f70394648ca22d7a0273fd99d907
|
|
|
2496
2537
|
title: builtins.str,
|
|
2497
2538
|
zone: builtins.str,
|
|
2498
2539
|
id: typing.Optional[builtins.str] = None,
|
|
2540
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2499
2541
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
2500
2542
|
maintenance_window_time: typing.Optional[builtins.str] = None,
|
|
2501
2543
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseRedisNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
@@ -2533,6 +2575,12 @@ def _typecheckingstub__034efef55e5a3bbebea436a291fa62e30ce0295c063f00efa32c2e4da
|
|
|
2533
2575
|
"""Type checking stubs"""
|
|
2534
2576
|
pass
|
|
2535
2577
|
|
|
2578
|
+
def _typecheckingstub__51d0c28fb35bf674f211a2ed1b5d83a783d842439f1e32106228254fd8368995(
|
|
2579
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
|
2580
|
+
) -> None:
|
|
2581
|
+
"""Type checking stubs"""
|
|
2582
|
+
pass
|
|
2583
|
+
|
|
2536
2584
|
def _typecheckingstub__73273528d0b8cb624417054adb344b6b88a235351d2cd957c16595add16c8387(
|
|
2537
2585
|
value: builtins.str,
|
|
2538
2586
|
) -> None:
|
|
@@ -2636,6 +2684,7 @@ def _typecheckingstub__427affd4287d8a7a2c0271c2fa4103a967fb5adf7f546d78c1050110e
|
|
|
2636
2684
|
title: builtins.str,
|
|
2637
2685
|
zone: builtins.str,
|
|
2638
2686
|
id: typing.Optional[builtins.str] = None,
|
|
2687
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2639
2688
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
2640
2689
|
maintenance_window_time: typing.Optional[builtins.str] = None,
|
|
2641
2690
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseRedisNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|