cdktf-cdktf-provider-upcloud 14.15.0__py3-none-any.whl → 14.17.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.17.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_load_balancer_dns_challenge_domain/__init__.py +4 -4
- 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_database_valkey_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 +28 -28
- 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 +42 -42
- 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 +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +226 -226
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +254 -198
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +3178 -3151
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +411 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +185 -129
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +182 -126
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- 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 +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +1002 -425
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.17.0.dist-info/RECORD +67 -0
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.15.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.15.0.dist-info/RECORD +0 -67
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_managed_database_mysql`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_managed_database_mysql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_database_mysql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class ManagedDatabaseMysql(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.managedDatabaseMysql.ManagedDatabaseMysql",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql upcloud_managed_database_mysql}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -62,6 +62,7 @@ class ManagedDatabaseMysql(
|
|
|
62
62
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabaseMysqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
63
63
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
64
64
|
properties: typing.Optional[typing.Union["ManagedDatabaseMysqlProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
65
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
65
66
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
66
67
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
67
68
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -70,21 +71,22 @@ class ManagedDatabaseMysql(
|
|
|
70
71
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
71
72
|
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,
|
|
72
73
|
) -> None:
|
|
73
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql upcloud_managed_database_mysql} Resource.
|
|
74
75
|
|
|
75
76
|
:param scope: The scope in which to define this construct.
|
|
76
77
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
77
|
-
: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.
|
|
78
|
-
: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.
|
|
79
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
: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.
|
|
81
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
82
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
: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.
|
|
84
|
-
: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.
|
|
85
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
86
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
+
: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.17.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
79
|
+
: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.17.0/docs/resources/managed_database_mysql#plan ManagedDatabaseMysql#plan}
|
|
80
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#title ManagedDatabaseMysql#title}
|
|
81
|
+
: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.17.0/docs/resources/managed_database_mysql#zone ManagedDatabaseMysql#zone}
|
|
82
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#id ManagedDatabaseMysql#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.
|
|
83
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#labels ManagedDatabaseMysql#labels}
|
|
84
|
+
: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.17.0/docs/resources/managed_database_mysql#maintenance_window_dow ManagedDatabaseMysql#maintenance_window_dow}
|
|
85
|
+
: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.17.0/docs/resources/managed_database_mysql#maintenance_window_time ManagedDatabaseMysql#maintenance_window_time}
|
|
86
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#network ManagedDatabaseMysql#network}
|
|
87
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#powered ManagedDatabaseMysql#powered}
|
|
88
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#properties ManagedDatabaseMysql#properties}
|
|
89
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#termination_protection ManagedDatabaseMysql#termination_protection}
|
|
88
90
|
:param connection:
|
|
89
91
|
:param count:
|
|
90
92
|
:param depends_on:
|
|
@@ -109,6 +111,7 @@ class ManagedDatabaseMysql(
|
|
|
109
111
|
network=network,
|
|
110
112
|
powered=powered,
|
|
111
113
|
properties=properties,
|
|
114
|
+
termination_protection=termination_protection,
|
|
112
115
|
connection=connection,
|
|
113
116
|
count=count,
|
|
114
117
|
depends_on=depends_on,
|
|
@@ -133,7 +136,7 @@ class ManagedDatabaseMysql(
|
|
|
133
136
|
|
|
134
137
|
:param scope: The scope in which to define this construct.
|
|
135
138
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabaseMysql to import.
|
|
136
|
-
:param import_from_id: The id of the existing ManagedDatabaseMysql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
139
|
+
:param import_from_id: The id of the existing ManagedDatabaseMysql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#import import section} in the documentation of this resource for the id to use
|
|
137
140
|
:param provider: ? Optional instance of the provider where the ManagedDatabaseMysql to import is found.
|
|
138
141
|
'''
|
|
139
142
|
if __debug__:
|
|
@@ -205,48 +208,48 @@ class ManagedDatabaseMysql(
|
|
|
205
208
|
wait_timeout: typing.Optional[jsii.Number] = None,
|
|
206
209
|
) -> None:
|
|
207
210
|
'''
|
|
208
|
-
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
209
|
-
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
210
|
-
: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.
|
|
211
|
-
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
212
|
-
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
213
|
-
:param binlog_retention_period: The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
214
|
-
:param connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
215
|
-
:param default_time_zone: Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
216
|
-
:param group_concat_max_len: The maximum permitted result length in bytes for the GROUP_CONCAT() function. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
217
|
-
:param information_schema_stats_expiry: The time, in seconds, before cached statistics expire. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
218
|
-
:param innodb_change_buffer_max_size: Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
219
|
-
:param innodb_flush_neighbors: Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
220
|
-
:param innodb_ft_min_token_size: Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
221
|
-
:param innodb_ft_server_stopword_table: This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
222
|
-
:param innodb_lock_wait_timeout: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
223
|
-
:param innodb_log_buffer_size: The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
224
|
-
:param innodb_online_alter_log_max_size: The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
225
|
-
:param innodb_print_all_deadlocks: When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
226
|
-
:param innodb_read_io_threads: The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
227
|
-
:param innodb_rollback_on_timeout: When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
228
|
-
:param innodb_thread_concurrency: Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
229
|
-
:param innodb_write_io_threads: The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
230
|
-
:param interactive_timeout: The number of seconds the server waits for activity on an interactive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
231
|
-
:param internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
232
|
-
: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.
|
|
233
|
-
:param log_output: The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
234
|
-
:param long_query_time: The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
235
|
-
:param max_allowed_packet: Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
236
|
-
:param max_heap_table_size: Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
237
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
238
|
-
:param net_buffer_length: Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
239
|
-
:param net_read_timeout: The number of seconds to wait for more data from a connection before aborting the read. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
240
|
-
:param net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
241
|
-
: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.
|
|
242
|
-
: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.
|
|
243
|
-
:param slow_query_log: Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
244
|
-
:param sort_buffer_size: Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
245
|
-
:param sql_mode: Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
246
|
-
:param sql_require_primary_key: Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
247
|
-
:param tmp_table_size: Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
248
|
-
:param version: MySQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
249
|
-
:param wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
211
|
+
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_password ManagedDatabaseMysql#admin_password}
|
|
212
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_username ManagedDatabaseMysql#admin_username}
|
|
213
|
+
: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.17.0/docs/resources/managed_database_mysql#automatic_utility_network_ip_filter ManagedDatabaseMysql#automatic_utility_network_ip_filter}
|
|
214
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_hour ManagedDatabaseMysql#backup_hour}
|
|
215
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_minute ManagedDatabaseMysql#backup_minute}
|
|
216
|
+
:param binlog_retention_period: The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#binlog_retention_period ManagedDatabaseMysql#binlog_retention_period}
|
|
217
|
+
:param connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#connect_timeout ManagedDatabaseMysql#connect_timeout}
|
|
218
|
+
:param default_time_zone: Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#default_time_zone ManagedDatabaseMysql#default_time_zone}
|
|
219
|
+
:param group_concat_max_len: The maximum permitted result length in bytes for the GROUP_CONCAT() function. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#group_concat_max_len ManagedDatabaseMysql#group_concat_max_len}
|
|
220
|
+
:param information_schema_stats_expiry: The time, in seconds, before cached statistics expire. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#information_schema_stats_expiry ManagedDatabaseMysql#information_schema_stats_expiry}
|
|
221
|
+
:param innodb_change_buffer_max_size: Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_change_buffer_max_size ManagedDatabaseMysql#innodb_change_buffer_max_size}
|
|
222
|
+
:param innodb_flush_neighbors: Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_flush_neighbors ManagedDatabaseMysql#innodb_flush_neighbors}
|
|
223
|
+
:param innodb_ft_min_token_size: Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_min_token_size ManagedDatabaseMysql#innodb_ft_min_token_size}
|
|
224
|
+
:param innodb_ft_server_stopword_table: This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_server_stopword_table ManagedDatabaseMysql#innodb_ft_server_stopword_table}
|
|
225
|
+
:param innodb_lock_wait_timeout: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_lock_wait_timeout ManagedDatabaseMysql#innodb_lock_wait_timeout}
|
|
226
|
+
:param innodb_log_buffer_size: The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_log_buffer_size ManagedDatabaseMysql#innodb_log_buffer_size}
|
|
227
|
+
:param innodb_online_alter_log_max_size: The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_online_alter_log_max_size ManagedDatabaseMysql#innodb_online_alter_log_max_size}
|
|
228
|
+
:param innodb_print_all_deadlocks: When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_print_all_deadlocks ManagedDatabaseMysql#innodb_print_all_deadlocks}
|
|
229
|
+
:param innodb_read_io_threads: The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_read_io_threads ManagedDatabaseMysql#innodb_read_io_threads}
|
|
230
|
+
:param innodb_rollback_on_timeout: When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_rollback_on_timeout ManagedDatabaseMysql#innodb_rollback_on_timeout}
|
|
231
|
+
:param innodb_thread_concurrency: Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_thread_concurrency ManagedDatabaseMysql#innodb_thread_concurrency}
|
|
232
|
+
:param innodb_write_io_threads: The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_write_io_threads ManagedDatabaseMysql#innodb_write_io_threads}
|
|
233
|
+
:param interactive_timeout: The number of seconds the server waits for activity on an interactive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#interactive_timeout ManagedDatabaseMysql#interactive_timeout}
|
|
234
|
+
:param internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#internal_tmp_mem_storage_engine ManagedDatabaseMysql#internal_tmp_mem_storage_engine}
|
|
235
|
+
: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.17.0/docs/resources/managed_database_mysql#ip_filter ManagedDatabaseMysql#ip_filter}
|
|
236
|
+
:param log_output: The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#log_output ManagedDatabaseMysql#log_output}
|
|
237
|
+
:param long_query_time: The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#long_query_time ManagedDatabaseMysql#long_query_time}
|
|
238
|
+
:param max_allowed_packet: Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_allowed_packet ManagedDatabaseMysql#max_allowed_packet}
|
|
239
|
+
:param max_heap_table_size: Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_heap_table_size ManagedDatabaseMysql#max_heap_table_size}
|
|
240
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#migration ManagedDatabaseMysql#migration}
|
|
241
|
+
:param net_buffer_length: Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_buffer_length ManagedDatabaseMysql#net_buffer_length}
|
|
242
|
+
:param net_read_timeout: The number of seconds to wait for more data from a connection before aborting the read. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_read_timeout ManagedDatabaseMysql#net_read_timeout}
|
|
243
|
+
:param net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_write_timeout ManagedDatabaseMysql#net_write_timeout}
|
|
244
|
+
: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.17.0/docs/resources/managed_database_mysql#public_access ManagedDatabaseMysql#public_access}
|
|
245
|
+
: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.17.0/docs/resources/managed_database_mysql#service_log ManagedDatabaseMysql#service_log}
|
|
246
|
+
:param slow_query_log: Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#slow_query_log ManagedDatabaseMysql#slow_query_log}
|
|
247
|
+
:param sort_buffer_size: Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sort_buffer_size ManagedDatabaseMysql#sort_buffer_size}
|
|
248
|
+
:param sql_mode: Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_mode ManagedDatabaseMysql#sql_mode}
|
|
249
|
+
:param sql_require_primary_key: Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_require_primary_key ManagedDatabaseMysql#sql_require_primary_key}
|
|
250
|
+
:param tmp_table_size: Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#tmp_table_size ManagedDatabaseMysql#tmp_table_size}
|
|
251
|
+
:param version: MySQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#version ManagedDatabaseMysql#version}
|
|
252
|
+
:param wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
250
253
|
'''
|
|
251
254
|
value = ManagedDatabaseMysqlProperties(
|
|
252
255
|
admin_password=admin_password,
|
|
@@ -323,6 +326,10 @@ class ManagedDatabaseMysql(
|
|
|
323
326
|
def reset_properties(self) -> None:
|
|
324
327
|
return typing.cast(None, jsii.invoke(self, "resetProperties", []))
|
|
325
328
|
|
|
329
|
+
@jsii.member(jsii_name="resetTerminationProtection")
|
|
330
|
+
def reset_termination_protection(self) -> None:
|
|
331
|
+
return typing.cast(None, jsii.invoke(self, "resetTerminationProtection", []))
|
|
332
|
+
|
|
326
333
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
327
334
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
328
335
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -447,6 +454,13 @@ class ManagedDatabaseMysql(
|
|
|
447
454
|
def properties_input(self) -> typing.Optional["ManagedDatabaseMysqlProperties"]:
|
|
448
455
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlProperties"], jsii.get(self, "propertiesInput"))
|
|
449
456
|
|
|
457
|
+
@builtins.property
|
|
458
|
+
@jsii.member(jsii_name="terminationProtectionInput")
|
|
459
|
+
def termination_protection_input(
|
|
460
|
+
self,
|
|
461
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
462
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "terminationProtectionInput"))
|
|
463
|
+
|
|
450
464
|
@builtins.property
|
|
451
465
|
@jsii.member(jsii_name="titleInput")
|
|
452
466
|
def title_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -544,6 +558,23 @@ class ManagedDatabaseMysql(
|
|
|
544
558
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
545
559
|
jsii.set(self, "powered", value) # pyright: ignore[reportArgumentType]
|
|
546
560
|
|
|
561
|
+
@builtins.property
|
|
562
|
+
@jsii.member(jsii_name="terminationProtection")
|
|
563
|
+
def termination_protection(
|
|
564
|
+
self,
|
|
565
|
+
) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
566
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "terminationProtection"))
|
|
567
|
+
|
|
568
|
+
@termination_protection.setter
|
|
569
|
+
def termination_protection(
|
|
570
|
+
self,
|
|
571
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
572
|
+
) -> None:
|
|
573
|
+
if __debug__:
|
|
574
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8c9f7e6065020fa925bf719fbd0aa777653e104f39664706dabe6a435de915cf)
|
|
575
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
576
|
+
jsii.set(self, "terminationProtection", value) # pyright: ignore[reportArgumentType]
|
|
577
|
+
|
|
547
578
|
@builtins.property
|
|
548
579
|
@jsii.member(jsii_name="title")
|
|
549
580
|
def title(self) -> builtins.str:
|
|
@@ -755,6 +786,7 @@ class ManagedDatabaseMysqlComponentsOutputReference(
|
|
|
755
786
|
"network": "network",
|
|
756
787
|
"powered": "powered",
|
|
757
788
|
"properties": "properties",
|
|
789
|
+
"termination_protection": "terminationProtection",
|
|
758
790
|
},
|
|
759
791
|
)
|
|
760
792
|
class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -779,6 +811,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
779
811
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabaseMysqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
780
812
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
781
813
|
properties: typing.Optional[typing.Union["ManagedDatabaseMysqlProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
814
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
782
815
|
) -> None:
|
|
783
816
|
'''
|
|
784
817
|
:param connection:
|
|
@@ -788,17 +821,18 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
788
821
|
:param lifecycle:
|
|
789
822
|
:param provider:
|
|
790
823
|
:param provisioners:
|
|
791
|
-
: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.
|
|
792
|
-
: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.
|
|
793
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
794
|
-
: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.
|
|
795
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
796
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
797
|
-
: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.
|
|
798
|
-
: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.
|
|
799
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
800
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
801
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
824
|
+
: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.17.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
825
|
+
: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.17.0/docs/resources/managed_database_mysql#plan ManagedDatabaseMysql#plan}
|
|
826
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#title ManagedDatabaseMysql#title}
|
|
827
|
+
: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.17.0/docs/resources/managed_database_mysql#zone ManagedDatabaseMysql#zone}
|
|
828
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#id ManagedDatabaseMysql#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.
|
|
829
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#labels ManagedDatabaseMysql#labels}
|
|
830
|
+
: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.17.0/docs/resources/managed_database_mysql#maintenance_window_dow ManagedDatabaseMysql#maintenance_window_dow}
|
|
831
|
+
: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.17.0/docs/resources/managed_database_mysql#maintenance_window_time ManagedDatabaseMysql#maintenance_window_time}
|
|
832
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#network ManagedDatabaseMysql#network}
|
|
833
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#powered ManagedDatabaseMysql#powered}
|
|
834
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#properties ManagedDatabaseMysql#properties}
|
|
835
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#termination_protection ManagedDatabaseMysql#termination_protection}
|
|
802
836
|
'''
|
|
803
837
|
if isinstance(lifecycle, dict):
|
|
804
838
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -824,6 +858,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
824
858
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
825
859
|
check_type(argname="argument powered", value=powered, expected_type=type_hints["powered"])
|
|
826
860
|
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
861
|
+
check_type(argname="argument termination_protection", value=termination_protection, expected_type=type_hints["termination_protection"])
|
|
827
862
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
828
863
|
"name": name,
|
|
829
864
|
"plan": plan,
|
|
@@ -858,6 +893,8 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
858
893
|
self._values["powered"] = powered
|
|
859
894
|
if properties is not None:
|
|
860
895
|
self._values["properties"] = properties
|
|
896
|
+
if termination_protection is not None:
|
|
897
|
+
self._values["termination_protection"] = termination_protection
|
|
861
898
|
|
|
862
899
|
@builtins.property
|
|
863
900
|
def connection(
|
|
@@ -929,7 +966,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
929
966
|
|
|
930
967
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
931
968
|
|
|
932
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
969
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
933
970
|
'''
|
|
934
971
|
result = self._values.get("name")
|
|
935
972
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -941,7 +978,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
941
978
|
|
|
942
979
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
943
980
|
|
|
944
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
981
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#plan ManagedDatabaseMysql#plan}
|
|
945
982
|
'''
|
|
946
983
|
result = self._values.get("plan")
|
|
947
984
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -951,7 +988,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
951
988
|
def title(self) -> builtins.str:
|
|
952
989
|
'''Title of a managed database instance.
|
|
953
990
|
|
|
954
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
991
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#title ManagedDatabaseMysql#title}
|
|
955
992
|
'''
|
|
956
993
|
result = self._values.get("title")
|
|
957
994
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -961,7 +998,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
961
998
|
def zone(self) -> builtins.str:
|
|
962
999
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
963
1000
|
|
|
964
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1001
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#zone ManagedDatabaseMysql#zone}
|
|
965
1002
|
'''
|
|
966
1003
|
result = self._values.get("zone")
|
|
967
1004
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -969,7 +1006,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
969
1006
|
|
|
970
1007
|
@builtins.property
|
|
971
1008
|
def id(self) -> typing.Optional[builtins.str]:
|
|
972
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1009
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#id ManagedDatabaseMysql#id}.
|
|
973
1010
|
|
|
974
1011
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
975
1012
|
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.
|
|
@@ -981,7 +1018,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
981
1018
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
982
1019
|
'''User defined key-value pairs to classify the managed database.
|
|
983
1020
|
|
|
984
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1021
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#labels ManagedDatabaseMysql#labels}
|
|
985
1022
|
'''
|
|
986
1023
|
result = self._values.get("labels")
|
|
987
1024
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -990,7 +1027,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
990
1027
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
991
1028
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
992
1029
|
|
|
993
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1030
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#maintenance_window_dow ManagedDatabaseMysql#maintenance_window_dow}
|
|
994
1031
|
'''
|
|
995
1032
|
result = self._values.get("maintenance_window_dow")
|
|
996
1033
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -999,7 +1036,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
999
1036
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1000
1037
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1001
1038
|
|
|
1002
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1039
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#maintenance_window_time ManagedDatabaseMysql#maintenance_window_time}
|
|
1003
1040
|
'''
|
|
1004
1041
|
result = self._values.get("maintenance_window_time")
|
|
1005
1042
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1010,7 +1047,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1010
1047
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseMysqlNetwork"]]]:
|
|
1011
1048
|
'''network block.
|
|
1012
1049
|
|
|
1013
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1050
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#network ManagedDatabaseMysql#network}
|
|
1014
1051
|
'''
|
|
1015
1052
|
result = self._values.get("network")
|
|
1016
1053
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseMysqlNetwork"]]], result)
|
|
@@ -1021,7 +1058,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1021
1058
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1022
1059
|
'''The administrative power state of the service.
|
|
1023
1060
|
|
|
1024
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1061
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#powered ManagedDatabaseMysql#powered}
|
|
1025
1062
|
'''
|
|
1026
1063
|
result = self._values.get("powered")
|
|
1027
1064
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1030,11 +1067,22 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1030
1067
|
def properties(self) -> typing.Optional["ManagedDatabaseMysqlProperties"]:
|
|
1031
1068
|
'''properties block.
|
|
1032
1069
|
|
|
1033
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1070
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#properties ManagedDatabaseMysql#properties}
|
|
1034
1071
|
'''
|
|
1035
1072
|
result = self._values.get("properties")
|
|
1036
1073
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlProperties"], result)
|
|
1037
1074
|
|
|
1075
|
+
@builtins.property
|
|
1076
|
+
def termination_protection(
|
|
1077
|
+
self,
|
|
1078
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1079
|
+
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1080
|
+
|
|
1081
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#termination_protection ManagedDatabaseMysql#termination_protection}
|
|
1082
|
+
'''
|
|
1083
|
+
result = self._values.get("termination_protection")
|
|
1084
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1085
|
+
|
|
1038
1086
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1039
1087
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1040
1088
|
|
|
@@ -1062,10 +1110,10 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1062
1110
|
uuid: builtins.str,
|
|
1063
1111
|
) -> None:
|
|
1064
1112
|
'''
|
|
1065
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1066
|
-
: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.
|
|
1067
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1068
|
-
: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.
|
|
1113
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#family ManagedDatabaseMysql#family}
|
|
1114
|
+
: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.17.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
1115
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#type ManagedDatabaseMysql#type}
|
|
1116
|
+
: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.17.0/docs/resources/managed_database_mysql#uuid ManagedDatabaseMysql#uuid}
|
|
1069
1117
|
'''
|
|
1070
1118
|
if __debug__:
|
|
1071
1119
|
type_hints = typing.get_type_hints(_typecheckingstub__74301fe81253b8784b9afba8d3a1dda97ee52965714102f2fb71f3cda82c72d9)
|
|
@@ -1084,7 +1132,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1084
1132
|
def family(self) -> builtins.str:
|
|
1085
1133
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1086
1134
|
|
|
1087
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1135
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#family ManagedDatabaseMysql#family}
|
|
1088
1136
|
'''
|
|
1089
1137
|
result = self._values.get("family")
|
|
1090
1138
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1094,7 +1142,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1094
1142
|
def name(self) -> builtins.str:
|
|
1095
1143
|
'''The name of the network. Must be unique within the service.
|
|
1096
1144
|
|
|
1097
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1145
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
1098
1146
|
'''
|
|
1099
1147
|
result = self._values.get("name")
|
|
1100
1148
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1104,7 +1152,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1104
1152
|
def type(self) -> builtins.str:
|
|
1105
1153
|
'''The type of the network. Must be private.
|
|
1106
1154
|
|
|
1107
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#type ManagedDatabaseMysql#type}
|
|
1108
1156
|
'''
|
|
1109
1157
|
result = self._values.get("type")
|
|
1110
1158
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1114,7 +1162,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1114
1162
|
def uuid(self) -> builtins.str:
|
|
1115
1163
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1116
1164
|
|
|
1117
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#uuid ManagedDatabaseMysql#uuid}
|
|
1118
1166
|
'''
|
|
1119
1167
|
result = self._values.get("uuid")
|
|
1120
1168
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1584,48 +1632,48 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1584
1632
|
wait_timeout: typing.Optional[jsii.Number] = None,
|
|
1585
1633
|
) -> None:
|
|
1586
1634
|
'''
|
|
1587
|
-
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1588
|
-
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1589
|
-
: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.
|
|
1590
|
-
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1591
|
-
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1592
|
-
:param binlog_retention_period: The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1593
|
-
:param connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1594
|
-
:param default_time_zone: Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1595
|
-
:param group_concat_max_len: The maximum permitted result length in bytes for the GROUP_CONCAT() function. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1596
|
-
:param information_schema_stats_expiry: The time, in seconds, before cached statistics expire. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1597
|
-
:param innodb_change_buffer_max_size: Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1598
|
-
:param innodb_flush_neighbors: Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1599
|
-
:param innodb_ft_min_token_size: Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1600
|
-
:param innodb_ft_server_stopword_table: This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1601
|
-
:param innodb_lock_wait_timeout: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1602
|
-
:param innodb_log_buffer_size: The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1603
|
-
:param innodb_online_alter_log_max_size: The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1604
|
-
:param innodb_print_all_deadlocks: When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1605
|
-
:param innodb_read_io_threads: The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1606
|
-
:param innodb_rollback_on_timeout: When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1607
|
-
:param innodb_thread_concurrency: Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1608
|
-
:param innodb_write_io_threads: The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1609
|
-
:param interactive_timeout: The number of seconds the server waits for activity on an interactive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1610
|
-
:param internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1611
|
-
: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.
|
|
1612
|
-
:param log_output: The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1613
|
-
:param long_query_time: The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1614
|
-
:param max_allowed_packet: Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1615
|
-
:param max_heap_table_size: Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1616
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1617
|
-
:param net_buffer_length: Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1618
|
-
:param net_read_timeout: The number of seconds to wait for more data from a connection before aborting the read. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1619
|
-
:param net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1620
|
-
: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.
|
|
1621
|
-
: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.
|
|
1622
|
-
:param slow_query_log: Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1623
|
-
:param sort_buffer_size: Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1624
|
-
:param sql_mode: Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1625
|
-
:param sql_require_primary_key: Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1626
|
-
:param tmp_table_size: Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1627
|
-
:param version: MySQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1628
|
-
:param wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1635
|
+
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_password ManagedDatabaseMysql#admin_password}
|
|
1636
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_username ManagedDatabaseMysql#admin_username}
|
|
1637
|
+
: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.17.0/docs/resources/managed_database_mysql#automatic_utility_network_ip_filter ManagedDatabaseMysql#automatic_utility_network_ip_filter}
|
|
1638
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_hour ManagedDatabaseMysql#backup_hour}
|
|
1639
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_minute ManagedDatabaseMysql#backup_minute}
|
|
1640
|
+
:param binlog_retention_period: The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#binlog_retention_period ManagedDatabaseMysql#binlog_retention_period}
|
|
1641
|
+
:param connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#connect_timeout ManagedDatabaseMysql#connect_timeout}
|
|
1642
|
+
:param default_time_zone: Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#default_time_zone ManagedDatabaseMysql#default_time_zone}
|
|
1643
|
+
:param group_concat_max_len: The maximum permitted result length in bytes for the GROUP_CONCAT() function. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#group_concat_max_len ManagedDatabaseMysql#group_concat_max_len}
|
|
1644
|
+
:param information_schema_stats_expiry: The time, in seconds, before cached statistics expire. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#information_schema_stats_expiry ManagedDatabaseMysql#information_schema_stats_expiry}
|
|
1645
|
+
:param innodb_change_buffer_max_size: Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_change_buffer_max_size ManagedDatabaseMysql#innodb_change_buffer_max_size}
|
|
1646
|
+
:param innodb_flush_neighbors: Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_flush_neighbors ManagedDatabaseMysql#innodb_flush_neighbors}
|
|
1647
|
+
:param innodb_ft_min_token_size: Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_min_token_size ManagedDatabaseMysql#innodb_ft_min_token_size}
|
|
1648
|
+
:param innodb_ft_server_stopword_table: This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_server_stopword_table ManagedDatabaseMysql#innodb_ft_server_stopword_table}
|
|
1649
|
+
:param innodb_lock_wait_timeout: The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_lock_wait_timeout ManagedDatabaseMysql#innodb_lock_wait_timeout}
|
|
1650
|
+
:param innodb_log_buffer_size: The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_log_buffer_size ManagedDatabaseMysql#innodb_log_buffer_size}
|
|
1651
|
+
:param innodb_online_alter_log_max_size: The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_online_alter_log_max_size ManagedDatabaseMysql#innodb_online_alter_log_max_size}
|
|
1652
|
+
:param innodb_print_all_deadlocks: When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_print_all_deadlocks ManagedDatabaseMysql#innodb_print_all_deadlocks}
|
|
1653
|
+
:param innodb_read_io_threads: The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_read_io_threads ManagedDatabaseMysql#innodb_read_io_threads}
|
|
1654
|
+
:param innodb_rollback_on_timeout: When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_rollback_on_timeout ManagedDatabaseMysql#innodb_rollback_on_timeout}
|
|
1655
|
+
:param innodb_thread_concurrency: Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_thread_concurrency ManagedDatabaseMysql#innodb_thread_concurrency}
|
|
1656
|
+
:param innodb_write_io_threads: The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_write_io_threads ManagedDatabaseMysql#innodb_write_io_threads}
|
|
1657
|
+
:param interactive_timeout: The number of seconds the server waits for activity on an interactive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#interactive_timeout ManagedDatabaseMysql#interactive_timeout}
|
|
1658
|
+
:param internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#internal_tmp_mem_storage_engine ManagedDatabaseMysql#internal_tmp_mem_storage_engine}
|
|
1659
|
+
: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.17.0/docs/resources/managed_database_mysql#ip_filter ManagedDatabaseMysql#ip_filter}
|
|
1660
|
+
:param log_output: The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#log_output ManagedDatabaseMysql#log_output}
|
|
1661
|
+
:param long_query_time: The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#long_query_time ManagedDatabaseMysql#long_query_time}
|
|
1662
|
+
:param max_allowed_packet: Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_allowed_packet ManagedDatabaseMysql#max_allowed_packet}
|
|
1663
|
+
:param max_heap_table_size: Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_heap_table_size ManagedDatabaseMysql#max_heap_table_size}
|
|
1664
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#migration ManagedDatabaseMysql#migration}
|
|
1665
|
+
:param net_buffer_length: Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_buffer_length ManagedDatabaseMysql#net_buffer_length}
|
|
1666
|
+
:param net_read_timeout: The number of seconds to wait for more data from a connection before aborting the read. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_read_timeout ManagedDatabaseMysql#net_read_timeout}
|
|
1667
|
+
:param net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_write_timeout ManagedDatabaseMysql#net_write_timeout}
|
|
1668
|
+
: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.17.0/docs/resources/managed_database_mysql#public_access ManagedDatabaseMysql#public_access}
|
|
1669
|
+
: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.17.0/docs/resources/managed_database_mysql#service_log ManagedDatabaseMysql#service_log}
|
|
1670
|
+
:param slow_query_log: Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#slow_query_log ManagedDatabaseMysql#slow_query_log}
|
|
1671
|
+
:param sort_buffer_size: Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sort_buffer_size ManagedDatabaseMysql#sort_buffer_size}
|
|
1672
|
+
:param sql_mode: Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_mode ManagedDatabaseMysql#sql_mode}
|
|
1673
|
+
:param sql_require_primary_key: Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_require_primary_key ManagedDatabaseMysql#sql_require_primary_key}
|
|
1674
|
+
:param tmp_table_size: Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#tmp_table_size ManagedDatabaseMysql#tmp_table_size}
|
|
1675
|
+
:param version: MySQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#version ManagedDatabaseMysql#version}
|
|
1676
|
+
:param wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
1629
1677
|
'''
|
|
1630
1678
|
if isinstance(migration, dict):
|
|
1631
1679
|
migration = ManagedDatabaseMysqlPropertiesMigration(**migration)
|
|
@@ -1765,7 +1813,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1765
1813
|
|
|
1766
1814
|
Defaults to random string. This must be set only when a new service is being created.
|
|
1767
1815
|
|
|
1768
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1816
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_password ManagedDatabaseMysql#admin_password}
|
|
1769
1817
|
'''
|
|
1770
1818
|
result = self._values.get("admin_password")
|
|
1771
1819
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1774,7 +1822,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1774
1822
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
1775
1823
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
1776
1824
|
|
|
1777
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1825
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#admin_username ManagedDatabaseMysql#admin_username}
|
|
1778
1826
|
'''
|
|
1779
1827
|
result = self._values.get("admin_username")
|
|
1780
1828
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1785,7 +1833,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1785
1833
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1786
1834
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1787
1835
|
|
|
1788
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1836
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#automatic_utility_network_ip_filter ManagedDatabaseMysql#automatic_utility_network_ip_filter}
|
|
1789
1837
|
'''
|
|
1790
1838
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
1791
1839
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1796,7 +1844,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1796
1844
|
|
|
1797
1845
|
New backup is only started if previous backup has already completed.
|
|
1798
1846
|
|
|
1799
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1847
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_hour ManagedDatabaseMysql#backup_hour}
|
|
1800
1848
|
'''
|
|
1801
1849
|
result = self._values.get("backup_hour")
|
|
1802
1850
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1807,7 +1855,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1807
1855
|
|
|
1808
1856
|
New backup is only started if previous backup has already completed.
|
|
1809
1857
|
|
|
1810
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1858
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#backup_minute ManagedDatabaseMysql#backup_minute}
|
|
1811
1859
|
'''
|
|
1812
1860
|
result = self._values.get("backup_minute")
|
|
1813
1861
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1818,7 +1866,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1818
1866
|
|
|
1819
1867
|
This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector.
|
|
1820
1868
|
|
|
1821
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1869
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#binlog_retention_period ManagedDatabaseMysql#binlog_retention_period}
|
|
1822
1870
|
'''
|
|
1823
1871
|
result = self._values.get("binlog_retention_period")
|
|
1824
1872
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1827,7 +1875,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1827
1875
|
def connect_timeout(self) -> typing.Optional[jsii.Number]:
|
|
1828
1876
|
'''The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
|
|
1829
1877
|
|
|
1830
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1878
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#connect_timeout ManagedDatabaseMysql#connect_timeout}
|
|
1831
1879
|
'''
|
|
1832
1880
|
result = self._values.get("connect_timeout")
|
|
1833
1881
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1836,7 +1884,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1836
1884
|
def default_time_zone(self) -> typing.Optional[builtins.str]:
|
|
1837
1885
|
'''Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.
|
|
1838
1886
|
|
|
1839
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1887
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#default_time_zone ManagedDatabaseMysql#default_time_zone}
|
|
1840
1888
|
'''
|
|
1841
1889
|
result = self._values.get("default_time_zone")
|
|
1842
1890
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1845,7 +1893,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1845
1893
|
def group_concat_max_len(self) -> typing.Optional[jsii.Number]:
|
|
1846
1894
|
'''The maximum permitted result length in bytes for the GROUP_CONCAT() function.
|
|
1847
1895
|
|
|
1848
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1896
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#group_concat_max_len ManagedDatabaseMysql#group_concat_max_len}
|
|
1849
1897
|
'''
|
|
1850
1898
|
result = self._values.get("group_concat_max_len")
|
|
1851
1899
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1854,7 +1902,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1854
1902
|
def information_schema_stats_expiry(self) -> typing.Optional[jsii.Number]:
|
|
1855
1903
|
'''The time, in seconds, before cached statistics expire.
|
|
1856
1904
|
|
|
1857
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1905
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#information_schema_stats_expiry ManagedDatabaseMysql#information_schema_stats_expiry}
|
|
1858
1906
|
'''
|
|
1859
1907
|
result = self._values.get("information_schema_stats_expiry")
|
|
1860
1908
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1865,7 +1913,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1865
1913
|
|
|
1866
1914
|
Default is 25.
|
|
1867
1915
|
|
|
1868
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1916
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_change_buffer_max_size ManagedDatabaseMysql#innodb_change_buffer_max_size}
|
|
1869
1917
|
'''
|
|
1870
1918
|
result = self._values.get("innodb_change_buffer_max_size")
|
|
1871
1919
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1874,7 +1922,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1874
1922
|
def innodb_flush_neighbors(self) -> typing.Optional[jsii.Number]:
|
|
1875
1923
|
'''Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent.
|
|
1876
1924
|
|
|
1877
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1925
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_flush_neighbors ManagedDatabaseMysql#innodb_flush_neighbors}
|
|
1878
1926
|
'''
|
|
1879
1927
|
result = self._values.get("innodb_flush_neighbors")
|
|
1880
1928
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1885,7 +1933,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1885
1933
|
|
|
1886
1934
|
Changing this parameter will lead to a restart of the MySQL service.
|
|
1887
1935
|
|
|
1888
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1936
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_min_token_size ManagedDatabaseMysql#innodb_ft_min_token_size}
|
|
1889
1937
|
'''
|
|
1890
1938
|
result = self._values.get("innodb_ft_min_token_size")
|
|
1891
1939
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1894,7 +1942,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1894
1942
|
def innodb_ft_server_stopword_table(self) -> typing.Optional[builtins.str]:
|
|
1895
1943
|
'''This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1896
1944
|
|
|
1897
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1945
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_ft_server_stopword_table ManagedDatabaseMysql#innodb_ft_server_stopword_table}
|
|
1898
1946
|
'''
|
|
1899
1947
|
result = self._values.get("innodb_ft_server_stopword_table")
|
|
1900
1948
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1905,7 +1953,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1905
1953
|
|
|
1906
1954
|
Default is 120.
|
|
1907
1955
|
|
|
1908
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1956
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_lock_wait_timeout ManagedDatabaseMysql#innodb_lock_wait_timeout}
|
|
1909
1957
|
'''
|
|
1910
1958
|
result = self._values.get("innodb_lock_wait_timeout")
|
|
1911
1959
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1914,7 +1962,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1914
1962
|
def innodb_log_buffer_size(self) -> typing.Optional[jsii.Number]:
|
|
1915
1963
|
'''The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
|
|
1916
1964
|
|
|
1917
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1965
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_log_buffer_size ManagedDatabaseMysql#innodb_log_buffer_size}
|
|
1918
1966
|
'''
|
|
1919
1967
|
result = self._values.get("innodb_log_buffer_size")
|
|
1920
1968
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1923,7 +1971,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1923
1971
|
def innodb_online_alter_log_max_size(self) -> typing.Optional[jsii.Number]:
|
|
1924
1972
|
'''The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1925
1973
|
|
|
1926
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1974
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_online_alter_log_max_size ManagedDatabaseMysql#innodb_online_alter_log_max_size}
|
|
1927
1975
|
'''
|
|
1928
1976
|
result = self._values.get("innodb_online_alter_log_max_size")
|
|
1929
1977
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1934,7 +1982,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1934
1982
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1935
1983
|
'''When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
|
|
1936
1984
|
|
|
1937
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1985
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_print_all_deadlocks ManagedDatabaseMysql#innodb_print_all_deadlocks}
|
|
1938
1986
|
'''
|
|
1939
1987
|
result = self._values.get("innodb_print_all_deadlocks")
|
|
1940
1988
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1945,7 +1993,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1945
1993
|
|
|
1946
1994
|
Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1947
1995
|
|
|
1948
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1996
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_read_io_threads ManagedDatabaseMysql#innodb_read_io_threads}
|
|
1949
1997
|
'''
|
|
1950
1998
|
result = self._values.get("innodb_read_io_threads")
|
|
1951
1999
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1958,7 +2006,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1958
2006
|
|
|
1959
2007
|
Changing this parameter will lead to a restart of the MySQL service.
|
|
1960
2008
|
|
|
1961
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2009
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_rollback_on_timeout ManagedDatabaseMysql#innodb_rollback_on_timeout}
|
|
1962
2010
|
'''
|
|
1963
2011
|
result = self._values.get("innodb_rollback_on_timeout")
|
|
1964
2012
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1967,7 +2015,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1967
2015
|
def innodb_thread_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
1968
2016
|
'''Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
|
|
1969
2017
|
|
|
1970
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2018
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_thread_concurrency ManagedDatabaseMysql#innodb_thread_concurrency}
|
|
1971
2019
|
'''
|
|
1972
2020
|
result = self._values.get("innodb_thread_concurrency")
|
|
1973
2021
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1978,7 +2026,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1978
2026
|
|
|
1979
2027
|
Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1980
2028
|
|
|
1981
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2029
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#innodb_write_io_threads ManagedDatabaseMysql#innodb_write_io_threads}
|
|
1982
2030
|
'''
|
|
1983
2031
|
result = self._values.get("innodb_write_io_threads")
|
|
1984
2032
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1987,7 +2035,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1987
2035
|
def interactive_timeout(self) -> typing.Optional[jsii.Number]:
|
|
1988
2036
|
'''The number of seconds the server waits for activity on an interactive connection before closing it.
|
|
1989
2037
|
|
|
1990
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2038
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#interactive_timeout ManagedDatabaseMysql#interactive_timeout}
|
|
1991
2039
|
'''
|
|
1992
2040
|
result = self._values.get("interactive_timeout")
|
|
1993
2041
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1996,7 +2044,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1996
2044
|
def internal_tmp_mem_storage_engine(self) -> typing.Optional[builtins.str]:
|
|
1997
2045
|
'''The storage engine for in-memory internal temporary tables.
|
|
1998
2046
|
|
|
1999
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2047
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#internal_tmp_mem_storage_engine ManagedDatabaseMysql#internal_tmp_mem_storage_engine}
|
|
2000
2048
|
'''
|
|
2001
2049
|
result = self._values.get("internal_tmp_mem_storage_engine")
|
|
2002
2050
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2005,7 +2053,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2005
2053
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2006
2054
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2007
2055
|
|
|
2008
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2056
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ip_filter ManagedDatabaseMysql#ip_filter}
|
|
2009
2057
|
'''
|
|
2010
2058
|
result = self._values.get("ip_filter")
|
|
2011
2059
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2016,7 +2064,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2016
2064
|
|
|
2017
2065
|
To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.
|
|
2018
2066
|
|
|
2019
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2067
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#log_output ManagedDatabaseMysql#log_output}
|
|
2020
2068
|
'''
|
|
2021
2069
|
result = self._values.get("log_output")
|
|
2022
2070
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2025,7 +2073,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2025
2073
|
def long_query_time(self) -> typing.Optional[jsii.Number]:
|
|
2026
2074
|
'''The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute.
|
|
2027
2075
|
|
|
2028
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2076
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#long_query_time ManagedDatabaseMysql#long_query_time}
|
|
2029
2077
|
'''
|
|
2030
2078
|
result = self._values.get("long_query_time")
|
|
2031
2079
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2034,7 +2082,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2034
2082
|
def max_allowed_packet(self) -> typing.Optional[jsii.Number]:
|
|
2035
2083
|
'''Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
|
|
2036
2084
|
|
|
2037
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2085
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_allowed_packet ManagedDatabaseMysql#max_allowed_packet}
|
|
2038
2086
|
'''
|
|
2039
2087
|
result = self._values.get("max_allowed_packet")
|
|
2040
2088
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2043,7 +2091,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2043
2091
|
def max_heap_table_size(self) -> typing.Optional[jsii.Number]:
|
|
2044
2092
|
'''Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
|
|
2045
2093
|
|
|
2046
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2094
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#max_heap_table_size ManagedDatabaseMysql#max_heap_table_size}
|
|
2047
2095
|
'''
|
|
2048
2096
|
result = self._values.get("max_heap_table_size")
|
|
2049
2097
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2052,7 +2100,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2052
2100
|
def migration(self) -> typing.Optional["ManagedDatabaseMysqlPropertiesMigration"]:
|
|
2053
2101
|
'''migration block.
|
|
2054
2102
|
|
|
2055
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2103
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#migration ManagedDatabaseMysql#migration}
|
|
2056
2104
|
'''
|
|
2057
2105
|
result = self._values.get("migration")
|
|
2058
2106
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlPropertiesMigration"], result)
|
|
@@ -2063,7 +2111,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2063
2111
|
|
|
2064
2112
|
Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
|
|
2065
2113
|
|
|
2066
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2114
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_buffer_length ManagedDatabaseMysql#net_buffer_length}
|
|
2067
2115
|
'''
|
|
2068
2116
|
result = self._values.get("net_buffer_length")
|
|
2069
2117
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2072,7 +2120,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2072
2120
|
def net_read_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2073
2121
|
'''The number of seconds to wait for more data from a connection before aborting the read.
|
|
2074
2122
|
|
|
2075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2123
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_read_timeout ManagedDatabaseMysql#net_read_timeout}
|
|
2076
2124
|
'''
|
|
2077
2125
|
result = self._values.get("net_read_timeout")
|
|
2078
2126
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2081,7 +2129,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2081
2129
|
def net_write_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2082
2130
|
'''The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
2083
2131
|
|
|
2084
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2132
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#net_write_timeout ManagedDatabaseMysql#net_write_timeout}
|
|
2085
2133
|
'''
|
|
2086
2134
|
result = self._values.get("net_write_timeout")
|
|
2087
2135
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2092,7 +2140,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2092
2140
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2093
2141
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2094
2142
|
|
|
2095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2143
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#public_access ManagedDatabaseMysql#public_access}
|
|
2096
2144
|
'''
|
|
2097
2145
|
result = self._values.get("public_access")
|
|
2098
2146
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2103,7 +2151,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2103
2151
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2104
2152
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2105
2153
|
|
|
2106
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2154
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#service_log ManagedDatabaseMysql#service_log}
|
|
2107
2155
|
'''
|
|
2108
2156
|
result = self._values.get("service_log")
|
|
2109
2157
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2114,7 +2162,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2114
2162
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2115
2163
|
'''Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table.
|
|
2116
2164
|
|
|
2117
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#slow_query_log ManagedDatabaseMysql#slow_query_log}
|
|
2118
2166
|
'''
|
|
2119
2167
|
result = self._values.get("slow_query_log")
|
|
2120
2168
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2123,7 +2171,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2123
2171
|
def sort_buffer_size(self) -> typing.Optional[jsii.Number]:
|
|
2124
2172
|
'''Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
|
|
2125
2173
|
|
|
2126
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2174
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sort_buffer_size ManagedDatabaseMysql#sort_buffer_size}
|
|
2127
2175
|
'''
|
|
2128
2176
|
result = self._values.get("sort_buffer_size")
|
|
2129
2177
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2134,7 +2182,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2134
2182
|
|
|
2135
2183
|
Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.
|
|
2136
2184
|
|
|
2137
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_mode ManagedDatabaseMysql#sql_mode}
|
|
2138
2186
|
'''
|
|
2139
2187
|
result = self._values.get("sql_mode")
|
|
2140
2188
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2147,7 +2195,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2147
2195
|
|
|
2148
2196
|
It is recommended to always have primary keys because various functionality may break if any large table is missing them.
|
|
2149
2197
|
|
|
2150
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2198
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#sql_require_primary_key ManagedDatabaseMysql#sql_require_primary_key}
|
|
2151
2199
|
'''
|
|
2152
2200
|
result = self._values.get("sql_require_primary_key")
|
|
2153
2201
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2156,7 +2204,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2156
2204
|
def tmp_table_size(self) -> typing.Optional[jsii.Number]:
|
|
2157
2205
|
'''Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
|
|
2158
2206
|
|
|
2159
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2207
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#tmp_table_size ManagedDatabaseMysql#tmp_table_size}
|
|
2160
2208
|
'''
|
|
2161
2209
|
result = self._values.get("tmp_table_size")
|
|
2162
2210
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2165,7 +2213,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2165
2213
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2166
2214
|
'''MySQL major version.
|
|
2167
2215
|
|
|
2168
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2216
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#version ManagedDatabaseMysql#version}
|
|
2169
2217
|
'''
|
|
2170
2218
|
result = self._values.get("version")
|
|
2171
2219
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2174,7 +2222,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2174
2222
|
def wait_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2175
2223
|
'''The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
2176
2224
|
|
|
2177
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2225
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
2178
2226
|
'''
|
|
2179
2227
|
result = self._values.get("wait_timeout")
|
|
2180
2228
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2221,15 +2269,15 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2221
2269
|
username: typing.Optional[builtins.str] = None,
|
|
2222
2270
|
) -> None:
|
|
2223
2271
|
'''
|
|
2224
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2225
|
-
: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.
|
|
2226
|
-
: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.
|
|
2227
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2228
|
-
: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.
|
|
2229
|
-
: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.
|
|
2230
|
-
: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.
|
|
2231
|
-
: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.
|
|
2232
|
-
: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.
|
|
2272
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#dbname ManagedDatabaseMysql#dbname}
|
|
2273
|
+
: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.17.0/docs/resources/managed_database_mysql#host ManagedDatabaseMysql#host}
|
|
2274
|
+
: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.17.0/docs/resources/managed_database_mysql#ignore_dbs ManagedDatabaseMysql#ignore_dbs}
|
|
2275
|
+
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ignore_roles ManagedDatabaseMysql#ignore_roles}
|
|
2276
|
+
: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.17.0/docs/resources/managed_database_mysql#method ManagedDatabaseMysql#method}
|
|
2277
|
+
: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.17.0/docs/resources/managed_database_mysql#password ManagedDatabaseMysql#password}
|
|
2278
|
+
: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.17.0/docs/resources/managed_database_mysql#port ManagedDatabaseMysql#port}
|
|
2279
|
+
: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.17.0/docs/resources/managed_database_mysql#ssl ManagedDatabaseMysql#ssl}
|
|
2280
|
+
: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.17.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2233
2281
|
'''
|
|
2234
2282
|
if __debug__:
|
|
2235
2283
|
type_hints = typing.get_type_hints(_typecheckingstub__ee5a974af6d286f0c9f5d3877bba799be0317b62fea7a2094229566a454f29ae)
|
|
@@ -2266,7 +2314,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2266
2314
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2267
2315
|
'''Database name for bootstrapping the initial connection.
|
|
2268
2316
|
|
|
2269
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2317
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#dbname ManagedDatabaseMysql#dbname}
|
|
2270
2318
|
'''
|
|
2271
2319
|
result = self._values.get("dbname")
|
|
2272
2320
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2275,7 +2323,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2275
2323
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2276
2324
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2277
2325
|
|
|
2278
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2326
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#host ManagedDatabaseMysql#host}
|
|
2279
2327
|
'''
|
|
2280
2328
|
result = self._values.get("host")
|
|
2281
2329
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2284,7 +2332,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2284
2332
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2285
2333
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2286
2334
|
|
|
2287
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2335
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ignore_dbs ManagedDatabaseMysql#ignore_dbs}
|
|
2288
2336
|
'''
|
|
2289
2337
|
result = self._values.get("ignore_dbs")
|
|
2290
2338
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2293,7 +2341,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2293
2341
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2294
2342
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2295
2343
|
|
|
2296
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2344
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ignore_roles ManagedDatabaseMysql#ignore_roles}
|
|
2297
2345
|
'''
|
|
2298
2346
|
result = self._values.get("ignore_roles")
|
|
2299
2347
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2302,7 +2350,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2302
2350
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2303
2351
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2304
2352
|
|
|
2305
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#method ManagedDatabaseMysql#method}
|
|
2306
2354
|
'''
|
|
2307
2355
|
result = self._values.get("method")
|
|
2308
2356
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2311,7 +2359,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2311
2359
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2312
2360
|
'''Password for authentication with the server where to migrate data from.
|
|
2313
2361
|
|
|
2314
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2362
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#password ManagedDatabaseMysql#password}
|
|
2315
2363
|
'''
|
|
2316
2364
|
result = self._values.get("password")
|
|
2317
2365
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2320,7 +2368,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2320
2368
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2321
2369
|
'''Port number of the server where to migrate data from.
|
|
2322
2370
|
|
|
2323
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2371
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#port ManagedDatabaseMysql#port}
|
|
2324
2372
|
'''
|
|
2325
2373
|
result = self._values.get("port")
|
|
2326
2374
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2331,7 +2379,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2331
2379
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2332
2380
|
'''The server where to migrate data from is secured with SSL.
|
|
2333
2381
|
|
|
2334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2382
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ssl ManagedDatabaseMysql#ssl}
|
|
2335
2383
|
'''
|
|
2336
2384
|
result = self._values.get("ssl")
|
|
2337
2385
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2340,7 +2388,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2340
2388
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2341
2389
|
'''User name for authentication with the server where to migrate data from.
|
|
2342
2390
|
|
|
2343
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2391
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2344
2392
|
'''
|
|
2345
2393
|
result = self._values.get("username")
|
|
2346
2394
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2624,15 +2672,15 @@ class ManagedDatabaseMysqlPropertiesOutputReference(
|
|
|
2624
2672
|
username: typing.Optional[builtins.str] = None,
|
|
2625
2673
|
) -> None:
|
|
2626
2674
|
'''
|
|
2627
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2628
|
-
: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.
|
|
2629
|
-
: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.
|
|
2630
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2631
|
-
: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.
|
|
2632
|
-
: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.
|
|
2633
|
-
: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.
|
|
2634
|
-
: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.
|
|
2635
|
-
: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.
|
|
2675
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#dbname ManagedDatabaseMysql#dbname}
|
|
2676
|
+
: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.17.0/docs/resources/managed_database_mysql#host ManagedDatabaseMysql#host}
|
|
2677
|
+
: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.17.0/docs/resources/managed_database_mysql#ignore_dbs ManagedDatabaseMysql#ignore_dbs}
|
|
2678
|
+
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_mysql#ignore_roles ManagedDatabaseMysql#ignore_roles}
|
|
2679
|
+
: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.17.0/docs/resources/managed_database_mysql#method ManagedDatabaseMysql#method}
|
|
2680
|
+
: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.17.0/docs/resources/managed_database_mysql#password ManagedDatabaseMysql#password}
|
|
2681
|
+
: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.17.0/docs/resources/managed_database_mysql#port ManagedDatabaseMysql#port}
|
|
2682
|
+
: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.17.0/docs/resources/managed_database_mysql#ssl ManagedDatabaseMysql#ssl}
|
|
2683
|
+
: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.17.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2636
2684
|
'''
|
|
2637
2685
|
value = ManagedDatabaseMysqlPropertiesMigration(
|
|
2638
2686
|
dbname=dbname,
|
|
@@ -3621,6 +3669,7 @@ def _typecheckingstub__958e87e9d4c67c8f4dc9a92e0864dd5ec7b73c3fe017b196cd999a20a
|
|
|
3621
3669
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseMysqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3622
3670
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3623
3671
|
properties: typing.Optional[typing.Union[ManagedDatabaseMysqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3672
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3624
3673
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3625
3674
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
3626
3675
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -3689,6 +3738,12 @@ def _typecheckingstub__beb13051c8d159249aa225bdbcf28aeb76bc85a1aae08e9c31f60dfe1
|
|
|
3689
3738
|
"""Type checking stubs"""
|
|
3690
3739
|
pass
|
|
3691
3740
|
|
|
3741
|
+
def _typecheckingstub__8c9f7e6065020fa925bf719fbd0aa777653e104f39664706dabe6a435de915cf(
|
|
3742
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
3743
|
+
) -> None:
|
|
3744
|
+
"""Type checking stubs"""
|
|
3745
|
+
pass
|
|
3746
|
+
|
|
3692
3747
|
def _typecheckingstub__7141cc36a0c3b744c0e90aacfea1d6055f2e1bb6d23321a515475bd8c72cec64(
|
|
3693
3748
|
value: builtins.str,
|
|
3694
3749
|
) -> None:
|
|
@@ -3768,6 +3823,7 @@ def _typecheckingstub__10b2894ddd0553e9581d0116772434efafda3295976e9367656213631
|
|
|
3768
3823
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseMysqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3769
3824
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3770
3825
|
properties: typing.Optional[typing.Union[ManagedDatabaseMysqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3826
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3771
3827
|
) -> None:
|
|
3772
3828
|
"""Type checking stubs"""
|
|
3773
3829
|
pass
|