cdktf-cdktf-provider-upcloud 14.14.0__py3-none-any.whl → 14.16.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 +9 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.16.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 +898 -0
- 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 +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +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 +301 -199
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +4203 -1016
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +365 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +275 -123
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +371 -50
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3203 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- 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 +196 -153
- 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.14.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.16.0.dist-info/RECORD +67 -0
- {cdktf_cdktf_provider_upcloud-14.14.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.0.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.14.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.14.0.dist-info/RECORD +0 -64
- {cdktf_cdktf_provider_upcloud-14.14.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.14.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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__:
|
|
@@ -186,6 +189,7 @@ class ManagedDatabaseMysql(
|
|
|
186
189
|
interactive_timeout: typing.Optional[jsii.Number] = None,
|
|
187
190
|
internal_tmp_mem_storage_engine: typing.Optional[builtins.str] = None,
|
|
188
191
|
ip_filter: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
192
|
+
log_output: typing.Optional[builtins.str] = None,
|
|
189
193
|
long_query_time: typing.Optional[jsii.Number] = None,
|
|
190
194
|
max_allowed_packet: typing.Optional[jsii.Number] = None,
|
|
191
195
|
max_heap_table_size: typing.Optional[jsii.Number] = None,
|
|
@@ -204,47 +208,48 @@ class ManagedDatabaseMysql(
|
|
|
204
208
|
wait_timeout: typing.Optional[jsii.Number] = None,
|
|
205
209
|
) -> None:
|
|
206
210
|
'''
|
|
207
|
-
: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.
|
|
208
|
-
: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.
|
|
209
|
-
: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.
|
|
210
|
-
: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.
|
|
211
|
-
: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.
|
|
212
|
-
: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.
|
|
213
|
-
: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.
|
|
214
|
-
: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.
|
|
215
|
-
: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.
|
|
216
|
-
: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.
|
|
217
|
-
: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.
|
|
218
|
-
: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.
|
|
219
|
-
: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.
|
|
220
|
-
: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.
|
|
221
|
-
: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.
|
|
222
|
-
: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.
|
|
223
|
-
: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.
|
|
224
|
-
: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.
|
|
225
|
-
: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.
|
|
226
|
-
: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.
|
|
227
|
-
: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.
|
|
228
|
-
: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.
|
|
229
|
-
: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.
|
|
230
|
-
: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.
|
|
231
|
-
: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.
|
|
232
|
-
:param
|
|
233
|
-
:param
|
|
234
|
-
:param
|
|
235
|
-
:param
|
|
236
|
-
:param
|
|
237
|
-
:param
|
|
238
|
-
:param
|
|
239
|
-
:param
|
|
240
|
-
:param
|
|
241
|
-
:param
|
|
242
|
-
:param
|
|
243
|
-
:param
|
|
244
|
-
:param
|
|
245
|
-
:param
|
|
246
|
-
:param
|
|
247
|
-
:param
|
|
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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
248
253
|
'''
|
|
249
254
|
value = ManagedDatabaseMysqlProperties(
|
|
250
255
|
admin_password=admin_password,
|
|
@@ -272,6 +277,7 @@ class ManagedDatabaseMysql(
|
|
|
272
277
|
interactive_timeout=interactive_timeout,
|
|
273
278
|
internal_tmp_mem_storage_engine=internal_tmp_mem_storage_engine,
|
|
274
279
|
ip_filter=ip_filter,
|
|
280
|
+
log_output=log_output,
|
|
275
281
|
long_query_time=long_query_time,
|
|
276
282
|
max_allowed_packet=max_allowed_packet,
|
|
277
283
|
max_heap_table_size=max_heap_table_size,
|
|
@@ -320,6 +326,10 @@ class ManagedDatabaseMysql(
|
|
|
320
326
|
def reset_properties(self) -> None:
|
|
321
327
|
return typing.cast(None, jsii.invoke(self, "resetProperties", []))
|
|
322
328
|
|
|
329
|
+
@jsii.member(jsii_name="resetTerminationProtection")
|
|
330
|
+
def reset_termination_protection(self) -> None:
|
|
331
|
+
return typing.cast(None, jsii.invoke(self, "resetTerminationProtection", []))
|
|
332
|
+
|
|
323
333
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
324
334
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
325
335
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -444,6 +454,13 @@ class ManagedDatabaseMysql(
|
|
|
444
454
|
def properties_input(self) -> typing.Optional["ManagedDatabaseMysqlProperties"]:
|
|
445
455
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlProperties"], jsii.get(self, "propertiesInput"))
|
|
446
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
|
+
|
|
447
464
|
@builtins.property
|
|
448
465
|
@jsii.member(jsii_name="titleInput")
|
|
449
466
|
def title_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -541,6 +558,23 @@ class ManagedDatabaseMysql(
|
|
|
541
558
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
542
559
|
jsii.set(self, "powered", value) # pyright: ignore[reportArgumentType]
|
|
543
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
|
+
|
|
544
578
|
@builtins.property
|
|
545
579
|
@jsii.member(jsii_name="title")
|
|
546
580
|
def title(self) -> builtins.str:
|
|
@@ -752,6 +786,7 @@ class ManagedDatabaseMysqlComponentsOutputReference(
|
|
|
752
786
|
"network": "network",
|
|
753
787
|
"powered": "powered",
|
|
754
788
|
"properties": "properties",
|
|
789
|
+
"termination_protection": "terminationProtection",
|
|
755
790
|
},
|
|
756
791
|
)
|
|
757
792
|
class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -776,6 +811,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
776
811
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabaseMysqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
777
812
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
778
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,
|
|
779
815
|
) -> None:
|
|
780
816
|
'''
|
|
781
817
|
:param connection:
|
|
@@ -785,17 +821,18 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
785
821
|
:param lifecycle:
|
|
786
822
|
:param provider:
|
|
787
823
|
:param provisioners:
|
|
788
|
-
: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.
|
|
789
|
-
: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.
|
|
790
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
791
|
-
: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.
|
|
792
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
793
|
-
: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.
|
|
794
|
-
: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.
|
|
795
|
-
: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.
|
|
796
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
797
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
798
|
-
: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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#termination_protection ManagedDatabaseMysql#termination_protection}
|
|
799
836
|
'''
|
|
800
837
|
if isinstance(lifecycle, dict):
|
|
801
838
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -821,6 +858,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
821
858
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
822
859
|
check_type(argname="argument powered", value=powered, expected_type=type_hints["powered"])
|
|
823
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"])
|
|
824
862
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
825
863
|
"name": name,
|
|
826
864
|
"plan": plan,
|
|
@@ -855,6 +893,8 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
855
893
|
self._values["powered"] = powered
|
|
856
894
|
if properties is not None:
|
|
857
895
|
self._values["properties"] = properties
|
|
896
|
+
if termination_protection is not None:
|
|
897
|
+
self._values["termination_protection"] = termination_protection
|
|
858
898
|
|
|
859
899
|
@builtins.property
|
|
860
900
|
def connection(
|
|
@@ -926,7 +966,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
926
966
|
|
|
927
967
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
928
968
|
|
|
929
|
-
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.16.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
930
970
|
'''
|
|
931
971
|
result = self._values.get("name")
|
|
932
972
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -938,7 +978,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
938
978
|
|
|
939
979
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
940
980
|
|
|
941
|
-
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.16.0/docs/resources/managed_database_mysql#plan ManagedDatabaseMysql#plan}
|
|
942
982
|
'''
|
|
943
983
|
result = self._values.get("plan")
|
|
944
984
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -948,7 +988,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
948
988
|
def title(self) -> builtins.str:
|
|
949
989
|
'''Title of a managed database instance.
|
|
950
990
|
|
|
951
|
-
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.16.0/docs/resources/managed_database_mysql#title ManagedDatabaseMysql#title}
|
|
952
992
|
'''
|
|
953
993
|
result = self._values.get("title")
|
|
954
994
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -958,7 +998,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
958
998
|
def zone(self) -> builtins.str:
|
|
959
999
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
960
1000
|
|
|
961
|
-
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.16.0/docs/resources/managed_database_mysql#zone ManagedDatabaseMysql#zone}
|
|
962
1002
|
'''
|
|
963
1003
|
result = self._values.get("zone")
|
|
964
1004
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -966,7 +1006,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
966
1006
|
|
|
967
1007
|
@builtins.property
|
|
968
1008
|
def id(self) -> typing.Optional[builtins.str]:
|
|
969
|
-
'''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.16.0/docs/resources/managed_database_mysql#id ManagedDatabaseMysql#id}.
|
|
970
1010
|
|
|
971
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.
|
|
972
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.
|
|
@@ -978,7 +1018,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
978
1018
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
979
1019
|
'''User defined key-value pairs to classify the managed database.
|
|
980
1020
|
|
|
981
|
-
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.16.0/docs/resources/managed_database_mysql#labels ManagedDatabaseMysql#labels}
|
|
982
1022
|
'''
|
|
983
1023
|
result = self._values.get("labels")
|
|
984
1024
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -987,7 +1027,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
987
1027
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
988
1028
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
989
1029
|
|
|
990
|
-
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.16.0/docs/resources/managed_database_mysql#maintenance_window_dow ManagedDatabaseMysql#maintenance_window_dow}
|
|
991
1031
|
'''
|
|
992
1032
|
result = self._values.get("maintenance_window_dow")
|
|
993
1033
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -996,7 +1036,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
996
1036
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
997
1037
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
998
1038
|
|
|
999
|
-
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.16.0/docs/resources/managed_database_mysql#maintenance_window_time ManagedDatabaseMysql#maintenance_window_time}
|
|
1000
1040
|
'''
|
|
1001
1041
|
result = self._values.get("maintenance_window_time")
|
|
1002
1042
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1007,7 +1047,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1007
1047
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseMysqlNetwork"]]]:
|
|
1008
1048
|
'''network block.
|
|
1009
1049
|
|
|
1010
|
-
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.16.0/docs/resources/managed_database_mysql#network ManagedDatabaseMysql#network}
|
|
1011
1051
|
'''
|
|
1012
1052
|
result = self._values.get("network")
|
|
1013
1053
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabaseMysqlNetwork"]]], result)
|
|
@@ -1018,7 +1058,7 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1018
1058
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1019
1059
|
'''The administrative power state of the service.
|
|
1020
1060
|
|
|
1021
|
-
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.16.0/docs/resources/managed_database_mysql#powered ManagedDatabaseMysql#powered}
|
|
1022
1062
|
'''
|
|
1023
1063
|
result = self._values.get("powered")
|
|
1024
1064
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1027,11 +1067,22 @@ class ManagedDatabaseMysqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1027
1067
|
def properties(self) -> typing.Optional["ManagedDatabaseMysqlProperties"]:
|
|
1028
1068
|
'''properties block.
|
|
1029
1069
|
|
|
1030
|
-
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.16.0/docs/resources/managed_database_mysql#properties ManagedDatabaseMysql#properties}
|
|
1031
1071
|
'''
|
|
1032
1072
|
result = self._values.get("properties")
|
|
1033
1073
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlProperties"], result)
|
|
1034
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.16.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
|
+
|
|
1035
1086
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1036
1087
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1037
1088
|
|
|
@@ -1059,10 +1110,10 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1059
1110
|
uuid: builtins.str,
|
|
1060
1111
|
) -> None:
|
|
1061
1112
|
'''
|
|
1062
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1063
|
-
: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.
|
|
1064
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1065
|
-
: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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#uuid ManagedDatabaseMysql#uuid}
|
|
1066
1117
|
'''
|
|
1067
1118
|
if __debug__:
|
|
1068
1119
|
type_hints = typing.get_type_hints(_typecheckingstub__74301fe81253b8784b9afba8d3a1dda97ee52965714102f2fb71f3cda82c72d9)
|
|
@@ -1081,7 +1132,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1081
1132
|
def family(self) -> builtins.str:
|
|
1082
1133
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1083
1134
|
|
|
1084
|
-
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.16.0/docs/resources/managed_database_mysql#family ManagedDatabaseMysql#family}
|
|
1085
1136
|
'''
|
|
1086
1137
|
result = self._values.get("family")
|
|
1087
1138
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1091,7 +1142,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1091
1142
|
def name(self) -> builtins.str:
|
|
1092
1143
|
'''The name of the network. Must be unique within the service.
|
|
1093
1144
|
|
|
1094
|
-
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.16.0/docs/resources/managed_database_mysql#name ManagedDatabaseMysql#name}
|
|
1095
1146
|
'''
|
|
1096
1147
|
result = self._values.get("name")
|
|
1097
1148
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1101,7 +1152,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1101
1152
|
def type(self) -> builtins.str:
|
|
1102
1153
|
'''The type of the network. Must be private.
|
|
1103
1154
|
|
|
1104
|
-
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.16.0/docs/resources/managed_database_mysql#type ManagedDatabaseMysql#type}
|
|
1105
1156
|
'''
|
|
1106
1157
|
result = self._values.get("type")
|
|
1107
1158
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1111,7 +1162,7 @@ class ManagedDatabaseMysqlNetwork:
|
|
|
1111
1162
|
def uuid(self) -> builtins.str:
|
|
1112
1163
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1113
1164
|
|
|
1114
|
-
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.16.0/docs/resources/managed_database_mysql#uuid ManagedDatabaseMysql#uuid}
|
|
1115
1166
|
'''
|
|
1116
1167
|
result = self._values.get("uuid")
|
|
1117
1168
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1514,6 +1565,7 @@ class ManagedDatabaseMysqlNodeStatesOutputReference(
|
|
|
1514
1565
|
"interactive_timeout": "interactiveTimeout",
|
|
1515
1566
|
"internal_tmp_mem_storage_engine": "internalTmpMemStorageEngine",
|
|
1516
1567
|
"ip_filter": "ipFilter",
|
|
1568
|
+
"log_output": "logOutput",
|
|
1517
1569
|
"long_query_time": "longQueryTime",
|
|
1518
1570
|
"max_allowed_packet": "maxAllowedPacket",
|
|
1519
1571
|
"max_heap_table_size": "maxHeapTableSize",
|
|
@@ -1561,6 +1613,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1561
1613
|
interactive_timeout: typing.Optional[jsii.Number] = None,
|
|
1562
1614
|
internal_tmp_mem_storage_engine: typing.Optional[builtins.str] = None,
|
|
1563
1615
|
ip_filter: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1616
|
+
log_output: typing.Optional[builtins.str] = None,
|
|
1564
1617
|
long_query_time: typing.Optional[jsii.Number] = None,
|
|
1565
1618
|
max_allowed_packet: typing.Optional[jsii.Number] = None,
|
|
1566
1619
|
max_heap_table_size: typing.Optional[jsii.Number] = None,
|
|
@@ -1579,47 +1632,48 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1579
1632
|
wait_timeout: typing.Optional[jsii.Number] = None,
|
|
1580
1633
|
) -> None:
|
|
1581
1634
|
'''
|
|
1582
|
-
: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.
|
|
1583
|
-
: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.
|
|
1584
|
-
: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.
|
|
1585
|
-
: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.
|
|
1586
|
-
: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.
|
|
1587
|
-
: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.
|
|
1588
|
-
: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.
|
|
1589
|
-
: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.
|
|
1590
|
-
: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.
|
|
1591
|
-
: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.
|
|
1592
|
-
: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.
|
|
1593
|
-
: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.
|
|
1594
|
-
: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.
|
|
1595
|
-
: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.
|
|
1596
|
-
: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.
|
|
1597
|
-
: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.
|
|
1598
|
-
: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.
|
|
1599
|
-
: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.
|
|
1600
|
-
: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.
|
|
1601
|
-
: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.
|
|
1602
|
-
: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.
|
|
1603
|
-
: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.
|
|
1604
|
-
: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.
|
|
1605
|
-
: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.
|
|
1606
|
-
: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.
|
|
1607
|
-
:param
|
|
1608
|
-
:param
|
|
1609
|
-
:param
|
|
1610
|
-
:param
|
|
1611
|
-
:param
|
|
1612
|
-
:param
|
|
1613
|
-
:param
|
|
1614
|
-
:param
|
|
1615
|
-
:param
|
|
1616
|
-
:param
|
|
1617
|
-
:param
|
|
1618
|
-
:param
|
|
1619
|
-
:param
|
|
1620
|
-
:param
|
|
1621
|
-
:param
|
|
1622
|
-
:param
|
|
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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
1623
1677
|
'''
|
|
1624
1678
|
if isinstance(migration, dict):
|
|
1625
1679
|
migration = ManagedDatabaseMysqlPropertiesMigration(**migration)
|
|
@@ -1650,6 +1704,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1650
1704
|
check_type(argname="argument interactive_timeout", value=interactive_timeout, expected_type=type_hints["interactive_timeout"])
|
|
1651
1705
|
check_type(argname="argument internal_tmp_mem_storage_engine", value=internal_tmp_mem_storage_engine, expected_type=type_hints["internal_tmp_mem_storage_engine"])
|
|
1652
1706
|
check_type(argname="argument ip_filter", value=ip_filter, expected_type=type_hints["ip_filter"])
|
|
1707
|
+
check_type(argname="argument log_output", value=log_output, expected_type=type_hints["log_output"])
|
|
1653
1708
|
check_type(argname="argument long_query_time", value=long_query_time, expected_type=type_hints["long_query_time"])
|
|
1654
1709
|
check_type(argname="argument max_allowed_packet", value=max_allowed_packet, expected_type=type_hints["max_allowed_packet"])
|
|
1655
1710
|
check_type(argname="argument max_heap_table_size", value=max_heap_table_size, expected_type=type_hints["max_heap_table_size"])
|
|
@@ -1717,6 +1772,8 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1717
1772
|
self._values["internal_tmp_mem_storage_engine"] = internal_tmp_mem_storage_engine
|
|
1718
1773
|
if ip_filter is not None:
|
|
1719
1774
|
self._values["ip_filter"] = ip_filter
|
|
1775
|
+
if log_output is not None:
|
|
1776
|
+
self._values["log_output"] = log_output
|
|
1720
1777
|
if long_query_time is not None:
|
|
1721
1778
|
self._values["long_query_time"] = long_query_time
|
|
1722
1779
|
if max_allowed_packet is not None:
|
|
@@ -1756,7 +1813,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1756
1813
|
|
|
1757
1814
|
Defaults to random string. This must be set only when a new service is being created.
|
|
1758
1815
|
|
|
1759
|
-
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.16.0/docs/resources/managed_database_mysql#admin_password ManagedDatabaseMysql#admin_password}
|
|
1760
1817
|
'''
|
|
1761
1818
|
result = self._values.get("admin_password")
|
|
1762
1819
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1765,7 +1822,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1765
1822
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
1766
1823
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
1767
1824
|
|
|
1768
|
-
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.16.0/docs/resources/managed_database_mysql#admin_username ManagedDatabaseMysql#admin_username}
|
|
1769
1826
|
'''
|
|
1770
1827
|
result = self._values.get("admin_username")
|
|
1771
1828
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1776,7 +1833,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1776
1833
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1777
1834
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
1778
1835
|
|
|
1779
|
-
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.16.0/docs/resources/managed_database_mysql#automatic_utility_network_ip_filter ManagedDatabaseMysql#automatic_utility_network_ip_filter}
|
|
1780
1837
|
'''
|
|
1781
1838
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
1782
1839
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1787,7 +1844,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1787
1844
|
|
|
1788
1845
|
New backup is only started if previous backup has already completed.
|
|
1789
1846
|
|
|
1790
|
-
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.16.0/docs/resources/managed_database_mysql#backup_hour ManagedDatabaseMysql#backup_hour}
|
|
1791
1848
|
'''
|
|
1792
1849
|
result = self._values.get("backup_hour")
|
|
1793
1850
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1798,7 +1855,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1798
1855
|
|
|
1799
1856
|
New backup is only started if previous backup has already completed.
|
|
1800
1857
|
|
|
1801
|
-
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.16.0/docs/resources/managed_database_mysql#backup_minute ManagedDatabaseMysql#backup_minute}
|
|
1802
1859
|
'''
|
|
1803
1860
|
result = self._values.get("backup_minute")
|
|
1804
1861
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1809,7 +1866,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1809
1866
|
|
|
1810
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.
|
|
1811
1868
|
|
|
1812
|
-
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.16.0/docs/resources/managed_database_mysql#binlog_retention_period ManagedDatabaseMysql#binlog_retention_period}
|
|
1813
1870
|
'''
|
|
1814
1871
|
result = self._values.get("binlog_retention_period")
|
|
1815
1872
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1818,7 +1875,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1818
1875
|
def connect_timeout(self) -> typing.Optional[jsii.Number]:
|
|
1819
1876
|
'''The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
|
|
1820
1877
|
|
|
1821
|
-
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.16.0/docs/resources/managed_database_mysql#connect_timeout ManagedDatabaseMysql#connect_timeout}
|
|
1822
1879
|
'''
|
|
1823
1880
|
result = self._values.get("connect_timeout")
|
|
1824
1881
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1827,7 +1884,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1827
1884
|
def default_time_zone(self) -> typing.Optional[builtins.str]:
|
|
1828
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.
|
|
1829
1886
|
|
|
1830
|
-
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.16.0/docs/resources/managed_database_mysql#default_time_zone ManagedDatabaseMysql#default_time_zone}
|
|
1831
1888
|
'''
|
|
1832
1889
|
result = self._values.get("default_time_zone")
|
|
1833
1890
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1836,7 +1893,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1836
1893
|
def group_concat_max_len(self) -> typing.Optional[jsii.Number]:
|
|
1837
1894
|
'''The maximum permitted result length in bytes for the GROUP_CONCAT() function.
|
|
1838
1895
|
|
|
1839
|
-
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.16.0/docs/resources/managed_database_mysql#group_concat_max_len ManagedDatabaseMysql#group_concat_max_len}
|
|
1840
1897
|
'''
|
|
1841
1898
|
result = self._values.get("group_concat_max_len")
|
|
1842
1899
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1845,7 +1902,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1845
1902
|
def information_schema_stats_expiry(self) -> typing.Optional[jsii.Number]:
|
|
1846
1903
|
'''The time, in seconds, before cached statistics expire.
|
|
1847
1904
|
|
|
1848
|
-
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.16.0/docs/resources/managed_database_mysql#information_schema_stats_expiry ManagedDatabaseMysql#information_schema_stats_expiry}
|
|
1849
1906
|
'''
|
|
1850
1907
|
result = self._values.get("information_schema_stats_expiry")
|
|
1851
1908
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1856,7 +1913,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1856
1913
|
|
|
1857
1914
|
Default is 25.
|
|
1858
1915
|
|
|
1859
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_change_buffer_max_size ManagedDatabaseMysql#innodb_change_buffer_max_size}
|
|
1860
1917
|
'''
|
|
1861
1918
|
result = self._values.get("innodb_change_buffer_max_size")
|
|
1862
1919
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1865,7 +1922,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1865
1922
|
def innodb_flush_neighbors(self) -> typing.Optional[jsii.Number]:
|
|
1866
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.
|
|
1867
1924
|
|
|
1868
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_flush_neighbors ManagedDatabaseMysql#innodb_flush_neighbors}
|
|
1869
1926
|
'''
|
|
1870
1927
|
result = self._values.get("innodb_flush_neighbors")
|
|
1871
1928
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1876,7 +1933,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1876
1933
|
|
|
1877
1934
|
Changing this parameter will lead to a restart of the MySQL service.
|
|
1878
1935
|
|
|
1879
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_ft_min_token_size ManagedDatabaseMysql#innodb_ft_min_token_size}
|
|
1880
1937
|
'''
|
|
1881
1938
|
result = self._values.get("innodb_ft_min_token_size")
|
|
1882
1939
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1885,7 +1942,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1885
1942
|
def innodb_ft_server_stopword_table(self) -> typing.Optional[builtins.str]:
|
|
1886
1943
|
'''This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1887
1944
|
|
|
1888
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_ft_server_stopword_table ManagedDatabaseMysql#innodb_ft_server_stopword_table}
|
|
1889
1946
|
'''
|
|
1890
1947
|
result = self._values.get("innodb_ft_server_stopword_table")
|
|
1891
1948
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1896,7 +1953,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1896
1953
|
|
|
1897
1954
|
Default is 120.
|
|
1898
1955
|
|
|
1899
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_lock_wait_timeout ManagedDatabaseMysql#innodb_lock_wait_timeout}
|
|
1900
1957
|
'''
|
|
1901
1958
|
result = self._values.get("innodb_lock_wait_timeout")
|
|
1902
1959
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1905,7 +1962,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1905
1962
|
def innodb_log_buffer_size(self) -> typing.Optional[jsii.Number]:
|
|
1906
1963
|
'''The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
|
|
1907
1964
|
|
|
1908
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_log_buffer_size ManagedDatabaseMysql#innodb_log_buffer_size}
|
|
1909
1966
|
'''
|
|
1910
1967
|
result = self._values.get("innodb_log_buffer_size")
|
|
1911
1968
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1914,7 +1971,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1914
1971
|
def innodb_online_alter_log_max_size(self) -> typing.Optional[jsii.Number]:
|
|
1915
1972
|
'''The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1916
1973
|
|
|
1917
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_online_alter_log_max_size ManagedDatabaseMysql#innodb_online_alter_log_max_size}
|
|
1918
1975
|
'''
|
|
1919
1976
|
result = self._values.get("innodb_online_alter_log_max_size")
|
|
1920
1977
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1925,7 +1982,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1925
1982
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1926
1983
|
'''When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.
|
|
1927
1984
|
|
|
1928
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_print_all_deadlocks ManagedDatabaseMysql#innodb_print_all_deadlocks}
|
|
1929
1986
|
'''
|
|
1930
1987
|
result = self._values.get("innodb_print_all_deadlocks")
|
|
1931
1988
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1936,7 +1993,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1936
1993
|
|
|
1937
1994
|
Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1938
1995
|
|
|
1939
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_read_io_threads ManagedDatabaseMysql#innodb_read_io_threads}
|
|
1940
1997
|
'''
|
|
1941
1998
|
result = self._values.get("innodb_read_io_threads")
|
|
1942
1999
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1949,7 +2006,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1949
2006
|
|
|
1950
2007
|
Changing this parameter will lead to a restart of the MySQL service.
|
|
1951
2008
|
|
|
1952
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_rollback_on_timeout ManagedDatabaseMysql#innodb_rollback_on_timeout}
|
|
1953
2010
|
'''
|
|
1954
2011
|
result = self._values.get("innodb_rollback_on_timeout")
|
|
1955
2012
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1958,7 +2015,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1958
2015
|
def innodb_thread_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
1959
2016
|
'''Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit).
|
|
1960
2017
|
|
|
1961
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_thread_concurrency ManagedDatabaseMysql#innodb_thread_concurrency}
|
|
1962
2019
|
'''
|
|
1963
2020
|
result = self._values.get("innodb_thread_concurrency")
|
|
1964
2021
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1969,7 +2026,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1969
2026
|
|
|
1970
2027
|
Default is 4. Changing this parameter will lead to a restart of the MySQL service.
|
|
1971
2028
|
|
|
1972
|
-
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.16.0/docs/resources/managed_database_mysql#innodb_write_io_threads ManagedDatabaseMysql#innodb_write_io_threads}
|
|
1973
2030
|
'''
|
|
1974
2031
|
result = self._values.get("innodb_write_io_threads")
|
|
1975
2032
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1978,7 +2035,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1978
2035
|
def interactive_timeout(self) -> typing.Optional[jsii.Number]:
|
|
1979
2036
|
'''The number of seconds the server waits for activity on an interactive connection before closing it.
|
|
1980
2037
|
|
|
1981
|
-
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.16.0/docs/resources/managed_database_mysql#interactive_timeout ManagedDatabaseMysql#interactive_timeout}
|
|
1982
2039
|
'''
|
|
1983
2040
|
result = self._values.get("interactive_timeout")
|
|
1984
2041
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -1987,7 +2044,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1987
2044
|
def internal_tmp_mem_storage_engine(self) -> typing.Optional[builtins.str]:
|
|
1988
2045
|
'''The storage engine for in-memory internal temporary tables.
|
|
1989
2046
|
|
|
1990
|
-
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.16.0/docs/resources/managed_database_mysql#internal_tmp_mem_storage_engine ManagedDatabaseMysql#internal_tmp_mem_storage_engine}
|
|
1991
2048
|
'''
|
|
1992
2049
|
result = self._values.get("internal_tmp_mem_storage_engine")
|
|
1993
2050
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1996,16 +2053,27 @@ class ManagedDatabaseMysqlProperties:
|
|
|
1996
2053
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1997
2054
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
1998
2055
|
|
|
1999
|
-
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.16.0/docs/resources/managed_database_mysql#ip_filter ManagedDatabaseMysql#ip_filter}
|
|
2000
2057
|
'''
|
|
2001
2058
|
result = self._values.get("ip_filter")
|
|
2002
2059
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2003
2060
|
|
|
2061
|
+
@builtins.property
|
|
2062
|
+
def log_output(self) -> typing.Optional[builtins.str]:
|
|
2063
|
+
'''The slow log output destination when slow_query_log is ON.
|
|
2064
|
+
|
|
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.
|
|
2066
|
+
|
|
2067
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_mysql#log_output ManagedDatabaseMysql#log_output}
|
|
2068
|
+
'''
|
|
2069
|
+
result = self._values.get("log_output")
|
|
2070
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2071
|
+
|
|
2004
2072
|
@builtins.property
|
|
2005
2073
|
def long_query_time(self) -> typing.Optional[jsii.Number]:
|
|
2006
|
-
'''The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute.
|
|
2074
|
+
'''The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute.
|
|
2007
2075
|
|
|
2008
|
-
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.16.0/docs/resources/managed_database_mysql#long_query_time ManagedDatabaseMysql#long_query_time}
|
|
2009
2077
|
'''
|
|
2010
2078
|
result = self._values.get("long_query_time")
|
|
2011
2079
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2014,7 +2082,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2014
2082
|
def max_allowed_packet(self) -> typing.Optional[jsii.Number]:
|
|
2015
2083
|
'''Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M).
|
|
2016
2084
|
|
|
2017
|
-
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.16.0/docs/resources/managed_database_mysql#max_allowed_packet ManagedDatabaseMysql#max_allowed_packet}
|
|
2018
2086
|
'''
|
|
2019
2087
|
result = self._values.get("max_allowed_packet")
|
|
2020
2088
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2023,7 +2091,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2023
2091
|
def max_heap_table_size(self) -> typing.Optional[jsii.Number]:
|
|
2024
2092
|
'''Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M).
|
|
2025
2093
|
|
|
2026
|
-
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.16.0/docs/resources/managed_database_mysql#max_heap_table_size ManagedDatabaseMysql#max_heap_table_size}
|
|
2027
2095
|
'''
|
|
2028
2096
|
result = self._values.get("max_heap_table_size")
|
|
2029
2097
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2032,7 +2100,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2032
2100
|
def migration(self) -> typing.Optional["ManagedDatabaseMysqlPropertiesMigration"]:
|
|
2033
2101
|
'''migration block.
|
|
2034
2102
|
|
|
2035
|
-
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.16.0/docs/resources/managed_database_mysql#migration ManagedDatabaseMysql#migration}
|
|
2036
2104
|
'''
|
|
2037
2105
|
result = self._values.get("migration")
|
|
2038
2106
|
return typing.cast(typing.Optional["ManagedDatabaseMysqlPropertiesMigration"], result)
|
|
@@ -2043,7 +2111,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2043
2111
|
|
|
2044
2112
|
Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.
|
|
2045
2113
|
|
|
2046
|
-
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.16.0/docs/resources/managed_database_mysql#net_buffer_length ManagedDatabaseMysql#net_buffer_length}
|
|
2047
2115
|
'''
|
|
2048
2116
|
result = self._values.get("net_buffer_length")
|
|
2049
2117
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2052,7 +2120,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2052
2120
|
def net_read_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2053
2121
|
'''The number of seconds to wait for more data from a connection before aborting the read.
|
|
2054
2122
|
|
|
2055
|
-
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.16.0/docs/resources/managed_database_mysql#net_read_timeout ManagedDatabaseMysql#net_read_timeout}
|
|
2056
2124
|
'''
|
|
2057
2125
|
result = self._values.get("net_read_timeout")
|
|
2058
2126
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2061,7 +2129,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2061
2129
|
def net_write_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2062
2130
|
'''The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
2063
2131
|
|
|
2064
|
-
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.16.0/docs/resources/managed_database_mysql#net_write_timeout ManagedDatabaseMysql#net_write_timeout}
|
|
2065
2133
|
'''
|
|
2066
2134
|
result = self._values.get("net_write_timeout")
|
|
2067
2135
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2072,7 +2140,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2072
2140
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2073
2141
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2074
2142
|
|
|
2075
|
-
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.16.0/docs/resources/managed_database_mysql#public_access ManagedDatabaseMysql#public_access}
|
|
2076
2144
|
'''
|
|
2077
2145
|
result = self._values.get("public_access")
|
|
2078
2146
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2083,7 +2151,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2083
2151
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2084
2152
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2085
2153
|
|
|
2086
|
-
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.16.0/docs/resources/managed_database_mysql#service_log ManagedDatabaseMysql#service_log}
|
|
2087
2155
|
'''
|
|
2088
2156
|
result = self._values.get("service_log")
|
|
2089
2157
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2092,11 +2160,9 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2092
2160
|
def slow_query_log(
|
|
2093
2161
|
self,
|
|
2094
2162
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2095
|
-
'''Slow query log enables capturing of slow queries.
|
|
2096
|
-
|
|
2097
|
-
Setting slow_query_log to false also truncates the mysql.slow_log table. Default is off.
|
|
2163
|
+
'''Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table.
|
|
2098
2164
|
|
|
2099
|
-
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.16.0/docs/resources/managed_database_mysql#slow_query_log ManagedDatabaseMysql#slow_query_log}
|
|
2100
2166
|
'''
|
|
2101
2167
|
result = self._values.get("slow_query_log")
|
|
2102
2168
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2105,7 +2171,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2105
2171
|
def sort_buffer_size(self) -> typing.Optional[jsii.Number]:
|
|
2106
2172
|
'''Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K).
|
|
2107
2173
|
|
|
2108
|
-
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.16.0/docs/resources/managed_database_mysql#sort_buffer_size ManagedDatabaseMysql#sort_buffer_size}
|
|
2109
2175
|
'''
|
|
2110
2176
|
result = self._values.get("sort_buffer_size")
|
|
2111
2177
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2116,7 +2182,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2116
2182
|
|
|
2117
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.
|
|
2118
2184
|
|
|
2119
|
-
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.16.0/docs/resources/managed_database_mysql#sql_mode ManagedDatabaseMysql#sql_mode}
|
|
2120
2186
|
'''
|
|
2121
2187
|
result = self._values.get("sql_mode")
|
|
2122
2188
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2129,7 +2195,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2129
2195
|
|
|
2130
2196
|
It is recommended to always have primary keys because various functionality may break if any large table is missing them.
|
|
2131
2197
|
|
|
2132
|
-
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.16.0/docs/resources/managed_database_mysql#sql_require_primary_key ManagedDatabaseMysql#sql_require_primary_key}
|
|
2133
2199
|
'''
|
|
2134
2200
|
result = self._values.get("sql_require_primary_key")
|
|
2135
2201
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2138,7 +2204,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2138
2204
|
def tmp_table_size(self) -> typing.Optional[jsii.Number]:
|
|
2139
2205
|
'''Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
|
|
2140
2206
|
|
|
2141
|
-
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.16.0/docs/resources/managed_database_mysql#tmp_table_size ManagedDatabaseMysql#tmp_table_size}
|
|
2142
2208
|
'''
|
|
2143
2209
|
result = self._values.get("tmp_table_size")
|
|
2144
2210
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2147,7 +2213,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2147
2213
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2148
2214
|
'''MySQL major version.
|
|
2149
2215
|
|
|
2150
|
-
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.16.0/docs/resources/managed_database_mysql#version ManagedDatabaseMysql#version}
|
|
2151
2217
|
'''
|
|
2152
2218
|
result = self._values.get("version")
|
|
2153
2219
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2156,7 +2222,7 @@ class ManagedDatabaseMysqlProperties:
|
|
|
2156
2222
|
def wait_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2157
2223
|
'''The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
2158
2224
|
|
|
2159
|
-
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.16.0/docs/resources/managed_database_mysql#wait_timeout ManagedDatabaseMysql#wait_timeout}
|
|
2160
2226
|
'''
|
|
2161
2227
|
result = self._values.get("wait_timeout")
|
|
2162
2228
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2203,15 +2269,15 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2203
2269
|
username: typing.Optional[builtins.str] = None,
|
|
2204
2270
|
) -> None:
|
|
2205
2271
|
'''
|
|
2206
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2207
|
-
: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.
|
|
2208
|
-
: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.
|
|
2209
|
-
: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.
|
|
2210
|
-
: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.
|
|
2211
|
-
: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.
|
|
2212
|
-
: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.
|
|
2213
|
-
: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.
|
|
2214
|
-
: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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2215
2281
|
'''
|
|
2216
2282
|
if __debug__:
|
|
2217
2283
|
type_hints = typing.get_type_hints(_typecheckingstub__ee5a974af6d286f0c9f5d3877bba799be0317b62fea7a2094229566a454f29ae)
|
|
@@ -2248,7 +2314,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2248
2314
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2249
2315
|
'''Database name for bootstrapping the initial connection.
|
|
2250
2316
|
|
|
2251
|
-
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.16.0/docs/resources/managed_database_mysql#dbname ManagedDatabaseMysql#dbname}
|
|
2252
2318
|
'''
|
|
2253
2319
|
result = self._values.get("dbname")
|
|
2254
2320
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2257,7 +2323,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2257
2323
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2258
2324
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2259
2325
|
|
|
2260
|
-
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.16.0/docs/resources/managed_database_mysql#host ManagedDatabaseMysql#host}
|
|
2261
2327
|
'''
|
|
2262
2328
|
result = self._values.get("host")
|
|
2263
2329
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2266,7 +2332,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2266
2332
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2267
2333
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2268
2334
|
|
|
2269
|
-
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.16.0/docs/resources/managed_database_mysql#ignore_dbs ManagedDatabaseMysql#ignore_dbs}
|
|
2270
2336
|
'''
|
|
2271
2337
|
result = self._values.get("ignore_dbs")
|
|
2272
2338
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2275,7 +2341,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2275
2341
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2276
2342
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2277
2343
|
|
|
2278
|
-
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.16.0/docs/resources/managed_database_mysql#ignore_roles ManagedDatabaseMysql#ignore_roles}
|
|
2279
2345
|
'''
|
|
2280
2346
|
result = self._values.get("ignore_roles")
|
|
2281
2347
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2284,7 +2350,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2284
2350
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2285
2351
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2286
2352
|
|
|
2287
|
-
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.16.0/docs/resources/managed_database_mysql#method ManagedDatabaseMysql#method}
|
|
2288
2354
|
'''
|
|
2289
2355
|
result = self._values.get("method")
|
|
2290
2356
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2293,7 +2359,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2293
2359
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2294
2360
|
'''Password for authentication with the server where to migrate data from.
|
|
2295
2361
|
|
|
2296
|
-
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.16.0/docs/resources/managed_database_mysql#password ManagedDatabaseMysql#password}
|
|
2297
2363
|
'''
|
|
2298
2364
|
result = self._values.get("password")
|
|
2299
2365
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2302,7 +2368,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2302
2368
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2303
2369
|
'''Port number of the server where to migrate data from.
|
|
2304
2370
|
|
|
2305
|
-
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.16.0/docs/resources/managed_database_mysql#port ManagedDatabaseMysql#port}
|
|
2306
2372
|
'''
|
|
2307
2373
|
result = self._values.get("port")
|
|
2308
2374
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2313,7 +2379,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2313
2379
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2314
2380
|
'''The server where to migrate data from is secured with SSL.
|
|
2315
2381
|
|
|
2316
|
-
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.16.0/docs/resources/managed_database_mysql#ssl ManagedDatabaseMysql#ssl}
|
|
2317
2383
|
'''
|
|
2318
2384
|
result = self._values.get("ssl")
|
|
2319
2385
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2322,7 +2388,7 @@ class ManagedDatabaseMysqlPropertiesMigration:
|
|
|
2322
2388
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2323
2389
|
'''User name for authentication with the server where to migrate data from.
|
|
2324
2390
|
|
|
2325
|
-
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.16.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2326
2392
|
'''
|
|
2327
2393
|
result = self._values.get("username")
|
|
2328
2394
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2606,15 +2672,15 @@ class ManagedDatabaseMysqlPropertiesOutputReference(
|
|
|
2606
2672
|
username: typing.Optional[builtins.str] = None,
|
|
2607
2673
|
) -> None:
|
|
2608
2674
|
'''
|
|
2609
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2610
|
-
: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.
|
|
2611
|
-
: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.
|
|
2612
|
-
: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.
|
|
2613
|
-
: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.
|
|
2614
|
-
: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.
|
|
2615
|
-
: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.
|
|
2616
|
-
: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.
|
|
2617
|
-
: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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.0/docs/resources/managed_database_mysql#username ManagedDatabaseMysql#username}
|
|
2618
2684
|
'''
|
|
2619
2685
|
value = ManagedDatabaseMysqlPropertiesMigration(
|
|
2620
2686
|
dbname=dbname,
|
|
@@ -2730,6 +2796,10 @@ class ManagedDatabaseMysqlPropertiesOutputReference(
|
|
|
2730
2796
|
def reset_ip_filter(self) -> None:
|
|
2731
2797
|
return typing.cast(None, jsii.invoke(self, "resetIpFilter", []))
|
|
2732
2798
|
|
|
2799
|
+
@jsii.member(jsii_name="resetLogOutput")
|
|
2800
|
+
def reset_log_output(self) -> None:
|
|
2801
|
+
return typing.cast(None, jsii.invoke(self, "resetLogOutput", []))
|
|
2802
|
+
|
|
2733
2803
|
@jsii.member(jsii_name="resetLongQueryTime")
|
|
2734
2804
|
def reset_long_query_time(self) -> None:
|
|
2735
2805
|
return typing.cast(None, jsii.invoke(self, "resetLongQueryTime", []))
|
|
@@ -2930,6 +3000,11 @@ class ManagedDatabaseMysqlPropertiesOutputReference(
|
|
|
2930
3000
|
def ip_filter_input(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2931
3001
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "ipFilterInput"))
|
|
2932
3002
|
|
|
3003
|
+
@builtins.property
|
|
3004
|
+
@jsii.member(jsii_name="logOutputInput")
|
|
3005
|
+
def log_output_input(self) -> typing.Optional[builtins.str]:
|
|
3006
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "logOutputInput"))
|
|
3007
|
+
|
|
2933
3008
|
@builtins.property
|
|
2934
3009
|
@jsii.member(jsii_name="longQueryTimeInput")
|
|
2935
3010
|
def long_query_time_input(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3335,6 +3410,18 @@ class ManagedDatabaseMysqlPropertiesOutputReference(
|
|
|
3335
3410
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3336
3411
|
jsii.set(self, "ipFilter", value) # pyright: ignore[reportArgumentType]
|
|
3337
3412
|
|
|
3413
|
+
@builtins.property
|
|
3414
|
+
@jsii.member(jsii_name="logOutput")
|
|
3415
|
+
def log_output(self) -> builtins.str:
|
|
3416
|
+
return typing.cast(builtins.str, jsii.get(self, "logOutput"))
|
|
3417
|
+
|
|
3418
|
+
@log_output.setter
|
|
3419
|
+
def log_output(self, value: builtins.str) -> None:
|
|
3420
|
+
if __debug__:
|
|
3421
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cd74b822d5bffe20b4e08b8e008bdf292388bf335c14fe7d958a38c2866e0189)
|
|
3422
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3423
|
+
jsii.set(self, "logOutput", value) # pyright: ignore[reportArgumentType]
|
|
3424
|
+
|
|
3338
3425
|
@builtins.property
|
|
3339
3426
|
@jsii.member(jsii_name="longQueryTime")
|
|
3340
3427
|
def long_query_time(self) -> jsii.Number:
|
|
@@ -3582,6 +3669,7 @@ def _typecheckingstub__958e87e9d4c67c8f4dc9a92e0864dd5ec7b73c3fe017b196cd999a20a
|
|
|
3582
3669
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseMysqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3583
3670
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3584
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,
|
|
3585
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,
|
|
3586
3674
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
3587
3675
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -3650,6 +3738,12 @@ def _typecheckingstub__beb13051c8d159249aa225bdbcf28aeb76bc85a1aae08e9c31f60dfe1
|
|
|
3650
3738
|
"""Type checking stubs"""
|
|
3651
3739
|
pass
|
|
3652
3740
|
|
|
3741
|
+
def _typecheckingstub__8c9f7e6065020fa925bf719fbd0aa777653e104f39664706dabe6a435de915cf(
|
|
3742
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
3743
|
+
) -> None:
|
|
3744
|
+
"""Type checking stubs"""
|
|
3745
|
+
pass
|
|
3746
|
+
|
|
3653
3747
|
def _typecheckingstub__7141cc36a0c3b744c0e90aacfea1d6055f2e1bb6d23321a515475bd8c72cec64(
|
|
3654
3748
|
value: builtins.str,
|
|
3655
3749
|
) -> None:
|
|
@@ -3729,6 +3823,7 @@ def _typecheckingstub__10b2894ddd0553e9581d0116772434efafda3295976e9367656213631
|
|
|
3729
3823
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabaseMysqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
3730
3824
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3731
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,
|
|
3732
3827
|
) -> None:
|
|
3733
3828
|
"""Type checking stubs"""
|
|
3734
3829
|
pass
|
|
@@ -3894,6 +3989,7 @@ def _typecheckingstub__ce2580325d4e3944249fb431ec4736f99b4a41b6ee968fc06ae03aecf
|
|
|
3894
3989
|
interactive_timeout: typing.Optional[jsii.Number] = None,
|
|
3895
3990
|
internal_tmp_mem_storage_engine: typing.Optional[builtins.str] = None,
|
|
3896
3991
|
ip_filter: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3992
|
+
log_output: typing.Optional[builtins.str] = None,
|
|
3897
3993
|
long_query_time: typing.Optional[jsii.Number] = None,
|
|
3898
3994
|
max_allowed_packet: typing.Optional[jsii.Number] = None,
|
|
3899
3995
|
max_heap_table_size: typing.Optional[jsii.Number] = None,
|
|
@@ -4153,6 +4249,12 @@ def _typecheckingstub__62d1186ba338160863d0f6ca2b6a930329e5a12f1766e1a56c6310b1a
|
|
|
4153
4249
|
"""Type checking stubs"""
|
|
4154
4250
|
pass
|
|
4155
4251
|
|
|
4252
|
+
def _typecheckingstub__cd74b822d5bffe20b4e08b8e008bdf292388bf335c14fe7d958a38c2866e0189(
|
|
4253
|
+
value: builtins.str,
|
|
4254
|
+
) -> None:
|
|
4255
|
+
"""Type checking stubs"""
|
|
4256
|
+
pass
|
|
4257
|
+
|
|
4156
4258
|
def _typecheckingstub__8f1f337cf4d9efc75ecd5295ef8ec9b2114e9409e0f743fc9cff9d37adbe5d93(
|
|
4157
4259
|
value: jsii.Number,
|
|
4158
4260
|
) -> None:
|