pulumi-digitalocean 4.49.0a1751946418__py3-none-any.whl → 4.50.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 pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +81 -1
- pulumi_digitalocean/_enums.py +9 -9
- pulumi_digitalocean/_inputs.py +11204 -8486
- pulumi_digitalocean/app.py +137 -88
- pulumi_digitalocean/cdn.py +104 -105
- pulumi_digitalocean/certificate.py +137 -138
- pulumi_digitalocean/config/__init__.py +1 -1
- pulumi_digitalocean/config/__init__.pyi +1 -2
- pulumi_digitalocean/config/vars.py +10 -11
- pulumi_digitalocean/container_registry.py +88 -89
- pulumi_digitalocean/container_registry_docker_credentials.py +70 -71
- pulumi_digitalocean/custom_image.py +175 -176
- pulumi_digitalocean/database_cluster.py +374 -347
- pulumi_digitalocean/database_connection_pool.py +157 -158
- pulumi_digitalocean/database_db.py +35 -36
- pulumi_digitalocean/database_firewall.py +21 -22
- pulumi_digitalocean/database_kafka_config.py +307 -308
- pulumi_digitalocean/database_kafka_topic.py +81 -82
- pulumi_digitalocean/database_mongodb_config.py +103 -104
- pulumi_digitalocean/database_mysql_config.py +477 -478
- pulumi_digitalocean/database_online_migration.py +460 -0
- pulumi_digitalocean/database_opensearch_config.py +664 -665
- pulumi_digitalocean/database_postgresql_config.py +857 -858
- pulumi_digitalocean/database_redis_config.py +209 -206
- pulumi_digitalocean/database_replica.py +197 -198
- pulumi_digitalocean/database_user.py +91 -92
- pulumi_digitalocean/database_valkey_config.py +804 -0
- pulumi_digitalocean/dns_record.py +180 -181
- pulumi_digitalocean/domain.py +53 -54
- pulumi_digitalocean/droplet.py +388 -389
- pulumi_digitalocean/droplet_autoscale.py +53 -54
- pulumi_digitalocean/droplet_snapshot.py +71 -72
- pulumi_digitalocean/firewall.py +78 -79
- pulumi_digitalocean/floating_ip.py +61 -62
- pulumi_digitalocean/floating_ip_assignment.py +35 -36
- pulumi_digitalocean/genai_agent.py +452 -453
- pulumi_digitalocean/genai_agent_knowledge_base_attachment.py +198 -0
- pulumi_digitalocean/genai_agent_route.py +354 -0
- pulumi_digitalocean/genai_function.py +464 -0
- pulumi_digitalocean/genai_knowledge_base.py +627 -0
- pulumi_digitalocean/genai_knowledge_base_data_source.py +220 -0
- pulumi_digitalocean/genai_openai_api_key.py +386 -0
- pulumi_digitalocean/get_account.py +17 -18
- pulumi_digitalocean/get_app.py +27 -28
- pulumi_digitalocean/get_certificate.py +21 -22
- pulumi_digitalocean/get_container_registry.py +21 -22
- pulumi_digitalocean/get_database_ca.py +11 -12
- pulumi_digitalocean/get_database_cluster.py +75 -62
- pulumi_digitalocean/get_database_connection_pool.py +35 -36
- pulumi_digitalocean/get_database_metrics_credentials.py +120 -0
- pulumi_digitalocean/get_database_replica.py +45 -46
- pulumi_digitalocean/get_database_user.py +26 -27
- pulumi_digitalocean/get_domain.py +15 -16
- pulumi_digitalocean/get_domains.py +6 -7
- pulumi_digitalocean/get_droplet.py +71 -72
- pulumi_digitalocean/get_droplet_autoscale.py +22 -23
- pulumi_digitalocean/get_droplet_snapshot.py +37 -38
- pulumi_digitalocean/get_droplets.py +12 -13
- pulumi_digitalocean/get_firewall.py +30 -31
- pulumi_digitalocean/get_floating_ip.py +15 -16
- pulumi_digitalocean/get_genai_agent.py +89 -90
- pulumi_digitalocean/get_genai_agent_versions.py +128 -0
- pulumi_digitalocean/get_genai_agents.py +10 -11
- pulumi_digitalocean/get_genai_agents_by_openai_api_key.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_base.py +259 -0
- pulumi_digitalocean/get_genai_knowledge_base_data_sources.py +97 -0
- pulumi_digitalocean/get_genai_knowledge_bases.py +113 -0
- pulumi_digitalocean/get_genai_openai_api_key.py +152 -0
- pulumi_digitalocean/get_genai_openai_api_keys.py +113 -0
- pulumi_digitalocean/get_image.py +49 -50
- pulumi_digitalocean/get_images.py +6 -7
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -54
- pulumi_digitalocean/get_kubernetes_versions.py +13 -14
- pulumi_digitalocean/get_load_balancer.py +59 -60
- pulumi_digitalocean/get_partner_attachment.py +30 -31
- pulumi_digitalocean/get_partner_attachment_service_key.py +13 -14
- pulumi_digitalocean/get_project.py +31 -32
- pulumi_digitalocean/get_projects.py +6 -7
- pulumi_digitalocean/get_record.py +31 -32
- pulumi_digitalocean/get_records.py +12 -13
- pulumi_digitalocean/get_region.py +17 -18
- pulumi_digitalocean/get_regions.py +6 -7
- pulumi_digitalocean/get_reserved_ip.py +15 -16
- pulumi_digitalocean/get_reserved_ipv6.py +15 -16
- pulumi_digitalocean/get_sizes.py +6 -7
- pulumi_digitalocean/get_spaces_bucket.py +21 -22
- pulumi_digitalocean/get_spaces_bucket_object.py +57 -58
- pulumi_digitalocean/get_spaces_bucket_objects.py +45 -46
- pulumi_digitalocean/get_spaces_buckets.py +6 -7
- pulumi_digitalocean/get_spaces_key.py +14 -15
- pulumi_digitalocean/get_ssh_key.py +13 -14
- pulumi_digitalocean/get_ssh_keys.py +6 -7
- pulumi_digitalocean/get_tag.py +21 -22
- pulumi_digitalocean/get_tags.py +6 -7
- pulumi_digitalocean/get_volume.py +33 -34
- pulumi_digitalocean/get_volume_snapshot.py +39 -40
- pulumi_digitalocean/get_vpc.py +29 -30
- pulumi_digitalocean/get_vpc_nat_gateway.py +33 -34
- pulumi_digitalocean/get_vpc_peering.py +23 -24
- pulumi_digitalocean/kubernetes_cluster.py +293 -294
- pulumi_digitalocean/kubernetes_node_pool.py +168 -169
- pulumi_digitalocean/load_balancer.py +374 -375
- pulumi_digitalocean/monitor_alert.py +149 -150
- pulumi_digitalocean/outputs.py +20079 -12647
- pulumi_digitalocean/partner_attachment.py +150 -151
- pulumi_digitalocean/project.py +139 -140
- pulumi_digitalocean/project_resources.py +35 -36
- pulumi_digitalocean/provider.py +84 -85
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +61 -62
- pulumi_digitalocean/reserved_ip_assignment.py +35 -36
- pulumi_digitalocean/reserved_ipv6.py +53 -54
- pulumi_digitalocean/reserved_ipv6_assignment.py +35 -36
- pulumi_digitalocean/spaces_bucket.py +105 -106
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +38 -39
- pulumi_digitalocean/spaces_bucket_logging.py +69 -70
- pulumi_digitalocean/spaces_bucket_object.py +282 -283
- pulumi_digitalocean/spaces_bucket_policy.py +52 -53
- pulumi_digitalocean/spaces_key.py +48 -49
- pulumi_digitalocean/ssh_key.py +44 -45
- pulumi_digitalocean/tag.py +72 -73
- pulumi_digitalocean/uptime_alert.py +106 -107
- pulumi_digitalocean/uptime_check.py +86 -87
- pulumi_digitalocean/volume.py +181 -182
- pulumi_digitalocean/volume_attachment.py +35 -36
- pulumi_digitalocean/volume_snapshot.py +88 -89
- pulumi_digitalocean/vpc.py +96 -97
- pulumi_digitalocean/vpc_nat_gateway.py +152 -153
- pulumi_digitalocean/vpc_peering.py +53 -54
- {pulumi_digitalocean-4.49.0a1751946418.dist-info → pulumi_digitalocean-4.50.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.50.0.dist-info/RECORD +135 -0
- pulumi_digitalocean-4.49.0a1751946418.dist-info/RECORD +0 -119
- {pulumi_digitalocean-4.49.0a1751946418.dist-info → pulumi_digitalocean-4.50.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.49.0a1751946418.dist-info → pulumi_digitalocean-4.50.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,64 +19,64 @@ __all__ = ['DatabaseMysqlConfigArgs', 'DatabaseMysqlConfig']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class DatabaseMysqlConfigArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
cluster_id: pulumi.Input[
|
|
24
|
-
backup_hour: Optional[pulumi.Input[
|
|
25
|
-
backup_minute: Optional[pulumi.Input[
|
|
26
|
-
binlog_retention_period: Optional[pulumi.Input[
|
|
27
|
-
connect_timeout: Optional[pulumi.Input[
|
|
28
|
-
default_time_zone: Optional[pulumi.Input[
|
|
29
|
-
group_concat_max_len: Optional[pulumi.Input[
|
|
30
|
-
information_schema_stats_expiry: Optional[pulumi.Input[
|
|
31
|
-
innodb_ft_min_token_size: Optional[pulumi.Input[
|
|
32
|
-
innodb_ft_server_stopword_table: Optional[pulumi.Input[
|
|
33
|
-
innodb_lock_wait_timeout: Optional[pulumi.Input[
|
|
34
|
-
innodb_log_buffer_size: Optional[pulumi.Input[
|
|
35
|
-
innodb_online_alter_log_max_size: Optional[pulumi.Input[
|
|
36
|
-
innodb_print_all_deadlocks: Optional[pulumi.Input[
|
|
37
|
-
innodb_rollback_on_timeout: Optional[pulumi.Input[
|
|
38
|
-
interactive_timeout: Optional[pulumi.Input[
|
|
39
|
-
internal_tmp_mem_storage_engine: Optional[pulumi.Input[
|
|
40
|
-
long_query_time: Optional[pulumi.Input[
|
|
41
|
-
max_allowed_packet: Optional[pulumi.Input[
|
|
42
|
-
max_heap_table_size: Optional[pulumi.Input[
|
|
43
|
-
net_read_timeout: Optional[pulumi.Input[
|
|
44
|
-
net_write_timeout: Optional[pulumi.Input[
|
|
45
|
-
slow_query_log: Optional[pulumi.Input[
|
|
46
|
-
sort_buffer_size: Optional[pulumi.Input[
|
|
47
|
-
sql_mode: Optional[pulumi.Input[
|
|
48
|
-
sql_require_primary_key: Optional[pulumi.Input[
|
|
49
|
-
tmp_table_size: Optional[pulumi.Input[
|
|
50
|
-
wait_timeout: Optional[pulumi.Input[
|
|
22
|
+
cluster_id: pulumi.Input[_builtins.str],
|
|
23
|
+
backup_hour: Optional[pulumi.Input[_builtins.int]] = None,
|
|
24
|
+
backup_minute: Optional[pulumi.Input[_builtins.int]] = None,
|
|
25
|
+
binlog_retention_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
26
|
+
connect_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
27
|
+
default_time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
group_concat_max_len: Optional[pulumi.Input[_builtins.int]] = None,
|
|
29
|
+
information_schema_stats_expiry: Optional[pulumi.Input[_builtins.int]] = None,
|
|
30
|
+
innodb_ft_min_token_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
31
|
+
innodb_ft_server_stopword_table: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
innodb_lock_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
33
|
+
innodb_log_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
34
|
+
innodb_online_alter_log_max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
35
|
+
innodb_print_all_deadlocks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
|
+
innodb_rollback_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
37
|
+
interactive_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
38
|
+
internal_tmp_mem_storage_engine: Optional[pulumi.Input[_builtins.str]] = None,
|
|
39
|
+
long_query_time: Optional[pulumi.Input[_builtins.float]] = None,
|
|
40
|
+
max_allowed_packet: Optional[pulumi.Input[_builtins.int]] = None,
|
|
41
|
+
max_heap_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
42
|
+
net_read_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
43
|
+
net_write_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
44
|
+
slow_query_log: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
45
|
+
sort_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
46
|
+
sql_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
47
|
+
sql_require_primary_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
48
|
+
tmp_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
49
|
+
wait_timeout: Optional[pulumi.Input[_builtins.int]] = None):
|
|
51
50
|
"""
|
|
52
51
|
The set of arguments for constructing a DatabaseMysqlConfig resource.
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
55
|
-
:param pulumi.Input[
|
|
56
|
-
:param pulumi.Input[
|
|
57
|
-
:param pulumi.Input[
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
:param pulumi.Input[
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[
|
|
62
|
-
:param pulumi.Input[
|
|
63
|
-
:param pulumi.Input[
|
|
64
|
-
:param pulumi.Input[
|
|
65
|
-
:param pulumi.Input[
|
|
66
|
-
:param pulumi.Input[
|
|
67
|
-
:param pulumi.Input[
|
|
68
|
-
:param pulumi.Input[
|
|
69
|
-
:param pulumi.Input[
|
|
70
|
-
:param pulumi.Input[
|
|
71
|
-
:param pulumi.Input[
|
|
72
|
-
:param pulumi.Input[
|
|
73
|
-
:param pulumi.Input[
|
|
74
|
-
:param pulumi.Input[
|
|
75
|
-
:param pulumi.Input[
|
|
76
|
-
:param pulumi.Input[
|
|
77
|
-
:param pulumi.Input[
|
|
78
|
-
:param pulumi.Input[
|
|
79
|
-
:param pulumi.Input[
|
|
80
|
-
:param pulumi.Input[
|
|
52
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MySQL cluster.
|
|
53
|
+
:param pulumi.Input[_builtins.int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
54
|
+
:param pulumi.Input[_builtins.int] backup_minute: The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
55
|
+
:param pulumi.Input[_builtins.int] 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.
|
|
56
|
+
:param pulumi.Input[_builtins.int] connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
57
|
+
:param pulumi.Input[_builtins.str] default_time_zone: Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
58
|
+
:param pulumi.Input[_builtins.int] group_concat_max_len: The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
59
|
+
:param pulumi.Input[_builtins.int] information_schema_stats_expiry: The time, in seconds, before cached statistics expire.
|
|
60
|
+
:param pulumi.Input[_builtins.int] innodb_ft_min_token_size: The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
61
|
+
:param pulumi.Input[_builtins.str] innodb_ft_server_stopword_table: The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
62
|
+
:param pulumi.Input[_builtins.int] innodb_lock_wait_timeout: The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
63
|
+
:param pulumi.Input[_builtins.int] innodb_log_buffer_size: The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
64
|
+
:param pulumi.Input[_builtins.int] innodb_online_alter_log_max_size: The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
65
|
+
:param pulumi.Input[_builtins.bool] innodb_print_all_deadlocks: When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
66
|
+
:param pulumi.Input[_builtins.bool] innodb_rollback_on_timeout: When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
67
|
+
:param pulumi.Input[_builtins.int] interactive_timeout: The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
68
|
+
:param pulumi.Input[_builtins.str] internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
69
|
+
:param pulumi.Input[_builtins.float] long_query_time: The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
70
|
+
:param pulumi.Input[_builtins.int] max_allowed_packet: The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
71
|
+
:param pulumi.Input[_builtins.int] max_heap_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
72
|
+
:param pulumi.Input[_builtins.int] net_read_timeout: The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
73
|
+
:param pulumi.Input[_builtins.int] net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
74
|
+
:param pulumi.Input[_builtins.bool] slow_query_log: When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
75
|
+
:param pulumi.Input[_builtins.int] sort_buffer_size: The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
76
|
+
:param pulumi.Input[_builtins.str] sql_mode: Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
77
|
+
:param pulumi.Input[_builtins.bool] 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.
|
|
78
|
+
:param pulumi.Input[_builtins.int] tmp_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
79
|
+
:param pulumi.Input[_builtins.int] wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
81
80
|
"""
|
|
82
81
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
83
82
|
if backup_hour is not None:
|
|
@@ -135,404 +134,404 @@ class DatabaseMysqlConfigArgs:
|
|
|
135
134
|
if wait_timeout is not None:
|
|
136
135
|
pulumi.set(__self__, "wait_timeout", wait_timeout)
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter(name="clusterId")
|
|
140
|
-
def cluster_id(self) -> pulumi.Input[
|
|
139
|
+
def cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
141
140
|
"""
|
|
142
141
|
The ID of the target MySQL cluster.
|
|
143
142
|
"""
|
|
144
143
|
return pulumi.get(self, "cluster_id")
|
|
145
144
|
|
|
146
145
|
@cluster_id.setter
|
|
147
|
-
def cluster_id(self, value: pulumi.Input[
|
|
146
|
+
def cluster_id(self, value: pulumi.Input[_builtins.str]):
|
|
148
147
|
pulumi.set(self, "cluster_id", value)
|
|
149
148
|
|
|
150
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
151
150
|
@pulumi.getter(name="backupHour")
|
|
152
|
-
def backup_hour(self) -> Optional[pulumi.Input[
|
|
151
|
+
def backup_hour(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
153
152
|
"""
|
|
154
153
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "backup_hour")
|
|
157
156
|
|
|
158
157
|
@backup_hour.setter
|
|
159
|
-
def backup_hour(self, value: Optional[pulumi.Input[
|
|
158
|
+
def backup_hour(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
160
159
|
pulumi.set(self, "backup_hour", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter(name="backupMinute")
|
|
164
|
-
def backup_minute(self) -> Optional[pulumi.Input[
|
|
163
|
+
def backup_minute(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
165
164
|
"""
|
|
166
165
|
The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
167
166
|
"""
|
|
168
167
|
return pulumi.get(self, "backup_minute")
|
|
169
168
|
|
|
170
169
|
@backup_minute.setter
|
|
171
|
-
def backup_minute(self, value: Optional[pulumi.Input[
|
|
170
|
+
def backup_minute(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
172
171
|
pulumi.set(self, "backup_minute", value)
|
|
173
172
|
|
|
174
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
175
174
|
@pulumi.getter(name="binlogRetentionPeriod")
|
|
176
|
-
def binlog_retention_period(self) -> Optional[pulumi.Input[
|
|
175
|
+
def binlog_retention_period(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
177
176
|
"""
|
|
178
177
|
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.
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "binlog_retention_period")
|
|
181
180
|
|
|
182
181
|
@binlog_retention_period.setter
|
|
183
|
-
def binlog_retention_period(self, value: Optional[pulumi.Input[
|
|
182
|
+
def binlog_retention_period(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
184
183
|
pulumi.set(self, "binlog_retention_period", value)
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
@pulumi.getter(name="connectTimeout")
|
|
188
|
-
def connect_timeout(self) -> Optional[pulumi.Input[
|
|
187
|
+
def connect_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
189
188
|
"""
|
|
190
189
|
The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
191
190
|
"""
|
|
192
191
|
return pulumi.get(self, "connect_timeout")
|
|
193
192
|
|
|
194
193
|
@connect_timeout.setter
|
|
195
|
-
def connect_timeout(self, value: Optional[pulumi.Input[
|
|
194
|
+
def connect_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
196
195
|
pulumi.set(self, "connect_timeout", value)
|
|
197
196
|
|
|
198
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
199
198
|
@pulumi.getter(name="defaultTimeZone")
|
|
200
|
-
def default_time_zone(self) -> Optional[pulumi.Input[
|
|
199
|
+
def default_time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
201
200
|
"""
|
|
202
201
|
Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
203
202
|
"""
|
|
204
203
|
return pulumi.get(self, "default_time_zone")
|
|
205
204
|
|
|
206
205
|
@default_time_zone.setter
|
|
207
|
-
def default_time_zone(self, value: Optional[pulumi.Input[
|
|
206
|
+
def default_time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
208
207
|
pulumi.set(self, "default_time_zone", value)
|
|
209
208
|
|
|
210
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
211
210
|
@pulumi.getter(name="groupConcatMaxLen")
|
|
212
|
-
def group_concat_max_len(self) -> Optional[pulumi.Input[
|
|
211
|
+
def group_concat_max_len(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
213
212
|
"""
|
|
214
213
|
The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
215
214
|
"""
|
|
216
215
|
return pulumi.get(self, "group_concat_max_len")
|
|
217
216
|
|
|
218
217
|
@group_concat_max_len.setter
|
|
219
|
-
def group_concat_max_len(self, value: Optional[pulumi.Input[
|
|
218
|
+
def group_concat_max_len(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
220
219
|
pulumi.set(self, "group_concat_max_len", value)
|
|
221
220
|
|
|
222
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
223
222
|
@pulumi.getter(name="informationSchemaStatsExpiry")
|
|
224
|
-
def information_schema_stats_expiry(self) -> Optional[pulumi.Input[
|
|
223
|
+
def information_schema_stats_expiry(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
225
224
|
"""
|
|
226
225
|
The time, in seconds, before cached statistics expire.
|
|
227
226
|
"""
|
|
228
227
|
return pulumi.get(self, "information_schema_stats_expiry")
|
|
229
228
|
|
|
230
229
|
@information_schema_stats_expiry.setter
|
|
231
|
-
def information_schema_stats_expiry(self, value: Optional[pulumi.Input[
|
|
230
|
+
def information_schema_stats_expiry(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
232
231
|
pulumi.set(self, "information_schema_stats_expiry", value)
|
|
233
232
|
|
|
234
|
-
@property
|
|
233
|
+
@_builtins.property
|
|
235
234
|
@pulumi.getter(name="innodbFtMinTokenSize")
|
|
236
|
-
def innodb_ft_min_token_size(self) -> Optional[pulumi.Input[
|
|
235
|
+
def innodb_ft_min_token_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
237
236
|
"""
|
|
238
237
|
The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
239
238
|
"""
|
|
240
239
|
return pulumi.get(self, "innodb_ft_min_token_size")
|
|
241
240
|
|
|
242
241
|
@innodb_ft_min_token_size.setter
|
|
243
|
-
def innodb_ft_min_token_size(self, value: Optional[pulumi.Input[
|
|
242
|
+
def innodb_ft_min_token_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
244
243
|
pulumi.set(self, "innodb_ft_min_token_size", value)
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter(name="innodbFtServerStopwordTable")
|
|
248
|
-
def innodb_ft_server_stopword_table(self) -> Optional[pulumi.Input[
|
|
247
|
+
def innodb_ft_server_stopword_table(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
249
248
|
"""
|
|
250
249
|
The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
251
250
|
"""
|
|
252
251
|
return pulumi.get(self, "innodb_ft_server_stopword_table")
|
|
253
252
|
|
|
254
253
|
@innodb_ft_server_stopword_table.setter
|
|
255
|
-
def innodb_ft_server_stopword_table(self, value: Optional[pulumi.Input[
|
|
254
|
+
def innodb_ft_server_stopword_table(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
256
255
|
pulumi.set(self, "innodb_ft_server_stopword_table", value)
|
|
257
256
|
|
|
258
|
-
@property
|
|
257
|
+
@_builtins.property
|
|
259
258
|
@pulumi.getter(name="innodbLockWaitTimeout")
|
|
260
|
-
def innodb_lock_wait_timeout(self) -> Optional[pulumi.Input[
|
|
259
|
+
def innodb_lock_wait_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
261
260
|
"""
|
|
262
261
|
The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
263
262
|
"""
|
|
264
263
|
return pulumi.get(self, "innodb_lock_wait_timeout")
|
|
265
264
|
|
|
266
265
|
@innodb_lock_wait_timeout.setter
|
|
267
|
-
def innodb_lock_wait_timeout(self, value: Optional[pulumi.Input[
|
|
266
|
+
def innodb_lock_wait_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
268
267
|
pulumi.set(self, "innodb_lock_wait_timeout", value)
|
|
269
268
|
|
|
270
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
271
270
|
@pulumi.getter(name="innodbLogBufferSize")
|
|
272
|
-
def innodb_log_buffer_size(self) -> Optional[pulumi.Input[
|
|
271
|
+
def innodb_log_buffer_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
273
272
|
"""
|
|
274
273
|
The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
275
274
|
"""
|
|
276
275
|
return pulumi.get(self, "innodb_log_buffer_size")
|
|
277
276
|
|
|
278
277
|
@innodb_log_buffer_size.setter
|
|
279
|
-
def innodb_log_buffer_size(self, value: Optional[pulumi.Input[
|
|
278
|
+
def innodb_log_buffer_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
280
279
|
pulumi.set(self, "innodb_log_buffer_size", value)
|
|
281
280
|
|
|
282
|
-
@property
|
|
281
|
+
@_builtins.property
|
|
283
282
|
@pulumi.getter(name="innodbOnlineAlterLogMaxSize")
|
|
284
|
-
def innodb_online_alter_log_max_size(self) -> Optional[pulumi.Input[
|
|
283
|
+
def innodb_online_alter_log_max_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
285
284
|
"""
|
|
286
285
|
The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
287
286
|
"""
|
|
288
287
|
return pulumi.get(self, "innodb_online_alter_log_max_size")
|
|
289
288
|
|
|
290
289
|
@innodb_online_alter_log_max_size.setter
|
|
291
|
-
def innodb_online_alter_log_max_size(self, value: Optional[pulumi.Input[
|
|
290
|
+
def innodb_online_alter_log_max_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
292
291
|
pulumi.set(self, "innodb_online_alter_log_max_size", value)
|
|
293
292
|
|
|
294
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
295
294
|
@pulumi.getter(name="innodbPrintAllDeadlocks")
|
|
296
|
-
def innodb_print_all_deadlocks(self) -> Optional[pulumi.Input[
|
|
295
|
+
def innodb_print_all_deadlocks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
297
296
|
"""
|
|
298
297
|
When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
299
298
|
"""
|
|
300
299
|
return pulumi.get(self, "innodb_print_all_deadlocks")
|
|
301
300
|
|
|
302
301
|
@innodb_print_all_deadlocks.setter
|
|
303
|
-
def innodb_print_all_deadlocks(self, value: Optional[pulumi.Input[
|
|
302
|
+
def innodb_print_all_deadlocks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
304
303
|
pulumi.set(self, "innodb_print_all_deadlocks", value)
|
|
305
304
|
|
|
306
|
-
@property
|
|
305
|
+
@_builtins.property
|
|
307
306
|
@pulumi.getter(name="innodbRollbackOnTimeout")
|
|
308
|
-
def innodb_rollback_on_timeout(self) -> Optional[pulumi.Input[
|
|
307
|
+
def innodb_rollback_on_timeout(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
309
308
|
"""
|
|
310
309
|
When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
311
310
|
"""
|
|
312
311
|
return pulumi.get(self, "innodb_rollback_on_timeout")
|
|
313
312
|
|
|
314
313
|
@innodb_rollback_on_timeout.setter
|
|
315
|
-
def innodb_rollback_on_timeout(self, value: Optional[pulumi.Input[
|
|
314
|
+
def innodb_rollback_on_timeout(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
316
315
|
pulumi.set(self, "innodb_rollback_on_timeout", value)
|
|
317
316
|
|
|
318
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
319
318
|
@pulumi.getter(name="interactiveTimeout")
|
|
320
|
-
def interactive_timeout(self) -> Optional[pulumi.Input[
|
|
319
|
+
def interactive_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
321
320
|
"""
|
|
322
321
|
The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
323
322
|
"""
|
|
324
323
|
return pulumi.get(self, "interactive_timeout")
|
|
325
324
|
|
|
326
325
|
@interactive_timeout.setter
|
|
327
|
-
def interactive_timeout(self, value: Optional[pulumi.Input[
|
|
326
|
+
def interactive_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
328
327
|
pulumi.set(self, "interactive_timeout", value)
|
|
329
328
|
|
|
330
|
-
@property
|
|
329
|
+
@_builtins.property
|
|
331
330
|
@pulumi.getter(name="internalTmpMemStorageEngine")
|
|
332
|
-
def internal_tmp_mem_storage_engine(self) -> Optional[pulumi.Input[
|
|
331
|
+
def internal_tmp_mem_storage_engine(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
333
332
|
"""
|
|
334
333
|
The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
335
334
|
"""
|
|
336
335
|
return pulumi.get(self, "internal_tmp_mem_storage_engine")
|
|
337
336
|
|
|
338
337
|
@internal_tmp_mem_storage_engine.setter
|
|
339
|
-
def internal_tmp_mem_storage_engine(self, value: Optional[pulumi.Input[
|
|
338
|
+
def internal_tmp_mem_storage_engine(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
340
339
|
pulumi.set(self, "internal_tmp_mem_storage_engine", value)
|
|
341
340
|
|
|
342
|
-
@property
|
|
341
|
+
@_builtins.property
|
|
343
342
|
@pulumi.getter(name="longQueryTime")
|
|
344
|
-
def long_query_time(self) -> Optional[pulumi.Input[
|
|
343
|
+
def long_query_time(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
345
344
|
"""
|
|
346
345
|
The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
347
346
|
"""
|
|
348
347
|
return pulumi.get(self, "long_query_time")
|
|
349
348
|
|
|
350
349
|
@long_query_time.setter
|
|
351
|
-
def long_query_time(self, value: Optional[pulumi.Input[
|
|
350
|
+
def long_query_time(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
352
351
|
pulumi.set(self, "long_query_time", value)
|
|
353
352
|
|
|
354
|
-
@property
|
|
353
|
+
@_builtins.property
|
|
355
354
|
@pulumi.getter(name="maxAllowedPacket")
|
|
356
|
-
def max_allowed_packet(self) -> Optional[pulumi.Input[
|
|
355
|
+
def max_allowed_packet(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
357
356
|
"""
|
|
358
357
|
The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
359
358
|
"""
|
|
360
359
|
return pulumi.get(self, "max_allowed_packet")
|
|
361
360
|
|
|
362
361
|
@max_allowed_packet.setter
|
|
363
|
-
def max_allowed_packet(self, value: Optional[pulumi.Input[
|
|
362
|
+
def max_allowed_packet(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
364
363
|
pulumi.set(self, "max_allowed_packet", value)
|
|
365
364
|
|
|
366
|
-
@property
|
|
365
|
+
@_builtins.property
|
|
367
366
|
@pulumi.getter(name="maxHeapTableSize")
|
|
368
|
-
def max_heap_table_size(self) -> Optional[pulumi.Input[
|
|
367
|
+
def max_heap_table_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
369
368
|
"""
|
|
370
369
|
The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
371
370
|
"""
|
|
372
371
|
return pulumi.get(self, "max_heap_table_size")
|
|
373
372
|
|
|
374
373
|
@max_heap_table_size.setter
|
|
375
|
-
def max_heap_table_size(self, value: Optional[pulumi.Input[
|
|
374
|
+
def max_heap_table_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
376
375
|
pulumi.set(self, "max_heap_table_size", value)
|
|
377
376
|
|
|
378
|
-
@property
|
|
377
|
+
@_builtins.property
|
|
379
378
|
@pulumi.getter(name="netReadTimeout")
|
|
380
|
-
def net_read_timeout(self) -> Optional[pulumi.Input[
|
|
379
|
+
def net_read_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
381
380
|
"""
|
|
382
381
|
The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
383
382
|
"""
|
|
384
383
|
return pulumi.get(self, "net_read_timeout")
|
|
385
384
|
|
|
386
385
|
@net_read_timeout.setter
|
|
387
|
-
def net_read_timeout(self, value: Optional[pulumi.Input[
|
|
386
|
+
def net_read_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
388
387
|
pulumi.set(self, "net_read_timeout", value)
|
|
389
388
|
|
|
390
|
-
@property
|
|
389
|
+
@_builtins.property
|
|
391
390
|
@pulumi.getter(name="netWriteTimeout")
|
|
392
|
-
def net_write_timeout(self) -> Optional[pulumi.Input[
|
|
391
|
+
def net_write_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
393
392
|
"""
|
|
394
393
|
The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
395
394
|
"""
|
|
396
395
|
return pulumi.get(self, "net_write_timeout")
|
|
397
396
|
|
|
398
397
|
@net_write_timeout.setter
|
|
399
|
-
def net_write_timeout(self, value: Optional[pulumi.Input[
|
|
398
|
+
def net_write_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
400
399
|
pulumi.set(self, "net_write_timeout", value)
|
|
401
400
|
|
|
402
|
-
@property
|
|
401
|
+
@_builtins.property
|
|
403
402
|
@pulumi.getter(name="slowQueryLog")
|
|
404
|
-
def slow_query_log(self) -> Optional[pulumi.Input[
|
|
403
|
+
def slow_query_log(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
405
404
|
"""
|
|
406
405
|
When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
407
406
|
"""
|
|
408
407
|
return pulumi.get(self, "slow_query_log")
|
|
409
408
|
|
|
410
409
|
@slow_query_log.setter
|
|
411
|
-
def slow_query_log(self, value: Optional[pulumi.Input[
|
|
410
|
+
def slow_query_log(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
412
411
|
pulumi.set(self, "slow_query_log", value)
|
|
413
412
|
|
|
414
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
415
414
|
@pulumi.getter(name="sortBufferSize")
|
|
416
|
-
def sort_buffer_size(self) -> Optional[pulumi.Input[
|
|
415
|
+
def sort_buffer_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
417
416
|
"""
|
|
418
417
|
The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
419
418
|
"""
|
|
420
419
|
return pulumi.get(self, "sort_buffer_size")
|
|
421
420
|
|
|
422
421
|
@sort_buffer_size.setter
|
|
423
|
-
def sort_buffer_size(self, value: Optional[pulumi.Input[
|
|
422
|
+
def sort_buffer_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
424
423
|
pulumi.set(self, "sort_buffer_size", value)
|
|
425
424
|
|
|
426
|
-
@property
|
|
425
|
+
@_builtins.property
|
|
427
426
|
@pulumi.getter(name="sqlMode")
|
|
428
|
-
def sql_mode(self) -> Optional[pulumi.Input[
|
|
427
|
+
def sql_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
429
428
|
"""
|
|
430
429
|
Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
431
430
|
"""
|
|
432
431
|
return pulumi.get(self, "sql_mode")
|
|
433
432
|
|
|
434
433
|
@sql_mode.setter
|
|
435
|
-
def sql_mode(self, value: Optional[pulumi.Input[
|
|
434
|
+
def sql_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
436
435
|
pulumi.set(self, "sql_mode", value)
|
|
437
436
|
|
|
438
|
-
@property
|
|
437
|
+
@_builtins.property
|
|
439
438
|
@pulumi.getter(name="sqlRequirePrimaryKey")
|
|
440
|
-
def sql_require_primary_key(self) -> Optional[pulumi.Input[
|
|
439
|
+
def sql_require_primary_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
441
440
|
"""
|
|
442
441
|
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.
|
|
443
442
|
"""
|
|
444
443
|
return pulumi.get(self, "sql_require_primary_key")
|
|
445
444
|
|
|
446
445
|
@sql_require_primary_key.setter
|
|
447
|
-
def sql_require_primary_key(self, value: Optional[pulumi.Input[
|
|
446
|
+
def sql_require_primary_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
448
447
|
pulumi.set(self, "sql_require_primary_key", value)
|
|
449
448
|
|
|
450
|
-
@property
|
|
449
|
+
@_builtins.property
|
|
451
450
|
@pulumi.getter(name="tmpTableSize")
|
|
452
|
-
def tmp_table_size(self) -> Optional[pulumi.Input[
|
|
451
|
+
def tmp_table_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
453
452
|
"""
|
|
454
453
|
The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
455
454
|
"""
|
|
456
455
|
return pulumi.get(self, "tmp_table_size")
|
|
457
456
|
|
|
458
457
|
@tmp_table_size.setter
|
|
459
|
-
def tmp_table_size(self, value: Optional[pulumi.Input[
|
|
458
|
+
def tmp_table_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
460
459
|
pulumi.set(self, "tmp_table_size", value)
|
|
461
460
|
|
|
462
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
463
462
|
@pulumi.getter(name="waitTimeout")
|
|
464
|
-
def wait_timeout(self) -> Optional[pulumi.Input[
|
|
463
|
+
def wait_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
465
464
|
"""
|
|
466
465
|
The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
467
466
|
"""
|
|
468
467
|
return pulumi.get(self, "wait_timeout")
|
|
469
468
|
|
|
470
469
|
@wait_timeout.setter
|
|
471
|
-
def wait_timeout(self, value: Optional[pulumi.Input[
|
|
470
|
+
def wait_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
472
471
|
pulumi.set(self, "wait_timeout", value)
|
|
473
472
|
|
|
474
473
|
|
|
475
474
|
@pulumi.input_type
|
|
476
475
|
class _DatabaseMysqlConfigState:
|
|
477
476
|
def __init__(__self__, *,
|
|
478
|
-
backup_hour: Optional[pulumi.Input[
|
|
479
|
-
backup_minute: Optional[pulumi.Input[
|
|
480
|
-
binlog_retention_period: Optional[pulumi.Input[
|
|
481
|
-
cluster_id: Optional[pulumi.Input[
|
|
482
|
-
connect_timeout: Optional[pulumi.Input[
|
|
483
|
-
default_time_zone: Optional[pulumi.Input[
|
|
484
|
-
group_concat_max_len: Optional[pulumi.Input[
|
|
485
|
-
information_schema_stats_expiry: Optional[pulumi.Input[
|
|
486
|
-
innodb_ft_min_token_size: Optional[pulumi.Input[
|
|
487
|
-
innodb_ft_server_stopword_table: Optional[pulumi.Input[
|
|
488
|
-
innodb_lock_wait_timeout: Optional[pulumi.Input[
|
|
489
|
-
innodb_log_buffer_size: Optional[pulumi.Input[
|
|
490
|
-
innodb_online_alter_log_max_size: Optional[pulumi.Input[
|
|
491
|
-
innodb_print_all_deadlocks: Optional[pulumi.Input[
|
|
492
|
-
innodb_rollback_on_timeout: Optional[pulumi.Input[
|
|
493
|
-
interactive_timeout: Optional[pulumi.Input[
|
|
494
|
-
internal_tmp_mem_storage_engine: Optional[pulumi.Input[
|
|
495
|
-
long_query_time: Optional[pulumi.Input[
|
|
496
|
-
max_allowed_packet: Optional[pulumi.Input[
|
|
497
|
-
max_heap_table_size: Optional[pulumi.Input[
|
|
498
|
-
net_read_timeout: Optional[pulumi.Input[
|
|
499
|
-
net_write_timeout: Optional[pulumi.Input[
|
|
500
|
-
slow_query_log: Optional[pulumi.Input[
|
|
501
|
-
sort_buffer_size: Optional[pulumi.Input[
|
|
502
|
-
sql_mode: Optional[pulumi.Input[
|
|
503
|
-
sql_require_primary_key: Optional[pulumi.Input[
|
|
504
|
-
tmp_table_size: Optional[pulumi.Input[
|
|
505
|
-
wait_timeout: Optional[pulumi.Input[
|
|
477
|
+
backup_hour: Optional[pulumi.Input[_builtins.int]] = None,
|
|
478
|
+
backup_minute: Optional[pulumi.Input[_builtins.int]] = None,
|
|
479
|
+
binlog_retention_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
480
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
481
|
+
connect_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
482
|
+
default_time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
483
|
+
group_concat_max_len: Optional[pulumi.Input[_builtins.int]] = None,
|
|
484
|
+
information_schema_stats_expiry: Optional[pulumi.Input[_builtins.int]] = None,
|
|
485
|
+
innodb_ft_min_token_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
486
|
+
innodb_ft_server_stopword_table: Optional[pulumi.Input[_builtins.str]] = None,
|
|
487
|
+
innodb_lock_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
488
|
+
innodb_log_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
489
|
+
innodb_online_alter_log_max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
490
|
+
innodb_print_all_deadlocks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
491
|
+
innodb_rollback_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
492
|
+
interactive_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
493
|
+
internal_tmp_mem_storage_engine: Optional[pulumi.Input[_builtins.str]] = None,
|
|
494
|
+
long_query_time: Optional[pulumi.Input[_builtins.float]] = None,
|
|
495
|
+
max_allowed_packet: Optional[pulumi.Input[_builtins.int]] = None,
|
|
496
|
+
max_heap_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
497
|
+
net_read_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
498
|
+
net_write_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
499
|
+
slow_query_log: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
500
|
+
sort_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
501
|
+
sql_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
502
|
+
sql_require_primary_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
503
|
+
tmp_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
504
|
+
wait_timeout: Optional[pulumi.Input[_builtins.int]] = None):
|
|
506
505
|
"""
|
|
507
506
|
Input properties used for looking up and filtering DatabaseMysqlConfig resources.
|
|
508
|
-
:param pulumi.Input[
|
|
509
|
-
:param pulumi.Input[
|
|
510
|
-
:param pulumi.Input[
|
|
511
|
-
:param pulumi.Input[
|
|
512
|
-
:param pulumi.Input[
|
|
513
|
-
:param pulumi.Input[
|
|
514
|
-
:param pulumi.Input[
|
|
515
|
-
:param pulumi.Input[
|
|
516
|
-
:param pulumi.Input[
|
|
517
|
-
:param pulumi.Input[
|
|
518
|
-
:param pulumi.Input[
|
|
519
|
-
:param pulumi.Input[
|
|
520
|
-
:param pulumi.Input[
|
|
521
|
-
:param pulumi.Input[
|
|
522
|
-
:param pulumi.Input[
|
|
523
|
-
:param pulumi.Input[
|
|
524
|
-
:param pulumi.Input[
|
|
525
|
-
:param pulumi.Input[
|
|
526
|
-
:param pulumi.Input[
|
|
527
|
-
:param pulumi.Input[
|
|
528
|
-
:param pulumi.Input[
|
|
529
|
-
:param pulumi.Input[
|
|
530
|
-
:param pulumi.Input[
|
|
531
|
-
:param pulumi.Input[
|
|
532
|
-
:param pulumi.Input[
|
|
533
|
-
:param pulumi.Input[
|
|
534
|
-
:param pulumi.Input[
|
|
535
|
-
:param pulumi.Input[
|
|
507
|
+
:param pulumi.Input[_builtins.int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
508
|
+
:param pulumi.Input[_builtins.int] backup_minute: The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
509
|
+
:param pulumi.Input[_builtins.int] 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.
|
|
510
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MySQL cluster.
|
|
511
|
+
:param pulumi.Input[_builtins.int] connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
512
|
+
:param pulumi.Input[_builtins.str] default_time_zone: Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
513
|
+
:param pulumi.Input[_builtins.int] group_concat_max_len: The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
514
|
+
:param pulumi.Input[_builtins.int] information_schema_stats_expiry: The time, in seconds, before cached statistics expire.
|
|
515
|
+
:param pulumi.Input[_builtins.int] innodb_ft_min_token_size: The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
516
|
+
:param pulumi.Input[_builtins.str] innodb_ft_server_stopword_table: The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
517
|
+
:param pulumi.Input[_builtins.int] innodb_lock_wait_timeout: The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
518
|
+
:param pulumi.Input[_builtins.int] innodb_log_buffer_size: The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
519
|
+
:param pulumi.Input[_builtins.int] innodb_online_alter_log_max_size: The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
520
|
+
:param pulumi.Input[_builtins.bool] innodb_print_all_deadlocks: When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
521
|
+
:param pulumi.Input[_builtins.bool] innodb_rollback_on_timeout: When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
522
|
+
:param pulumi.Input[_builtins.int] interactive_timeout: The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
523
|
+
:param pulumi.Input[_builtins.str] internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
524
|
+
:param pulumi.Input[_builtins.float] long_query_time: The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
525
|
+
:param pulumi.Input[_builtins.int] max_allowed_packet: The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
526
|
+
:param pulumi.Input[_builtins.int] max_heap_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
527
|
+
:param pulumi.Input[_builtins.int] net_read_timeout: The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
528
|
+
:param pulumi.Input[_builtins.int] net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
529
|
+
:param pulumi.Input[_builtins.bool] slow_query_log: When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
530
|
+
:param pulumi.Input[_builtins.int] sort_buffer_size: The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
531
|
+
:param pulumi.Input[_builtins.str] sql_mode: Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
532
|
+
:param pulumi.Input[_builtins.bool] 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.
|
|
533
|
+
:param pulumi.Input[_builtins.int] tmp_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
534
|
+
:param pulumi.Input[_builtins.int] wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
536
535
|
"""
|
|
537
536
|
if backup_hour is not None:
|
|
538
537
|
pulumi.set(__self__, "backup_hour", backup_hour)
|
|
@@ -591,340 +590,340 @@ class _DatabaseMysqlConfigState:
|
|
|
591
590
|
if wait_timeout is not None:
|
|
592
591
|
pulumi.set(__self__, "wait_timeout", wait_timeout)
|
|
593
592
|
|
|
594
|
-
@property
|
|
593
|
+
@_builtins.property
|
|
595
594
|
@pulumi.getter(name="backupHour")
|
|
596
|
-
def backup_hour(self) -> Optional[pulumi.Input[
|
|
595
|
+
def backup_hour(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
597
596
|
"""
|
|
598
597
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
599
598
|
"""
|
|
600
599
|
return pulumi.get(self, "backup_hour")
|
|
601
600
|
|
|
602
601
|
@backup_hour.setter
|
|
603
|
-
def backup_hour(self, value: Optional[pulumi.Input[
|
|
602
|
+
def backup_hour(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
604
603
|
pulumi.set(self, "backup_hour", value)
|
|
605
604
|
|
|
606
|
-
@property
|
|
605
|
+
@_builtins.property
|
|
607
606
|
@pulumi.getter(name="backupMinute")
|
|
608
|
-
def backup_minute(self) -> Optional[pulumi.Input[
|
|
607
|
+
def backup_minute(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
609
608
|
"""
|
|
610
609
|
The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
611
610
|
"""
|
|
612
611
|
return pulumi.get(self, "backup_minute")
|
|
613
612
|
|
|
614
613
|
@backup_minute.setter
|
|
615
|
-
def backup_minute(self, value: Optional[pulumi.Input[
|
|
614
|
+
def backup_minute(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
616
615
|
pulumi.set(self, "backup_minute", value)
|
|
617
616
|
|
|
618
|
-
@property
|
|
617
|
+
@_builtins.property
|
|
619
618
|
@pulumi.getter(name="binlogRetentionPeriod")
|
|
620
|
-
def binlog_retention_period(self) -> Optional[pulumi.Input[
|
|
619
|
+
def binlog_retention_period(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
621
620
|
"""
|
|
622
621
|
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.
|
|
623
622
|
"""
|
|
624
623
|
return pulumi.get(self, "binlog_retention_period")
|
|
625
624
|
|
|
626
625
|
@binlog_retention_period.setter
|
|
627
|
-
def binlog_retention_period(self, value: Optional[pulumi.Input[
|
|
626
|
+
def binlog_retention_period(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
628
627
|
pulumi.set(self, "binlog_retention_period", value)
|
|
629
628
|
|
|
630
|
-
@property
|
|
629
|
+
@_builtins.property
|
|
631
630
|
@pulumi.getter(name="clusterId")
|
|
632
|
-
def cluster_id(self) -> Optional[pulumi.Input[
|
|
631
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
633
632
|
"""
|
|
634
633
|
The ID of the target MySQL cluster.
|
|
635
634
|
"""
|
|
636
635
|
return pulumi.get(self, "cluster_id")
|
|
637
636
|
|
|
638
637
|
@cluster_id.setter
|
|
639
|
-
def cluster_id(self, value: Optional[pulumi.Input[
|
|
638
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
640
639
|
pulumi.set(self, "cluster_id", value)
|
|
641
640
|
|
|
642
|
-
@property
|
|
641
|
+
@_builtins.property
|
|
643
642
|
@pulumi.getter(name="connectTimeout")
|
|
644
|
-
def connect_timeout(self) -> Optional[pulumi.Input[
|
|
643
|
+
def connect_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
645
644
|
"""
|
|
646
645
|
The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
647
646
|
"""
|
|
648
647
|
return pulumi.get(self, "connect_timeout")
|
|
649
648
|
|
|
650
649
|
@connect_timeout.setter
|
|
651
|
-
def connect_timeout(self, value: Optional[pulumi.Input[
|
|
650
|
+
def connect_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
652
651
|
pulumi.set(self, "connect_timeout", value)
|
|
653
652
|
|
|
654
|
-
@property
|
|
653
|
+
@_builtins.property
|
|
655
654
|
@pulumi.getter(name="defaultTimeZone")
|
|
656
|
-
def default_time_zone(self) -> Optional[pulumi.Input[
|
|
655
|
+
def default_time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
657
656
|
"""
|
|
658
657
|
Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
659
658
|
"""
|
|
660
659
|
return pulumi.get(self, "default_time_zone")
|
|
661
660
|
|
|
662
661
|
@default_time_zone.setter
|
|
663
|
-
def default_time_zone(self, value: Optional[pulumi.Input[
|
|
662
|
+
def default_time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
664
663
|
pulumi.set(self, "default_time_zone", value)
|
|
665
664
|
|
|
666
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
667
666
|
@pulumi.getter(name="groupConcatMaxLen")
|
|
668
|
-
def group_concat_max_len(self) -> Optional[pulumi.Input[
|
|
667
|
+
def group_concat_max_len(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
669
668
|
"""
|
|
670
669
|
The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
671
670
|
"""
|
|
672
671
|
return pulumi.get(self, "group_concat_max_len")
|
|
673
672
|
|
|
674
673
|
@group_concat_max_len.setter
|
|
675
|
-
def group_concat_max_len(self, value: Optional[pulumi.Input[
|
|
674
|
+
def group_concat_max_len(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
676
675
|
pulumi.set(self, "group_concat_max_len", value)
|
|
677
676
|
|
|
678
|
-
@property
|
|
677
|
+
@_builtins.property
|
|
679
678
|
@pulumi.getter(name="informationSchemaStatsExpiry")
|
|
680
|
-
def information_schema_stats_expiry(self) -> Optional[pulumi.Input[
|
|
679
|
+
def information_schema_stats_expiry(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
681
680
|
"""
|
|
682
681
|
The time, in seconds, before cached statistics expire.
|
|
683
682
|
"""
|
|
684
683
|
return pulumi.get(self, "information_schema_stats_expiry")
|
|
685
684
|
|
|
686
685
|
@information_schema_stats_expiry.setter
|
|
687
|
-
def information_schema_stats_expiry(self, value: Optional[pulumi.Input[
|
|
686
|
+
def information_schema_stats_expiry(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
688
687
|
pulumi.set(self, "information_schema_stats_expiry", value)
|
|
689
688
|
|
|
690
|
-
@property
|
|
689
|
+
@_builtins.property
|
|
691
690
|
@pulumi.getter(name="innodbFtMinTokenSize")
|
|
692
|
-
def innodb_ft_min_token_size(self) -> Optional[pulumi.Input[
|
|
691
|
+
def innodb_ft_min_token_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
693
692
|
"""
|
|
694
693
|
The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
695
694
|
"""
|
|
696
695
|
return pulumi.get(self, "innodb_ft_min_token_size")
|
|
697
696
|
|
|
698
697
|
@innodb_ft_min_token_size.setter
|
|
699
|
-
def innodb_ft_min_token_size(self, value: Optional[pulumi.Input[
|
|
698
|
+
def innodb_ft_min_token_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
700
699
|
pulumi.set(self, "innodb_ft_min_token_size", value)
|
|
701
700
|
|
|
702
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
703
702
|
@pulumi.getter(name="innodbFtServerStopwordTable")
|
|
704
|
-
def innodb_ft_server_stopword_table(self) -> Optional[pulumi.Input[
|
|
703
|
+
def innodb_ft_server_stopword_table(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
705
704
|
"""
|
|
706
705
|
The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
707
706
|
"""
|
|
708
707
|
return pulumi.get(self, "innodb_ft_server_stopword_table")
|
|
709
708
|
|
|
710
709
|
@innodb_ft_server_stopword_table.setter
|
|
711
|
-
def innodb_ft_server_stopword_table(self, value: Optional[pulumi.Input[
|
|
710
|
+
def innodb_ft_server_stopword_table(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
712
711
|
pulumi.set(self, "innodb_ft_server_stopword_table", value)
|
|
713
712
|
|
|
714
|
-
@property
|
|
713
|
+
@_builtins.property
|
|
715
714
|
@pulumi.getter(name="innodbLockWaitTimeout")
|
|
716
|
-
def innodb_lock_wait_timeout(self) -> Optional[pulumi.Input[
|
|
715
|
+
def innodb_lock_wait_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
717
716
|
"""
|
|
718
717
|
The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
719
718
|
"""
|
|
720
719
|
return pulumi.get(self, "innodb_lock_wait_timeout")
|
|
721
720
|
|
|
722
721
|
@innodb_lock_wait_timeout.setter
|
|
723
|
-
def innodb_lock_wait_timeout(self, value: Optional[pulumi.Input[
|
|
722
|
+
def innodb_lock_wait_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
724
723
|
pulumi.set(self, "innodb_lock_wait_timeout", value)
|
|
725
724
|
|
|
726
|
-
@property
|
|
725
|
+
@_builtins.property
|
|
727
726
|
@pulumi.getter(name="innodbLogBufferSize")
|
|
728
|
-
def innodb_log_buffer_size(self) -> Optional[pulumi.Input[
|
|
727
|
+
def innodb_log_buffer_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
729
728
|
"""
|
|
730
729
|
The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
731
730
|
"""
|
|
732
731
|
return pulumi.get(self, "innodb_log_buffer_size")
|
|
733
732
|
|
|
734
733
|
@innodb_log_buffer_size.setter
|
|
735
|
-
def innodb_log_buffer_size(self, value: Optional[pulumi.Input[
|
|
734
|
+
def innodb_log_buffer_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
736
735
|
pulumi.set(self, "innodb_log_buffer_size", value)
|
|
737
736
|
|
|
738
|
-
@property
|
|
737
|
+
@_builtins.property
|
|
739
738
|
@pulumi.getter(name="innodbOnlineAlterLogMaxSize")
|
|
740
|
-
def innodb_online_alter_log_max_size(self) -> Optional[pulumi.Input[
|
|
739
|
+
def innodb_online_alter_log_max_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
741
740
|
"""
|
|
742
741
|
The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
743
742
|
"""
|
|
744
743
|
return pulumi.get(self, "innodb_online_alter_log_max_size")
|
|
745
744
|
|
|
746
745
|
@innodb_online_alter_log_max_size.setter
|
|
747
|
-
def innodb_online_alter_log_max_size(self, value: Optional[pulumi.Input[
|
|
746
|
+
def innodb_online_alter_log_max_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
748
747
|
pulumi.set(self, "innodb_online_alter_log_max_size", value)
|
|
749
748
|
|
|
750
|
-
@property
|
|
749
|
+
@_builtins.property
|
|
751
750
|
@pulumi.getter(name="innodbPrintAllDeadlocks")
|
|
752
|
-
def innodb_print_all_deadlocks(self) -> Optional[pulumi.Input[
|
|
751
|
+
def innodb_print_all_deadlocks(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
753
752
|
"""
|
|
754
753
|
When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
755
754
|
"""
|
|
756
755
|
return pulumi.get(self, "innodb_print_all_deadlocks")
|
|
757
756
|
|
|
758
757
|
@innodb_print_all_deadlocks.setter
|
|
759
|
-
def innodb_print_all_deadlocks(self, value: Optional[pulumi.Input[
|
|
758
|
+
def innodb_print_all_deadlocks(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
760
759
|
pulumi.set(self, "innodb_print_all_deadlocks", value)
|
|
761
760
|
|
|
762
|
-
@property
|
|
761
|
+
@_builtins.property
|
|
763
762
|
@pulumi.getter(name="innodbRollbackOnTimeout")
|
|
764
|
-
def innodb_rollback_on_timeout(self) -> Optional[pulumi.Input[
|
|
763
|
+
def innodb_rollback_on_timeout(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
765
764
|
"""
|
|
766
765
|
When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
767
766
|
"""
|
|
768
767
|
return pulumi.get(self, "innodb_rollback_on_timeout")
|
|
769
768
|
|
|
770
769
|
@innodb_rollback_on_timeout.setter
|
|
771
|
-
def innodb_rollback_on_timeout(self, value: Optional[pulumi.Input[
|
|
770
|
+
def innodb_rollback_on_timeout(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
772
771
|
pulumi.set(self, "innodb_rollback_on_timeout", value)
|
|
773
772
|
|
|
774
|
-
@property
|
|
773
|
+
@_builtins.property
|
|
775
774
|
@pulumi.getter(name="interactiveTimeout")
|
|
776
|
-
def interactive_timeout(self) -> Optional[pulumi.Input[
|
|
775
|
+
def interactive_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
777
776
|
"""
|
|
778
777
|
The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
779
778
|
"""
|
|
780
779
|
return pulumi.get(self, "interactive_timeout")
|
|
781
780
|
|
|
782
781
|
@interactive_timeout.setter
|
|
783
|
-
def interactive_timeout(self, value: Optional[pulumi.Input[
|
|
782
|
+
def interactive_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
784
783
|
pulumi.set(self, "interactive_timeout", value)
|
|
785
784
|
|
|
786
|
-
@property
|
|
785
|
+
@_builtins.property
|
|
787
786
|
@pulumi.getter(name="internalTmpMemStorageEngine")
|
|
788
|
-
def internal_tmp_mem_storage_engine(self) -> Optional[pulumi.Input[
|
|
787
|
+
def internal_tmp_mem_storage_engine(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
789
788
|
"""
|
|
790
789
|
The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
791
790
|
"""
|
|
792
791
|
return pulumi.get(self, "internal_tmp_mem_storage_engine")
|
|
793
792
|
|
|
794
793
|
@internal_tmp_mem_storage_engine.setter
|
|
795
|
-
def internal_tmp_mem_storage_engine(self, value: Optional[pulumi.Input[
|
|
794
|
+
def internal_tmp_mem_storage_engine(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
796
795
|
pulumi.set(self, "internal_tmp_mem_storage_engine", value)
|
|
797
796
|
|
|
798
|
-
@property
|
|
797
|
+
@_builtins.property
|
|
799
798
|
@pulumi.getter(name="longQueryTime")
|
|
800
|
-
def long_query_time(self) -> Optional[pulumi.Input[
|
|
799
|
+
def long_query_time(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
801
800
|
"""
|
|
802
801
|
The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
803
802
|
"""
|
|
804
803
|
return pulumi.get(self, "long_query_time")
|
|
805
804
|
|
|
806
805
|
@long_query_time.setter
|
|
807
|
-
def long_query_time(self, value: Optional[pulumi.Input[
|
|
806
|
+
def long_query_time(self, value: Optional[pulumi.Input[_builtins.float]]):
|
|
808
807
|
pulumi.set(self, "long_query_time", value)
|
|
809
808
|
|
|
810
|
-
@property
|
|
809
|
+
@_builtins.property
|
|
811
810
|
@pulumi.getter(name="maxAllowedPacket")
|
|
812
|
-
def max_allowed_packet(self) -> Optional[pulumi.Input[
|
|
811
|
+
def max_allowed_packet(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
813
812
|
"""
|
|
814
813
|
The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
815
814
|
"""
|
|
816
815
|
return pulumi.get(self, "max_allowed_packet")
|
|
817
816
|
|
|
818
817
|
@max_allowed_packet.setter
|
|
819
|
-
def max_allowed_packet(self, value: Optional[pulumi.Input[
|
|
818
|
+
def max_allowed_packet(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
820
819
|
pulumi.set(self, "max_allowed_packet", value)
|
|
821
820
|
|
|
822
|
-
@property
|
|
821
|
+
@_builtins.property
|
|
823
822
|
@pulumi.getter(name="maxHeapTableSize")
|
|
824
|
-
def max_heap_table_size(self) -> Optional[pulumi.Input[
|
|
823
|
+
def max_heap_table_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
825
824
|
"""
|
|
826
825
|
The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
827
826
|
"""
|
|
828
827
|
return pulumi.get(self, "max_heap_table_size")
|
|
829
828
|
|
|
830
829
|
@max_heap_table_size.setter
|
|
831
|
-
def max_heap_table_size(self, value: Optional[pulumi.Input[
|
|
830
|
+
def max_heap_table_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
832
831
|
pulumi.set(self, "max_heap_table_size", value)
|
|
833
832
|
|
|
834
|
-
@property
|
|
833
|
+
@_builtins.property
|
|
835
834
|
@pulumi.getter(name="netReadTimeout")
|
|
836
|
-
def net_read_timeout(self) -> Optional[pulumi.Input[
|
|
835
|
+
def net_read_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
837
836
|
"""
|
|
838
837
|
The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
839
838
|
"""
|
|
840
839
|
return pulumi.get(self, "net_read_timeout")
|
|
841
840
|
|
|
842
841
|
@net_read_timeout.setter
|
|
843
|
-
def net_read_timeout(self, value: Optional[pulumi.Input[
|
|
842
|
+
def net_read_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
844
843
|
pulumi.set(self, "net_read_timeout", value)
|
|
845
844
|
|
|
846
|
-
@property
|
|
845
|
+
@_builtins.property
|
|
847
846
|
@pulumi.getter(name="netWriteTimeout")
|
|
848
|
-
def net_write_timeout(self) -> Optional[pulumi.Input[
|
|
847
|
+
def net_write_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
849
848
|
"""
|
|
850
849
|
The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
851
850
|
"""
|
|
852
851
|
return pulumi.get(self, "net_write_timeout")
|
|
853
852
|
|
|
854
853
|
@net_write_timeout.setter
|
|
855
|
-
def net_write_timeout(self, value: Optional[pulumi.Input[
|
|
854
|
+
def net_write_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
856
855
|
pulumi.set(self, "net_write_timeout", value)
|
|
857
856
|
|
|
858
|
-
@property
|
|
857
|
+
@_builtins.property
|
|
859
858
|
@pulumi.getter(name="slowQueryLog")
|
|
860
|
-
def slow_query_log(self) -> Optional[pulumi.Input[
|
|
859
|
+
def slow_query_log(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
861
860
|
"""
|
|
862
861
|
When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
863
862
|
"""
|
|
864
863
|
return pulumi.get(self, "slow_query_log")
|
|
865
864
|
|
|
866
865
|
@slow_query_log.setter
|
|
867
|
-
def slow_query_log(self, value: Optional[pulumi.Input[
|
|
866
|
+
def slow_query_log(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
868
867
|
pulumi.set(self, "slow_query_log", value)
|
|
869
868
|
|
|
870
|
-
@property
|
|
869
|
+
@_builtins.property
|
|
871
870
|
@pulumi.getter(name="sortBufferSize")
|
|
872
|
-
def sort_buffer_size(self) -> Optional[pulumi.Input[
|
|
871
|
+
def sort_buffer_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
873
872
|
"""
|
|
874
873
|
The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
875
874
|
"""
|
|
876
875
|
return pulumi.get(self, "sort_buffer_size")
|
|
877
876
|
|
|
878
877
|
@sort_buffer_size.setter
|
|
879
|
-
def sort_buffer_size(self, value: Optional[pulumi.Input[
|
|
878
|
+
def sort_buffer_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
880
879
|
pulumi.set(self, "sort_buffer_size", value)
|
|
881
880
|
|
|
882
|
-
@property
|
|
881
|
+
@_builtins.property
|
|
883
882
|
@pulumi.getter(name="sqlMode")
|
|
884
|
-
def sql_mode(self) -> Optional[pulumi.Input[
|
|
883
|
+
def sql_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
885
884
|
"""
|
|
886
885
|
Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
887
886
|
"""
|
|
888
887
|
return pulumi.get(self, "sql_mode")
|
|
889
888
|
|
|
890
889
|
@sql_mode.setter
|
|
891
|
-
def sql_mode(self, value: Optional[pulumi.Input[
|
|
890
|
+
def sql_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
892
891
|
pulumi.set(self, "sql_mode", value)
|
|
893
892
|
|
|
894
|
-
@property
|
|
893
|
+
@_builtins.property
|
|
895
894
|
@pulumi.getter(name="sqlRequirePrimaryKey")
|
|
896
|
-
def sql_require_primary_key(self) -> Optional[pulumi.Input[
|
|
895
|
+
def sql_require_primary_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
897
896
|
"""
|
|
898
897
|
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.
|
|
899
898
|
"""
|
|
900
899
|
return pulumi.get(self, "sql_require_primary_key")
|
|
901
900
|
|
|
902
901
|
@sql_require_primary_key.setter
|
|
903
|
-
def sql_require_primary_key(self, value: Optional[pulumi.Input[
|
|
902
|
+
def sql_require_primary_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
904
903
|
pulumi.set(self, "sql_require_primary_key", value)
|
|
905
904
|
|
|
906
|
-
@property
|
|
905
|
+
@_builtins.property
|
|
907
906
|
@pulumi.getter(name="tmpTableSize")
|
|
908
|
-
def tmp_table_size(self) -> Optional[pulumi.Input[
|
|
907
|
+
def tmp_table_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
909
908
|
"""
|
|
910
909
|
The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
911
910
|
"""
|
|
912
911
|
return pulumi.get(self, "tmp_table_size")
|
|
913
912
|
|
|
914
913
|
@tmp_table_size.setter
|
|
915
|
-
def tmp_table_size(self, value: Optional[pulumi.Input[
|
|
914
|
+
def tmp_table_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
916
915
|
pulumi.set(self, "tmp_table_size", value)
|
|
917
916
|
|
|
918
|
-
@property
|
|
917
|
+
@_builtins.property
|
|
919
918
|
@pulumi.getter(name="waitTimeout")
|
|
920
|
-
def wait_timeout(self) -> Optional[pulumi.Input[
|
|
919
|
+
def wait_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
921
920
|
"""
|
|
922
921
|
The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
923
922
|
"""
|
|
924
923
|
return pulumi.get(self, "wait_timeout")
|
|
925
924
|
|
|
926
925
|
@wait_timeout.setter
|
|
927
|
-
def wait_timeout(self, value: Optional[pulumi.Input[
|
|
926
|
+
def wait_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
928
927
|
pulumi.set(self, "wait_timeout", value)
|
|
929
928
|
|
|
930
929
|
|
|
@@ -934,34 +933,34 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
934
933
|
def __init__(__self__,
|
|
935
934
|
resource_name: str,
|
|
936
935
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
937
|
-
backup_hour: Optional[pulumi.Input[
|
|
938
|
-
backup_minute: Optional[pulumi.Input[
|
|
939
|
-
binlog_retention_period: Optional[pulumi.Input[
|
|
940
|
-
cluster_id: Optional[pulumi.Input[
|
|
941
|
-
connect_timeout: Optional[pulumi.Input[
|
|
942
|
-
default_time_zone: Optional[pulumi.Input[
|
|
943
|
-
group_concat_max_len: Optional[pulumi.Input[
|
|
944
|
-
information_schema_stats_expiry: Optional[pulumi.Input[
|
|
945
|
-
innodb_ft_min_token_size: Optional[pulumi.Input[
|
|
946
|
-
innodb_ft_server_stopword_table: Optional[pulumi.Input[
|
|
947
|
-
innodb_lock_wait_timeout: Optional[pulumi.Input[
|
|
948
|
-
innodb_log_buffer_size: Optional[pulumi.Input[
|
|
949
|
-
innodb_online_alter_log_max_size: Optional[pulumi.Input[
|
|
950
|
-
innodb_print_all_deadlocks: Optional[pulumi.Input[
|
|
951
|
-
innodb_rollback_on_timeout: Optional[pulumi.Input[
|
|
952
|
-
interactive_timeout: Optional[pulumi.Input[
|
|
953
|
-
internal_tmp_mem_storage_engine: Optional[pulumi.Input[
|
|
954
|
-
long_query_time: Optional[pulumi.Input[
|
|
955
|
-
max_allowed_packet: Optional[pulumi.Input[
|
|
956
|
-
max_heap_table_size: Optional[pulumi.Input[
|
|
957
|
-
net_read_timeout: Optional[pulumi.Input[
|
|
958
|
-
net_write_timeout: Optional[pulumi.Input[
|
|
959
|
-
slow_query_log: Optional[pulumi.Input[
|
|
960
|
-
sort_buffer_size: Optional[pulumi.Input[
|
|
961
|
-
sql_mode: Optional[pulumi.Input[
|
|
962
|
-
sql_require_primary_key: Optional[pulumi.Input[
|
|
963
|
-
tmp_table_size: Optional[pulumi.Input[
|
|
964
|
-
wait_timeout: Optional[pulumi.Input[
|
|
936
|
+
backup_hour: Optional[pulumi.Input[_builtins.int]] = None,
|
|
937
|
+
backup_minute: Optional[pulumi.Input[_builtins.int]] = None,
|
|
938
|
+
binlog_retention_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
939
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
940
|
+
connect_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
941
|
+
default_time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
942
|
+
group_concat_max_len: Optional[pulumi.Input[_builtins.int]] = None,
|
|
943
|
+
information_schema_stats_expiry: Optional[pulumi.Input[_builtins.int]] = None,
|
|
944
|
+
innodb_ft_min_token_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
945
|
+
innodb_ft_server_stopword_table: Optional[pulumi.Input[_builtins.str]] = None,
|
|
946
|
+
innodb_lock_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
947
|
+
innodb_log_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
948
|
+
innodb_online_alter_log_max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
949
|
+
innodb_print_all_deadlocks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
950
|
+
innodb_rollback_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
951
|
+
interactive_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
952
|
+
internal_tmp_mem_storage_engine: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
|
+
long_query_time: Optional[pulumi.Input[_builtins.float]] = None,
|
|
954
|
+
max_allowed_packet: Optional[pulumi.Input[_builtins.int]] = None,
|
|
955
|
+
max_heap_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
956
|
+
net_read_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
957
|
+
net_write_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
958
|
+
slow_query_log: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
959
|
+
sort_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
960
|
+
sql_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
961
|
+
sql_require_primary_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
962
|
+
tmp_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
963
|
+
wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
965
964
|
__props__=None):
|
|
966
965
|
"""
|
|
967
966
|
Provides a virtual resource that can be used to change advanced configuration
|
|
@@ -998,34 +997,34 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
998
997
|
|
|
999
998
|
:param str resource_name: The name of the resource.
|
|
1000
999
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1001
|
-
:param pulumi.Input[
|
|
1002
|
-
:param pulumi.Input[
|
|
1003
|
-
:param pulumi.Input[
|
|
1004
|
-
:param pulumi.Input[
|
|
1005
|
-
:param pulumi.Input[
|
|
1006
|
-
:param pulumi.Input[
|
|
1007
|
-
:param pulumi.Input[
|
|
1008
|
-
:param pulumi.Input[
|
|
1009
|
-
:param pulumi.Input[
|
|
1010
|
-
:param pulumi.Input[
|
|
1011
|
-
:param pulumi.Input[
|
|
1012
|
-
:param pulumi.Input[
|
|
1013
|
-
:param pulumi.Input[
|
|
1014
|
-
:param pulumi.Input[
|
|
1015
|
-
:param pulumi.Input[
|
|
1016
|
-
:param pulumi.Input[
|
|
1017
|
-
:param pulumi.Input[
|
|
1018
|
-
:param pulumi.Input[
|
|
1019
|
-
:param pulumi.Input[
|
|
1020
|
-
:param pulumi.Input[
|
|
1021
|
-
:param pulumi.Input[
|
|
1022
|
-
:param pulumi.Input[
|
|
1023
|
-
:param pulumi.Input[
|
|
1024
|
-
:param pulumi.Input[
|
|
1025
|
-
:param pulumi.Input[
|
|
1026
|
-
:param pulumi.Input[
|
|
1027
|
-
:param pulumi.Input[
|
|
1028
|
-
:param pulumi.Input[
|
|
1000
|
+
:param pulumi.Input[_builtins.int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1001
|
+
:param pulumi.Input[_builtins.int] backup_minute: The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1002
|
+
:param pulumi.Input[_builtins.int] 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.
|
|
1003
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MySQL cluster.
|
|
1004
|
+
:param pulumi.Input[_builtins.int] connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
1005
|
+
:param pulumi.Input[_builtins.str] default_time_zone: Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
1006
|
+
:param pulumi.Input[_builtins.int] group_concat_max_len: The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
1007
|
+
:param pulumi.Input[_builtins.int] information_schema_stats_expiry: The time, in seconds, before cached statistics expire.
|
|
1008
|
+
:param pulumi.Input[_builtins.int] innodb_ft_min_token_size: The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
1009
|
+
:param pulumi.Input[_builtins.str] innodb_ft_server_stopword_table: The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1010
|
+
:param pulumi.Input[_builtins.int] innodb_lock_wait_timeout: The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
1011
|
+
:param pulumi.Input[_builtins.int] innodb_log_buffer_size: The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
1012
|
+
:param pulumi.Input[_builtins.int] innodb_online_alter_log_max_size: The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1013
|
+
:param pulumi.Input[_builtins.bool] innodb_print_all_deadlocks: When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
1014
|
+
:param pulumi.Input[_builtins.bool] innodb_rollback_on_timeout: When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
1015
|
+
:param pulumi.Input[_builtins.int] interactive_timeout: The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
1016
|
+
:param pulumi.Input[_builtins.str] internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
1017
|
+
:param pulumi.Input[_builtins.float] long_query_time: The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
1018
|
+
:param pulumi.Input[_builtins.int] max_allowed_packet: The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
1019
|
+
:param pulumi.Input[_builtins.int] max_heap_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
1020
|
+
:param pulumi.Input[_builtins.int] net_read_timeout: The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
1021
|
+
:param pulumi.Input[_builtins.int] net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
1022
|
+
:param pulumi.Input[_builtins.bool] slow_query_log: When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
1023
|
+
:param pulumi.Input[_builtins.int] sort_buffer_size: The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
1024
|
+
:param pulumi.Input[_builtins.str] sql_mode: Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
1025
|
+
:param pulumi.Input[_builtins.bool] 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.
|
|
1026
|
+
:param pulumi.Input[_builtins.int] tmp_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
1027
|
+
:param pulumi.Input[_builtins.int] wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
1029
1028
|
"""
|
|
1030
1029
|
...
|
|
1031
1030
|
@overload
|
|
@@ -1081,34 +1080,34 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
1081
1080
|
def _internal_init(__self__,
|
|
1082
1081
|
resource_name: str,
|
|
1083
1082
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1084
|
-
backup_hour: Optional[pulumi.Input[
|
|
1085
|
-
backup_minute: Optional[pulumi.Input[
|
|
1086
|
-
binlog_retention_period: Optional[pulumi.Input[
|
|
1087
|
-
cluster_id: Optional[pulumi.Input[
|
|
1088
|
-
connect_timeout: Optional[pulumi.Input[
|
|
1089
|
-
default_time_zone: Optional[pulumi.Input[
|
|
1090
|
-
group_concat_max_len: Optional[pulumi.Input[
|
|
1091
|
-
information_schema_stats_expiry: Optional[pulumi.Input[
|
|
1092
|
-
innodb_ft_min_token_size: Optional[pulumi.Input[
|
|
1093
|
-
innodb_ft_server_stopword_table: Optional[pulumi.Input[
|
|
1094
|
-
innodb_lock_wait_timeout: Optional[pulumi.Input[
|
|
1095
|
-
innodb_log_buffer_size: Optional[pulumi.Input[
|
|
1096
|
-
innodb_online_alter_log_max_size: Optional[pulumi.Input[
|
|
1097
|
-
innodb_print_all_deadlocks: Optional[pulumi.Input[
|
|
1098
|
-
innodb_rollback_on_timeout: Optional[pulumi.Input[
|
|
1099
|
-
interactive_timeout: Optional[pulumi.Input[
|
|
1100
|
-
internal_tmp_mem_storage_engine: Optional[pulumi.Input[
|
|
1101
|
-
long_query_time: Optional[pulumi.Input[
|
|
1102
|
-
max_allowed_packet: Optional[pulumi.Input[
|
|
1103
|
-
max_heap_table_size: Optional[pulumi.Input[
|
|
1104
|
-
net_read_timeout: Optional[pulumi.Input[
|
|
1105
|
-
net_write_timeout: Optional[pulumi.Input[
|
|
1106
|
-
slow_query_log: Optional[pulumi.Input[
|
|
1107
|
-
sort_buffer_size: Optional[pulumi.Input[
|
|
1108
|
-
sql_mode: Optional[pulumi.Input[
|
|
1109
|
-
sql_require_primary_key: Optional[pulumi.Input[
|
|
1110
|
-
tmp_table_size: Optional[pulumi.Input[
|
|
1111
|
-
wait_timeout: Optional[pulumi.Input[
|
|
1083
|
+
backup_hour: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1084
|
+
backup_minute: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1085
|
+
binlog_retention_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1086
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1087
|
+
connect_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1088
|
+
default_time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1089
|
+
group_concat_max_len: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1090
|
+
information_schema_stats_expiry: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1091
|
+
innodb_ft_min_token_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1092
|
+
innodb_ft_server_stopword_table: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1093
|
+
innodb_lock_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1094
|
+
innodb_log_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1095
|
+
innodb_online_alter_log_max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1096
|
+
innodb_print_all_deadlocks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1097
|
+
innodb_rollback_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1098
|
+
interactive_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1099
|
+
internal_tmp_mem_storage_engine: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1100
|
+
long_query_time: Optional[pulumi.Input[_builtins.float]] = None,
|
|
1101
|
+
max_allowed_packet: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1102
|
+
max_heap_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1103
|
+
net_read_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1104
|
+
net_write_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1105
|
+
slow_query_log: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1106
|
+
sort_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1107
|
+
sql_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1108
|
+
sql_require_primary_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1109
|
+
tmp_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1110
|
+
wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1112
1111
|
__props__=None):
|
|
1113
1112
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1114
1113
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1158,34 +1157,34 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
1158
1157
|
def get(resource_name: str,
|
|
1159
1158
|
id: pulumi.Input[str],
|
|
1160
1159
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1161
|
-
backup_hour: Optional[pulumi.Input[
|
|
1162
|
-
backup_minute: Optional[pulumi.Input[
|
|
1163
|
-
binlog_retention_period: Optional[pulumi.Input[
|
|
1164
|
-
cluster_id: Optional[pulumi.Input[
|
|
1165
|
-
connect_timeout: Optional[pulumi.Input[
|
|
1166
|
-
default_time_zone: Optional[pulumi.Input[
|
|
1167
|
-
group_concat_max_len: Optional[pulumi.Input[
|
|
1168
|
-
information_schema_stats_expiry: Optional[pulumi.Input[
|
|
1169
|
-
innodb_ft_min_token_size: Optional[pulumi.Input[
|
|
1170
|
-
innodb_ft_server_stopword_table: Optional[pulumi.Input[
|
|
1171
|
-
innodb_lock_wait_timeout: Optional[pulumi.Input[
|
|
1172
|
-
innodb_log_buffer_size: Optional[pulumi.Input[
|
|
1173
|
-
innodb_online_alter_log_max_size: Optional[pulumi.Input[
|
|
1174
|
-
innodb_print_all_deadlocks: Optional[pulumi.Input[
|
|
1175
|
-
innodb_rollback_on_timeout: Optional[pulumi.Input[
|
|
1176
|
-
interactive_timeout: Optional[pulumi.Input[
|
|
1177
|
-
internal_tmp_mem_storage_engine: Optional[pulumi.Input[
|
|
1178
|
-
long_query_time: Optional[pulumi.Input[
|
|
1179
|
-
max_allowed_packet: Optional[pulumi.Input[
|
|
1180
|
-
max_heap_table_size: Optional[pulumi.Input[
|
|
1181
|
-
net_read_timeout: Optional[pulumi.Input[
|
|
1182
|
-
net_write_timeout: Optional[pulumi.Input[
|
|
1183
|
-
slow_query_log: Optional[pulumi.Input[
|
|
1184
|
-
sort_buffer_size: Optional[pulumi.Input[
|
|
1185
|
-
sql_mode: Optional[pulumi.Input[
|
|
1186
|
-
sql_require_primary_key: Optional[pulumi.Input[
|
|
1187
|
-
tmp_table_size: Optional[pulumi.Input[
|
|
1188
|
-
wait_timeout: Optional[pulumi.Input[
|
|
1160
|
+
backup_hour: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1161
|
+
backup_minute: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1162
|
+
binlog_retention_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1163
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1164
|
+
connect_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1165
|
+
default_time_zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1166
|
+
group_concat_max_len: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1167
|
+
information_schema_stats_expiry: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1168
|
+
innodb_ft_min_token_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1169
|
+
innodb_ft_server_stopword_table: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1170
|
+
innodb_lock_wait_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1171
|
+
innodb_log_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1172
|
+
innodb_online_alter_log_max_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1173
|
+
innodb_print_all_deadlocks: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1174
|
+
innodb_rollback_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1175
|
+
interactive_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1176
|
+
internal_tmp_mem_storage_engine: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1177
|
+
long_query_time: Optional[pulumi.Input[_builtins.float]] = None,
|
|
1178
|
+
max_allowed_packet: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1179
|
+
max_heap_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1180
|
+
net_read_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1181
|
+
net_write_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1182
|
+
slow_query_log: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1183
|
+
sort_buffer_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1184
|
+
sql_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1185
|
+
sql_require_primary_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1186
|
+
tmp_table_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1187
|
+
wait_timeout: Optional[pulumi.Input[_builtins.int]] = None) -> 'DatabaseMysqlConfig':
|
|
1189
1188
|
"""
|
|
1190
1189
|
Get an existing DatabaseMysqlConfig resource's state with the given name, id, and optional extra
|
|
1191
1190
|
properties used to qualify the lookup.
|
|
@@ -1193,34 +1192,34 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
1193
1192
|
:param str resource_name: The unique name of the resulting resource.
|
|
1194
1193
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1195
1194
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1196
|
-
:param pulumi.Input[
|
|
1197
|
-
:param pulumi.Input[
|
|
1198
|
-
:param pulumi.Input[
|
|
1199
|
-
:param pulumi.Input[
|
|
1200
|
-
:param pulumi.Input[
|
|
1201
|
-
:param pulumi.Input[
|
|
1202
|
-
:param pulumi.Input[
|
|
1203
|
-
:param pulumi.Input[
|
|
1204
|
-
:param pulumi.Input[
|
|
1205
|
-
:param pulumi.Input[
|
|
1206
|
-
:param pulumi.Input[
|
|
1207
|
-
:param pulumi.Input[
|
|
1208
|
-
:param pulumi.Input[
|
|
1209
|
-
:param pulumi.Input[
|
|
1210
|
-
:param pulumi.Input[
|
|
1211
|
-
:param pulumi.Input[
|
|
1212
|
-
:param pulumi.Input[
|
|
1213
|
-
:param pulumi.Input[
|
|
1214
|
-
:param pulumi.Input[
|
|
1215
|
-
:param pulumi.Input[
|
|
1216
|
-
:param pulumi.Input[
|
|
1217
|
-
:param pulumi.Input[
|
|
1218
|
-
:param pulumi.Input[
|
|
1219
|
-
:param pulumi.Input[
|
|
1220
|
-
:param pulumi.Input[
|
|
1221
|
-
:param pulumi.Input[
|
|
1222
|
-
:param pulumi.Input[
|
|
1223
|
-
:param pulumi.Input[
|
|
1195
|
+
:param pulumi.Input[_builtins.int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1196
|
+
:param pulumi.Input[_builtins.int] backup_minute: The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1197
|
+
:param pulumi.Input[_builtins.int] 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.
|
|
1198
|
+
:param pulumi.Input[_builtins.str] cluster_id: The ID of the target MySQL cluster.
|
|
1199
|
+
:param pulumi.Input[_builtins.int] connect_timeout: The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
1200
|
+
:param pulumi.Input[_builtins.str] default_time_zone: Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
1201
|
+
:param pulumi.Input[_builtins.int] group_concat_max_len: The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
1202
|
+
:param pulumi.Input[_builtins.int] information_schema_stats_expiry: The time, in seconds, before cached statistics expire.
|
|
1203
|
+
:param pulumi.Input[_builtins.int] innodb_ft_min_token_size: The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
1204
|
+
:param pulumi.Input[_builtins.str] innodb_ft_server_stopword_table: The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1205
|
+
:param pulumi.Input[_builtins.int] innodb_lock_wait_timeout: The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
1206
|
+
:param pulumi.Input[_builtins.int] innodb_log_buffer_size: The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
1207
|
+
:param pulumi.Input[_builtins.int] innodb_online_alter_log_max_size: The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1208
|
+
:param pulumi.Input[_builtins.bool] innodb_print_all_deadlocks: When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
1209
|
+
:param pulumi.Input[_builtins.bool] innodb_rollback_on_timeout: When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
1210
|
+
:param pulumi.Input[_builtins.int] interactive_timeout: The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
1211
|
+
:param pulumi.Input[_builtins.str] internal_tmp_mem_storage_engine: The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
1212
|
+
:param pulumi.Input[_builtins.float] long_query_time: The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
1213
|
+
:param pulumi.Input[_builtins.int] max_allowed_packet: The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
1214
|
+
:param pulumi.Input[_builtins.int] max_heap_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
1215
|
+
:param pulumi.Input[_builtins.int] net_read_timeout: The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
1216
|
+
:param pulumi.Input[_builtins.int] net_write_timeout: The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
1217
|
+
:param pulumi.Input[_builtins.bool] slow_query_log: When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
1218
|
+
:param pulumi.Input[_builtins.int] sort_buffer_size: The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
1219
|
+
:param pulumi.Input[_builtins.str] sql_mode: Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
1220
|
+
:param pulumi.Input[_builtins.bool] 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.
|
|
1221
|
+
:param pulumi.Input[_builtins.int] tmp_table_size: The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
1222
|
+
:param pulumi.Input[_builtins.int] wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
1224
1223
|
"""
|
|
1225
1224
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1226
1225
|
|
|
@@ -1256,225 +1255,225 @@ class DatabaseMysqlConfig(pulumi.CustomResource):
|
|
|
1256
1255
|
__props__.__dict__["wait_timeout"] = wait_timeout
|
|
1257
1256
|
return DatabaseMysqlConfig(resource_name, opts=opts, __props__=__props__)
|
|
1258
1257
|
|
|
1259
|
-
@property
|
|
1258
|
+
@_builtins.property
|
|
1260
1259
|
@pulumi.getter(name="backupHour")
|
|
1261
|
-
def backup_hour(self) -> pulumi.Output[
|
|
1260
|
+
def backup_hour(self) -> pulumi.Output[_builtins.int]:
|
|
1262
1261
|
"""
|
|
1263
1262
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1264
1263
|
"""
|
|
1265
1264
|
return pulumi.get(self, "backup_hour")
|
|
1266
1265
|
|
|
1267
|
-
@property
|
|
1266
|
+
@_builtins.property
|
|
1268
1267
|
@pulumi.getter(name="backupMinute")
|
|
1269
|
-
def backup_minute(self) -> pulumi.Output[
|
|
1268
|
+
def backup_minute(self) -> pulumi.Output[_builtins.int]:
|
|
1270
1269
|
"""
|
|
1271
1270
|
The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1272
1271
|
"""
|
|
1273
1272
|
return pulumi.get(self, "backup_minute")
|
|
1274
1273
|
|
|
1275
|
-
@property
|
|
1274
|
+
@_builtins.property
|
|
1276
1275
|
@pulumi.getter(name="binlogRetentionPeriod")
|
|
1277
|
-
def binlog_retention_period(self) -> pulumi.Output[
|
|
1276
|
+
def binlog_retention_period(self) -> pulumi.Output[_builtins.int]:
|
|
1278
1277
|
"""
|
|
1279
1278
|
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.
|
|
1280
1279
|
"""
|
|
1281
1280
|
return pulumi.get(self, "binlog_retention_period")
|
|
1282
1281
|
|
|
1283
|
-
@property
|
|
1282
|
+
@_builtins.property
|
|
1284
1283
|
@pulumi.getter(name="clusterId")
|
|
1285
|
-
def cluster_id(self) -> pulumi.Output[
|
|
1284
|
+
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
1286
1285
|
"""
|
|
1287
1286
|
The ID of the target MySQL cluster.
|
|
1288
1287
|
"""
|
|
1289
1288
|
return pulumi.get(self, "cluster_id")
|
|
1290
1289
|
|
|
1291
|
-
@property
|
|
1290
|
+
@_builtins.property
|
|
1292
1291
|
@pulumi.getter(name="connectTimeout")
|
|
1293
|
-
def connect_timeout(self) -> pulumi.Output[
|
|
1292
|
+
def connect_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1294
1293
|
"""
|
|
1295
1294
|
The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
|
|
1296
1295
|
"""
|
|
1297
1296
|
return pulumi.get(self, "connect_timeout")
|
|
1298
1297
|
|
|
1299
|
-
@property
|
|
1298
|
+
@_builtins.property
|
|
1300
1299
|
@pulumi.getter(name="defaultTimeZone")
|
|
1301
|
-
def default_time_zone(self) -> pulumi.Output[
|
|
1300
|
+
def default_time_zone(self) -> pulumi.Output[_builtins.str]:
|
|
1302
1301
|
"""
|
|
1303
1302
|
Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
|
|
1304
1303
|
"""
|
|
1305
1304
|
return pulumi.get(self, "default_time_zone")
|
|
1306
1305
|
|
|
1307
|
-
@property
|
|
1306
|
+
@_builtins.property
|
|
1308
1307
|
@pulumi.getter(name="groupConcatMaxLen")
|
|
1309
|
-
def group_concat_max_len(self) -> pulumi.Output[
|
|
1308
|
+
def group_concat_max_len(self) -> pulumi.Output[_builtins.int]:
|
|
1310
1309
|
"""
|
|
1311
1310
|
The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
|
|
1312
1311
|
"""
|
|
1313
1312
|
return pulumi.get(self, "group_concat_max_len")
|
|
1314
1313
|
|
|
1315
|
-
@property
|
|
1314
|
+
@_builtins.property
|
|
1316
1315
|
@pulumi.getter(name="informationSchemaStatsExpiry")
|
|
1317
|
-
def information_schema_stats_expiry(self) -> pulumi.Output[
|
|
1316
|
+
def information_schema_stats_expiry(self) -> pulumi.Output[_builtins.int]:
|
|
1318
1317
|
"""
|
|
1319
1318
|
The time, in seconds, before cached statistics expire.
|
|
1320
1319
|
"""
|
|
1321
1320
|
return pulumi.get(self, "information_schema_stats_expiry")
|
|
1322
1321
|
|
|
1323
|
-
@property
|
|
1322
|
+
@_builtins.property
|
|
1324
1323
|
@pulumi.getter(name="innodbFtMinTokenSize")
|
|
1325
|
-
def innodb_ft_min_token_size(self) -> pulumi.Output[
|
|
1324
|
+
def innodb_ft_min_token_size(self) -> pulumi.Output[_builtins.int]:
|
|
1326
1325
|
"""
|
|
1327
1326
|
The minimum length of words that an InnoDB FULLTEXT index stores.
|
|
1328
1327
|
"""
|
|
1329
1328
|
return pulumi.get(self, "innodb_ft_min_token_size")
|
|
1330
1329
|
|
|
1331
|
-
@property
|
|
1330
|
+
@_builtins.property
|
|
1332
1331
|
@pulumi.getter(name="innodbFtServerStopwordTable")
|
|
1333
|
-
def innodb_ft_server_stopword_table(self) -> pulumi.Output[
|
|
1332
|
+
def innodb_ft_server_stopword_table(self) -> pulumi.Output[_builtins.str]:
|
|
1334
1333
|
"""
|
|
1335
1334
|
The InnoDB FULLTEXT index stopword list for all InnoDB tables.
|
|
1336
1335
|
"""
|
|
1337
1336
|
return pulumi.get(self, "innodb_ft_server_stopword_table")
|
|
1338
1337
|
|
|
1339
|
-
@property
|
|
1338
|
+
@_builtins.property
|
|
1340
1339
|
@pulumi.getter(name="innodbLockWaitTimeout")
|
|
1341
|
-
def innodb_lock_wait_timeout(self) -> pulumi.Output[
|
|
1340
|
+
def innodb_lock_wait_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1342
1341
|
"""
|
|
1343
1342
|
The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
|
|
1344
1343
|
"""
|
|
1345
1344
|
return pulumi.get(self, "innodb_lock_wait_timeout")
|
|
1346
1345
|
|
|
1347
|
-
@property
|
|
1346
|
+
@_builtins.property
|
|
1348
1347
|
@pulumi.getter(name="innodbLogBufferSize")
|
|
1349
|
-
def innodb_log_buffer_size(self) -> pulumi.Output[
|
|
1348
|
+
def innodb_log_buffer_size(self) -> pulumi.Output[_builtins.int]:
|
|
1350
1349
|
"""
|
|
1351
1350
|
The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
|
|
1352
1351
|
"""
|
|
1353
1352
|
return pulumi.get(self, "innodb_log_buffer_size")
|
|
1354
1353
|
|
|
1355
|
-
@property
|
|
1354
|
+
@_builtins.property
|
|
1356
1355
|
@pulumi.getter(name="innodbOnlineAlterLogMaxSize")
|
|
1357
|
-
def innodb_online_alter_log_max_size(self) -> pulumi.Output[
|
|
1356
|
+
def innodb_online_alter_log_max_size(self) -> pulumi.Output[_builtins.int]:
|
|
1358
1357
|
"""
|
|
1359
1358
|
The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
|
|
1360
1359
|
"""
|
|
1361
1360
|
return pulumi.get(self, "innodb_online_alter_log_max_size")
|
|
1362
1361
|
|
|
1363
|
-
@property
|
|
1362
|
+
@_builtins.property
|
|
1364
1363
|
@pulumi.getter(name="innodbPrintAllDeadlocks")
|
|
1365
|
-
def innodb_print_all_deadlocks(self) -> pulumi.Output[
|
|
1364
|
+
def innodb_print_all_deadlocks(self) -> pulumi.Output[_builtins.bool]:
|
|
1366
1365
|
"""
|
|
1367
1366
|
When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
|
|
1368
1367
|
"""
|
|
1369
1368
|
return pulumi.get(self, "innodb_print_all_deadlocks")
|
|
1370
1369
|
|
|
1371
|
-
@property
|
|
1370
|
+
@_builtins.property
|
|
1372
1371
|
@pulumi.getter(name="innodbRollbackOnTimeout")
|
|
1373
|
-
def innodb_rollback_on_timeout(self) -> pulumi.Output[
|
|
1372
|
+
def innodb_rollback_on_timeout(self) -> pulumi.Output[_builtins.bool]:
|
|
1374
1373
|
"""
|
|
1375
1374
|
When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
|
|
1376
1375
|
"""
|
|
1377
1376
|
return pulumi.get(self, "innodb_rollback_on_timeout")
|
|
1378
1377
|
|
|
1379
|
-
@property
|
|
1378
|
+
@_builtins.property
|
|
1380
1379
|
@pulumi.getter(name="interactiveTimeout")
|
|
1381
|
-
def interactive_timeout(self) -> pulumi.Output[
|
|
1380
|
+
def interactive_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1382
1381
|
"""
|
|
1383
1382
|
The time, in seconds, the server waits for activity on an interactive. connection before closing it.
|
|
1384
1383
|
"""
|
|
1385
1384
|
return pulumi.get(self, "interactive_timeout")
|
|
1386
1385
|
|
|
1387
|
-
@property
|
|
1386
|
+
@_builtins.property
|
|
1388
1387
|
@pulumi.getter(name="internalTmpMemStorageEngine")
|
|
1389
|
-
def internal_tmp_mem_storage_engine(self) -> pulumi.Output[
|
|
1388
|
+
def internal_tmp_mem_storage_engine(self) -> pulumi.Output[_builtins.str]:
|
|
1390
1389
|
"""
|
|
1391
1390
|
The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
|
|
1392
1391
|
"""
|
|
1393
1392
|
return pulumi.get(self, "internal_tmp_mem_storage_engine")
|
|
1394
1393
|
|
|
1395
|
-
@property
|
|
1394
|
+
@_builtins.property
|
|
1396
1395
|
@pulumi.getter(name="longQueryTime")
|
|
1397
|
-
def long_query_time(self) -> pulumi.Output[
|
|
1396
|
+
def long_query_time(self) -> pulumi.Output[_builtins.float]:
|
|
1398
1397
|
"""
|
|
1399
1398
|
The time, in seconds, for a query to take to execute before being captured by `slow_query_logs`. Default is `10` seconds.
|
|
1400
1399
|
"""
|
|
1401
1400
|
return pulumi.get(self, "long_query_time")
|
|
1402
1401
|
|
|
1403
|
-
@property
|
|
1402
|
+
@_builtins.property
|
|
1404
1403
|
@pulumi.getter(name="maxAllowedPacket")
|
|
1405
|
-
def max_allowed_packet(self) -> pulumi.Output[
|
|
1404
|
+
def max_allowed_packet(self) -> pulumi.Output[_builtins.int]:
|
|
1406
1405
|
"""
|
|
1407
1406
|
The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
|
|
1408
1407
|
"""
|
|
1409
1408
|
return pulumi.get(self, "max_allowed_packet")
|
|
1410
1409
|
|
|
1411
|
-
@property
|
|
1410
|
+
@_builtins.property
|
|
1412
1411
|
@pulumi.getter(name="maxHeapTableSize")
|
|
1413
|
-
def max_heap_table_size(self) -> pulumi.Output[
|
|
1412
|
+
def max_heap_table_size(self) -> pulumi.Output[_builtins.int]:
|
|
1414
1413
|
"""
|
|
1415
1414
|
The maximum size, in bytes, of internal in-memory tables. Also set `tmp_table_size`. Default is `16777216` (16M)
|
|
1416
1415
|
"""
|
|
1417
1416
|
return pulumi.get(self, "max_heap_table_size")
|
|
1418
1417
|
|
|
1419
|
-
@property
|
|
1418
|
+
@_builtins.property
|
|
1420
1419
|
@pulumi.getter(name="netReadTimeout")
|
|
1421
|
-
def net_read_timeout(self) -> pulumi.Output[
|
|
1420
|
+
def net_read_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1422
1421
|
"""
|
|
1423
1422
|
The time, in seconds, to wait for more data from an existing connection. aborting the read.
|
|
1424
1423
|
"""
|
|
1425
1424
|
return pulumi.get(self, "net_read_timeout")
|
|
1426
1425
|
|
|
1427
|
-
@property
|
|
1426
|
+
@_builtins.property
|
|
1428
1427
|
@pulumi.getter(name="netWriteTimeout")
|
|
1429
|
-
def net_write_timeout(self) -> pulumi.Output[
|
|
1428
|
+
def net_write_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1430
1429
|
"""
|
|
1431
1430
|
The number of seconds to wait for a block to be written to a connection before aborting the write.
|
|
1432
1431
|
"""
|
|
1433
1432
|
return pulumi.get(self, "net_write_timeout")
|
|
1434
1433
|
|
|
1435
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1436
1435
|
@pulumi.getter(name="slowQueryLog")
|
|
1437
|
-
def slow_query_log(self) -> pulumi.Output[
|
|
1436
|
+
def slow_query_log(self) -> pulumi.Output[_builtins.bool]:
|
|
1438
1437
|
"""
|
|
1439
1438
|
When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
|
|
1440
1439
|
"""
|
|
1441
1440
|
return pulumi.get(self, "slow_query_log")
|
|
1442
1441
|
|
|
1443
|
-
@property
|
|
1442
|
+
@_builtins.property
|
|
1444
1443
|
@pulumi.getter(name="sortBufferSize")
|
|
1445
|
-
def sort_buffer_size(self) -> pulumi.Output[
|
|
1444
|
+
def sort_buffer_size(self) -> pulumi.Output[_builtins.int]:
|
|
1446
1445
|
"""
|
|
1447
1446
|
The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
|
|
1448
1447
|
"""
|
|
1449
1448
|
return pulumi.get(self, "sort_buffer_size")
|
|
1450
1449
|
|
|
1451
|
-
@property
|
|
1450
|
+
@_builtins.property
|
|
1452
1451
|
@pulumi.getter(name="sqlMode")
|
|
1453
|
-
def sql_mode(self) -> pulumi.Output[
|
|
1452
|
+
def sql_mode(self) -> pulumi.Output[_builtins.str]:
|
|
1454
1453
|
"""
|
|
1455
1454
|
Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
|
|
1456
1455
|
"""
|
|
1457
1456
|
return pulumi.get(self, "sql_mode")
|
|
1458
1457
|
|
|
1459
|
-
@property
|
|
1458
|
+
@_builtins.property
|
|
1460
1459
|
@pulumi.getter(name="sqlRequirePrimaryKey")
|
|
1461
|
-
def sql_require_primary_key(self) -> pulumi.Output[
|
|
1460
|
+
def sql_require_primary_key(self) -> pulumi.Output[_builtins.bool]:
|
|
1462
1461
|
"""
|
|
1463
1462
|
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.
|
|
1464
1463
|
"""
|
|
1465
1464
|
return pulumi.get(self, "sql_require_primary_key")
|
|
1466
1465
|
|
|
1467
|
-
@property
|
|
1466
|
+
@_builtins.property
|
|
1468
1467
|
@pulumi.getter(name="tmpTableSize")
|
|
1469
|
-
def tmp_table_size(self) -> pulumi.Output[
|
|
1468
|
+
def tmp_table_size(self) -> pulumi.Output[_builtins.int]:
|
|
1470
1469
|
"""
|
|
1471
1470
|
The maximum size, in bytes, of internal in-memory tables. Also set `max_heap_table_size`. Default is `16777216` (16M).
|
|
1472
1471
|
"""
|
|
1473
1472
|
return pulumi.get(self, "tmp_table_size")
|
|
1474
1473
|
|
|
1475
|
-
@property
|
|
1474
|
+
@_builtins.property
|
|
1476
1475
|
@pulumi.getter(name="waitTimeout")
|
|
1477
|
-
def wait_timeout(self) -> pulumi.Output[
|
|
1476
|
+
def wait_timeout(self) -> pulumi.Output[_builtins.int]:
|
|
1478
1477
|
"""
|
|
1479
1478
|
The number of seconds the server waits for activity on a noninteractive connection before closing it.
|
|
1480
1479
|
"""
|