cdktf-cdktf-provider-upcloud 15.4.0__py3-none-any.whl → 15.6.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 -5
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.6.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 +38 -38
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- 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 +72 -72
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +46 -46
- 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 +260 -211
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +650 -601
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +416 -367
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +180 -133
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +183 -136
- 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 +50 -50
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +139 -139
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- 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.4.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-15.6.0.dist-info/RECORD +67 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.4.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +0 -966
- cdktf_cdktf_provider_upcloud-15.4.0.dist-info/RECORD +0 -68
- {cdktf_cdktf_provider_upcloud-15.4.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.4.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.4.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.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.29.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.29.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -55,6 +55,7 @@ class ManagedDatabasePostgresql(
|
|
|
55
55
|
plan: builtins.str,
|
|
56
56
|
title: builtins.str,
|
|
57
57
|
zone: builtins.str,
|
|
58
|
+
additional_disk_space_gib: typing.Optional[jsii.Number] = None,
|
|
58
59
|
id: typing.Optional[builtins.str] = None,
|
|
59
60
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
60
61
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
@@ -71,22 +72,23 @@ class ManagedDatabasePostgresql(
|
|
|
71
72
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
72
73
|
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
74
|
) -> None:
|
|
74
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
75
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql} Resource.
|
|
75
76
|
|
|
76
77
|
:param scope: The scope in which to define this construct.
|
|
77
78
|
: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
|
|
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
|
|
83
|
-
:param
|
|
84
|
-
:param
|
|
85
|
-
:param
|
|
86
|
-
:param
|
|
87
|
-
:param
|
|
88
|
-
:param
|
|
89
|
-
:param
|
|
79
|
+
: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.29.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
80
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans pg``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
81
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
82
|
+
: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.29.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
83
|
+
:param additional_disk_space_gib: Additional disk space in GiB. Note that changes in additional disk space might require disk maintenance. This pending maintenance blocks some operations, such as version upgrades, until the maintenance is completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#additional_disk_space_gib ManagedDatabasePostgresql#additional_disk_space_gib}
|
|
84
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.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.
|
|
85
|
+
: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.29.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
86
|
+
: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.29.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
87
|
+
: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.29.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
88
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
89
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
90
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
91
|
+
: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.29.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
90
92
|
:param connection:
|
|
91
93
|
:param count:
|
|
92
94
|
:param depends_on:
|
|
@@ -104,6 +106,7 @@ class ManagedDatabasePostgresql(
|
|
|
104
106
|
plan=plan,
|
|
105
107
|
title=title,
|
|
106
108
|
zone=zone,
|
|
109
|
+
additional_disk_space_gib=additional_disk_space_gib,
|
|
107
110
|
id=id,
|
|
108
111
|
labels=labels,
|
|
109
112
|
maintenance_window_dow=maintenance_window_dow,
|
|
@@ -136,7 +139,7 @@ class ManagedDatabasePostgresql(
|
|
|
136
139
|
|
|
137
140
|
:param scope: The scope in which to define this construct.
|
|
138
141
|
: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.
|
|
142
|
+
: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.29.0/docs/resources/managed_database_postgresql#import import section} in the documentation of this resource for the id to use
|
|
140
143
|
:param provider: ? Optional instance of the provider where the ManagedDatabasePostgresql to import is found.
|
|
141
144
|
'''
|
|
142
145
|
if __debug__:
|
|
@@ -237,77 +240,77 @@ class ManagedDatabasePostgresql(
|
|
|
237
240
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
238
241
|
) -> None:
|
|
239
242
|
'''
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
268
|
-
:param max_connections: Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
284
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
285
|
-
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
286
|
-
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
287
|
-
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
288
|
-
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
300
|
-
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
301
|
-
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
307
|
-
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
243
|
+
: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.29.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
244
|
+
: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.29.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
245
|
+
: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.29.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
246
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
247
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
248
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
249
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
250
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
251
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
252
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
253
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
254
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
255
|
+
: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.29.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
256
|
+
: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.29.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
257
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
258
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
259
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
260
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
261
|
+
: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.29.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
262
|
+
: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.29.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
263
|
+
: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.29.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
264
|
+
: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.29.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
265
|
+
: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.29.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
266
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
267
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
268
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
269
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
270
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
271
|
+
:param max_connections: Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
272
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
273
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
274
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
275
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
276
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
277
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
278
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
279
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
280
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
281
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
282
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
283
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
284
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
285
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
286
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
287
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
288
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
289
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
290
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
291
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
292
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
293
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
294
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
295
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
296
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
297
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
298
|
+
: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.29.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
299
|
+
: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.29.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
300
|
+
: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.29.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
301
|
+
: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.29.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
302
|
+
: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.29.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
303
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
304
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
305
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
306
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
307
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
308
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
309
|
+
: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.29.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
310
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
311
|
+
: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.29.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
312
|
+
: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.29.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
313
|
+
: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.29.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
311
314
|
'''
|
|
312
315
|
value = ManagedDatabasePostgresqlProperties(
|
|
313
316
|
admin_password=admin_password,
|
|
@@ -385,6 +388,10 @@ class ManagedDatabasePostgresql(
|
|
|
385
388
|
|
|
386
389
|
return typing.cast(None, jsii.invoke(self, "putProperties", [value]))
|
|
387
390
|
|
|
391
|
+
@jsii.member(jsii_name="resetAdditionalDiskSpaceGib")
|
|
392
|
+
def reset_additional_disk_space_gib(self) -> None:
|
|
393
|
+
return typing.cast(None, jsii.invoke(self, "resetAdditionalDiskSpaceGib", []))
|
|
394
|
+
|
|
388
395
|
@jsii.member(jsii_name="resetId")
|
|
389
396
|
def reset_id(self) -> None:
|
|
390
397
|
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
@@ -495,6 +502,11 @@ class ManagedDatabasePostgresql(
|
|
|
495
502
|
def type(self) -> builtins.str:
|
|
496
503
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
497
504
|
|
|
505
|
+
@builtins.property
|
|
506
|
+
@jsii.member(jsii_name="additionalDiskSpaceGibInput")
|
|
507
|
+
def additional_disk_space_gib_input(self) -> typing.Optional[jsii.Number]:
|
|
508
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "additionalDiskSpaceGibInput"))
|
|
509
|
+
|
|
498
510
|
@builtins.property
|
|
499
511
|
@jsii.member(jsii_name="idInput")
|
|
500
512
|
def id_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -565,6 +577,18 @@ class ManagedDatabasePostgresql(
|
|
|
565
577
|
def zone_input(self) -> typing.Optional[builtins.str]:
|
|
566
578
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "zoneInput"))
|
|
567
579
|
|
|
580
|
+
@builtins.property
|
|
581
|
+
@jsii.member(jsii_name="additionalDiskSpaceGib")
|
|
582
|
+
def additional_disk_space_gib(self) -> jsii.Number:
|
|
583
|
+
return typing.cast(jsii.Number, jsii.get(self, "additionalDiskSpaceGib"))
|
|
584
|
+
|
|
585
|
+
@additional_disk_space_gib.setter
|
|
586
|
+
def additional_disk_space_gib(self, value: jsii.Number) -> None:
|
|
587
|
+
if __debug__:
|
|
588
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6997daf6ccf88ea37aae332db5d7c68f734c17da2bd9811cafe04909b4449398)
|
|
589
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
590
|
+
jsii.set(self, "additionalDiskSpaceGib", value) # pyright: ignore[reportArgumentType]
|
|
591
|
+
|
|
568
592
|
@builtins.property
|
|
569
593
|
@jsii.member(jsii_name="id")
|
|
570
594
|
def id(self) -> builtins.str:
|
|
@@ -873,6 +897,7 @@ class ManagedDatabasePostgresqlComponentsOutputReference(
|
|
|
873
897
|
"plan": "plan",
|
|
874
898
|
"title": "title",
|
|
875
899
|
"zone": "zone",
|
|
900
|
+
"additional_disk_space_gib": "additionalDiskSpaceGib",
|
|
876
901
|
"id": "id",
|
|
877
902
|
"labels": "labels",
|
|
878
903
|
"maintenance_window_dow": "maintenanceWindowDow",
|
|
@@ -898,6 +923,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
898
923
|
plan: builtins.str,
|
|
899
924
|
title: builtins.str,
|
|
900
925
|
zone: builtins.str,
|
|
926
|
+
additional_disk_space_gib: typing.Optional[jsii.Number] = None,
|
|
901
927
|
id: typing.Optional[builtins.str] = None,
|
|
902
928
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
903
929
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
@@ -915,18 +941,19 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
915
941
|
:param lifecycle:
|
|
916
942
|
:param provider:
|
|
917
943
|
:param provisioners:
|
|
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.
|
|
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
|
|
920
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
922
|
-
:param
|
|
923
|
-
:param
|
|
924
|
-
:param
|
|
925
|
-
:param
|
|
926
|
-
:param
|
|
927
|
-
:param
|
|
928
|
-
:param
|
|
929
|
-
:param
|
|
944
|
+
: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.29.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
945
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans pg``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
946
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
947
|
+
: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.29.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
948
|
+
:param additional_disk_space_gib: Additional disk space in GiB. Note that changes in additional disk space might require disk maintenance. This pending maintenance blocks some operations, such as version upgrades, until the maintenance is completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#additional_disk_space_gib ManagedDatabasePostgresql#additional_disk_space_gib}
|
|
949
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.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.
|
|
950
|
+
: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.29.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
951
|
+
: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.29.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
952
|
+
: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.29.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
953
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
954
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
955
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
956
|
+
: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.29.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
930
957
|
'''
|
|
931
958
|
if isinstance(lifecycle, dict):
|
|
932
959
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -945,6 +972,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
945
972
|
check_type(argname="argument plan", value=plan, expected_type=type_hints["plan"])
|
|
946
973
|
check_type(argname="argument title", value=title, expected_type=type_hints["title"])
|
|
947
974
|
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
975
|
+
check_type(argname="argument additional_disk_space_gib", value=additional_disk_space_gib, expected_type=type_hints["additional_disk_space_gib"])
|
|
948
976
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
949
977
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
950
978
|
check_type(argname="argument maintenance_window_dow", value=maintenance_window_dow, expected_type=type_hints["maintenance_window_dow"])
|
|
@@ -973,6 +1001,8 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
973
1001
|
self._values["provider"] = provider
|
|
974
1002
|
if provisioners is not None:
|
|
975
1003
|
self._values["provisioners"] = provisioners
|
|
1004
|
+
if additional_disk_space_gib is not None:
|
|
1005
|
+
self._values["additional_disk_space_gib"] = additional_disk_space_gib
|
|
976
1006
|
if id is not None:
|
|
977
1007
|
self._values["id"] = id
|
|
978
1008
|
if labels is not None:
|
|
@@ -1060,7 +1090,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1060
1090
|
|
|
1061
1091
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
1062
1092
|
|
|
1063
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1093
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1064
1094
|
'''
|
|
1065
1095
|
result = self._values.get("name")
|
|
1066
1096
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1070,9 +1100,9 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1070
1100
|
def plan(self) -> builtins.str:
|
|
1071
1101
|
'''Service plan to use.
|
|
1072
1102
|
|
|
1073
|
-
This determines how much resources the instance will have. You can list available plans with ``upctl database plans
|
|
1103
|
+
This determines how much resources the instance will have. You can list available plans with ``upctl database plans pg``.
|
|
1074
1104
|
|
|
1075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1105
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
1076
1106
|
'''
|
|
1077
1107
|
result = self._values.get("plan")
|
|
1078
1108
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1082,7 +1112,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1082
1112
|
def title(self) -> builtins.str:
|
|
1083
1113
|
'''Title of a managed database instance.
|
|
1084
1114
|
|
|
1085
|
-
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.29.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
1086
1116
|
'''
|
|
1087
1117
|
result = self._values.get("title")
|
|
1088
1118
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1092,15 +1122,26 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1122
|
def zone(self) -> builtins.str:
|
|
1093
1123
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1094
1124
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1125
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
1096
1126
|
'''
|
|
1097
1127
|
result = self._values.get("zone")
|
|
1098
1128
|
assert result is not None, "Required property 'zone' is missing"
|
|
1099
1129
|
return typing.cast(builtins.str, result)
|
|
1100
1130
|
|
|
1131
|
+
@builtins.property
|
|
1132
|
+
def additional_disk_space_gib(self) -> typing.Optional[jsii.Number]:
|
|
1133
|
+
'''Additional disk space in GiB.
|
|
1134
|
+
|
|
1135
|
+
Note that changes in additional disk space might require disk maintenance. This pending maintenance blocks some operations, such as version upgrades, until the maintenance is completed.
|
|
1136
|
+
|
|
1137
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#additional_disk_space_gib ManagedDatabasePostgresql#additional_disk_space_gib}
|
|
1138
|
+
'''
|
|
1139
|
+
result = self._values.get("additional_disk_space_gib")
|
|
1140
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1141
|
+
|
|
1101
1142
|
@builtins.property
|
|
1102
1143
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1103
|
-
'''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.29.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}.
|
|
1104
1145
|
|
|
1105
1146
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1106
1147
|
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.
|
|
@@ -1112,7 +1153,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1153
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1113
1154
|
'''User defined key-value pairs to classify the managed database.
|
|
1114
1155
|
|
|
1115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1156
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
1116
1157
|
'''
|
|
1117
1158
|
result = self._values.get("labels")
|
|
1118
1159
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1121,7 +1162,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1121
1162
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
1122
1163
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
1123
1164
|
|
|
1124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
1125
1166
|
'''
|
|
1126
1167
|
result = self._values.get("maintenance_window_dow")
|
|
1127
1168
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1130,7 +1171,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1130
1171
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1131
1172
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1132
1173
|
|
|
1133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1174
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
1134
1175
|
'''
|
|
1135
1176
|
result = self._values.get("maintenance_window_time")
|
|
1136
1177
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1141,7 +1182,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1141
1182
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]]:
|
|
1142
1183
|
'''network block.
|
|
1143
1184
|
|
|
1144
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
1145
1186
|
'''
|
|
1146
1187
|
result = self._values.get("network")
|
|
1147
1188
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]], result)
|
|
@@ -1152,7 +1193,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1152
1193
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1153
1194
|
'''The administrative power state of the service.
|
|
1154
1195
|
|
|
1155
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1196
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
1156
1197
|
'''
|
|
1157
1198
|
result = self._values.get("powered")
|
|
1158
1199
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1161,7 +1202,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1161
1202
|
def properties(self) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
1162
1203
|
'''properties block.
|
|
1163
1204
|
|
|
1164
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1205
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
1165
1206
|
'''
|
|
1166
1207
|
result = self._values.get("properties")
|
|
1167
1208
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], result)
|
|
@@ -1172,7 +1213,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1172
1213
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1173
1214
|
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1174
1215
|
|
|
1175
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1216
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
1176
1217
|
'''
|
|
1177
1218
|
result = self._values.get("termination_protection")
|
|
1178
1219
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1204,10 +1245,10 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1204
1245
|
uuid: builtins.str,
|
|
1205
1246
|
) -> None:
|
|
1206
1247
|
'''
|
|
1207
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
1209
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
1248
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1249
|
+
: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.29.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1250
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1251
|
+
: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.29.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1211
1252
|
'''
|
|
1212
1253
|
if __debug__:
|
|
1213
1254
|
type_hints = typing.get_type_hints(_typecheckingstub__5737b331959851ea941ce795bfc130d63e5ac24633787479fac442c8d6e54407)
|
|
@@ -1226,7 +1267,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1226
1267
|
def family(self) -> builtins.str:
|
|
1227
1268
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1228
1269
|
|
|
1229
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1270
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1230
1271
|
'''
|
|
1231
1272
|
result = self._values.get("family")
|
|
1232
1273
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1236,7 +1277,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1236
1277
|
def name(self) -> builtins.str:
|
|
1237
1278
|
'''The name of the network. Must be unique within the service.
|
|
1238
1279
|
|
|
1239
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1280
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1240
1281
|
'''
|
|
1241
1282
|
result = self._values.get("name")
|
|
1242
1283
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1246,7 +1287,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1246
1287
|
def type(self) -> builtins.str:
|
|
1247
1288
|
'''The type of the network. Must be private.
|
|
1248
1289
|
|
|
1249
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1290
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1250
1291
|
'''
|
|
1251
1292
|
result = self._values.get("type")
|
|
1252
1293
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1256,7 +1297,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1256
1297
|
def uuid(self) -> builtins.str:
|
|
1257
1298
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1258
1299
|
|
|
1259
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1300
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1260
1301
|
'''
|
|
1261
1302
|
result = self._values.get("uuid")
|
|
1262
1303
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1787,77 +1828,77 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1787
1828
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
1788
1829
|
) -> None:
|
|
1789
1830
|
'''
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1818
|
-
:param max_connections: Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1834
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1835
|
-
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1836
|
-
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1837
|
-
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1838
|
-
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1850
|
-
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1851
|
-
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1857
|
-
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
1831
|
+
: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.29.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
1832
|
+
: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.29.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
1833
|
+
: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.29.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
1834
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
1835
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
1836
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
1837
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
1838
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
1839
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
1840
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
1841
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
1842
|
+
: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.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
1843
|
+
: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.29.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
1844
|
+
: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.29.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
1845
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
1846
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
1847
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
1848
|
+
: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.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
1849
|
+
: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.29.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
1850
|
+
: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.29.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
1851
|
+
: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.29.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
1852
|
+
: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.29.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
1853
|
+
: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.29.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
1854
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
1855
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
1856
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
1857
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
1858
|
+
: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.29.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
1859
|
+
:param max_connections: Sets the PostgreSQL maximum number of concurrent connections to the database server. This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
1860
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
1861
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
1862
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
1863
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
1864
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
1865
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
1866
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
1867
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
1868
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
1869
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
1870
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
1871
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
1872
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
1873
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
1874
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
1875
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
1876
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
1877
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
1878
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
1879
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
1880
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
1881
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
1882
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
1883
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
1884
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
1885
|
+
: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.29.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
1886
|
+
: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.29.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
1887
|
+
: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.29.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
1888
|
+
: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.29.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
1889
|
+
: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.29.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
1890
|
+
: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.29.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
1891
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
1892
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
1893
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
1894
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
1895
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
1896
|
+
: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.29.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
1897
|
+
: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.29.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
1898
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
1899
|
+
: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.29.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
1900
|
+
: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.29.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
1901
|
+
: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.29.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
1861
1902
|
'''
|
|
1862
1903
|
if isinstance(migration, dict):
|
|
1863
1904
|
migration = ManagedDatabasePostgresqlPropertiesMigration(**migration)
|
|
@@ -2092,7 +2133,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2092
2133
|
|
|
2093
2134
|
Defaults to random string. This must be set only when a new service is being created.
|
|
2094
2135
|
|
|
2095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2136
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
2096
2137
|
'''
|
|
2097
2138
|
result = self._values.get("admin_password")
|
|
2098
2139
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2101,7 +2142,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2101
2142
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
2102
2143
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
2103
2144
|
|
|
2104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2145
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
2105
2146
|
'''
|
|
2106
2147
|
result = self._values.get("admin_username")
|
|
2107
2148
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2112,7 +2153,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2112
2153
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2113
2154
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2114
2155
|
|
|
2115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2156
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
2116
2157
|
'''
|
|
2117
2158
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
2118
2159
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2121,7 +2162,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2121
2162
|
def autovacuum_analyze_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2122
2163
|
'''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``.
|
|
2123
2164
|
|
|
2124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2125
2166
|
'''
|
|
2126
2167
|
result = self._values.get("autovacuum_analyze_scale_factor")
|
|
2127
2168
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2132,7 +2173,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2132
2173
|
|
|
2133
2174
|
The default is ``50``.
|
|
2134
2175
|
|
|
2135
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2176
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
2136
2177
|
'''
|
|
2137
2178
|
result = self._values.get("autovacuum_analyze_threshold")
|
|
2138
2179
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2141,7 +2182,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2141
2182
|
def autovacuum_freeze_max_age(self) -> typing.Optional[jsii.Number]:
|
|
2142
2183
|
'''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.
|
|
2143
2184
|
|
|
2144
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
2145
2186
|
'''
|
|
2146
2187
|
result = self._values.get("autovacuum_freeze_max_age")
|
|
2147
2188
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2152,7 +2193,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2152
2193
|
|
|
2153
2194
|
The default is ``3``. Changing this parameter causes a service restart.
|
|
2154
2195
|
|
|
2155
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2196
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
2156
2197
|
'''
|
|
2157
2198
|
result = self._values.get("autovacuum_max_workers")
|
|
2158
2199
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2163,7 +2204,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2163
2204
|
|
|
2164
2205
|
The delay is measured in seconds. The default is ``60``.
|
|
2165
2206
|
|
|
2166
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2207
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
2167
2208
|
'''
|
|
2168
2209
|
result = self._values.get("autovacuum_naptime")
|
|
2169
2210
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2174,7 +2215,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2174
2215
|
|
|
2175
2216
|
If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default).
|
|
2176
2217
|
|
|
2177
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2218
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
2178
2219
|
'''
|
|
2179
2220
|
result = self._values.get("autovacuum_vacuum_cost_delay")
|
|
2180
2221
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2185,7 +2226,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2185
2226
|
|
|
2186
2227
|
If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default).
|
|
2187
2228
|
|
|
2188
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2229
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
2189
2230
|
'''
|
|
2190
2231
|
result = self._values.get("autovacuum_vacuum_cost_limit")
|
|
2191
2232
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2194,7 +2235,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2194
2235
|
def autovacuum_vacuum_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2195
2236
|
'''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``.
|
|
2196
2237
|
|
|
2197
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2238
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
2198
2239
|
'''
|
|
2199
2240
|
result = self._values.get("autovacuum_vacuum_scale_factor")
|
|
2200
2241
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2205,7 +2246,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2205
2246
|
|
|
2206
2247
|
The default is ``50``.
|
|
2207
2248
|
|
|
2208
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2249
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
2209
2250
|
'''
|
|
2210
2251
|
result = self._values.get("autovacuum_vacuum_threshold")
|
|
2211
2252
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2216,7 +2257,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2216
2257
|
|
|
2217
2258
|
New backup is only started if previous backup has already completed.
|
|
2218
2259
|
|
|
2219
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2260
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
2220
2261
|
'''
|
|
2221
2262
|
result = self._values.get("backup_hour")
|
|
2222
2263
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2227,7 +2268,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2227
2268
|
|
|
2228
2269
|
New backup is only started if previous backup has already completed.
|
|
2229
2270
|
|
|
2230
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2271
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
2231
2272
|
'''
|
|
2232
2273
|
result = self._values.get("backup_minute")
|
|
2233
2274
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2236,7 +2277,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2236
2277
|
def bgwriter_delay(self) -> typing.Optional[jsii.Number]:
|
|
2237
2278
|
'''Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``.
|
|
2238
2279
|
|
|
2239
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2280
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
2240
2281
|
'''
|
|
2241
2282
|
result = self._values.get("bgwriter_delay")
|
|
2242
2283
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2247,7 +2288,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2247
2288
|
|
|
2248
2289
|
Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``.
|
|
2249
2290
|
|
|
2250
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2291
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
2251
2292
|
'''
|
|
2252
2293
|
result = self._values.get("bgwriter_flush_after")
|
|
2253
2294
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2258,7 +2299,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2258
2299
|
|
|
2259
2300
|
Setting this to zero disables background writing. The default is ``100``.
|
|
2260
2301
|
|
|
2261
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2302
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
2262
2303
|
'''
|
|
2263
2304
|
result = self._values.get("bgwriter_lru_maxpages")
|
|
2264
2305
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2269,7 +2310,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2269
2310
|
|
|
2270
2311
|
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``.
|
|
2271
2312
|
|
|
2272
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2313
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
2273
2314
|
'''
|
|
2274
2315
|
result = self._values.get("bgwriter_lru_multiplier")
|
|
2275
2316
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2280,7 +2321,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2280
2321
|
|
|
2281
2322
|
The default is ``1000`` (upstream default).
|
|
2282
2323
|
|
|
2283
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2324
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
2284
2325
|
'''
|
|
2285
2326
|
result = self._values.get("deadlock_timeout")
|
|
2286
2327
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2291,7 +2332,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2291
2332
|
|
|
2292
2333
|
The default is ``lz4``. Only available for PostgreSQL 14+.
|
|
2293
2334
|
|
|
2294
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2335
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
2295
2336
|
'''
|
|
2296
2337
|
result = self._values.get("default_toast_compression")
|
|
2297
2338
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2300,7 +2341,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2300
2341
|
def idle_in_transaction_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2301
2342
|
'''Time out sessions with open transactions after this number of milliseconds.
|
|
2302
2343
|
|
|
2303
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2344
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
2304
2345
|
'''
|
|
2305
2346
|
result = self._values.get("idle_in_transaction_session_timeout")
|
|
2306
2347
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2309,7 +2350,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2309
2350
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2310
2351
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2311
2352
|
|
|
2312
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
2313
2354
|
'''
|
|
2314
2355
|
result = self._values.get("ip_filter")
|
|
2315
2356
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2320,7 +2361,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2320
2361
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2321
2362
|
'''Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2322
2363
|
|
|
2323
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2364
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
2324
2365
|
'''
|
|
2325
2366
|
result = self._values.get("jit")
|
|
2326
2367
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2331,7 +2372,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2331
2372
|
|
|
2332
2373
|
Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``.
|
|
2333
2374
|
|
|
2334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2375
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
2335
2376
|
'''
|
|
2336
2377
|
result = self._values.get("log_autovacuum_min_duration")
|
|
2337
2378
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2340,7 +2381,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2340
2381
|
def log_error_verbosity(self) -> typing.Optional[builtins.str]:
|
|
2341
2382
|
'''Controls the amount of detail written in the server log for each message that is logged.
|
|
2342
2383
|
|
|
2343
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2384
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
2344
2385
|
'''
|
|
2345
2386
|
result = self._values.get("log_error_verbosity")
|
|
2346
2387
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2349,7 +2390,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2349
2390
|
def log_line_prefix(self) -> typing.Optional[builtins.str]:
|
|
2350
2391
|
'''Choose from one of the available log formats.
|
|
2351
2392
|
|
|
2352
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2393
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
2353
2394
|
'''
|
|
2354
2395
|
result = self._values.get("log_line_prefix")
|
|
2355
2396
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2358,7 +2399,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2358
2399
|
def log_min_duration_statement(self) -> typing.Optional[jsii.Number]:
|
|
2359
2400
|
'''Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2360
2401
|
|
|
2361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2402
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
2362
2403
|
'''
|
|
2363
2404
|
result = self._values.get("log_min_duration_statement")
|
|
2364
2405
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2367,7 +2408,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2367
2408
|
def log_temp_files(self) -> typing.Optional[jsii.Number]:
|
|
2368
2409
|
'''Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2369
2410
|
|
|
2370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2411
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
2371
2412
|
'''
|
|
2372
2413
|
result = self._values.get("log_temp_files")
|
|
2373
2414
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2378,7 +2419,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2378
2419
|
|
|
2379
2420
|
This is a limited-release parameter. Contact your account team to confirm your eligibility. You cannot decrease this parameter value when set. For services with a read replica, first increase the read replica's value. After the change is applied to the replica, you can increase the primary service's value. Changing this parameter causes a service restart.
|
|
2380
2421
|
|
|
2381
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2422
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
2382
2423
|
'''
|
|
2383
2424
|
result = self._values.get("max_connections")
|
|
2384
2425
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2389,7 +2430,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2389
2430
|
|
|
2390
2431
|
The default is ``1000`` (upstream default). Changing this parameter causes a service restart.
|
|
2391
2432
|
|
|
2392
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2433
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
2393
2434
|
'''
|
|
2394
2435
|
result = self._values.get("max_files_per_process")
|
|
2395
2436
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2398,7 +2439,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2398
2439
|
def max_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2399
2440
|
'''PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
|
|
2400
2441
|
|
|
2401
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2442
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
2402
2443
|
'''
|
|
2403
2444
|
result = self._values.get("max_locks_per_transaction")
|
|
2404
2445
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2409,7 +2450,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2409
2450
|
|
|
2410
2451
|
The default is ``4`` (upstream default). Changing this parameter causes a service restart.
|
|
2411
2452
|
|
|
2412
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2453
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
2413
2454
|
'''
|
|
2414
2455
|
result = self._values.get("max_logical_replication_workers")
|
|
2415
2456
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2420,7 +2461,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2420
2461
|
|
|
2421
2462
|
The default is ``8`` (upstream default).
|
|
2422
2463
|
|
|
2423
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2464
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
2424
2465
|
'''
|
|
2425
2466
|
result = self._values.get("max_parallel_workers")
|
|
2426
2467
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2431,7 +2472,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2431
2472
|
|
|
2432
2473
|
The default is ``2`` (upstream default).
|
|
2433
2474
|
|
|
2434
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2475
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
2435
2476
|
'''
|
|
2436
2477
|
result = self._values.get("max_parallel_workers_per_gather")
|
|
2437
2478
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2440,7 +2481,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2440
2481
|
def max_pred_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2441
2482
|
'''PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart.
|
|
2442
2483
|
|
|
2443
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2484
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
2444
2485
|
'''
|
|
2445
2486
|
result = self._values.get("max_pred_locks_per_transaction")
|
|
2446
2487
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2449,7 +2490,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2449
2490
|
def max_prepared_transactions(self) -> typing.Optional[jsii.Number]:
|
|
2450
2491
|
'''PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart.
|
|
2451
2492
|
|
|
2452
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2493
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
2453
2494
|
'''
|
|
2454
2495
|
result = self._values.get("max_prepared_transactions")
|
|
2455
2496
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2458,7 +2499,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2458
2499
|
def max_replication_slots(self) -> typing.Optional[jsii.Number]:
|
|
2459
2500
|
'''PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart.
|
|
2460
2501
|
|
|
2461
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2502
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
2462
2503
|
'''
|
|
2463
2504
|
result = self._values.get("max_replication_slots")
|
|
2464
2505
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2469,7 +2510,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2469
2510
|
|
|
2470
2511
|
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.
|
|
2471
2512
|
|
|
2472
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2513
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
2473
2514
|
'''
|
|
2474
2515
|
result = self._values.get("max_slot_wal_keep_size")
|
|
2475
2516
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2478,7 +2519,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2478
2519
|
def max_stack_depth(self) -> typing.Optional[jsii.Number]:
|
|
2479
2520
|
'''Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default).
|
|
2480
2521
|
|
|
2481
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2522
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
2482
2523
|
'''
|
|
2483
2524
|
result = self._values.get("max_stack_depth")
|
|
2484
2525
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2487,7 +2528,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2487
2528
|
def max_standby_archive_delay(self) -> typing.Optional[jsii.Number]:
|
|
2488
2529
|
'''Max standby archive delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2489
2530
|
|
|
2490
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2531
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
2491
2532
|
'''
|
|
2492
2533
|
result = self._values.get("max_standby_archive_delay")
|
|
2493
2534
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2496,7 +2537,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2496
2537
|
def max_standby_streaming_delay(self) -> typing.Optional[jsii.Number]:
|
|
2497
2538
|
'''Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2498
2539
|
|
|
2499
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2540
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
2500
2541
|
'''
|
|
2501
2542
|
result = self._values.get("max_standby_streaming_delay")
|
|
2502
2543
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2505,7 +2546,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2505
2546
|
def max_sync_workers_per_subscription(self) -> typing.Optional[jsii.Number]:
|
|
2506
2547
|
'''Maximum number of synchronization workers per subscription. The default is ``2``.
|
|
2507
2548
|
|
|
2508
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2549
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
2509
2550
|
'''
|
|
2510
2551
|
result = self._values.get("max_sync_workers_per_subscription")
|
|
2511
2552
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2514,7 +2555,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2514
2555
|
def max_wal_senders(self) -> typing.Optional[jsii.Number]:
|
|
2515
2556
|
'''PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart.
|
|
2516
2557
|
|
|
2517
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2558
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
2518
2559
|
'''
|
|
2519
2560
|
result = self._values.get("max_wal_senders")
|
|
2520
2561
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2525,7 +2566,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2525
2566
|
|
|
2526
2567
|
The default is ``8``. Changing this parameter causes a service restart.
|
|
2527
2568
|
|
|
2528
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2569
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
2529
2570
|
'''
|
|
2530
2571
|
result = self._values.get("max_worker_processes")
|
|
2531
2572
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2536,7 +2577,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2536
2577
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"]:
|
|
2537
2578
|
'''migration block.
|
|
2538
2579
|
|
|
2539
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2580
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
2540
2581
|
'''
|
|
2541
2582
|
result = self._values.get("migration")
|
|
2542
2583
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"], result)
|
|
@@ -2545,7 +2586,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2545
2586
|
def password_encryption(self) -> typing.Optional[builtins.str]:
|
|
2546
2587
|
'''Chooses the algorithm for encrypting passwords.
|
|
2547
2588
|
|
|
2548
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2589
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
2549
2590
|
'''
|
|
2550
2591
|
result = self._values.get("password_encryption")
|
|
2551
2592
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2554,7 +2595,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2554
2595
|
def pgaudit(self) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"]:
|
|
2555
2596
|
'''pgaudit block.
|
|
2556
2597
|
|
|
2557
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2598
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
2558
2599
|
'''
|
|
2559
2600
|
result = self._values.get("pgaudit")
|
|
2560
2601
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"], result)
|
|
@@ -2565,7 +2606,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2565
2606
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"]:
|
|
2566
2607
|
'''pgbouncer block.
|
|
2567
2608
|
|
|
2568
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2609
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
2569
2610
|
'''
|
|
2570
2611
|
result = self._values.get("pgbouncer")
|
|
2571
2612
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"], result)
|
|
@@ -2576,7 +2617,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2576
2617
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"]:
|
|
2577
2618
|
'''pglookout block.
|
|
2578
2619
|
|
|
2579
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2620
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
2580
2621
|
'''
|
|
2581
2622
|
result = self._values.get("pglookout")
|
|
2582
2623
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"], result)
|
|
@@ -2585,7 +2626,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2585
2626
|
def pg_partman_bgw_interval(self) -> typing.Optional[jsii.Number]:
|
|
2586
2627
|
'''Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``.
|
|
2587
2628
|
|
|
2588
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2629
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
2589
2630
|
'''
|
|
2590
2631
|
result = self._values.get("pg_partman_bgw_interval")
|
|
2591
2632
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2594,7 +2635,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2594
2635
|
def pg_partman_bgw_role(self) -> typing.Optional[builtins.str]:
|
|
2595
2636
|
'''Controls which role to use for pg_partman's scheduled background tasks.
|
|
2596
2637
|
|
|
2597
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2638
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
2598
2639
|
'''
|
|
2599
2640
|
result = self._values.get("pg_partman_bgw_role")
|
|
2600
2641
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2607,7 +2648,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2607
2648
|
|
|
2608
2649
|
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.
|
|
2609
2650
|
|
|
2610
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2651
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
2611
2652
|
'''
|
|
2612
2653
|
result = self._values.get("pg_stat_monitor_enable")
|
|
2613
2654
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2618,7 +2659,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2618
2659
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2619
2660
|
'''Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2620
2661
|
|
|
2621
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2662
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
2622
2663
|
'''
|
|
2623
2664
|
result = self._values.get("pg_stat_monitor_pgsm_enable_query_plan")
|
|
2624
2665
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2627,7 +2668,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2627
2668
|
def pg_stat_monitor_pgsm_max_buckets(self) -> typing.Optional[jsii.Number]:
|
|
2628
2669
|
'''Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2629
2670
|
|
|
2630
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2671
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
2631
2672
|
'''
|
|
2632
2673
|
result = self._values.get("pg_stat_monitor_pgsm_max_buckets")
|
|
2633
2674
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2638,7 +2679,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2638
2679
|
|
|
2639
2680
|
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``.
|
|
2640
2681
|
|
|
2641
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
2642
2683
|
'''
|
|
2643
2684
|
result = self._values.get("pg_stat_statements_track")
|
|
2644
2685
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2649,7 +2690,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2649
2690
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2650
2691
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2651
2692
|
|
|
2652
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2693
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
2653
2694
|
'''
|
|
2654
2695
|
result = self._values.get("public_access")
|
|
2655
2696
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2660,7 +2701,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2660
2701
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2661
2702
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2662
2703
|
|
|
2663
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2704
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
2664
2705
|
'''
|
|
2665
2706
|
result = self._values.get("service_log")
|
|
2666
2707
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2671,7 +2712,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2671
2712
|
|
|
2672
2713
|
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.
|
|
2673
2714
|
|
|
2674
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2715
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
2675
2716
|
'''
|
|
2676
2717
|
result = self._values.get("shared_buffers_percentage")
|
|
2677
2718
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2680,7 +2721,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2680
2721
|
def synchronous_replication(self) -> typing.Optional[builtins.str]:
|
|
2681
2722
|
'''Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2682
2723
|
|
|
2683
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2724
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
2684
2725
|
'''
|
|
2685
2726
|
result = self._values.get("synchronous_replication")
|
|
2686
2727
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2689,7 +2730,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2689
2730
|
def temp_file_limit(self) -> typing.Optional[jsii.Number]:
|
|
2690
2731
|
'''PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2691
2732
|
|
|
2692
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2733
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
2693
2734
|
'''
|
|
2694
2735
|
result = self._values.get("temp_file_limit")
|
|
2695
2736
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2700,7 +2741,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2700
2741
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"]:
|
|
2701
2742
|
'''timescaledb block.
|
|
2702
2743
|
|
|
2703
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2744
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
2704
2745
|
'''
|
|
2705
2746
|
result = self._values.get("timescaledb")
|
|
2706
2747
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"], result)
|
|
@@ -2709,7 +2750,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2709
2750
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
2710
2751
|
'''PostgreSQL service timezone.
|
|
2711
2752
|
|
|
2712
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2753
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
2713
2754
|
'''
|
|
2714
2755
|
result = self._values.get("timezone")
|
|
2715
2756
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2720,7 +2761,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2720
2761
|
|
|
2721
2762
|
Changing this parameter causes a service restart.
|
|
2722
2763
|
|
|
2723
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2764
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
2724
2765
|
'''
|
|
2725
2766
|
result = self._values.get("track_activity_query_size")
|
|
2726
2767
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2729,7 +2770,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2729
2770
|
def track_commit_timestamp(self) -> typing.Optional[builtins.str]:
|
|
2730
2771
|
'''Record commit time of transactions. Changing this parameter causes a service restart.
|
|
2731
2772
|
|
|
2732
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2773
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
2733
2774
|
'''
|
|
2734
2775
|
result = self._values.get("track_commit_timestamp")
|
|
2735
2776
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2738,7 +2779,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2738
2779
|
def track_functions(self) -> typing.Optional[builtins.str]:
|
|
2739
2780
|
'''Enables tracking of function call counts and time used.
|
|
2740
2781
|
|
|
2741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2782
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
2742
2783
|
'''
|
|
2743
2784
|
result = self._values.get("track_functions")
|
|
2744
2785
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2749,7 +2790,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2749
2790
|
|
|
2750
2791
|
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.
|
|
2751
2792
|
|
|
2752
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2793
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
2753
2794
|
'''
|
|
2754
2795
|
result = self._values.get("track_io_timing")
|
|
2755
2796
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2758,7 +2799,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2758
2799
|
def variant(self) -> typing.Optional[builtins.str]:
|
|
2759
2800
|
'''Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2760
2801
|
|
|
2761
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2802
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
2762
2803
|
'''
|
|
2763
2804
|
result = self._values.get("variant")
|
|
2764
2805
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2767,7 +2808,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2767
2808
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2768
2809
|
'''PostgreSQL major version.
|
|
2769
2810
|
|
|
2770
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2811
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
2771
2812
|
'''
|
|
2772
2813
|
result = self._values.get("version")
|
|
2773
2814
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2778,7 +2819,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2778
2819
|
|
|
2779
2820
|
Setting this value to zero disables the timeout.
|
|
2780
2821
|
|
|
2781
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2822
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
2782
2823
|
'''
|
|
2783
2824
|
result = self._values.get("wal_sender_timeout")
|
|
2784
2825
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2789,7 +2830,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2789
2830
|
|
|
2790
2831
|
The default is ``200``. Setting this parameter to a lower value may negatively impact performance.
|
|
2791
2832
|
|
|
2792
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2833
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
2793
2834
|
'''
|
|
2794
2835
|
result = self._values.get("wal_writer_delay")
|
|
2795
2836
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2800,7 +2841,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2800
2841
|
|
|
2801
2842
|
The default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2802
2843
|
|
|
2803
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2844
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
2804
2845
|
'''
|
|
2805
2846
|
result = self._values.get("work_mem")
|
|
2806
2847
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2847,15 +2888,15 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2847
2888
|
username: typing.Optional[builtins.str] = None,
|
|
2848
2889
|
) -> None:
|
|
2849
2890
|
'''
|
|
2850
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2851
|
-
: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.
|
|
2852
|
-
: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.
|
|
2853
|
-
: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.
|
|
2854
|
-
: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.
|
|
2855
|
-
: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.
|
|
2856
|
-
: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.
|
|
2857
|
-
: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.
|
|
2858
|
-
: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.
|
|
2891
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2892
|
+
: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.29.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2893
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2894
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2895
|
+
: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.29.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2896
|
+
: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.29.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2897
|
+
: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.29.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2898
|
+
: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.29.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2899
|
+
: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.29.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2859
2900
|
'''
|
|
2860
2901
|
if __debug__:
|
|
2861
2902
|
type_hints = typing.get_type_hints(_typecheckingstub__9a22b07e9381a03b0e883019f9869d2e86afe1337164b3f40f42a65332f93686)
|
|
@@ -2892,7 +2933,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2892
2933
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2893
2934
|
'''Database name for bootstrapping the initial connection.
|
|
2894
2935
|
|
|
2895
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2936
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2896
2937
|
'''
|
|
2897
2938
|
result = self._values.get("dbname")
|
|
2898
2939
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2901,7 +2942,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2901
2942
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2902
2943
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2903
2944
|
|
|
2904
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2945
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2905
2946
|
'''
|
|
2906
2947
|
result = self._values.get("host")
|
|
2907
2948
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2910,7 +2951,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2910
2951
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2911
2952
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2912
2953
|
|
|
2913
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2954
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2914
2955
|
'''
|
|
2915
2956
|
result = self._values.get("ignore_dbs")
|
|
2916
2957
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2919,7 +2960,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2919
2960
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2920
2961
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2921
2962
|
|
|
2922
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2963
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2923
2964
|
'''
|
|
2924
2965
|
result = self._values.get("ignore_roles")
|
|
2925
2966
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2928,7 +2969,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2928
2969
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2929
2970
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2930
2971
|
|
|
2931
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2972
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2932
2973
|
'''
|
|
2933
2974
|
result = self._values.get("method")
|
|
2934
2975
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2937,7 +2978,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2937
2978
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2938
2979
|
'''Password for authentication with the server where to migrate data from.
|
|
2939
2980
|
|
|
2940
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2981
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2941
2982
|
'''
|
|
2942
2983
|
result = self._values.get("password")
|
|
2943
2984
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2946,7 +2987,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2946
2987
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2947
2988
|
'''Port number of the server where to migrate data from.
|
|
2948
2989
|
|
|
2949
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2990
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2950
2991
|
'''
|
|
2951
2992
|
result = self._values.get("port")
|
|
2952
2993
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2957,7 +2998,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2957
2998
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2958
2999
|
'''The server where to migrate data from is secured with SSL.
|
|
2959
3000
|
|
|
2960
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3001
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2961
3002
|
'''
|
|
2962
3003
|
result = self._values.get("ssl")
|
|
2963
3004
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2966,7 +3007,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2966
3007
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2967
3008
|
'''User name for authentication with the server where to migrate data from.
|
|
2968
3009
|
|
|
2969
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3010
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2970
3011
|
'''
|
|
2971
3012
|
result = self._values.get("username")
|
|
2972
3013
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3250,15 +3291,15 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3250
3291
|
username: typing.Optional[builtins.str] = None,
|
|
3251
3292
|
) -> None:
|
|
3252
3293
|
'''
|
|
3253
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3254
|
-
: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.
|
|
3255
|
-
: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.
|
|
3256
|
-
: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.
|
|
3257
|
-
: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.
|
|
3258
|
-
: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.
|
|
3259
|
-
: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.
|
|
3260
|
-
: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.
|
|
3261
|
-
: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.
|
|
3294
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
3295
|
+
: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.29.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
3296
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
3297
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
3298
|
+
: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.29.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
3299
|
+
: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.29.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
3300
|
+
: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.29.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
3301
|
+
: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.29.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
3302
|
+
: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.29.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
3262
3303
|
'''
|
|
3263
3304
|
value = ManagedDatabasePostgresqlPropertiesMigration(
|
|
3264
3305
|
dbname=dbname,
|
|
@@ -3294,20 +3335,20 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3294
3335
|
role: typing.Optional[builtins.str] = None,
|
|
3295
3336
|
) -> None:
|
|
3296
3337
|
'''
|
|
3297
|
-
: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.
|
|
3298
|
-
:param log: 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.
|
|
3299
|
-
:param log_catalog: Log Catalog. Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3300
|
-
:param log_client: 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.
|
|
3301
|
-
:param log_level: 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.
|
|
3302
|
-
:param log_max_string_length: 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.
|
|
3303
|
-
:param log_nested_statements: 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.
|
|
3304
|
-
:param log_parameter: 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.
|
|
3305
|
-
:param log_parameter_max_size: 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.
|
|
3306
|
-
:param log_relation: 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.
|
|
3307
|
-
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3308
|
-
:param log_statement: 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.
|
|
3309
|
-
:param log_statement_once: 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.
|
|
3310
|
-
:param role: Role. Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3338
|
+
: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.29.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
3339
|
+
:param log: 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.29.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
3340
|
+
:param log_catalog: Log Catalog. Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
3341
|
+
:param log_client: 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.29.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
3342
|
+
:param log_level: 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.29.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
3343
|
+
:param log_max_string_length: 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.29.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
3344
|
+
:param log_nested_statements: 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.29.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
3345
|
+
:param log_parameter: 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.29.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
3346
|
+
:param log_parameter_max_size: 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.29.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
3347
|
+
:param log_relation: 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.29.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
3348
|
+
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
3349
|
+
:param log_statement: 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.29.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
3350
|
+
:param log_statement_once: 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.29.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
3351
|
+
:param role: Role. Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
3311
3352
|
'''
|
|
3312
3353
|
value = ManagedDatabasePostgresqlPropertiesPgaudit(
|
|
3313
3354
|
feature_enabled=feature_enabled,
|
|
@@ -3344,16 +3385,16 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3344
3385
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3345
3386
|
) -> None:
|
|
3346
3387
|
'''
|
|
3347
|
-
: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.
|
|
3348
|
-
: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.
|
|
3349
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3350
|
-
: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.
|
|
3351
|
-
: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.
|
|
3352
|
-
: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.
|
|
3353
|
-
: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.
|
|
3354
|
-
: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.
|
|
3355
|
-
: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.
|
|
3356
|
-
: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.
|
|
3388
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
3389
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
3390
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
3391
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
3392
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
3393
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
3394
|
+
: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.29.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
3395
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
3396
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
3397
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
3357
3398
|
'''
|
|
3358
3399
|
value = ManagedDatabasePostgresqlPropertiesPgbouncer(
|
|
3359
3400
|
autodb_idle_timeout=autodb_idle_timeout,
|
|
@@ -3377,7 +3418,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3377
3418
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
3378
3419
|
) -> None:
|
|
3379
3420
|
'''
|
|
3380
|
-
:param max_failover_replication_time_lag: 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.
|
|
3421
|
+
:param max_failover_replication_time_lag: 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.29.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
3381
3422
|
'''
|
|
3382
3423
|
value = ManagedDatabasePostgresqlPropertiesPglookout(
|
|
3383
3424
|
max_failover_replication_time_lag=max_failover_replication_time_lag
|
|
@@ -3392,7 +3433,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3392
3433
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
3393
3434
|
) -> None:
|
|
3394
3435
|
'''
|
|
3395
|
-
: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.
|
|
3436
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
3396
3437
|
'''
|
|
3397
3438
|
value = ManagedDatabasePostgresqlPropertiesTimescaledb(
|
|
3398
3439
|
max_background_workers=max_background_workers
|
|
@@ -4964,20 +5005,20 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4964
5005
|
role: typing.Optional[builtins.str] = None,
|
|
4965
5006
|
) -> None:
|
|
4966
5007
|
'''
|
|
4967
|
-
: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.
|
|
4968
|
-
:param log: 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.
|
|
4969
|
-
:param log_catalog: Log Catalog. Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4970
|
-
:param log_client: 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.
|
|
4971
|
-
:param log_level: 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.
|
|
4972
|
-
:param log_max_string_length: 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.
|
|
4973
|
-
:param log_nested_statements: 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.
|
|
4974
|
-
:param log_parameter: 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.
|
|
4975
|
-
:param log_parameter_max_size: 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.
|
|
4976
|
-
:param log_relation: 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.
|
|
4977
|
-
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4978
|
-
:param log_statement: 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.
|
|
4979
|
-
:param log_statement_once: 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.
|
|
4980
|
-
:param role: Role. Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5008
|
+
: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.29.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
5009
|
+
:param log: 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.29.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
5010
|
+
:param log_catalog: Log Catalog. Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
5011
|
+
:param log_client: 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.29.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
5012
|
+
:param log_level: 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.29.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
5013
|
+
:param log_max_string_length: 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.29.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
5014
|
+
:param log_nested_statements: 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.29.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
5015
|
+
:param log_parameter: 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.29.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
5016
|
+
:param log_parameter_max_size: 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.29.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
5017
|
+
:param log_relation: 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.29.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
5018
|
+
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
5019
|
+
:param log_statement: 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.29.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
5020
|
+
:param log_statement_once: 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.29.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
5021
|
+
:param role: Role. Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
4981
5022
|
'''
|
|
4982
5023
|
if __debug__:
|
|
4983
5024
|
type_hints = typing.get_type_hints(_typecheckingstub__ceddef9157916dec3e9a0146d7eedd65e39272ad64a94090ac97ce9eb4e638a6)
|
|
@@ -5033,7 +5074,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5033
5074
|
|
|
5034
5075
|
Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
|
|
5035
5076
|
|
|
5036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5077
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
5037
5078
|
'''
|
|
5038
5079
|
result = self._values.get("feature_enabled")
|
|
5039
5080
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5042,7 +5083,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5042
5083
|
def log(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5043
5084
|
'''Log. Specifies which classes of statements will be logged by session audit logging.
|
|
5044
5085
|
|
|
5045
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5086
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
5046
5087
|
'''
|
|
5047
5088
|
result = self._values.get("log")
|
|
5048
5089
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -5056,7 +5097,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5056
5097
|
Specifies that session logging should be enabled in the case where all relations
|
|
5057
5098
|
in a statement are in pg_catalog.
|
|
5058
5099
|
|
|
5059
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5100
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
5060
5101
|
'''
|
|
5061
5102
|
result = self._values.get("log_catalog")
|
|
5062
5103
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5067,7 +5108,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5067
5108
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5068
5109
|
'''Log Client. Specifies whether log messages will be visible to a client process such as psql.
|
|
5069
5110
|
|
|
5070
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5111
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
5071
5112
|
'''
|
|
5072
5113
|
result = self._values.get("log_client")
|
|
5073
5114
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5076,7 +5117,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5076
5117
|
def log_level(self) -> typing.Optional[builtins.str]:
|
|
5077
5118
|
'''Log level. Specifies the log level that will be used for log entries.
|
|
5078
5119
|
|
|
5079
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5120
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
5080
5121
|
'''
|
|
5081
5122
|
result = self._values.get("log_level")
|
|
5082
5123
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5088,7 +5129,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5088
5129
|
Crop parameters representation and whole statements if they exceed this threshold.
|
|
5089
5130
|
A (default) value of -1 disable the truncation.
|
|
5090
5131
|
|
|
5091
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5132
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
5092
5133
|
'''
|
|
5093
5134
|
result = self._values.get("log_max_string_length")
|
|
5094
5135
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5102,7 +5143,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5102
5143
|
This GUC allows to turn off logging nested statements, that is, statements that are
|
|
5103
5144
|
executed as part of another ExecutorRun.
|
|
5104
5145
|
|
|
5105
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5146
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
5106
5147
|
'''
|
|
5107
5148
|
result = self._values.get("log_nested_statements")
|
|
5108
5149
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5113,7 +5154,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5113
5154
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5114
5155
|
'''Log Parameter. Specifies that audit logging should include the parameters that were passed with the statement.
|
|
5115
5156
|
|
|
5116
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5157
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
5117
5158
|
'''
|
|
5118
5159
|
result = self._values.get("log_parameter")
|
|
5119
5160
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5125,7 +5166,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5125
5166
|
Specifies that parameter values longer than this setting (in bytes) should not be logged,
|
|
5126
5167
|
but replaced with .
|
|
5127
5168
|
|
|
5128
|
-
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.29.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
5129
5170
|
'''
|
|
5130
5171
|
result = self._values.get("log_parameter_max_size")
|
|
5131
5172
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5139,7 +5180,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5139
5180
|
Specifies whether session audit logging should create a separate log entry
|
|
5140
5181
|
for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
|
|
5141
5182
|
|
|
5142
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5183
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
5143
5184
|
'''
|
|
5144
5185
|
result = self._values.get("log_relation")
|
|
5145
5186
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5150,7 +5191,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5150
5191
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5151
5192
|
'''Log Rows.
|
|
5152
5193
|
|
|
5153
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5194
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
5154
5195
|
'''
|
|
5155
5196
|
result = self._values.get("log_rows")
|
|
5156
5197
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5161,7 +5202,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5161
5202
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5162
5203
|
'''Log Statement. Specifies whether logging will include the statement text and parameters (if enabled).
|
|
5163
5204
|
|
|
5164
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5205
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
5165
5206
|
'''
|
|
5166
5207
|
result = self._values.get("log_statement")
|
|
5167
5208
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5175,7 +5216,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5175
5216
|
Specifies whether logging will include the statement text and parameters with
|
|
5176
5217
|
the first log entry for a statement/substatement combination or with every entry.
|
|
5177
5218
|
|
|
5178
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5219
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
5179
5220
|
'''
|
|
5180
5221
|
result = self._values.get("log_statement_once")
|
|
5181
5222
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5184,7 +5225,7 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5184
5225
|
def role(self) -> typing.Optional[builtins.str]:
|
|
5185
5226
|
'''Role. Specifies the master role to use for object audit logging.
|
|
5186
5227
|
|
|
5187
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5228
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
5188
5229
|
'''
|
|
5189
5230
|
result = self._values.get("role")
|
|
5190
5231
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5616,16 +5657,16 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5616
5657
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5617
5658
|
) -> None:
|
|
5618
5659
|
'''
|
|
5619
|
-
: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.
|
|
5620
|
-
: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.
|
|
5621
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5622
|
-
: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.
|
|
5623
|
-
: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.
|
|
5624
|
-
: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.
|
|
5625
|
-
: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.
|
|
5626
|
-
: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.
|
|
5627
|
-
: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.
|
|
5628
|
-
: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.
|
|
5660
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
5661
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5662
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
5663
|
+
: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.29.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
5664
|
+
: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.29.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
5665
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
5666
|
+
: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.29.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
5667
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
5668
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
5669
|
+
: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.29.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5629
5670
|
'''
|
|
5630
5671
|
if __debug__:
|
|
5631
5672
|
type_hints = typing.get_type_hints(_typecheckingstub__2862abffc43a442ad2bff1c444cf98fb770986970925fafb7cc295e2cc45a9b9)
|
|
@@ -5667,7 +5708,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5667
5708
|
|
|
5668
5709
|
If 0 then timeout is disabled. [seconds].
|
|
5669
5710
|
|
|
5670
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5711
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
5671
5712
|
'''
|
|
5672
5713
|
result = self._values.get("autodb_idle_timeout")
|
|
5673
5714
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5678,7 +5719,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5678
5719
|
|
|
5679
5720
|
Setting it to 0 means unlimited.
|
|
5680
5721
|
|
|
5681
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5722
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5682
5723
|
'''
|
|
5683
5724
|
result = self._values.get("autodb_max_db_connections")
|
|
5684
5725
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5687,7 +5728,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5687
5728
|
def autodb_pool_mode(self) -> typing.Optional[builtins.str]:
|
|
5688
5729
|
'''PGBouncer pool mode.
|
|
5689
5730
|
|
|
5690
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5731
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
5691
5732
|
'''
|
|
5692
5733
|
result = self._values.get("autodb_pool_mode")
|
|
5693
5734
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5696,7 +5737,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5696
5737
|
def autodb_pool_size(self) -> typing.Optional[jsii.Number]:
|
|
5697
5738
|
'''If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
5698
5739
|
|
|
5699
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5740
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
5700
5741
|
'''
|
|
5701
5742
|
result = self._values.get("autodb_pool_size")
|
|
5702
5743
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5705,7 +5746,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5705
5746
|
def ignore_startup_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5706
5747
|
'''List of parameters to ignore when given in startup packet.
|
|
5707
5748
|
|
|
5708
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5749
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
5709
5750
|
'''
|
|
5710
5751
|
result = self._values.get("ignore_startup_parameters")
|
|
5711
5752
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -5716,7 +5757,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5716
5757
|
|
|
5717
5758
|
Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
|
|
5718
5759
|
|
|
5719
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5760
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
5720
5761
|
'''
|
|
5721
5762
|
result = self._values.get("max_prepared_statements")
|
|
5722
5763
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5727,7 +5768,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5727
5768
|
|
|
5728
5769
|
Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
5729
5770
|
|
|
5730
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5771
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
5731
5772
|
'''
|
|
5732
5773
|
result = self._values.get("min_pool_size")
|
|
5733
5774
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5738,7 +5779,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5738
5779
|
|
|
5739
5780
|
If 0 then timeout is disabled. [seconds].
|
|
5740
5781
|
|
|
5741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5782
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
5742
5783
|
'''
|
|
5743
5784
|
result = self._values.get("server_idle_timeout")
|
|
5744
5785
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5747,7 +5788,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5747
5788
|
def server_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
5748
5789
|
'''The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
5749
5790
|
|
|
5750
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5791
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
5751
5792
|
'''
|
|
5752
5793
|
result = self._values.get("server_lifetime")
|
|
5753
5794
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5758,7 +5799,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5758
5799
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5759
5800
|
'''Run server_reset_query (DISCARD ALL) in all pooling modes.
|
|
5760
5801
|
|
|
5761
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5802
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5762
5803
|
'''
|
|
5763
5804
|
result = self._values.get("server_reset_query_always")
|
|
5764
5805
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -6046,7 +6087,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
6046
6087
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
6047
6088
|
) -> None:
|
|
6048
6089
|
'''
|
|
6049
|
-
:param max_failover_replication_time_lag: 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.
|
|
6090
|
+
:param max_failover_replication_time_lag: 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.29.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
6050
6091
|
'''
|
|
6051
6092
|
if __debug__:
|
|
6052
6093
|
type_hints = typing.get_type_hints(_typecheckingstub__dd81ae3f527ba52eaf4f2d07e7187afc3b2328ed800858a2364717bdfe0081a9)
|
|
@@ -6059,7 +6100,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
6059
6100
|
def max_failover_replication_time_lag(self) -> typing.Optional[jsii.Number]:
|
|
6060
6101
|
'''Max Failover Replication Time Lag. Number of seconds of master unavailability before triggering database failover to standby.
|
|
6061
6102
|
|
|
6062
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6103
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
6063
6104
|
'''
|
|
6064
6105
|
result = self._values.get("max_failover_replication_time_lag")
|
|
6065
6106
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6147,7 +6188,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6147
6188
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
6148
6189
|
) -> None:
|
|
6149
6190
|
'''
|
|
6150
|
-
: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.
|
|
6191
|
+
: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.29.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6151
6192
|
'''
|
|
6152
6193
|
if __debug__:
|
|
6153
6194
|
type_hints = typing.get_type_hints(_typecheckingstub__71c8b11f8b53026baff50866f6d74787011a28fc791f639a52c7c58b6f897621)
|
|
@@ -6162,7 +6203,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6162
6203
|
|
|
6163
6204
|
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.
|
|
6164
6205
|
|
|
6165
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6206
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6166
6207
|
'''
|
|
6167
6208
|
result = self._values.get("max_background_workers")
|
|
6168
6209
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6274,6 +6315,7 @@ def _typecheckingstub__5fa809510c8f69da52891462ee8f64a2638b82c8a731ae399fb00992f
|
|
|
6274
6315
|
plan: builtins.str,
|
|
6275
6316
|
title: builtins.str,
|
|
6276
6317
|
zone: builtins.str,
|
|
6318
|
+
additional_disk_space_gib: typing.Optional[jsii.Number] = None,
|
|
6277
6319
|
id: typing.Optional[builtins.str] = None,
|
|
6278
6320
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6279
6321
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|
|
@@ -6308,6 +6350,12 @@ def _typecheckingstub__bbbb3dfe7015b488e0b1c155e305ab2c73855a004722f839bee402b92
|
|
|
6308
6350
|
"""Type checking stubs"""
|
|
6309
6351
|
pass
|
|
6310
6352
|
|
|
6353
|
+
def _typecheckingstub__6997daf6ccf88ea37aae332db5d7c68f734c17da2bd9811cafe04909b4449398(
|
|
6354
|
+
value: jsii.Number,
|
|
6355
|
+
) -> None:
|
|
6356
|
+
"""Type checking stubs"""
|
|
6357
|
+
pass
|
|
6358
|
+
|
|
6311
6359
|
def _typecheckingstub__f9a630d3a04b1e85d141f152306b1446a41a3f48ba0d2183d43b5587ed01b4e2(
|
|
6312
6360
|
value: builtins.str,
|
|
6313
6361
|
) -> None:
|
|
@@ -6428,6 +6476,7 @@ def _typecheckingstub__45f42ebdf030afdba0d57f507b07d90736dd58b3b6241153662af2f45
|
|
|
6428
6476
|
plan: builtins.str,
|
|
6429
6477
|
title: builtins.str,
|
|
6430
6478
|
zone: builtins.str,
|
|
6479
|
+
additional_disk_space_gib: typing.Optional[jsii.Number] = None,
|
|
6431
6480
|
id: typing.Optional[builtins.str] = None,
|
|
6432
6481
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
6433
6482
|
maintenance_window_dow: typing.Optional[builtins.str] = None,
|