cdktf-cdktf-provider-upcloud 15.0.0__py3-none-any.whl → 15.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.1.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +9 -9
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +71 -110
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +228 -228
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +444 -201
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +1393 -555
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +503 -399
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +132 -132
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +135 -135
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +31 -29
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +140 -140
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +52 -52
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-15.0.0.dist-info → cdktf_cdktf_provider_upcloud-15.1.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-15.1.0.dist-info/RECORD +68 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-15.0.0.dist-info/RECORD +0 -68
- {cdktf_cdktf_provider_upcloud-15.0.0.dist-info → cdktf_cdktf_provider_upcloud-15.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.0.0.dist-info → cdktf_cdktf_provider_upcloud-15.1.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.0.0.dist-info → cdktf_cdktf_provider_upcloud-15.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_managed_database_postgresql`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_managed_database_postgresql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_database_postgresql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class ManagedDatabasePostgresql(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.managedDatabasePostgresql.ManagedDatabasePostgresql",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -71,22 +71,22 @@ class ManagedDatabasePostgresql(
|
|
|
71
71
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
72
72
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
73
73
|
) -> None:
|
|
74
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql} Resource.
|
|
75
75
|
|
|
76
76
|
:param scope: The scope in which to define this construct.
|
|
77
77
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
78
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
79
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
81
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
82
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
84
|
-
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
-
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
86
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
88
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
-
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
79
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
80
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
81
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
82
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
83
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
84
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
85
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
86
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
87
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
88
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
89
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
90
90
|
:param connection:
|
|
91
91
|
:param count:
|
|
92
92
|
:param depends_on:
|
|
@@ -136,7 +136,7 @@ class ManagedDatabasePostgresql(
|
|
|
136
136
|
|
|
137
137
|
:param scope: The scope in which to define this construct.
|
|
138
138
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabasePostgresql to import.
|
|
139
|
-
:param import_from_id: The id of the existing ManagedDatabasePostgresql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
139
|
+
:param import_from_id: The id of the existing ManagedDatabasePostgresql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#import import section} in the documentation of this resource for the id to use
|
|
140
140
|
:param provider: ? Optional instance of the provider where the ManagedDatabasePostgresql to import is found.
|
|
141
141
|
'''
|
|
142
142
|
if __debug__:
|
|
@@ -192,6 +192,7 @@ class ManagedDatabasePostgresql(
|
|
|
192
192
|
log_line_prefix: typing.Optional[builtins.str] = None,
|
|
193
193
|
log_min_duration_statement: typing.Optional[jsii.Number] = None,
|
|
194
194
|
log_temp_files: typing.Optional[jsii.Number] = None,
|
|
195
|
+
max_connections: typing.Optional[jsii.Number] = None,
|
|
195
196
|
max_files_per_process: typing.Optional[jsii.Number] = None,
|
|
196
197
|
max_locks_per_transaction: typing.Optional[jsii.Number] = None,
|
|
197
198
|
max_logical_replication_workers: typing.Optional[jsii.Number] = None,
|
|
@@ -204,6 +205,7 @@ class ManagedDatabasePostgresql(
|
|
|
204
205
|
max_stack_depth: typing.Optional[jsii.Number] = None,
|
|
205
206
|
max_standby_archive_delay: typing.Optional[jsii.Number] = None,
|
|
206
207
|
max_standby_streaming_delay: typing.Optional[jsii.Number] = None,
|
|
208
|
+
max_sync_workers_per_subscription: typing.Optional[jsii.Number] = None,
|
|
207
209
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
208
210
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
209
211
|
migration: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesMigration", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -235,75 +237,77 @@ class ManagedDatabasePostgresql(
|
|
|
235
237
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
236
238
|
) -> None:
|
|
237
239
|
'''
|
|
238
|
-
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
239
|
-
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
240
|
-
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
241
|
-
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.
|
|
242
|
-
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50
|
|
243
|
-
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table.
|
|
244
|
-
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
|
|
245
|
-
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds
|
|
246
|
-
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If
|
|
247
|
-
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If
|
|
248
|
-
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.
|
|
249
|
-
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50
|
|
250
|
-
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
251
|
-
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
252
|
-
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds.
|
|
253
|
-
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes
|
|
254
|
-
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing.
|
|
255
|
-
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0
|
|
256
|
-
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
257
|
-
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns
|
|
258
|
-
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
259
|
-
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
260
|
-
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
261
|
-
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one
|
|
262
|
-
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
263
|
-
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
264
|
-
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
265
|
-
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
266
|
-
:param
|
|
267
|
-
:param
|
|
268
|
-
:param
|
|
269
|
-
:param
|
|
270
|
-
:param
|
|
271
|
-
:param
|
|
272
|
-
:param
|
|
273
|
-
:param
|
|
274
|
-
:param
|
|
275
|
-
:param
|
|
276
|
-
:param
|
|
277
|
-
:param
|
|
278
|
-
:param
|
|
279
|
-
:param
|
|
280
|
-
:param
|
|
281
|
-
:param
|
|
282
|
-
:param
|
|
283
|
-
:param
|
|
284
|
-
:param
|
|
285
|
-
:param
|
|
286
|
-
:param
|
|
287
|
-
:param
|
|
288
|
-
:param
|
|
289
|
-
:param
|
|
290
|
-
:param
|
|
291
|
-
:param
|
|
292
|
-
:param
|
|
293
|
-
:param
|
|
294
|
-
:param
|
|
295
|
-
:param
|
|
296
|
-
:param
|
|
297
|
-
:param
|
|
298
|
-
:param
|
|
299
|
-
:param
|
|
300
|
-
:param
|
|
301
|
-
:param
|
|
302
|
-
:param
|
|
303
|
-
:param
|
|
304
|
-
:param
|
|
305
|
-
:param
|
|
306
|
-
:param
|
|
240
|
+
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
241
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
242
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
243
|
+
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
244
|
+
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
245
|
+
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
246
|
+
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is ``3``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
247
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is ``60``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
248
|
+
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
249
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
250
|
+
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
251
|
+
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
252
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
253
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
254
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
255
|
+
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
256
|
+
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is ``100``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
257
|
+
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
258
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is ``1000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
259
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns. The default is ``lz4``. Only available for PostgreSQL 14+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
260
|
+
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
261
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
262
|
+
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
263
|
+
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
264
|
+
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
265
|
+
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
266
|
+
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
267
|
+
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
268
|
+
:param max_connections: PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
269
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. The default is ``1000`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
270
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
271
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is ``4`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
272
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. The default is ``8`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
273
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
274
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
275
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
276
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
277
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. If ``-1`` is specified, replication slots may retain an unlimited amount of WAL files. The default is ``-1`` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
278
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
279
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
280
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
281
|
+
:param max_sync_workers_per_subscription: Maximum number of synchronization workers per subscription. The default is ``2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
282
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
283
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. The default is ``8``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
284
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
285
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
286
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
287
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
288
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
289
|
+
:param pg_partman_bgw_interval: Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
290
|
+
:param pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
291
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
292
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
293
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
294
|
+
:param pg_stat_statements_track: Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is ``top``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
295
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
296
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
297
|
+
:param shared_buffers_percentage: Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
298
|
+
:param synchronous_replication: Synchronous replication type. Note that the service plan also needs to support synchronous replication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
299
|
+
:param temp_file_limit: PostgreSQL temporary file limit in KiB, -1 for unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
300
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
301
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
302
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
303
|
+
:param track_commit_timestamp: Record commit time of transactions. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
304
|
+
:param track_functions: Enables tracking of function call counts and time used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
305
|
+
:param track_io_timing: Enables timing of database I/O calls. The default is ``off``. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
306
|
+
:param variant: Variant of the PostgreSQL service, may affect the features that are exposed by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
307
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
308
|
+
:param wal_sender_timeout: Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
309
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. The default is ``200``. Setting this parameter to a lower value may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
310
|
+
:param work_mem: Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
307
311
|
'''
|
|
308
312
|
value = ManagedDatabasePostgresqlProperties(
|
|
309
313
|
admin_password=admin_password,
|
|
@@ -334,6 +338,7 @@ class ManagedDatabasePostgresql(
|
|
|
334
338
|
log_line_prefix=log_line_prefix,
|
|
335
339
|
log_min_duration_statement=log_min_duration_statement,
|
|
336
340
|
log_temp_files=log_temp_files,
|
|
341
|
+
max_connections=max_connections,
|
|
337
342
|
max_files_per_process=max_files_per_process,
|
|
338
343
|
max_locks_per_transaction=max_locks_per_transaction,
|
|
339
344
|
max_logical_replication_workers=max_logical_replication_workers,
|
|
@@ -346,6 +351,7 @@ class ManagedDatabasePostgresql(
|
|
|
346
351
|
max_stack_depth=max_stack_depth,
|
|
347
352
|
max_standby_archive_delay=max_standby_archive_delay,
|
|
348
353
|
max_standby_streaming_delay=max_standby_streaming_delay,
|
|
354
|
+
max_sync_workers_per_subscription=max_sync_workers_per_subscription,
|
|
349
355
|
max_wal_senders=max_wal_senders,
|
|
350
356
|
max_worker_processes=max_worker_processes,
|
|
351
357
|
migration=migration,
|
|
@@ -909,18 +915,18 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
909
915
|
:param lifecycle:
|
|
910
916
|
:param provider:
|
|
911
917
|
:param provisioners:
|
|
912
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
913
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
914
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
915
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
916
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
917
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
918
|
-
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
919
|
-
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
920
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
921
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
922
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
923
|
-
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
918
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
919
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
920
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
921
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
922
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
923
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
924
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
925
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
926
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
927
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
928
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
929
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
924
930
|
'''
|
|
925
931
|
if isinstance(lifecycle, dict):
|
|
926
932
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1054,7 +1060,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1054
1060
|
|
|
1055
1061
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
1056
1062
|
|
|
1057
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1063
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1058
1064
|
'''
|
|
1059
1065
|
result = self._values.get("name")
|
|
1060
1066
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1066,7 +1072,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1066
1072
|
|
|
1067
1073
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
1068
1074
|
|
|
1069
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1075
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
1070
1076
|
'''
|
|
1071
1077
|
result = self._values.get("plan")
|
|
1072
1078
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1076,7 +1082,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1076
1082
|
def title(self) -> builtins.str:
|
|
1077
1083
|
'''Title of a managed database instance.
|
|
1078
1084
|
|
|
1079
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1085
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
1080
1086
|
'''
|
|
1081
1087
|
result = self._values.get("title")
|
|
1082
1088
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1086,7 +1092,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1086
1092
|
def zone(self) -> builtins.str:
|
|
1087
1093
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1088
1094
|
|
|
1089
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
1090
1096
|
'''
|
|
1091
1097
|
result = self._values.get("zone")
|
|
1092
1098
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1094,7 +1100,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1094
1100
|
|
|
1095
1101
|
@builtins.property
|
|
1096
1102
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1097
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1103
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}.
|
|
1098
1104
|
|
|
1099
1105
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1100
1106
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -1106,7 +1112,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1106
1112
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1107
1113
|
'''User defined key-value pairs to classify the managed database.
|
|
1108
1114
|
|
|
1109
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
1110
1116
|
'''
|
|
1111
1117
|
result = self._values.get("labels")
|
|
1112
1118
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1115,7 +1121,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1115
1121
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
1116
1122
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
1117
1123
|
|
|
1118
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
1119
1125
|
'''
|
|
1120
1126
|
result = self._values.get("maintenance_window_dow")
|
|
1121
1127
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1124,7 +1130,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1124
1130
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1125
1131
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1126
1132
|
|
|
1127
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1133
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
1128
1134
|
'''
|
|
1129
1135
|
result = self._values.get("maintenance_window_time")
|
|
1130
1136
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1135,7 +1141,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1135
1141
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]]:
|
|
1136
1142
|
'''network block.
|
|
1137
1143
|
|
|
1138
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
1139
1145
|
'''
|
|
1140
1146
|
result = self._values.get("network")
|
|
1141
1147
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]], result)
|
|
@@ -1146,7 +1152,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1146
1152
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1147
1153
|
'''The administrative power state of the service.
|
|
1148
1154
|
|
|
1149
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
1150
1156
|
'''
|
|
1151
1157
|
result = self._values.get("powered")
|
|
1152
1158
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1155,7 +1161,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1155
1161
|
def properties(self) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
1156
1162
|
'''properties block.
|
|
1157
1163
|
|
|
1158
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1164
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
1159
1165
|
'''
|
|
1160
1166
|
result = self._values.get("properties")
|
|
1161
1167
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], result)
|
|
@@ -1166,7 +1172,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1166
1172
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1167
1173
|
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1168
1174
|
|
|
1169
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1175
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
1170
1176
|
'''
|
|
1171
1177
|
result = self._values.get("termination_protection")
|
|
1172
1178
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1198,10 +1204,10 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1198
1204
|
uuid: builtins.str,
|
|
1199
1205
|
) -> None:
|
|
1200
1206
|
'''
|
|
1201
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1202
|
-
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1203
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1204
|
-
:param uuid: Private network UUID. Must reside in the same zone as the database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1207
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1208
|
+
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1209
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1210
|
+
:param uuid: Private network UUID. Must reside in the same zone as the database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1205
1211
|
'''
|
|
1206
1212
|
if __debug__:
|
|
1207
1213
|
type_hints = typing.get_type_hints(_typecheckingstub__5737b331959851ea941ce795bfc130d63e5ac24633787479fac442c8d6e54407)
|
|
@@ -1220,7 +1226,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1220
1226
|
def family(self) -> builtins.str:
|
|
1221
1227
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1222
1228
|
|
|
1223
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1229
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1224
1230
|
'''
|
|
1225
1231
|
result = self._values.get("family")
|
|
1226
1232
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1230,7 +1236,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1230
1236
|
def name(self) -> builtins.str:
|
|
1231
1237
|
'''The name of the network. Must be unique within the service.
|
|
1232
1238
|
|
|
1233
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1239
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1234
1240
|
'''
|
|
1235
1241
|
result = self._values.get("name")
|
|
1236
1242
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1240,7 +1246,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1240
1246
|
def type(self) -> builtins.str:
|
|
1241
1247
|
'''The type of the network. Must be private.
|
|
1242
1248
|
|
|
1243
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1249
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1244
1250
|
'''
|
|
1245
1251
|
result = self._values.get("type")
|
|
1246
1252
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1250,7 +1256,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1250
1256
|
def uuid(self) -> builtins.str:
|
|
1251
1257
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1252
1258
|
|
|
1253
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1259
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1254
1260
|
'''
|
|
1255
1261
|
result = self._values.get("uuid")
|
|
1256
1262
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1659,6 +1665,7 @@ class ManagedDatabasePostgresqlNodeStatesOutputReference(
|
|
|
1659
1665
|
"log_line_prefix": "logLinePrefix",
|
|
1660
1666
|
"log_min_duration_statement": "logMinDurationStatement",
|
|
1661
1667
|
"log_temp_files": "logTempFiles",
|
|
1668
|
+
"max_connections": "maxConnections",
|
|
1662
1669
|
"max_files_per_process": "maxFilesPerProcess",
|
|
1663
1670
|
"max_locks_per_transaction": "maxLocksPerTransaction",
|
|
1664
1671
|
"max_logical_replication_workers": "maxLogicalReplicationWorkers",
|
|
@@ -1671,6 +1678,7 @@ class ManagedDatabasePostgresqlNodeStatesOutputReference(
|
|
|
1671
1678
|
"max_stack_depth": "maxStackDepth",
|
|
1672
1679
|
"max_standby_archive_delay": "maxStandbyArchiveDelay",
|
|
1673
1680
|
"max_standby_streaming_delay": "maxStandbyStreamingDelay",
|
|
1681
|
+
"max_sync_workers_per_subscription": "maxSyncWorkersPerSubscription",
|
|
1674
1682
|
"max_wal_senders": "maxWalSenders",
|
|
1675
1683
|
"max_worker_processes": "maxWorkerProcesses",
|
|
1676
1684
|
"migration": "migration",
|
|
@@ -1734,6 +1742,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1734
1742
|
log_line_prefix: typing.Optional[builtins.str] = None,
|
|
1735
1743
|
log_min_duration_statement: typing.Optional[jsii.Number] = None,
|
|
1736
1744
|
log_temp_files: typing.Optional[jsii.Number] = None,
|
|
1745
|
+
max_connections: typing.Optional[jsii.Number] = None,
|
|
1737
1746
|
max_files_per_process: typing.Optional[jsii.Number] = None,
|
|
1738
1747
|
max_locks_per_transaction: typing.Optional[jsii.Number] = None,
|
|
1739
1748
|
max_logical_replication_workers: typing.Optional[jsii.Number] = None,
|
|
@@ -1746,6 +1755,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1746
1755
|
max_stack_depth: typing.Optional[jsii.Number] = None,
|
|
1747
1756
|
max_standby_archive_delay: typing.Optional[jsii.Number] = None,
|
|
1748
1757
|
max_standby_streaming_delay: typing.Optional[jsii.Number] = None,
|
|
1758
|
+
max_sync_workers_per_subscription: typing.Optional[jsii.Number] = None,
|
|
1749
1759
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
1750
1760
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
1751
1761
|
migration: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesMigration", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1777,75 +1787,77 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1777
1787
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
1778
1788
|
) -> None:
|
|
1779
1789
|
'''
|
|
1780
|
-
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1781
|
-
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1782
|
-
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1783
|
-
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.
|
|
1784
|
-
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50
|
|
1785
|
-
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table.
|
|
1786
|
-
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is
|
|
1787
|
-
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds
|
|
1788
|
-
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If
|
|
1789
|
-
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If
|
|
1790
|
-
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.
|
|
1791
|
-
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50
|
|
1792
|
-
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1793
|
-
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1794
|
-
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds.
|
|
1795
|
-
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes
|
|
1796
|
-
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing.
|
|
1797
|
-
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0
|
|
1798
|
-
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1799
|
-
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns
|
|
1800
|
-
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1801
|
-
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1802
|
-
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1803
|
-
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one
|
|
1804
|
-
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1805
|
-
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1806
|
-
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1807
|
-
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1808
|
-
:param
|
|
1809
|
-
:param
|
|
1810
|
-
:param
|
|
1811
|
-
:param
|
|
1812
|
-
:param
|
|
1813
|
-
:param
|
|
1814
|
-
:param
|
|
1815
|
-
:param
|
|
1816
|
-
:param
|
|
1817
|
-
:param
|
|
1818
|
-
:param
|
|
1819
|
-
:param
|
|
1820
|
-
:param
|
|
1821
|
-
:param
|
|
1822
|
-
:param
|
|
1823
|
-
:param
|
|
1824
|
-
:param
|
|
1825
|
-
:param
|
|
1826
|
-
:param
|
|
1827
|
-
:param
|
|
1828
|
-
:param
|
|
1829
|
-
:param
|
|
1830
|
-
:param
|
|
1831
|
-
:param
|
|
1832
|
-
:param
|
|
1833
|
-
:param
|
|
1834
|
-
:param
|
|
1835
|
-
:param
|
|
1836
|
-
:param
|
|
1837
|
-
:param
|
|
1838
|
-
:param
|
|
1839
|
-
:param
|
|
1840
|
-
:param
|
|
1841
|
-
:param
|
|
1842
|
-
:param
|
|
1843
|
-
:param
|
|
1844
|
-
:param
|
|
1845
|
-
:param
|
|
1846
|
-
:param
|
|
1847
|
-
:param
|
|
1848
|
-
:param
|
|
1790
|
+
:param admin_password: Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
1791
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
1792
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
1793
|
+
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
1794
|
+
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
1795
|
+
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
1796
|
+
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is ``3``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
1797
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is ``60``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
1798
|
+
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
1799
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
1800
|
+
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
1801
|
+
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
1802
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
1803
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
1804
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
1805
|
+
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
1806
|
+
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is ``100``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
1807
|
+
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
1808
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is ``1000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
1809
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns. The default is ``lz4``. Only available for PostgreSQL 14+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
1810
|
+
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
1811
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
1812
|
+
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
1813
|
+
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
1814
|
+
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
1815
|
+
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
1816
|
+
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
1817
|
+
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
1818
|
+
:param max_connections: PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
1819
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. The default is ``1000`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
1820
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
1821
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is ``4`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
1822
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. The default is ``8`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
1823
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
1824
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
1825
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
1826
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
1827
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. If ``-1`` is specified, replication slots may retain an unlimited amount of WAL files. The default is ``-1`` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
1828
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
1829
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
1830
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
1831
|
+
:param max_sync_workers_per_subscription: Maximum number of synchronization workers per subscription. The default is ``2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
1832
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
1833
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. The default is ``8``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
1834
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
1835
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
1836
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
1837
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
1838
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
1839
|
+
:param pg_partman_bgw_interval: Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
1840
|
+
:param pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
1841
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
1842
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
1843
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
1844
|
+
:param pg_stat_statements_track: Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is ``top``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
1845
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
1846
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
1847
|
+
:param shared_buffers_percentage: Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
1848
|
+
:param synchronous_replication: Synchronous replication type. Note that the service plan also needs to support synchronous replication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
1849
|
+
:param temp_file_limit: PostgreSQL temporary file limit in KiB, -1 for unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
1850
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
1851
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
1852
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
1853
|
+
:param track_commit_timestamp: Record commit time of transactions. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
1854
|
+
:param track_functions: Enables tracking of function call counts and time used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
1855
|
+
:param track_io_timing: Enables timing of database I/O calls. The default is ``off``. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
1856
|
+
:param variant: Variant of the PostgreSQL service, may affect the features that are exposed by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
1857
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
1858
|
+
:param wal_sender_timeout: Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
1859
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. The default is ``200``. Setting this parameter to a lower value may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
1860
|
+
:param work_mem: Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
1849
1861
|
'''
|
|
1850
1862
|
if isinstance(migration, dict):
|
|
1851
1863
|
migration = ManagedDatabasePostgresqlPropertiesMigration(**migration)
|
|
@@ -1887,6 +1899,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1887
1899
|
check_type(argname="argument log_line_prefix", value=log_line_prefix, expected_type=type_hints["log_line_prefix"])
|
|
1888
1900
|
check_type(argname="argument log_min_duration_statement", value=log_min_duration_statement, expected_type=type_hints["log_min_duration_statement"])
|
|
1889
1901
|
check_type(argname="argument log_temp_files", value=log_temp_files, expected_type=type_hints["log_temp_files"])
|
|
1902
|
+
check_type(argname="argument max_connections", value=max_connections, expected_type=type_hints["max_connections"])
|
|
1890
1903
|
check_type(argname="argument max_files_per_process", value=max_files_per_process, expected_type=type_hints["max_files_per_process"])
|
|
1891
1904
|
check_type(argname="argument max_locks_per_transaction", value=max_locks_per_transaction, expected_type=type_hints["max_locks_per_transaction"])
|
|
1892
1905
|
check_type(argname="argument max_logical_replication_workers", value=max_logical_replication_workers, expected_type=type_hints["max_logical_replication_workers"])
|
|
@@ -1899,6 +1912,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1899
1912
|
check_type(argname="argument max_stack_depth", value=max_stack_depth, expected_type=type_hints["max_stack_depth"])
|
|
1900
1913
|
check_type(argname="argument max_standby_archive_delay", value=max_standby_archive_delay, expected_type=type_hints["max_standby_archive_delay"])
|
|
1901
1914
|
check_type(argname="argument max_standby_streaming_delay", value=max_standby_streaming_delay, expected_type=type_hints["max_standby_streaming_delay"])
|
|
1915
|
+
check_type(argname="argument max_sync_workers_per_subscription", value=max_sync_workers_per_subscription, expected_type=type_hints["max_sync_workers_per_subscription"])
|
|
1902
1916
|
check_type(argname="argument max_wal_senders", value=max_wal_senders, expected_type=type_hints["max_wal_senders"])
|
|
1903
1917
|
check_type(argname="argument max_worker_processes", value=max_worker_processes, expected_type=type_hints["max_worker_processes"])
|
|
1904
1918
|
check_type(argname="argument migration", value=migration, expected_type=type_hints["migration"])
|
|
@@ -1985,6 +1999,8 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1985
1999
|
self._values["log_min_duration_statement"] = log_min_duration_statement
|
|
1986
2000
|
if log_temp_files is not None:
|
|
1987
2001
|
self._values["log_temp_files"] = log_temp_files
|
|
2002
|
+
if max_connections is not None:
|
|
2003
|
+
self._values["max_connections"] = max_connections
|
|
1988
2004
|
if max_files_per_process is not None:
|
|
1989
2005
|
self._values["max_files_per_process"] = max_files_per_process
|
|
1990
2006
|
if max_locks_per_transaction is not None:
|
|
@@ -2009,6 +2025,8 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2009
2025
|
self._values["max_standby_archive_delay"] = max_standby_archive_delay
|
|
2010
2026
|
if max_standby_streaming_delay is not None:
|
|
2011
2027
|
self._values["max_standby_streaming_delay"] = max_standby_streaming_delay
|
|
2028
|
+
if max_sync_workers_per_subscription is not None:
|
|
2029
|
+
self._values["max_sync_workers_per_subscription"] = max_sync_workers_per_subscription
|
|
2012
2030
|
if max_wal_senders is not None:
|
|
2013
2031
|
self._values["max_wal_senders"] = max_wal_senders
|
|
2014
2032
|
if max_worker_processes is not None:
|
|
@@ -2074,7 +2092,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2074
2092
|
|
|
2075
2093
|
Defaults to random string. This must be set only when a new service is being created.
|
|
2076
2094
|
|
|
2077
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
2078
2096
|
'''
|
|
2079
2097
|
result = self._values.get("admin_password")
|
|
2080
2098
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2083,7 +2101,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2083
2101
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
2084
2102
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
2085
2103
|
|
|
2086
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2104
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
2087
2105
|
'''
|
|
2088
2106
|
result = self._values.get("admin_username")
|
|
2089
2107
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2094,18 +2112,16 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2094
2112
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2095
2113
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2096
2114
|
|
|
2097
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
2098
2116
|
'''
|
|
2099
2117
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
2100
2118
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
2101
2119
|
|
|
2102
2120
|
@builtins.property
|
|
2103
2121
|
def autovacuum_analyze_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2104
|
-
'''Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.
|
|
2122
|
+
'''Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``.
|
|
2105
2123
|
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.22.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2109
2125
|
'''
|
|
2110
2126
|
result = self._values.get("autovacuum_analyze_scale_factor")
|
|
2111
2127
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2114,18 +2130,18 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2114
2130
|
def autovacuum_analyze_threshold(self) -> typing.Optional[jsii.Number]:
|
|
2115
2131
|
'''Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table.
|
|
2116
2132
|
|
|
2117
|
-
The default is 50
|
|
2133
|
+
The default is ``50``.
|
|
2118
2134
|
|
|
2119
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2135
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
2120
2136
|
'''
|
|
2121
2137
|
result = self._values.get("autovacuum_analyze_threshold")
|
|
2122
2138
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2123
2139
|
|
|
2124
2140
|
@builtins.property
|
|
2125
2141
|
def autovacuum_freeze_max_age(self) -> typing.Optional[jsii.Number]:
|
|
2126
|
-
'''Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table.
|
|
2142
|
+
'''Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
|
|
2127
2143
|
|
|
2128
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
2129
2145
|
'''
|
|
2130
2146
|
result = self._values.get("autovacuum_freeze_max_age")
|
|
2131
2147
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2134,9 +2150,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2134
2150
|
def autovacuum_max_workers(self) -> typing.Optional[jsii.Number]:
|
|
2135
2151
|
'''Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time.
|
|
2136
2152
|
|
|
2137
|
-
The default is
|
|
2153
|
+
The default is ``3``. Changing this parameter causes a service restart.
|
|
2138
2154
|
|
|
2139
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
2140
2156
|
'''
|
|
2141
2157
|
result = self._values.get("autovacuum_max_workers")
|
|
2142
2158
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2145,9 +2161,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2145
2161
|
def autovacuum_naptime(self) -> typing.Optional[jsii.Number]:
|
|
2146
2162
|
'''Specifies the minimum delay between autovacuum runs on any given database.
|
|
2147
2163
|
|
|
2148
|
-
The delay is measured in seconds
|
|
2164
|
+
The delay is measured in seconds. The default is ``60``.
|
|
2149
2165
|
|
|
2150
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2166
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
2151
2167
|
'''
|
|
2152
2168
|
result = self._values.get("autovacuum_naptime")
|
|
2153
2169
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2156,9 +2172,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2156
2172
|
def autovacuum_vacuum_cost_delay(self) -> typing.Optional[jsii.Number]:
|
|
2157
2173
|
'''Specifies the cost delay value that will be used in automatic VACUUM operations.
|
|
2158
2174
|
|
|
2159
|
-
If
|
|
2175
|
+
If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default).
|
|
2160
2176
|
|
|
2161
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2177
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
2162
2178
|
'''
|
|
2163
2179
|
result = self._values.get("autovacuum_vacuum_cost_delay")
|
|
2164
2180
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2167,20 +2183,18 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2167
2183
|
def autovacuum_vacuum_cost_limit(self) -> typing.Optional[jsii.Number]:
|
|
2168
2184
|
'''Specifies the cost limit value that will be used in automatic VACUUM operations.
|
|
2169
2185
|
|
|
2170
|
-
If
|
|
2186
|
+
If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default).
|
|
2171
2187
|
|
|
2172
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2188
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
2173
2189
|
'''
|
|
2174
2190
|
result = self._values.get("autovacuum_vacuum_cost_limit")
|
|
2175
2191
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2176
2192
|
|
|
2177
2193
|
@builtins.property
|
|
2178
2194
|
def autovacuum_vacuum_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2179
|
-
'''Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.
|
|
2180
|
-
|
|
2181
|
-
The default is 0.2 (20% of table size).
|
|
2195
|
+
'''Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``.
|
|
2182
2196
|
|
|
2183
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2197
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
2184
2198
|
'''
|
|
2185
2199
|
result = self._values.get("autovacuum_vacuum_scale_factor")
|
|
2186
2200
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2189,9 +2203,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2189
2203
|
def autovacuum_vacuum_threshold(self) -> typing.Optional[jsii.Number]:
|
|
2190
2204
|
'''Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table.
|
|
2191
2205
|
|
|
2192
|
-
The default is 50
|
|
2206
|
+
The default is ``50``.
|
|
2193
2207
|
|
|
2194
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2208
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
2195
2209
|
'''
|
|
2196
2210
|
result = self._values.get("autovacuum_vacuum_threshold")
|
|
2197
2211
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2202,7 +2216,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2202
2216
|
|
|
2203
2217
|
New backup is only started if previous backup has already completed.
|
|
2204
2218
|
|
|
2205
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2219
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
2206
2220
|
'''
|
|
2207
2221
|
result = self._values.get("backup_hour")
|
|
2208
2222
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2213,16 +2227,16 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2213
2227
|
|
|
2214
2228
|
New backup is only started if previous backup has already completed.
|
|
2215
2229
|
|
|
2216
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2230
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
2217
2231
|
'''
|
|
2218
2232
|
result = self._values.get("backup_minute")
|
|
2219
2233
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2220
2234
|
|
|
2221
2235
|
@builtins.property
|
|
2222
2236
|
def bgwriter_delay(self) -> typing.Optional[jsii.Number]:
|
|
2223
|
-
'''Specifies the delay between activity rounds for the background writer in milliseconds.
|
|
2237
|
+
'''Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``.
|
|
2224
2238
|
|
|
2225
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2239
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
2226
2240
|
'''
|
|
2227
2241
|
result = self._values.get("bgwriter_delay")
|
|
2228
2242
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2231,9 +2245,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2231
2245
|
def bgwriter_flush_after(self) -> typing.Optional[jsii.Number]:
|
|
2232
2246
|
'''Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage.
|
|
2233
2247
|
|
|
2234
|
-
Specified in kilobytes
|
|
2248
|
+
Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``.
|
|
2235
2249
|
|
|
2236
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2250
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
2237
2251
|
'''
|
|
2238
2252
|
result = self._values.get("bgwriter_flush_after")
|
|
2239
2253
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2242,9 +2256,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2242
2256
|
def bgwriter_lru_maxpages(self) -> typing.Optional[jsii.Number]:
|
|
2243
2257
|
'''In each round, no more than this many buffers will be written by the background writer.
|
|
2244
2258
|
|
|
2245
|
-
Setting this to zero disables background writing.
|
|
2259
|
+
Setting this to zero disables background writing. The default is ``100``.
|
|
2246
2260
|
|
|
2247
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2261
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
2248
2262
|
'''
|
|
2249
2263
|
result = self._values.get("bgwriter_lru_maxpages")
|
|
2250
2264
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2253,9 +2267,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2253
2267
|
def bgwriter_lru_multiplier(self) -> typing.Optional[jsii.Number]:
|
|
2254
2268
|
'''The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages).
|
|
2255
2269
|
|
|
2256
|
-
1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0
|
|
2270
|
+
1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``.
|
|
2257
2271
|
|
|
2258
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2272
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
2259
2273
|
'''
|
|
2260
2274
|
result = self._values.get("bgwriter_lru_multiplier")
|
|
2261
2275
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2264,16 +2278,20 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2264
2278
|
def deadlock_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2265
2279
|
'''This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2266
2280
|
|
|
2267
|
-
|
|
2281
|
+
The default is ``1000`` (upstream default).
|
|
2282
|
+
|
|
2283
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
2268
2284
|
'''
|
|
2269
2285
|
result = self._values.get("deadlock_timeout")
|
|
2270
2286
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2271
2287
|
|
|
2272
2288
|
@builtins.property
|
|
2273
2289
|
def default_toast_compression(self) -> typing.Optional[builtins.str]:
|
|
2274
|
-
'''Specifies the default TOAST compression method for values of compressible columns
|
|
2290
|
+
'''Specifies the default TOAST compression method for values of compressible columns.
|
|
2275
2291
|
|
|
2276
|
-
|
|
2292
|
+
The default is ``lz4``. Only available for PostgreSQL 14+.
|
|
2293
|
+
|
|
2294
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
2277
2295
|
'''
|
|
2278
2296
|
result = self._values.get("default_toast_compression")
|
|
2279
2297
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2282,7 +2300,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2282
2300
|
def idle_in_transaction_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2283
2301
|
'''Time out sessions with open transactions after this number of milliseconds.
|
|
2284
2302
|
|
|
2285
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2303
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
2286
2304
|
'''
|
|
2287
2305
|
result = self._values.get("idle_in_transaction_session_timeout")
|
|
2288
2306
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2291,7 +2309,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2291
2309
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2292
2310
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2293
2311
|
|
|
2294
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2312
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
2295
2313
|
'''
|
|
2296
2314
|
result = self._values.get("ip_filter")
|
|
2297
2315
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2302,7 +2320,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2302
2320
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2303
2321
|
'''Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2304
2322
|
|
|
2305
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
2306
2324
|
'''
|
|
2307
2325
|
result = self._values.get("jit")
|
|
2308
2326
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2311,9 +2329,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2311
2329
|
def log_autovacuum_min_duration(self) -> typing.Optional[jsii.Number]:
|
|
2312
2330
|
'''Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds.
|
|
2313
2331
|
|
|
2314
|
-
Setting this to zero logs all autovacuum actions. Minus-one
|
|
2332
|
+
Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``.
|
|
2315
2333
|
|
|
2316
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
2317
2335
|
'''
|
|
2318
2336
|
result = self._values.get("log_autovacuum_min_duration")
|
|
2319
2337
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2322,7 +2340,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2322
2340
|
def log_error_verbosity(self) -> typing.Optional[builtins.str]:
|
|
2323
2341
|
'''Controls the amount of detail written in the server log for each message that is logged.
|
|
2324
2342
|
|
|
2325
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
2326
2344
|
'''
|
|
2327
2345
|
result = self._values.get("log_error_verbosity")
|
|
2328
2346
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2331,7 +2349,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2331
2349
|
def log_line_prefix(self) -> typing.Optional[builtins.str]:
|
|
2332
2350
|
'''Choose from one of the available log formats.
|
|
2333
2351
|
|
|
2334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2352
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
2335
2353
|
'''
|
|
2336
2354
|
result = self._values.get("log_line_prefix")
|
|
2337
2355
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2340,7 +2358,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2340
2358
|
def log_min_duration_statement(self) -> typing.Optional[jsii.Number]:
|
|
2341
2359
|
'''Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2342
2360
|
|
|
2343
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
2344
2362
|
'''
|
|
2345
2363
|
result = self._values.get("log_min_duration_statement")
|
|
2346
2364
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2349,25 +2367,36 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2349
2367
|
def log_temp_files(self) -> typing.Optional[jsii.Number]:
|
|
2350
2368
|
'''Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2351
2369
|
|
|
2352
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
2353
2371
|
'''
|
|
2354
2372
|
result = self._values.get("log_temp_files")
|
|
2355
2373
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2356
2374
|
|
|
2375
|
+
@builtins.property
|
|
2376
|
+
def max_connections(self) -> typing.Optional[jsii.Number]:
|
|
2377
|
+
'''PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart.
|
|
2378
|
+
|
|
2379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
2380
|
+
'''
|
|
2381
|
+
result = self._values.get("max_connections")
|
|
2382
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2383
|
+
|
|
2357
2384
|
@builtins.property
|
|
2358
2385
|
def max_files_per_process(self) -> typing.Optional[jsii.Number]:
|
|
2359
2386
|
'''PostgreSQL maximum number of files that can be open per process.
|
|
2360
2387
|
|
|
2361
|
-
|
|
2388
|
+
The default is ``1000`` (upstream default). Changing this parameter causes a service restart.
|
|
2389
|
+
|
|
2390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
2362
2391
|
'''
|
|
2363
2392
|
result = self._values.get("max_files_per_process")
|
|
2364
2393
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2365
2394
|
|
|
2366
2395
|
@builtins.property
|
|
2367
2396
|
def max_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2368
|
-
'''PostgreSQL maximum locks per transaction.
|
|
2397
|
+
'''PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
|
|
2369
2398
|
|
|
2370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2399
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
2371
2400
|
'''
|
|
2372
2401
|
result = self._values.get("max_locks_per_transaction")
|
|
2373
2402
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2376,7 +2405,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2376
2405
|
def max_logical_replication_workers(self) -> typing.Optional[jsii.Number]:
|
|
2377
2406
|
'''PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2378
2407
|
|
|
2379
|
-
|
|
2408
|
+
The default is ``4`` (upstream default). Changing this parameter causes a service restart.
|
|
2409
|
+
|
|
2410
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
2380
2411
|
'''
|
|
2381
2412
|
result = self._values.get("max_logical_replication_workers")
|
|
2382
2413
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2385,7 +2416,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2385
2416
|
def max_parallel_workers(self) -> typing.Optional[jsii.Number]:
|
|
2386
2417
|
'''Sets the maximum number of workers that the system can support for parallel queries.
|
|
2387
2418
|
|
|
2388
|
-
|
|
2419
|
+
The default is ``8`` (upstream default).
|
|
2420
|
+
|
|
2421
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
2389
2422
|
'''
|
|
2390
2423
|
result = self._values.get("max_parallel_workers")
|
|
2391
2424
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2394,34 +2427,36 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2394
2427
|
def max_parallel_workers_per_gather(self) -> typing.Optional[jsii.Number]:
|
|
2395
2428
|
'''Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2396
2429
|
|
|
2397
|
-
|
|
2430
|
+
The default is ``2`` (upstream default).
|
|
2431
|
+
|
|
2432
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
2398
2433
|
'''
|
|
2399
2434
|
result = self._values.get("max_parallel_workers_per_gather")
|
|
2400
2435
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2401
2436
|
|
|
2402
2437
|
@builtins.property
|
|
2403
2438
|
def max_pred_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2404
|
-
'''PostgreSQL maximum predicate locks per transaction.
|
|
2439
|
+
'''PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart.
|
|
2405
2440
|
|
|
2406
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2441
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
2407
2442
|
'''
|
|
2408
2443
|
result = self._values.get("max_pred_locks_per_transaction")
|
|
2409
2444
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2410
2445
|
|
|
2411
2446
|
@builtins.property
|
|
2412
2447
|
def max_prepared_transactions(self) -> typing.Optional[jsii.Number]:
|
|
2413
|
-
'''PostgreSQL maximum prepared transactions.
|
|
2448
|
+
'''PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart.
|
|
2414
2449
|
|
|
2415
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2450
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
2416
2451
|
'''
|
|
2417
2452
|
result = self._values.get("max_prepared_transactions")
|
|
2418
2453
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2419
2454
|
|
|
2420
2455
|
@builtins.property
|
|
2421
2456
|
def max_replication_slots(self) -> typing.Optional[jsii.Number]:
|
|
2422
|
-
'''PostgreSQL maximum replication slots.
|
|
2457
|
+
'''PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart.
|
|
2423
2458
|
|
|
2424
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2459
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
2425
2460
|
'''
|
|
2426
2461
|
result = self._values.get("max_replication_slots")
|
|
2427
2462
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2430,45 +2465,54 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2430
2465
|
def max_slot_wal_keep_size(self) -> typing.Optional[jsii.Number]:
|
|
2431
2466
|
'''PostgreSQL maximum WAL size (MB) reserved for replication slots.
|
|
2432
2467
|
|
|
2433
|
-
|
|
2468
|
+
If ``-1`` is specified, replication slots may retain an unlimited amount of WAL files. The default is ``-1`` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this.
|
|
2434
2469
|
|
|
2435
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2470
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
2436
2471
|
'''
|
|
2437
2472
|
result = self._values.get("max_slot_wal_keep_size")
|
|
2438
2473
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2439
2474
|
|
|
2440
2475
|
@builtins.property
|
|
2441
2476
|
def max_stack_depth(self) -> typing.Optional[jsii.Number]:
|
|
2442
|
-
'''Maximum depth of the stack in bytes.
|
|
2477
|
+
'''Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default).
|
|
2443
2478
|
|
|
2444
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2479
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
2445
2480
|
'''
|
|
2446
2481
|
result = self._values.get("max_stack_depth")
|
|
2447
2482
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2448
2483
|
|
|
2449
2484
|
@builtins.property
|
|
2450
2485
|
def max_standby_archive_delay(self) -> typing.Optional[jsii.Number]:
|
|
2451
|
-
'''Max standby archive delay in milliseconds.
|
|
2486
|
+
'''Max standby archive delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2452
2487
|
|
|
2453
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2488
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
2454
2489
|
'''
|
|
2455
2490
|
result = self._values.get("max_standby_archive_delay")
|
|
2456
2491
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2457
2492
|
|
|
2458
2493
|
@builtins.property
|
|
2459
2494
|
def max_standby_streaming_delay(self) -> typing.Optional[jsii.Number]:
|
|
2460
|
-
'''Max standby streaming delay in milliseconds.
|
|
2495
|
+
'''Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2461
2496
|
|
|
2462
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2497
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
2463
2498
|
'''
|
|
2464
2499
|
result = self._values.get("max_standby_streaming_delay")
|
|
2465
2500
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2466
2501
|
|
|
2502
|
+
@builtins.property
|
|
2503
|
+
def max_sync_workers_per_subscription(self) -> typing.Optional[jsii.Number]:
|
|
2504
|
+
'''Maximum number of synchronization workers per subscription. The default is ``2``.
|
|
2505
|
+
|
|
2506
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
2507
|
+
'''
|
|
2508
|
+
result = self._values.get("max_sync_workers_per_subscription")
|
|
2509
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2510
|
+
|
|
2467
2511
|
@builtins.property
|
|
2468
2512
|
def max_wal_senders(self) -> typing.Optional[jsii.Number]:
|
|
2469
|
-
'''PostgreSQL maximum WAL senders.
|
|
2513
|
+
'''PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart.
|
|
2470
2514
|
|
|
2471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2515
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
2472
2516
|
'''
|
|
2473
2517
|
result = self._values.get("max_wal_senders")
|
|
2474
2518
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2477,7 +2521,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2477
2521
|
def max_worker_processes(self) -> typing.Optional[jsii.Number]:
|
|
2478
2522
|
'''Sets the maximum number of background processes that the system can support.
|
|
2479
2523
|
|
|
2480
|
-
|
|
2524
|
+
The default is ``8``. Changing this parameter causes a service restart.
|
|
2525
|
+
|
|
2526
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
2481
2527
|
'''
|
|
2482
2528
|
result = self._values.get("max_worker_processes")
|
|
2483
2529
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2488,7 +2534,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2488
2534
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"]:
|
|
2489
2535
|
'''migration block.
|
|
2490
2536
|
|
|
2491
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2537
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
2492
2538
|
'''
|
|
2493
2539
|
result = self._values.get("migration")
|
|
2494
2540
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"], result)
|
|
@@ -2497,7 +2543,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2497
2543
|
def password_encryption(self) -> typing.Optional[builtins.str]:
|
|
2498
2544
|
'''Chooses the algorithm for encrypting passwords.
|
|
2499
2545
|
|
|
2500
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
2501
2547
|
'''
|
|
2502
2548
|
result = self._values.get("password_encryption")
|
|
2503
2549
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2506,7 +2552,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2506
2552
|
def pgaudit(self) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"]:
|
|
2507
2553
|
'''pgaudit block.
|
|
2508
2554
|
|
|
2509
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2555
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
2510
2556
|
'''
|
|
2511
2557
|
result = self._values.get("pgaudit")
|
|
2512
2558
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"], result)
|
|
@@ -2517,7 +2563,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2517
2563
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"]:
|
|
2518
2564
|
'''pgbouncer block.
|
|
2519
2565
|
|
|
2520
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2566
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
2521
2567
|
'''
|
|
2522
2568
|
result = self._values.get("pgbouncer")
|
|
2523
2569
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"], result)
|
|
@@ -2528,16 +2574,16 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2528
2574
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"]:
|
|
2529
2575
|
'''pglookout block.
|
|
2530
2576
|
|
|
2531
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2577
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
2532
2578
|
'''
|
|
2533
2579
|
result = self._values.get("pglookout")
|
|
2534
2580
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"], result)
|
|
2535
2581
|
|
|
2536
2582
|
@builtins.property
|
|
2537
2583
|
def pg_partman_bgw_interval(self) -> typing.Optional[jsii.Number]:
|
|
2538
|
-
'''Sets the time interval to run pg_partman's scheduled tasks.
|
|
2584
|
+
'''Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``.
|
|
2539
2585
|
|
|
2540
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2586
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
2541
2587
|
'''
|
|
2542
2588
|
result = self._values.get("pg_partman_bgw_interval")
|
|
2543
2589
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2546,7 +2592,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2546
2592
|
def pg_partman_bgw_role(self) -> typing.Optional[builtins.str]:
|
|
2547
2593
|
'''Controls which role to use for pg_partman's scheduled background tasks.
|
|
2548
2594
|
|
|
2549
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2595
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
2550
2596
|
'''
|
|
2551
2597
|
result = self._values.get("pg_partman_bgw_role")
|
|
2552
2598
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2557,9 +2603,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2557
2603
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2558
2604
|
'''Enable pg_stat_monitor extension if available for the current cluster.
|
|
2559
2605
|
|
|
2560
|
-
Enable the pg_stat_monitor extension.
|
|
2606
|
+
Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
|
|
2561
2607
|
|
|
2562
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2608
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
2563
2609
|
'''
|
|
2564
2610
|
result = self._values.get("pg_stat_monitor_enable")
|
|
2565
2611
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2568,18 +2614,18 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2568
2614
|
def pg_stat_monitor_pgsm_enable_query_plan(
|
|
2569
2615
|
self,
|
|
2570
2616
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2571
|
-
'''Enables or disables query plan monitoring.
|
|
2617
|
+
'''Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2572
2618
|
|
|
2573
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2619
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
2574
2620
|
'''
|
|
2575
2621
|
result = self._values.get("pg_stat_monitor_pgsm_enable_query_plan")
|
|
2576
2622
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
2577
2623
|
|
|
2578
2624
|
@builtins.property
|
|
2579
2625
|
def pg_stat_monitor_pgsm_max_buckets(self) -> typing.Optional[jsii.Number]:
|
|
2580
|
-
'''Sets the maximum number of buckets.
|
|
2626
|
+
'''Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2581
2627
|
|
|
2582
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2628
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
2583
2629
|
'''
|
|
2584
2630
|
result = self._values.get("pg_stat_monitor_pgsm_max_buckets")
|
|
2585
2631
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2588,9 +2634,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2588
2634
|
def pg_stat_statements_track(self) -> typing.Optional[builtins.str]:
|
|
2589
2635
|
'''Controls which statements are counted.
|
|
2590
2636
|
|
|
2591
|
-
Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default
|
|
2637
|
+
Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is ``top``.
|
|
2592
2638
|
|
|
2593
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2639
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
2594
2640
|
'''
|
|
2595
2641
|
result = self._values.get("pg_stat_statements_track")
|
|
2596
2642
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2601,7 +2647,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2601
2647
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2602
2648
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2603
2649
|
|
|
2604
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2650
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
2605
2651
|
'''
|
|
2606
2652
|
result = self._values.get("public_access")
|
|
2607
2653
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2612,7 +2658,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2612
2658
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2613
2659
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2614
2660
|
|
|
2615
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2661
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
2616
2662
|
'''
|
|
2617
2663
|
result = self._values.get("service_log")
|
|
2618
2664
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2621,9 +2667,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2621
2667
|
def shared_buffers_percentage(self) -> typing.Optional[jsii.Number]:
|
|
2622
2668
|
'''Percentage of total RAM that the database server uses for shared memory buffers.
|
|
2623
2669
|
|
|
2624
|
-
Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
|
|
2670
|
+
Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart.
|
|
2625
2671
|
|
|
2626
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2672
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
2627
2673
|
'''
|
|
2628
2674
|
result = self._values.get("shared_buffers_percentage")
|
|
2629
2675
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2632,7 +2678,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2632
2678
|
def synchronous_replication(self) -> typing.Optional[builtins.str]:
|
|
2633
2679
|
'''Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2634
2680
|
|
|
2635
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2681
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
2636
2682
|
'''
|
|
2637
2683
|
result = self._values.get("synchronous_replication")
|
|
2638
2684
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2641,7 +2687,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2641
2687
|
def temp_file_limit(self) -> typing.Optional[jsii.Number]:
|
|
2642
2688
|
'''PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2643
2689
|
|
|
2644
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2690
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
2645
2691
|
'''
|
|
2646
2692
|
result = self._values.get("temp_file_limit")
|
|
2647
2693
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2652,7 +2698,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2652
2698
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"]:
|
|
2653
2699
|
'''timescaledb block.
|
|
2654
2700
|
|
|
2655
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2701
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
2656
2702
|
'''
|
|
2657
2703
|
result = self._values.get("timescaledb")
|
|
2658
2704
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"], result)
|
|
@@ -2661,7 +2707,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2661
2707
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
2662
2708
|
'''PostgreSQL service timezone.
|
|
2663
2709
|
|
|
2664
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2710
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
2665
2711
|
'''
|
|
2666
2712
|
result = self._values.get("timezone")
|
|
2667
2713
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2670,16 +2716,18 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2670
2716
|
def track_activity_query_size(self) -> typing.Optional[jsii.Number]:
|
|
2671
2717
|
'''Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2672
2718
|
|
|
2673
|
-
|
|
2719
|
+
Changing this parameter causes a service restart.
|
|
2720
|
+
|
|
2721
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
2674
2722
|
'''
|
|
2675
2723
|
result = self._values.get("track_activity_query_size")
|
|
2676
2724
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2677
2725
|
|
|
2678
2726
|
@builtins.property
|
|
2679
2727
|
def track_commit_timestamp(self) -> typing.Optional[builtins.str]:
|
|
2680
|
-
'''Record commit time of transactions.
|
|
2728
|
+
'''Record commit time of transactions. Changing this parameter causes a service restart.
|
|
2681
2729
|
|
|
2682
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2730
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
2683
2731
|
'''
|
|
2684
2732
|
result = self._values.get("track_commit_timestamp")
|
|
2685
2733
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2688,7 +2736,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2688
2736
|
def track_functions(self) -> typing.Optional[builtins.str]:
|
|
2689
2737
|
'''Enables tracking of function call counts and time used.
|
|
2690
2738
|
|
|
2691
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2739
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
2692
2740
|
'''
|
|
2693
2741
|
result = self._values.get("track_functions")
|
|
2694
2742
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2697,9 +2745,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2697
2745
|
def track_io_timing(self) -> typing.Optional[builtins.str]:
|
|
2698
2746
|
'''Enables timing of database I/O calls.
|
|
2699
2747
|
|
|
2700
|
-
|
|
2748
|
+
The default is ``off``. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
|
|
2701
2749
|
|
|
2702
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2750
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
2703
2751
|
'''
|
|
2704
2752
|
result = self._values.get("track_io_timing")
|
|
2705
2753
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2708,7 +2756,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2708
2756
|
def variant(self) -> typing.Optional[builtins.str]:
|
|
2709
2757
|
'''Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2710
2758
|
|
|
2711
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2759
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
2712
2760
|
'''
|
|
2713
2761
|
result = self._values.get("variant")
|
|
2714
2762
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2717,7 +2765,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2717
2765
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2718
2766
|
'''PostgreSQL major version.
|
|
2719
2767
|
|
|
2720
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2768
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
2721
2769
|
'''
|
|
2722
2770
|
result = self._values.get("version")
|
|
2723
2771
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2728,7 +2776,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2728
2776
|
|
|
2729
2777
|
Setting this value to zero disables the timeout.
|
|
2730
2778
|
|
|
2731
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2779
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
2732
2780
|
'''
|
|
2733
2781
|
result = self._values.get("wal_sender_timeout")
|
|
2734
2782
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2737,9 +2785,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2737
2785
|
def wal_writer_delay(self) -> typing.Optional[jsii.Number]:
|
|
2738
2786
|
'''WAL flush interval in milliseconds.
|
|
2739
2787
|
|
|
2740
|
-
|
|
2788
|
+
The default is ``200``. Setting this parameter to a lower value may negatively impact performance.
|
|
2741
2789
|
|
|
2742
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2790
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
2743
2791
|
'''
|
|
2744
2792
|
result = self._values.get("wal_writer_delay")
|
|
2745
2793
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2748,9 +2796,9 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2748
2796
|
def work_mem(self) -> typing.Optional[jsii.Number]:
|
|
2749
2797
|
'''Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB.
|
|
2750
2798
|
|
|
2751
|
-
|
|
2799
|
+
The default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2752
2800
|
|
|
2753
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2801
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
2754
2802
|
'''
|
|
2755
2803
|
result = self._values.get("work_mem")
|
|
2756
2804
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2797,15 +2845,15 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2797
2845
|
username: typing.Optional[builtins.str] = None,
|
|
2798
2846
|
) -> None:
|
|
2799
2847
|
'''
|
|
2800
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2801
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2802
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2803
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2804
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2805
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2806
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2807
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2808
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2848
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2849
|
+
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2850
|
+
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2851
|
+
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2852
|
+
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2853
|
+
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2854
|
+
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2855
|
+
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2856
|
+
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2809
2857
|
'''
|
|
2810
2858
|
if __debug__:
|
|
2811
2859
|
type_hints = typing.get_type_hints(_typecheckingstub__9a22b07e9381a03b0e883019f9869d2e86afe1337164b3f40f42a65332f93686)
|
|
@@ -2842,7 +2890,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2842
2890
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2843
2891
|
'''Database name for bootstrapping the initial connection.
|
|
2844
2892
|
|
|
2845
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2893
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2846
2894
|
'''
|
|
2847
2895
|
result = self._values.get("dbname")
|
|
2848
2896
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2851,7 +2899,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2851
2899
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2852
2900
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2853
2901
|
|
|
2854
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2902
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2855
2903
|
'''
|
|
2856
2904
|
result = self._values.get("host")
|
|
2857
2905
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2860,7 +2908,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2860
2908
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2861
2909
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2862
2910
|
|
|
2863
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2911
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2864
2912
|
'''
|
|
2865
2913
|
result = self._values.get("ignore_dbs")
|
|
2866
2914
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2869,7 +2917,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2869
2917
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2870
2918
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2871
2919
|
|
|
2872
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2920
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2873
2921
|
'''
|
|
2874
2922
|
result = self._values.get("ignore_roles")
|
|
2875
2923
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2878,7 +2926,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2878
2926
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2879
2927
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2880
2928
|
|
|
2881
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2929
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2882
2930
|
'''
|
|
2883
2931
|
result = self._values.get("method")
|
|
2884
2932
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2887,7 +2935,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2887
2935
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2888
2936
|
'''Password for authentication with the server where to migrate data from.
|
|
2889
2937
|
|
|
2890
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2938
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2891
2939
|
'''
|
|
2892
2940
|
result = self._values.get("password")
|
|
2893
2941
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2896,7 +2944,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2896
2944
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2897
2945
|
'''Port number of the server where to migrate data from.
|
|
2898
2946
|
|
|
2899
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2947
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2900
2948
|
'''
|
|
2901
2949
|
result = self._values.get("port")
|
|
2902
2950
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2907,7 +2955,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2907
2955
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2908
2956
|
'''The server where to migrate data from is secured with SSL.
|
|
2909
2957
|
|
|
2910
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2958
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2911
2959
|
'''
|
|
2912
2960
|
result = self._values.get("ssl")
|
|
2913
2961
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2916,7 +2964,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2916
2964
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2917
2965
|
'''User name for authentication with the server where to migrate data from.
|
|
2918
2966
|
|
|
2919
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2967
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2920
2968
|
'''
|
|
2921
2969
|
result = self._values.get("username")
|
|
2922
2970
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3200,15 +3248,15 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3200
3248
|
username: typing.Optional[builtins.str] = None,
|
|
3201
3249
|
) -> None:
|
|
3202
3250
|
'''
|
|
3203
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3204
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3205
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3206
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3207
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3208
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3209
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3210
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3211
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3251
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
3252
|
+
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
3253
|
+
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
3254
|
+
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
3255
|
+
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
3256
|
+
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
3257
|
+
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
3258
|
+
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
3259
|
+
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
3212
3260
|
'''
|
|
3213
3261
|
value = ManagedDatabasePostgresqlPropertiesMigration(
|
|
3214
3262
|
dbname=dbname,
|
|
@@ -3244,20 +3292,20 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3244
3292
|
role: typing.Optional[builtins.str] = None,
|
|
3245
3293
|
) -> None:
|
|
3246
3294
|
'''
|
|
3247
|
-
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3248
|
-
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3249
|
-
:param log_catalog: Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3250
|
-
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3251
|
-
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3252
|
-
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3253
|
-
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3254
|
-
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3255
|
-
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3256
|
-
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3257
|
-
:param log_rows: Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3258
|
-
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3259
|
-
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3260
|
-
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3295
|
+
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
3296
|
+
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
3297
|
+
:param log_catalog: Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
3298
|
+
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
3299
|
+
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
3300
|
+
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
3301
|
+
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
3302
|
+
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
3303
|
+
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
3304
|
+
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
3305
|
+
:param log_rows: Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
3306
|
+
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
3307
|
+
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
3308
|
+
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
3261
3309
|
'''
|
|
3262
3310
|
value = ManagedDatabasePostgresqlPropertiesPgaudit(
|
|
3263
3311
|
feature_enabled=feature_enabled,
|
|
@@ -3294,16 +3342,16 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3294
3342
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3295
3343
|
) -> None:
|
|
3296
3344
|
'''
|
|
3297
|
-
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3298
|
-
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3299
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3300
|
-
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3301
|
-
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3302
|
-
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3303
|
-
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3304
|
-
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3305
|
-
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3306
|
-
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3345
|
+
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
3346
|
+
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
3347
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
3348
|
+
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
3349
|
+
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
3350
|
+
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
3351
|
+
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
3352
|
+
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
3353
|
+
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
3354
|
+
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
3307
3355
|
'''
|
|
3308
3356
|
value = ManagedDatabasePostgresqlPropertiesPgbouncer(
|
|
3309
3357
|
autodb_idle_timeout=autodb_idle_timeout,
|
|
@@ -3327,7 +3375,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3327
3375
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
3328
3376
|
) -> None:
|
|
3329
3377
|
'''
|
|
3330
|
-
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3378
|
+
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
3331
3379
|
'''
|
|
3332
3380
|
value = ManagedDatabasePostgresqlPropertiesPglookout(
|
|
3333
3381
|
max_failover_replication_time_lag=max_failover_replication_time_lag
|
|
@@ -3342,7 +3390,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3342
3390
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
3343
3391
|
) -> None:
|
|
3344
3392
|
'''
|
|
3345
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3393
|
+
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
3346
3394
|
'''
|
|
3347
3395
|
value = ManagedDatabasePostgresqlPropertiesTimescaledb(
|
|
3348
3396
|
max_background_workers=max_background_workers
|
|
@@ -3462,6 +3510,10 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3462
3510
|
def reset_log_temp_files(self) -> None:
|
|
3463
3511
|
return typing.cast(None, jsii.invoke(self, "resetLogTempFiles", []))
|
|
3464
3512
|
|
|
3513
|
+
@jsii.member(jsii_name="resetMaxConnections")
|
|
3514
|
+
def reset_max_connections(self) -> None:
|
|
3515
|
+
return typing.cast(None, jsii.invoke(self, "resetMaxConnections", []))
|
|
3516
|
+
|
|
3465
3517
|
@jsii.member(jsii_name="resetMaxFilesPerProcess")
|
|
3466
3518
|
def reset_max_files_per_process(self) -> None:
|
|
3467
3519
|
return typing.cast(None, jsii.invoke(self, "resetMaxFilesPerProcess", []))
|
|
@@ -3510,6 +3562,10 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3510
3562
|
def reset_max_standby_streaming_delay(self) -> None:
|
|
3511
3563
|
return typing.cast(None, jsii.invoke(self, "resetMaxStandbyStreamingDelay", []))
|
|
3512
3564
|
|
|
3565
|
+
@jsii.member(jsii_name="resetMaxSyncWorkersPerSubscription")
|
|
3566
|
+
def reset_max_sync_workers_per_subscription(self) -> None:
|
|
3567
|
+
return typing.cast(None, jsii.invoke(self, "resetMaxSyncWorkersPerSubscription", []))
|
|
3568
|
+
|
|
3513
3569
|
@jsii.member(jsii_name="resetMaxWalSenders")
|
|
3514
3570
|
def reset_max_wal_senders(self) -> None:
|
|
3515
3571
|
return typing.cast(None, jsii.invoke(self, "resetMaxWalSenders", []))
|
|
@@ -3801,6 +3857,11 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3801
3857
|
def log_temp_files_input(self) -> typing.Optional[jsii.Number]:
|
|
3802
3858
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "logTempFilesInput"))
|
|
3803
3859
|
|
|
3860
|
+
@builtins.property
|
|
3861
|
+
@jsii.member(jsii_name="maxConnectionsInput")
|
|
3862
|
+
def max_connections_input(self) -> typing.Optional[jsii.Number]:
|
|
3863
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxConnectionsInput"))
|
|
3864
|
+
|
|
3804
3865
|
@builtins.property
|
|
3805
3866
|
@jsii.member(jsii_name="maxFilesPerProcessInput")
|
|
3806
3867
|
def max_files_per_process_input(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3861,6 +3922,11 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3861
3922
|
def max_standby_streaming_delay_input(self) -> typing.Optional[jsii.Number]:
|
|
3862
3923
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxStandbyStreamingDelayInput"))
|
|
3863
3924
|
|
|
3925
|
+
@builtins.property
|
|
3926
|
+
@jsii.member(jsii_name="maxSyncWorkersPerSubscriptionInput")
|
|
3927
|
+
def max_sync_workers_per_subscription_input(self) -> typing.Optional[jsii.Number]:
|
|
3928
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxSyncWorkersPerSubscriptionInput"))
|
|
3929
|
+
|
|
3864
3930
|
@builtins.property
|
|
3865
3931
|
@jsii.member(jsii_name="maxWalSendersInput")
|
|
3866
3932
|
def max_wal_senders_input(self) -> typing.Optional[jsii.Number]:
|
|
@@ -4368,6 +4434,18 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
4368
4434
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4369
4435
|
jsii.set(self, "logTempFiles", value) # pyright: ignore[reportArgumentType]
|
|
4370
4436
|
|
|
4437
|
+
@builtins.property
|
|
4438
|
+
@jsii.member(jsii_name="maxConnections")
|
|
4439
|
+
def max_connections(self) -> jsii.Number:
|
|
4440
|
+
return typing.cast(jsii.Number, jsii.get(self, "maxConnections"))
|
|
4441
|
+
|
|
4442
|
+
@max_connections.setter
|
|
4443
|
+
def max_connections(self, value: jsii.Number) -> None:
|
|
4444
|
+
if __debug__:
|
|
4445
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c34bafe7ac41fade6c3dd59c8fa03a2afbbc6f85746b5097e7f753f4547ea367)
|
|
4446
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4447
|
+
jsii.set(self, "maxConnections", value) # pyright: ignore[reportArgumentType]
|
|
4448
|
+
|
|
4371
4449
|
@builtins.property
|
|
4372
4450
|
@jsii.member(jsii_name="maxFilesPerProcess")
|
|
4373
4451
|
def max_files_per_process(self) -> jsii.Number:
|
|
@@ -4512,6 +4590,18 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
4512
4590
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4513
4591
|
jsii.set(self, "maxStandbyStreamingDelay", value) # pyright: ignore[reportArgumentType]
|
|
4514
4592
|
|
|
4593
|
+
@builtins.property
|
|
4594
|
+
@jsii.member(jsii_name="maxSyncWorkersPerSubscription")
|
|
4595
|
+
def max_sync_workers_per_subscription(self) -> jsii.Number:
|
|
4596
|
+
return typing.cast(jsii.Number, jsii.get(self, "maxSyncWorkersPerSubscription"))
|
|
4597
|
+
|
|
4598
|
+
@max_sync_workers_per_subscription.setter
|
|
4599
|
+
def max_sync_workers_per_subscription(self, value: jsii.Number) -> None:
|
|
4600
|
+
if __debug__:
|
|
4601
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b7bad3f8fc9f998368f6d88dea78ac56390331ecb34b4988bb2073240532691)
|
|
4602
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4603
|
+
jsii.set(self, "maxSyncWorkersPerSubscription", value) # pyright: ignore[reportArgumentType]
|
|
4604
|
+
|
|
4515
4605
|
@builtins.property
|
|
4516
4606
|
@jsii.member(jsii_name="maxWalSenders")
|
|
4517
4607
|
def max_wal_senders(self) -> jsii.Number:
|
|
@@ -4872,20 +4962,20 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4872
4962
|
role: typing.Optional[builtins.str] = None,
|
|
4873
4963
|
) -> None:
|
|
4874
4964
|
'''
|
|
4875
|
-
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4876
|
-
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4877
|
-
:param log_catalog: Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4878
|
-
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4879
|
-
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4880
|
-
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4881
|
-
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4882
|
-
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4883
|
-
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4884
|
-
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4885
|
-
:param log_rows: Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4886
|
-
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4887
|
-
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4888
|
-
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4965
|
+
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
4966
|
+
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
4967
|
+
:param log_catalog: Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
4968
|
+
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
4969
|
+
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
4970
|
+
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
4971
|
+
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
4972
|
+
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
4973
|
+
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
4974
|
+
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
4975
|
+
:param log_rows: Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
4976
|
+
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
4977
|
+
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
4978
|
+
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
4889
4979
|
'''
|
|
4890
4980
|
if __debug__:
|
|
4891
4981
|
type_hints = typing.get_type_hints(_typecheckingstub__ceddef9157916dec3e9a0146d7eedd65e39272ad64a94090ac97ce9eb4e638a6)
|
|
@@ -4941,7 +5031,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4941
5031
|
|
|
4942
5032
|
Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
|
|
4943
5033
|
|
|
4944
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5034
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
4945
5035
|
'''
|
|
4946
5036
|
result = self._values.get("feature_enabled")
|
|
4947
5037
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -4950,7 +5040,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4950
5040
|
def log(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4951
5041
|
'''Specifies which classes of statements will be logged by session audit logging.
|
|
4952
5042
|
|
|
4953
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5043
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
4954
5044
|
'''
|
|
4955
5045
|
result = self._values.get("log")
|
|
4956
5046
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -4961,7 +5051,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4961
5051
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
4962
5052
|
'''Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog.
|
|
4963
5053
|
|
|
4964
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5054
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
4965
5055
|
'''
|
|
4966
5056
|
result = self._values.get("log_catalog")
|
|
4967
5057
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -4972,7 +5062,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4972
5062
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
4973
5063
|
'''Specifies whether log messages will be visible to a client process such as psql.
|
|
4974
5064
|
|
|
4975
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5065
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
4976
5066
|
'''
|
|
4977
5067
|
result = self._values.get("log_client")
|
|
4978
5068
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -4981,7 +5071,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4981
5071
|
def log_level(self) -> typing.Optional[builtins.str]:
|
|
4982
5072
|
'''Specifies the log level that will be used for log entries.
|
|
4983
5073
|
|
|
4984
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5074
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
4985
5075
|
'''
|
|
4986
5076
|
result = self._values.get("log_level")
|
|
4987
5077
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -4990,7 +5080,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4990
5080
|
def log_max_string_length(self) -> typing.Optional[jsii.Number]:
|
|
4991
5081
|
'''Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation.
|
|
4992
5082
|
|
|
4993
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5083
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
4994
5084
|
'''
|
|
4995
5085
|
result = self._values.get("log_max_string_length")
|
|
4996
5086
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5001,7 +5091,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5001
5091
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5002
5092
|
'''This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun.
|
|
5003
5093
|
|
|
5004
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5094
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
5005
5095
|
'''
|
|
5006
5096
|
result = self._values.get("log_nested_statements")
|
|
5007
5097
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5012,7 +5102,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5012
5102
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5013
5103
|
'''Specifies that audit logging should include the parameters that were passed with the statement.
|
|
5014
5104
|
|
|
5015
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5105
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
5016
5106
|
'''
|
|
5017
5107
|
result = self._values.get("log_parameter")
|
|
5018
5108
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5021,7 +5111,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5021
5111
|
def log_parameter_max_size(self) -> typing.Optional[jsii.Number]:
|
|
5022
5112
|
'''Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with .
|
|
5023
5113
|
|
|
5024
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5114
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
5025
5115
|
'''
|
|
5026
5116
|
result = self._values.get("log_parameter_max_size")
|
|
5027
5117
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5032,7 +5122,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5032
5122
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5033
5123
|
'''Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
|
|
5034
5124
|
|
|
5035
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5125
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
5036
5126
|
'''
|
|
5037
5127
|
result = self._values.get("log_relation")
|
|
5038
5128
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5045,7 +5135,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5045
5135
|
|
|
5046
5136
|
When enabled the rows field will be included after the parameter field.
|
|
5047
5137
|
|
|
5048
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5138
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
5049
5139
|
'''
|
|
5050
5140
|
result = self._values.get("log_rows")
|
|
5051
5141
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5056,7 +5146,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5056
5146
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5057
5147
|
'''Specifies whether logging will include the statement text and parameters (if enabled).
|
|
5058
5148
|
|
|
5059
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5149
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
5060
5150
|
'''
|
|
5061
5151
|
result = self._values.get("log_statement")
|
|
5062
5152
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5067,7 +5157,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5067
5157
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5068
5158
|
'''Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.
|
|
5069
5159
|
|
|
5070
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5160
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
5071
5161
|
'''
|
|
5072
5162
|
result = self._values.get("log_statement_once")
|
|
5073
5163
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5076,7 +5166,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5076
5166
|
def role(self) -> typing.Optional[builtins.str]:
|
|
5077
5167
|
'''Specifies the master role to use for object audit logging.
|
|
5078
5168
|
|
|
5079
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5169
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
5080
5170
|
'''
|
|
5081
5171
|
result = self._values.get("role")
|
|
5082
5172
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5508,16 +5598,16 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5508
5598
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5509
5599
|
) -> None:
|
|
5510
5600
|
'''
|
|
5511
|
-
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5512
|
-
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5513
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5514
|
-
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5515
|
-
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5516
|
-
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5517
|
-
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5518
|
-
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5519
|
-
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5520
|
-
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5601
|
+
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
5602
|
+
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5603
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
5604
|
+
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
5605
|
+
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
5606
|
+
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
5607
|
+
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
5608
|
+
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
5609
|
+
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
5610
|
+
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5521
5611
|
'''
|
|
5522
5612
|
if __debug__:
|
|
5523
5613
|
type_hints = typing.get_type_hints(_typecheckingstub__2862abffc43a442ad2bff1c444cf98fb770986970925fafb7cc295e2cc45a9b9)
|
|
@@ -5559,7 +5649,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5559
5649
|
|
|
5560
5650
|
If 0 then timeout is disabled. [seconds].
|
|
5561
5651
|
|
|
5562
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5652
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
5563
5653
|
'''
|
|
5564
5654
|
result = self._values.get("autodb_idle_timeout")
|
|
5565
5655
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5570,7 +5660,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5570
5660
|
|
|
5571
5661
|
Setting it to 0 means unlimited.
|
|
5572
5662
|
|
|
5573
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5663
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5574
5664
|
'''
|
|
5575
5665
|
result = self._values.get("autodb_max_db_connections")
|
|
5576
5666
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5579,7 +5669,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5579
5669
|
def autodb_pool_mode(self) -> typing.Optional[builtins.str]:
|
|
5580
5670
|
'''PGBouncer pool mode.
|
|
5581
5671
|
|
|
5582
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5672
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
5583
5673
|
'''
|
|
5584
5674
|
result = self._values.get("autodb_pool_mode")
|
|
5585
5675
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5588,7 +5678,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5588
5678
|
def autodb_pool_size(self) -> typing.Optional[jsii.Number]:
|
|
5589
5679
|
'''If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
5590
5680
|
|
|
5591
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5681
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
5592
5682
|
'''
|
|
5593
5683
|
result = self._values.get("autodb_pool_size")
|
|
5594
5684
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5597,7 +5687,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5597
5687
|
def ignore_startup_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5598
5688
|
'''List of parameters to ignore when given in startup packet.
|
|
5599
5689
|
|
|
5600
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5690
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
5601
5691
|
'''
|
|
5602
5692
|
result = self._values.get("ignore_startup_parameters")
|
|
5603
5693
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -5608,7 +5698,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5608
5698
|
|
|
5609
5699
|
Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
|
|
5610
5700
|
|
|
5611
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5701
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
5612
5702
|
'''
|
|
5613
5703
|
result = self._values.get("max_prepared_statements")
|
|
5614
5704
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5619,7 +5709,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5619
5709
|
|
|
5620
5710
|
Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
5621
5711
|
|
|
5622
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5712
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
5623
5713
|
'''
|
|
5624
5714
|
result = self._values.get("min_pool_size")
|
|
5625
5715
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5630,7 +5720,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5630
5720
|
|
|
5631
5721
|
If 0 then timeout is disabled. [seconds].
|
|
5632
5722
|
|
|
5633
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5723
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
5634
5724
|
'''
|
|
5635
5725
|
result = self._values.get("server_idle_timeout")
|
|
5636
5726
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5639,7 +5729,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5639
5729
|
def server_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
5640
5730
|
'''The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
5641
5731
|
|
|
5642
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5732
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
5643
5733
|
'''
|
|
5644
5734
|
result = self._values.get("server_lifetime")
|
|
5645
5735
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5650,7 +5740,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5650
5740
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5651
5741
|
'''Run server_reset_query (DISCARD ALL) in all pooling modes.
|
|
5652
5742
|
|
|
5653
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5743
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5654
5744
|
'''
|
|
5655
5745
|
result = self._values.get("server_reset_query_always")
|
|
5656
5746
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5938,7 +6028,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5938
6028
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
5939
6029
|
) -> None:
|
|
5940
6030
|
'''
|
|
5941
|
-
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6031
|
+
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5942
6032
|
'''
|
|
5943
6033
|
if __debug__:
|
|
5944
6034
|
type_hints = typing.get_type_hints(_typecheckingstub__dd81ae3f527ba52eaf4f2d07e7187afc3b2328ed800858a2364717bdfe0081a9)
|
|
@@ -5951,7 +6041,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5951
6041
|
def max_failover_replication_time_lag(self) -> typing.Optional[jsii.Number]:
|
|
5952
6042
|
'''Number of seconds of master unavailability before triggering database failover to standby.
|
|
5953
6043
|
|
|
5954
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6044
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5955
6045
|
'''
|
|
5956
6046
|
result = self._values.get("max_failover_replication_time_lag")
|
|
5957
6047
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6039,7 +6129,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6039
6129
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
6040
6130
|
) -> None:
|
|
6041
6131
|
'''
|
|
6042
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6132
|
+
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6043
6133
|
'''
|
|
6044
6134
|
if __debug__:
|
|
6045
6135
|
type_hints = typing.get_type_hints(_typecheckingstub__71c8b11f8b53026baff50866f6d74787011a28fc791f639a52c7c58b6f897621)
|
|
@@ -6052,9 +6142,9 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6052
6142
|
def max_background_workers(self) -> typing.Optional[jsii.Number]:
|
|
6053
6143
|
'''The number of background workers for timescaledb operations.
|
|
6054
6144
|
|
|
6055
|
-
You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time.
|
|
6145
|
+
You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart.
|
|
6056
6146
|
|
|
6057
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6147
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6058
6148
|
'''
|
|
6059
6149
|
result = self._values.get("max_background_workers")
|
|
6060
6150
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6496,6 +6586,7 @@ def _typecheckingstub__c6910d3220979fbcd86275a19c629678468755096ca15771873a4cee0
|
|
|
6496
6586
|
log_line_prefix: typing.Optional[builtins.str] = None,
|
|
6497
6587
|
log_min_duration_statement: typing.Optional[jsii.Number] = None,
|
|
6498
6588
|
log_temp_files: typing.Optional[jsii.Number] = None,
|
|
6589
|
+
max_connections: typing.Optional[jsii.Number] = None,
|
|
6499
6590
|
max_files_per_process: typing.Optional[jsii.Number] = None,
|
|
6500
6591
|
max_locks_per_transaction: typing.Optional[jsii.Number] = None,
|
|
6501
6592
|
max_logical_replication_workers: typing.Optional[jsii.Number] = None,
|
|
@@ -6508,6 +6599,7 @@ def _typecheckingstub__c6910d3220979fbcd86275a19c629678468755096ca15771873a4cee0
|
|
|
6508
6599
|
max_stack_depth: typing.Optional[jsii.Number] = None,
|
|
6509
6600
|
max_standby_archive_delay: typing.Optional[jsii.Number] = None,
|
|
6510
6601
|
max_standby_streaming_delay: typing.Optional[jsii.Number] = None,
|
|
6602
|
+
max_sync_workers_per_subscription: typing.Optional[jsii.Number] = None,
|
|
6511
6603
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
6512
6604
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
6513
6605
|
migration: typing.Optional[typing.Union[ManagedDatabasePostgresqlPropertiesMigration, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -6798,6 +6890,12 @@ def _typecheckingstub__de9268535c04a79b1d0411a6b438165d5304e769b7cdd4242e9d9c824
|
|
|
6798
6890
|
"""Type checking stubs"""
|
|
6799
6891
|
pass
|
|
6800
6892
|
|
|
6893
|
+
def _typecheckingstub__c34bafe7ac41fade6c3dd59c8fa03a2afbbc6f85746b5097e7f753f4547ea367(
|
|
6894
|
+
value: jsii.Number,
|
|
6895
|
+
) -> None:
|
|
6896
|
+
"""Type checking stubs"""
|
|
6897
|
+
pass
|
|
6898
|
+
|
|
6801
6899
|
def _typecheckingstub__cdd98a86086d80cb220e3ecc3418eae2ccdcc18f32fac6371f2ec091ee3ce789(
|
|
6802
6900
|
value: jsii.Number,
|
|
6803
6901
|
) -> None:
|
|
@@ -6870,6 +6968,12 @@ def _typecheckingstub__c1c986690e191392b25c5b73b4f4f8ddfcf47cff91b1892b7b4bcf0e5
|
|
|
6870
6968
|
"""Type checking stubs"""
|
|
6871
6969
|
pass
|
|
6872
6970
|
|
|
6971
|
+
def _typecheckingstub__8b7bad3f8fc9f998368f6d88dea78ac56390331ecb34b4988bb2073240532691(
|
|
6972
|
+
value: jsii.Number,
|
|
6973
|
+
) -> None:
|
|
6974
|
+
"""Type checking stubs"""
|
|
6975
|
+
pass
|
|
6976
|
+
|
|
6873
6977
|
def _typecheckingstub__bfbc4d3406b62bcf9e7516d2e9e3d6ea7c21a9e5d9c18b45d299aeb17ba91ec2(
|
|
6874
6978
|
value: jsii.Number,
|
|
6875
6979
|
) -> None:
|