cdktf-cdktf-provider-upcloud 15.3.0__py3-none-any.whl → 15.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.3.1.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 +35 -35
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +73 -73
- 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 +210 -210
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +691 -599
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +401 -383
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +132 -132
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +135 -135
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +501 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +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.3.0.dist-info → cdktf_cdktf_provider_upcloud-15.3.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-15.3.1.dist-info/RECORD +68 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.3.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-15.3.0.dist-info/RECORD +0 -68
- {cdktf_cdktf_provider_upcloud-15.3.0.dist-info → cdktf_cdktf_provider_upcloud-15.3.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.3.0.dist-info → cdktf_cdktf_provider_upcloud-15.3.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.3.0.dist-info → cdktf_cdktf_provider_upcloud-15.3.1.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.26.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.26.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -71,22 +71,22 @@ class ManagedDatabasePostgresql(
|
|
|
71
71
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
72
72
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
73
73
|
) -> None:
|
|
74
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql} Resource.
|
|
75
75
|
|
|
76
76
|
:param scope: The scope in which to define this construct.
|
|
77
77
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
78
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
79
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
81
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
82
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
84
|
-
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
-
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
86
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
88
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
89
|
-
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
79
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
80
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
81
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
82
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
83
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
84
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
85
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
86
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
87
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
88
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
89
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
90
90
|
:param connection:
|
|
91
91
|
:param count:
|
|
92
92
|
:param depends_on:
|
|
@@ -136,7 +136,7 @@ class ManagedDatabasePostgresql(
|
|
|
136
136
|
|
|
137
137
|
:param scope: The scope in which to define this construct.
|
|
138
138
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabasePostgresql to import.
|
|
139
|
-
:param import_from_id: The id of the existing ManagedDatabasePostgresql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
139
|
+
:param import_from_id: The id of the existing ManagedDatabasePostgresql that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#import import section} in the documentation of this resource for the id to use
|
|
140
140
|
:param provider: ? Optional instance of the provider where the ManagedDatabasePostgresql to import is found.
|
|
141
141
|
'''
|
|
142
142
|
if __debug__:
|
|
@@ -237,77 +237,77 @@ class ManagedDatabasePostgresql(
|
|
|
237
237
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
238
238
|
) -> None:
|
|
239
239
|
'''
|
|
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: PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.26.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
241
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
242
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
243
|
+
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
244
|
+
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
245
|
+
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
246
|
+
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is ``3``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
247
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is ``60``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
248
|
+
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
249
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
250
|
+
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
251
|
+
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
252
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
253
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
254
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
255
|
+
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
256
|
+
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is ``100``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
257
|
+
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
258
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is ``1000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
259
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns. The default is ``lz4``. Only available for PostgreSQL 14+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
260
|
+
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
261
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
262
|
+
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
263
|
+
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
264
|
+
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
265
|
+
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
266
|
+
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
267
|
+
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
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.26.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
269
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. The default is ``1000`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
270
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
271
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is ``4`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
272
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. The default is ``8`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
273
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
274
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
275
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
276
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
277
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. If ``-1`` is specified, replication slots may retain an unlimited amount of WAL files. The default is ``-1`` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
278
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
279
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
280
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
281
|
+
:param max_sync_workers_per_subscription: Maximum number of synchronization workers per subscription. The default is ``2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
282
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
283
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. The default is ``8``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
284
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
285
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
286
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
287
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
288
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
289
|
+
:param pg_partman_bgw_interval: Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
290
|
+
:param pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
291
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
292
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
293
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
294
|
+
:param pg_stat_statements_track: Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is ``top``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
295
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
296
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
297
|
+
:param shared_buffers_percentage: Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
298
|
+
:param synchronous_replication: Synchronous replication type. Note that the service plan also needs to support synchronous replication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
299
|
+
:param temp_file_limit: PostgreSQL temporary file limit in KiB, -1 for unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
300
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
301
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
302
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
303
|
+
:param track_commit_timestamp: Record commit time of transactions. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
304
|
+
:param track_functions: Enables tracking of function call counts and time used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
305
|
+
:param track_io_timing: Enables timing of database I/O calls. The default is ``off``. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
306
|
+
:param variant: Variant of the PostgreSQL service, may affect the features that are exposed by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
307
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
308
|
+
:param wal_sender_timeout: Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
309
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. The default is ``200``. Setting this parameter to a lower value may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
310
|
+
:param work_mem: Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
311
311
|
'''
|
|
312
312
|
value = ManagedDatabasePostgresqlProperties(
|
|
313
313
|
admin_password=admin_password,
|
|
@@ -915,18 +915,18 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
915
915
|
:param lifecycle:
|
|
916
916
|
:param provider:
|
|
917
917
|
: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 <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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 id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
923
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
924
|
-
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
925
|
-
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
926
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
927
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
928
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
929
|
-
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
919
|
+
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
920
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
921
|
+
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
922
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
923
|
+
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
924
|
+
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
925
|
+
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
926
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
927
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
928
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
929
|
+
:param termination_protection: If set to true, prevents the managed service from being powered off, or deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
930
930
|
'''
|
|
931
931
|
if isinstance(lifecycle, dict):
|
|
932
932
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1060,7 +1060,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1060
1060
|
|
|
1061
1061
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
1062
1062
|
|
|
1063
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1063
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1064
1064
|
'''
|
|
1065
1065
|
result = self._values.get("name")
|
|
1066
1066
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1072,7 +1072,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1072
1072
|
|
|
1073
1073
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
1074
1074
|
|
|
1075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1075
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
1076
1076
|
'''
|
|
1077
1077
|
result = self._values.get("plan")
|
|
1078
1078
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1082,7 +1082,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1082
1082
|
def title(self) -> builtins.str:
|
|
1083
1083
|
'''Title of a managed database instance.
|
|
1084
1084
|
|
|
1085
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1085
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
1086
1086
|
'''
|
|
1087
1087
|
result = self._values.get("title")
|
|
1088
1088
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1092,7 +1092,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1092
|
def zone(self) -> builtins.str:
|
|
1093
1093
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1094
1094
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
1096
1096
|
'''
|
|
1097
1097
|
result = self._values.get("zone")
|
|
1098
1098
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1100,7 +1100,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1100
1100
|
|
|
1101
1101
|
@builtins.property
|
|
1102
1102
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1103
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1103
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}.
|
|
1104
1104
|
|
|
1105
1105
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1106
1106
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -1112,7 +1112,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1112
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1113
1113
|
'''User defined key-value pairs to classify the managed database.
|
|
1114
1114
|
|
|
1115
|
-
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.26.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
1116
1116
|
'''
|
|
1117
1117
|
result = self._values.get("labels")
|
|
1118
1118
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1121,7 +1121,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1121
1121
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
1122
1122
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
1123
1123
|
|
|
1124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
1125
1125
|
'''
|
|
1126
1126
|
result = self._values.get("maintenance_window_dow")
|
|
1127
1127
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1130,7 +1130,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1130
1130
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1131
1131
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1132
1132
|
|
|
1133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1133
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
1134
1134
|
'''
|
|
1135
1135
|
result = self._values.get("maintenance_window_time")
|
|
1136
1136
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1141,7 +1141,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1141
1141
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]]:
|
|
1142
1142
|
'''network block.
|
|
1143
1143
|
|
|
1144
|
-
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.26.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
1145
1145
|
'''
|
|
1146
1146
|
result = self._values.get("network")
|
|
1147
1147
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]], result)
|
|
@@ -1152,7 +1152,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1152
1152
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1153
1153
|
'''The administrative power state of the service.
|
|
1154
1154
|
|
|
1155
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
1156
1156
|
'''
|
|
1157
1157
|
result = self._values.get("powered")
|
|
1158
1158
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1161,7 +1161,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1161
1161
|
def properties(self) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
1162
1162
|
'''properties block.
|
|
1163
1163
|
|
|
1164
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1164
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
1165
1165
|
'''
|
|
1166
1166
|
result = self._values.get("properties")
|
|
1167
1167
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], result)
|
|
@@ -1172,7 +1172,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1172
1172
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1173
1173
|
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1174
1174
|
|
|
1175
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1175
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
1176
1176
|
'''
|
|
1177
1177
|
result = self._values.get("termination_protection")
|
|
1178
1178
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1204,10 +1204,10 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1204
1204
|
uuid: builtins.str,
|
|
1205
1205
|
) -> None:
|
|
1206
1206
|
'''
|
|
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.
|
|
1207
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1208
|
+
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1209
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1210
|
+
:param uuid: Private network UUID. Must reside in the same zone as the database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1211
1211
|
'''
|
|
1212
1212
|
if __debug__:
|
|
1213
1213
|
type_hints = typing.get_type_hints(_typecheckingstub__5737b331959851ea941ce795bfc130d63e5ac24633787479fac442c8d6e54407)
|
|
@@ -1226,7 +1226,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1226
1226
|
def family(self) -> builtins.str:
|
|
1227
1227
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1228
1228
|
|
|
1229
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1229
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1230
1230
|
'''
|
|
1231
1231
|
result = self._values.get("family")
|
|
1232
1232
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1236,7 +1236,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1236
1236
|
def name(self) -> builtins.str:
|
|
1237
1237
|
'''The name of the network. Must be unique within the service.
|
|
1238
1238
|
|
|
1239
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1239
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1240
1240
|
'''
|
|
1241
1241
|
result = self._values.get("name")
|
|
1242
1242
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1246,7 +1246,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1246
1246
|
def type(self) -> builtins.str:
|
|
1247
1247
|
'''The type of the network. Must be private.
|
|
1248
1248
|
|
|
1249
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1249
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1250
1250
|
'''
|
|
1251
1251
|
result = self._values.get("type")
|
|
1252
1252
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1256,7 +1256,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1256
1256
|
def uuid(self) -> builtins.str:
|
|
1257
1257
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1258
1258
|
|
|
1259
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1259
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1260
1260
|
'''
|
|
1261
1261
|
result = self._values.get("uuid")
|
|
1262
1262
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1787,77 +1787,77 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1787
1787
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
1788
1788
|
) -> None:
|
|
1789
1789
|
'''
|
|
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: PostgreSQL maximum number of concurrent connections to the database server. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.26.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
1791
|
+
:param admin_username: Custom username for admin user. This must be set only when a new service is being created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
1792
|
+
:param automatic_utility_network_ip_filter: Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
1793
|
+
:param autovacuum_analyze_scale_factor: Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
1794
|
+
:param autovacuum_analyze_threshold: Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
1795
|
+
:param autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
1796
|
+
:param autovacuum_max_workers: Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is ``3``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
1797
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is ``60``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
1798
|
+
:param autovacuum_vacuum_cost_delay: Specifies the cost delay value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
1799
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
1800
|
+
:param autovacuum_vacuum_scale_factor: Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
1801
|
+
:param autovacuum_vacuum_threshold: Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is ``50``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
1802
|
+
:param backup_hour: The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
1803
|
+
:param backup_minute: The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
1804
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
1805
|
+
:param bgwriter_flush_after: Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
1806
|
+
:param bgwriter_lru_maxpages: In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. The default is ``100``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
1807
|
+
:param bgwriter_lru_multiplier: The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
1808
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is ``1000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
1809
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns. The default is ``lz4``. Only available for PostgreSQL 14+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
1810
|
+
:param idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
1811
|
+
:param ip_filter: IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
1812
|
+
:param jit: Controls system-wide use of Just-in-Time Compilation (JIT). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
1813
|
+
:param log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
1814
|
+
:param log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
1815
|
+
:param log_line_prefix: Choose from one of the available log formats. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
1816
|
+
:param log_min_duration_statement: Log statements that take more than this number of milliseconds to run, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
1817
|
+
:param log_temp_files: Log statements for each temporary file created larger than this number of kilobytes, -1 disables. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
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.26.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
1819
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. The default is ``1000`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
1820
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
1821
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is ``4`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
1822
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. The default is ``8`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
1823
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is ``2`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
1824
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
1825
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
1826
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
1827
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. If ``-1`` is specified, replication slots may retain an unlimited amount of WAL files. The default is ``-1`` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
1828
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
1829
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
1830
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
1831
|
+
:param max_sync_workers_per_subscription: Maximum number of synchronization workers per subscription. The default is ``2``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
1832
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
1833
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. The default is ``8``. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
1834
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
1835
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
1836
|
+
:param pgaudit: pgaudit block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
1837
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
1838
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
1839
|
+
:param pg_partman_bgw_interval: Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
1840
|
+
:param pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
1841
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Changing this parameter causes a service restart. When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
1842
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
1843
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
1844
|
+
:param pg_stat_statements_track: Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is ``top``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
1845
|
+
:param public_access: Public Access. Allow access to the service from the public Internet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
1846
|
+
:param service_log: Service logging. Store logs for the service so that they are available in the HTTP API and console. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
1847
|
+
:param shared_buffers_percentage: Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
1848
|
+
:param synchronous_replication: Synchronous replication type. Note that the service plan also needs to support synchronous replication. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
1849
|
+
:param temp_file_limit: PostgreSQL temporary file limit in KiB, -1 for unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
1850
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
1851
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
1852
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
1853
|
+
:param track_commit_timestamp: Record commit time of transactions. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
1854
|
+
:param track_functions: Enables tracking of function call counts and time used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
1855
|
+
:param track_io_timing: Enables timing of database I/O calls. The default is ``off``. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
1856
|
+
:param variant: Variant of the PostgreSQL service, may affect the features that are exposed by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
1857
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
1858
|
+
:param wal_sender_timeout: Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
1859
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. The default is ``200``. Setting this parameter to a lower value may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
1860
|
+
:param work_mem: Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
1861
1861
|
'''
|
|
1862
1862
|
if isinstance(migration, dict):
|
|
1863
1863
|
migration = ManagedDatabasePostgresqlPropertiesMigration(**migration)
|
|
@@ -2092,7 +2092,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2092
2092
|
|
|
2093
2093
|
Defaults to random string. This must be set only when a new service is being created.
|
|
2094
2094
|
|
|
2095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2095
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
2096
2096
|
'''
|
|
2097
2097
|
result = self._values.get("admin_password")
|
|
2098
2098
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2101,7 +2101,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2101
2101
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
2102
2102
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
2103
2103
|
|
|
2104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2104
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
2105
2105
|
'''
|
|
2106
2106
|
result = self._values.get("admin_username")
|
|
2107
2107
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2112,7 +2112,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2112
2112
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2113
2113
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2114
2114
|
|
|
2115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2115
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
2116
2116
|
'''
|
|
2117
2117
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
2118
2118
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2121,7 +2121,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2121
2121
|
def autovacuum_analyze_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2122
2122
|
'''Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``.
|
|
2123
2123
|
|
|
2124
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2124
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2125
2125
|
'''
|
|
2126
2126
|
result = self._values.get("autovacuum_analyze_scale_factor")
|
|
2127
2127
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2132,7 +2132,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2132
2132
|
|
|
2133
2133
|
The default is ``50``.
|
|
2134
2134
|
|
|
2135
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2135
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
2136
2136
|
'''
|
|
2137
2137
|
result = self._values.get("autovacuum_analyze_threshold")
|
|
2138
2138
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2141,7 +2141,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2141
2141
|
def autovacuum_freeze_max_age(self) -> typing.Optional[jsii.Number]:
|
|
2142
2142
|
'''Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart.
|
|
2143
2143
|
|
|
2144
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2144
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
2145
2145
|
'''
|
|
2146
2146
|
result = self._values.get("autovacuum_freeze_max_age")
|
|
2147
2147
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2152,7 +2152,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2152
2152
|
|
|
2153
2153
|
The default is ``3``. Changing this parameter causes a service restart.
|
|
2154
2154
|
|
|
2155
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2155
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
2156
2156
|
'''
|
|
2157
2157
|
result = self._values.get("autovacuum_max_workers")
|
|
2158
2158
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2163,7 +2163,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2163
2163
|
|
|
2164
2164
|
The delay is measured in seconds. The default is ``60``.
|
|
2165
2165
|
|
|
2166
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2166
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
2167
2167
|
'''
|
|
2168
2168
|
result = self._values.get("autovacuum_naptime")
|
|
2169
2169
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2174,7 +2174,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2174
2174
|
|
|
2175
2175
|
If ``-1`` is specified, the regular vacuum_cost_delay value will be used. The default is ``2`` (upstream default).
|
|
2176
2176
|
|
|
2177
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2177
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
2178
2178
|
'''
|
|
2179
2179
|
result = self._values.get("autovacuum_vacuum_cost_delay")
|
|
2180
2180
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2185,7 +2185,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2185
2185
|
|
|
2186
2186
|
If ``-1`` is specified, the regular vacuum_cost_limit value will be used. The default is ``-1`` (upstream default).
|
|
2187
2187
|
|
|
2188
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2188
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
2189
2189
|
'''
|
|
2190
2190
|
result = self._values.get("autovacuum_vacuum_cost_limit")
|
|
2191
2191
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2194,7 +2194,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2194
2194
|
def autovacuum_vacuum_scale_factor(self) -> typing.Optional[jsii.Number]:
|
|
2195
2195
|
'''Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. ``0.2`` for 20% of the table size). The default is ``0.2``.
|
|
2196
2196
|
|
|
2197
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2197
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
2198
2198
|
'''
|
|
2199
2199
|
result = self._values.get("autovacuum_vacuum_scale_factor")
|
|
2200
2200
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2205,7 +2205,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2205
2205
|
|
|
2206
2206
|
The default is ``50``.
|
|
2207
2207
|
|
|
2208
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2208
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
2209
2209
|
'''
|
|
2210
2210
|
result = self._values.get("autovacuum_vacuum_threshold")
|
|
2211
2211
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2216,7 +2216,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2216
2216
|
|
|
2217
2217
|
New backup is only started if previous backup has already completed.
|
|
2218
2218
|
|
|
2219
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2219
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
2220
2220
|
'''
|
|
2221
2221
|
result = self._values.get("backup_hour")
|
|
2222
2222
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2227,7 +2227,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2227
2227
|
|
|
2228
2228
|
New backup is only started if previous backup has already completed.
|
|
2229
2229
|
|
|
2230
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2230
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
2231
2231
|
'''
|
|
2232
2232
|
result = self._values.get("backup_minute")
|
|
2233
2233
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2236,7 +2236,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2236
2236
|
def bgwriter_delay(self) -> typing.Optional[jsii.Number]:
|
|
2237
2237
|
'''Specifies the delay between activity rounds for the background writer in milliseconds. The default is ``200``.
|
|
2238
2238
|
|
|
2239
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2239
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
2240
2240
|
'''
|
|
2241
2241
|
result = self._values.get("bgwriter_delay")
|
|
2242
2242
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2247,7 +2247,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2247
2247
|
|
|
2248
2248
|
Specified in kilobytes. Setting of 0 disables forced writeback. The default is ``512``.
|
|
2249
2249
|
|
|
2250
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2250
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
2251
2251
|
'''
|
|
2252
2252
|
result = self._values.get("bgwriter_flush_after")
|
|
2253
2253
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2258,7 +2258,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2258
2258
|
|
|
2259
2259
|
Setting this to zero disables background writing. The default is ``100``.
|
|
2260
2260
|
|
|
2261
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2261
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
2262
2262
|
'''
|
|
2263
2263
|
result = self._values.get("bgwriter_lru_maxpages")
|
|
2264
2264
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2269,7 +2269,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2269
2269
|
|
|
2270
2270
|
1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is ``2.0``.
|
|
2271
2271
|
|
|
2272
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2272
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
2273
2273
|
'''
|
|
2274
2274
|
result = self._values.get("bgwriter_lru_multiplier")
|
|
2275
2275
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2280,7 +2280,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2280
2280
|
|
|
2281
2281
|
The default is ``1000`` (upstream default).
|
|
2282
2282
|
|
|
2283
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2283
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
2284
2284
|
'''
|
|
2285
2285
|
result = self._values.get("deadlock_timeout")
|
|
2286
2286
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2291,7 +2291,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2291
2291
|
|
|
2292
2292
|
The default is ``lz4``. Only available for PostgreSQL 14+.
|
|
2293
2293
|
|
|
2294
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2294
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
2295
2295
|
'''
|
|
2296
2296
|
result = self._values.get("default_toast_compression")
|
|
2297
2297
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2300,7 +2300,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2300
2300
|
def idle_in_transaction_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2301
2301
|
'''Time out sessions with open transactions after this number of milliseconds.
|
|
2302
2302
|
|
|
2303
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2303
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
2304
2304
|
'''
|
|
2305
2305
|
result = self._values.get("idle_in_transaction_session_timeout")
|
|
2306
2306
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2309,7 +2309,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2309
2309
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2310
2310
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2311
2311
|
|
|
2312
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2312
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
2313
2313
|
'''
|
|
2314
2314
|
result = self._values.get("ip_filter")
|
|
2315
2315
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2320,7 +2320,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2320
2320
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2321
2321
|
'''Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2322
2322
|
|
|
2323
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
2324
2324
|
'''
|
|
2325
2325
|
result = self._values.get("jit")
|
|
2326
2326
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2331,7 +2331,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2331
2331
|
|
|
2332
2332
|
Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is ``1000``.
|
|
2333
2333
|
|
|
2334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
2335
2335
|
'''
|
|
2336
2336
|
result = self._values.get("log_autovacuum_min_duration")
|
|
2337
2337
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2340,7 +2340,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2340
2340
|
def log_error_verbosity(self) -> typing.Optional[builtins.str]:
|
|
2341
2341
|
'''Controls the amount of detail written in the server log for each message that is logged.
|
|
2342
2342
|
|
|
2343
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
2344
2344
|
'''
|
|
2345
2345
|
result = self._values.get("log_error_verbosity")
|
|
2346
2346
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2349,7 +2349,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2349
2349
|
def log_line_prefix(self) -> typing.Optional[builtins.str]:
|
|
2350
2350
|
'''Choose from one of the available log formats.
|
|
2351
2351
|
|
|
2352
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2352
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
2353
2353
|
'''
|
|
2354
2354
|
result = self._values.get("log_line_prefix")
|
|
2355
2355
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2358,7 +2358,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2358
2358
|
def log_min_duration_statement(self) -> typing.Optional[jsii.Number]:
|
|
2359
2359
|
'''Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2360
2360
|
|
|
2361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
2362
2362
|
'''
|
|
2363
2363
|
result = self._values.get("log_min_duration_statement")
|
|
2364
2364
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2367,16 +2367,18 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2367
2367
|
def log_temp_files(self) -> typing.Optional[jsii.Number]:
|
|
2368
2368
|
'''Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2369
2369
|
|
|
2370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
2371
2371
|
'''
|
|
2372
2372
|
result = self._values.get("log_temp_files")
|
|
2373
2373
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2374
2374
|
|
|
2375
2375
|
@builtins.property
|
|
2376
2376
|
def max_connections(self) -> typing.Optional[jsii.Number]:
|
|
2377
|
-
'''PostgreSQL maximum number of concurrent connections to the database server.
|
|
2377
|
+
'''Sets the PostgreSQL maximum number of concurrent connections to the database server.
|
|
2378
2378
|
|
|
2379
|
-
|
|
2379
|
+
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
|
+
|
|
2381
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_connections ManagedDatabasePostgresql#max_connections}
|
|
2380
2382
|
'''
|
|
2381
2383
|
result = self._values.get("max_connections")
|
|
2382
2384
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2387,7 +2389,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2387
2389
|
|
|
2388
2390
|
The default is ``1000`` (upstream default). Changing this parameter causes a service restart.
|
|
2389
2391
|
|
|
2390
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2392
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
2391
2393
|
'''
|
|
2392
2394
|
result = self._values.get("max_files_per_process")
|
|
2393
2395
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2396,7 +2398,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2396
2398
|
def max_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2397
2399
|
'''PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart.
|
|
2398
2400
|
|
|
2399
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2401
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
2400
2402
|
'''
|
|
2401
2403
|
result = self._values.get("max_locks_per_transaction")
|
|
2402
2404
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2407,7 +2409,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2407
2409
|
|
|
2408
2410
|
The default is ``4`` (upstream default). Changing this parameter causes a service restart.
|
|
2409
2411
|
|
|
2410
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2412
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
2411
2413
|
'''
|
|
2412
2414
|
result = self._values.get("max_logical_replication_workers")
|
|
2413
2415
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2418,7 +2420,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2418
2420
|
|
|
2419
2421
|
The default is ``8`` (upstream default).
|
|
2420
2422
|
|
|
2421
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2423
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
2422
2424
|
'''
|
|
2423
2425
|
result = self._values.get("max_parallel_workers")
|
|
2424
2426
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2429,7 +2431,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2429
2431
|
|
|
2430
2432
|
The default is ``2`` (upstream default).
|
|
2431
2433
|
|
|
2432
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2434
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
2433
2435
|
'''
|
|
2434
2436
|
result = self._values.get("max_parallel_workers_per_gather")
|
|
2435
2437
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2438,7 +2440,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2438
2440
|
def max_pred_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2439
2441
|
'''PostgreSQL maximum predicate locks per transaction. The default is ``64`` (upstream default). Changing this parameter causes a service restart.
|
|
2440
2442
|
|
|
2441
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2443
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
2442
2444
|
'''
|
|
2443
2445
|
result = self._values.get("max_pred_locks_per_transaction")
|
|
2444
2446
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2447,7 +2449,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2447
2449
|
def max_prepared_transactions(self) -> typing.Optional[jsii.Number]:
|
|
2448
2450
|
'''PostgreSQL maximum prepared transactions. The default is ``0``. Changing this parameter causes a service restart.
|
|
2449
2451
|
|
|
2450
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2452
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
2451
2453
|
'''
|
|
2452
2454
|
result = self._values.get("max_prepared_transactions")
|
|
2453
2455
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2456,7 +2458,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2456
2458
|
def max_replication_slots(self) -> typing.Optional[jsii.Number]:
|
|
2457
2459
|
'''PostgreSQL maximum replication slots. The default is ``20``. Changing this parameter causes a service restart.
|
|
2458
2460
|
|
|
2459
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2461
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
2460
2462
|
'''
|
|
2461
2463
|
result = self._values.get("max_replication_slots")
|
|
2462
2464
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2467,7 +2469,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2467
2469
|
|
|
2468
2470
|
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.
|
|
2469
2471
|
|
|
2470
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2472
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
2471
2473
|
'''
|
|
2472
2474
|
result = self._values.get("max_slot_wal_keep_size")
|
|
2473
2475
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2476,7 +2478,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2476
2478
|
def max_stack_depth(self) -> typing.Optional[jsii.Number]:
|
|
2477
2479
|
'''Maximum depth of the stack in bytes. The default is ``2097152`` (upstream default).
|
|
2478
2480
|
|
|
2479
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2481
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
2480
2482
|
'''
|
|
2481
2483
|
result = self._values.get("max_stack_depth")
|
|
2482
2484
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2485,7 +2487,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2485
2487
|
def max_standby_archive_delay(self) -> typing.Optional[jsii.Number]:
|
|
2486
2488
|
'''Max standby archive delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2487
2489
|
|
|
2488
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2490
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
2489
2491
|
'''
|
|
2490
2492
|
result = self._values.get("max_standby_archive_delay")
|
|
2491
2493
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2494,7 +2496,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2494
2496
|
def max_standby_streaming_delay(self) -> typing.Optional[jsii.Number]:
|
|
2495
2497
|
'''Max standby streaming delay in milliseconds. The default is ``30000`` (upstream default).
|
|
2496
2498
|
|
|
2497
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2499
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
2498
2500
|
'''
|
|
2499
2501
|
result = self._values.get("max_standby_streaming_delay")
|
|
2500
2502
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2503,7 +2505,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2503
2505
|
def max_sync_workers_per_subscription(self) -> typing.Optional[jsii.Number]:
|
|
2504
2506
|
'''Maximum number of synchronization workers per subscription. The default is ``2``.
|
|
2505
2507
|
|
|
2506
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2508
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_sync_workers_per_subscription ManagedDatabasePostgresql#max_sync_workers_per_subscription}
|
|
2507
2509
|
'''
|
|
2508
2510
|
result = self._values.get("max_sync_workers_per_subscription")
|
|
2509
2511
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2512,7 +2514,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2512
2514
|
def max_wal_senders(self) -> typing.Optional[jsii.Number]:
|
|
2513
2515
|
'''PostgreSQL maximum WAL senders. The default is ``20``. Changing this parameter causes a service restart.
|
|
2514
2516
|
|
|
2515
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2517
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
2516
2518
|
'''
|
|
2517
2519
|
result = self._values.get("max_wal_senders")
|
|
2518
2520
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2523,7 +2525,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2523
2525
|
|
|
2524
2526
|
The default is ``8``. Changing this parameter causes a service restart.
|
|
2525
2527
|
|
|
2526
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2528
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
2527
2529
|
'''
|
|
2528
2530
|
result = self._values.get("max_worker_processes")
|
|
2529
2531
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2534,7 +2536,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2534
2536
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"]:
|
|
2535
2537
|
'''migration block.
|
|
2536
2538
|
|
|
2537
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2539
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
2538
2540
|
'''
|
|
2539
2541
|
result = self._values.get("migration")
|
|
2540
2542
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"], result)
|
|
@@ -2543,7 +2545,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2543
2545
|
def password_encryption(self) -> typing.Optional[builtins.str]:
|
|
2544
2546
|
'''Chooses the algorithm for encrypting passwords.
|
|
2545
2547
|
|
|
2546
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2548
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
2547
2549
|
'''
|
|
2548
2550
|
result = self._values.get("password_encryption")
|
|
2549
2551
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2552,7 +2554,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2552
2554
|
def pgaudit(self) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"]:
|
|
2553
2555
|
'''pgaudit block.
|
|
2554
2556
|
|
|
2555
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2557
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgaudit ManagedDatabasePostgresql#pgaudit}
|
|
2556
2558
|
'''
|
|
2557
2559
|
result = self._values.get("pgaudit")
|
|
2558
2560
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgaudit"], result)
|
|
@@ -2563,7 +2565,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2563
2565
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"]:
|
|
2564
2566
|
'''pgbouncer block.
|
|
2565
2567
|
|
|
2566
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2568
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
2567
2569
|
'''
|
|
2568
2570
|
result = self._values.get("pgbouncer")
|
|
2569
2571
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"], result)
|
|
@@ -2574,7 +2576,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2574
2576
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"]:
|
|
2575
2577
|
'''pglookout block.
|
|
2576
2578
|
|
|
2577
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2579
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
2578
2580
|
'''
|
|
2579
2581
|
result = self._values.get("pglookout")
|
|
2580
2582
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"], result)
|
|
@@ -2583,7 +2585,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2583
2585
|
def pg_partman_bgw_interval(self) -> typing.Optional[jsii.Number]:
|
|
2584
2586
|
'''Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is ``3600``.
|
|
2585
2587
|
|
|
2586
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2588
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
2587
2589
|
'''
|
|
2588
2590
|
result = self._values.get("pg_partman_bgw_interval")
|
|
2589
2591
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2592,7 +2594,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2592
2594
|
def pg_partman_bgw_role(self) -> typing.Optional[builtins.str]:
|
|
2593
2595
|
'''Controls which role to use for pg_partman's scheduled background tasks.
|
|
2594
2596
|
|
|
2595
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2597
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
2596
2598
|
'''
|
|
2597
2599
|
result = self._values.get("pg_partman_bgw_role")
|
|
2598
2600
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2605,7 +2607,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2605
2607
|
|
|
2606
2608
|
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.
|
|
2607
2609
|
|
|
2608
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2610
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
2609
2611
|
'''
|
|
2610
2612
|
result = self._values.get("pg_stat_monitor_enable")
|
|
2611
2613
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2616,7 +2618,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2616
2618
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2617
2619
|
'''Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2618
2620
|
|
|
2619
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2621
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
2620
2622
|
'''
|
|
2621
2623
|
result = self._values.get("pg_stat_monitor_pgsm_enable_query_plan")
|
|
2622
2624
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2625,7 +2627,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2625
2627
|
def pg_stat_monitor_pgsm_max_buckets(self) -> typing.Optional[jsii.Number]:
|
|
2626
2628
|
'''Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
|
|
2627
2629
|
|
|
2628
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2630
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
2629
2631
|
'''
|
|
2630
2632
|
result = self._values.get("pg_stat_monitor_pgsm_max_buckets")
|
|
2631
2633
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2636,7 +2638,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2636
2638
|
|
|
2637
2639
|
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``.
|
|
2638
2640
|
|
|
2639
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2641
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
2640
2642
|
'''
|
|
2641
2643
|
result = self._values.get("pg_stat_statements_track")
|
|
2642
2644
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2647,7 +2649,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2647
2649
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2648
2650
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2649
2651
|
|
|
2650
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2652
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
2651
2653
|
'''
|
|
2652
2654
|
result = self._values.get("public_access")
|
|
2653
2655
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2658,7 +2660,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2658
2660
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2659
2661
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2660
2662
|
|
|
2661
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2663
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
2662
2664
|
'''
|
|
2663
2665
|
result = self._values.get("service_log")
|
|
2664
2666
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2669,7 +2671,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2669
2671
|
|
|
2670
2672
|
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.
|
|
2671
2673
|
|
|
2672
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2674
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
2673
2675
|
'''
|
|
2674
2676
|
result = self._values.get("shared_buffers_percentage")
|
|
2675
2677
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2678,7 +2680,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2678
2680
|
def synchronous_replication(self) -> typing.Optional[builtins.str]:
|
|
2679
2681
|
'''Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2680
2682
|
|
|
2681
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2683
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
2682
2684
|
'''
|
|
2683
2685
|
result = self._values.get("synchronous_replication")
|
|
2684
2686
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2687,7 +2689,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2687
2689
|
def temp_file_limit(self) -> typing.Optional[jsii.Number]:
|
|
2688
2690
|
'''PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2689
2691
|
|
|
2690
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2692
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
2691
2693
|
'''
|
|
2692
2694
|
result = self._values.get("temp_file_limit")
|
|
2693
2695
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2698,7 +2700,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2698
2700
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"]:
|
|
2699
2701
|
'''timescaledb block.
|
|
2700
2702
|
|
|
2701
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2703
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
2702
2704
|
'''
|
|
2703
2705
|
result = self._values.get("timescaledb")
|
|
2704
2706
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"], result)
|
|
@@ -2707,7 +2709,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2707
2709
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
2708
2710
|
'''PostgreSQL service timezone.
|
|
2709
2711
|
|
|
2710
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2712
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
2711
2713
|
'''
|
|
2712
2714
|
result = self._values.get("timezone")
|
|
2713
2715
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2718,7 +2720,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2718
2720
|
|
|
2719
2721
|
Changing this parameter causes a service restart.
|
|
2720
2722
|
|
|
2721
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2723
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
2722
2724
|
'''
|
|
2723
2725
|
result = self._values.get("track_activity_query_size")
|
|
2724
2726
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2727,7 +2729,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2727
2729
|
def track_commit_timestamp(self) -> typing.Optional[builtins.str]:
|
|
2728
2730
|
'''Record commit time of transactions. Changing this parameter causes a service restart.
|
|
2729
2731
|
|
|
2730
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2732
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
2731
2733
|
'''
|
|
2732
2734
|
result = self._values.get("track_commit_timestamp")
|
|
2733
2735
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2736,7 +2738,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2736
2738
|
def track_functions(self) -> typing.Optional[builtins.str]:
|
|
2737
2739
|
'''Enables tracking of function call counts and time used.
|
|
2738
2740
|
|
|
2739
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2741
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
2740
2742
|
'''
|
|
2741
2743
|
result = self._values.get("track_functions")
|
|
2742
2744
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2747,7 +2749,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2747
2749
|
|
|
2748
2750
|
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.
|
|
2749
2751
|
|
|
2750
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2752
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
2751
2753
|
'''
|
|
2752
2754
|
result = self._values.get("track_io_timing")
|
|
2753
2755
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2756,7 +2758,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2756
2758
|
def variant(self) -> typing.Optional[builtins.str]:
|
|
2757
2759
|
'''Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2758
2760
|
|
|
2759
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2761
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
2760
2762
|
'''
|
|
2761
2763
|
result = self._values.get("variant")
|
|
2762
2764
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2765,7 +2767,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2765
2767
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2766
2768
|
'''PostgreSQL major version.
|
|
2767
2769
|
|
|
2768
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2770
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
2769
2771
|
'''
|
|
2770
2772
|
result = self._values.get("version")
|
|
2771
2773
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2776,7 +2778,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2776
2778
|
|
|
2777
2779
|
Setting this value to zero disables the timeout.
|
|
2778
2780
|
|
|
2779
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2781
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
2780
2782
|
'''
|
|
2781
2783
|
result = self._values.get("wal_sender_timeout")
|
|
2782
2784
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2787,7 +2789,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2787
2789
|
|
|
2788
2790
|
The default is ``200``. Setting this parameter to a lower value may negatively impact performance.
|
|
2789
2791
|
|
|
2790
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2792
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
2791
2793
|
'''
|
|
2792
2794
|
result = self._values.get("wal_writer_delay")
|
|
2793
2795
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2798,7 +2800,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2798
2800
|
|
|
2799
2801
|
The default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2800
2802
|
|
|
2801
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2803
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
2802
2804
|
'''
|
|
2803
2805
|
result = self._values.get("work_mem")
|
|
2804
2806
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2845,15 +2847,15 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2845
2847
|
username: typing.Optional[builtins.str] = None,
|
|
2846
2848
|
) -> None:
|
|
2847
2849
|
'''
|
|
2848
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2849
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2850
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2851
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2852
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2853
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2854
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2855
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2856
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2850
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
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.26.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
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.26.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
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.26.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
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.26.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
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.26.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
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.26.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2857
2859
|
'''
|
|
2858
2860
|
if __debug__:
|
|
2859
2861
|
type_hints = typing.get_type_hints(_typecheckingstub__9a22b07e9381a03b0e883019f9869d2e86afe1337164b3f40f42a65332f93686)
|
|
@@ -2890,7 +2892,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2890
2892
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2891
2893
|
'''Database name for bootstrapping the initial connection.
|
|
2892
2894
|
|
|
2893
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2895
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2894
2896
|
'''
|
|
2895
2897
|
result = self._values.get("dbname")
|
|
2896
2898
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2899,7 +2901,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2899
2901
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2900
2902
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2901
2903
|
|
|
2902
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2904
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2903
2905
|
'''
|
|
2904
2906
|
result = self._values.get("host")
|
|
2905
2907
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2908,7 +2910,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2908
2910
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2909
2911
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2910
2912
|
|
|
2911
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2913
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2912
2914
|
'''
|
|
2913
2915
|
result = self._values.get("ignore_dbs")
|
|
2914
2916
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2917,7 +2919,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2917
2919
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2918
2920
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2919
2921
|
|
|
2920
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2922
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2921
2923
|
'''
|
|
2922
2924
|
result = self._values.get("ignore_roles")
|
|
2923
2925
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2926,7 +2928,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2926
2928
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2927
2929
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2928
2930
|
|
|
2929
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2931
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2930
2932
|
'''
|
|
2931
2933
|
result = self._values.get("method")
|
|
2932
2934
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2935,7 +2937,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2935
2937
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2936
2938
|
'''Password for authentication with the server where to migrate data from.
|
|
2937
2939
|
|
|
2938
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2940
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2939
2941
|
'''
|
|
2940
2942
|
result = self._values.get("password")
|
|
2941
2943
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2944,7 +2946,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2944
2946
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2945
2947
|
'''Port number of the server where to migrate data from.
|
|
2946
2948
|
|
|
2947
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2949
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2948
2950
|
'''
|
|
2949
2951
|
result = self._values.get("port")
|
|
2950
2952
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2955,7 +2957,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2955
2957
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2956
2958
|
'''The server where to migrate data from is secured with SSL.
|
|
2957
2959
|
|
|
2958
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2960
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2959
2961
|
'''
|
|
2960
2962
|
result = self._values.get("ssl")
|
|
2961
2963
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2964,7 +2966,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2964
2966
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2965
2967
|
'''User name for authentication with the server where to migrate data from.
|
|
2966
2968
|
|
|
2967
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2969
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2968
2970
|
'''
|
|
2969
2971
|
result = self._values.get("username")
|
|
2970
2972
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3248,15 +3250,15 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3248
3250
|
username: typing.Optional[builtins.str] = None,
|
|
3249
3251
|
) -> None:
|
|
3250
3252
|
'''
|
|
3251
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3252
|
-
:param host: Hostname or IP address of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3253
|
-
:param ignore_dbs: Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3254
|
-
:param ignore_roles: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3255
|
-
:param method: The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3256
|
-
:param password: Password for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3257
|
-
:param port: Port number of the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3258
|
-
:param ssl: The server where to migrate data from is secured with SSL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3259
|
-
:param username: User name for authentication with the server where to migrate data from. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3253
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
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.26.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
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.26.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
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.26.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
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.26.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
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.26.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
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.26.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
3260
3262
|
'''
|
|
3261
3263
|
value = ManagedDatabasePostgresqlPropertiesMigration(
|
|
3262
3264
|
dbname=dbname,
|
|
@@ -3292,20 +3294,20 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3292
3294
|
role: typing.Optional[builtins.str] = None,
|
|
3293
3295
|
) -> None:
|
|
3294
3296
|
'''
|
|
3295
|
-
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3296
|
-
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3297
|
-
:param log_catalog: Specifies that session logging should be enabled in the
|
|
3298
|
-
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3299
|
-
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3300
|
-
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3301
|
-
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3302
|
-
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3303
|
-
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3304
|
-
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3305
|
-
:param log_rows:
|
|
3306
|
-
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3307
|
-
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3308
|
-
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
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.26.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
3307
|
+
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
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.26.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
3309
3311
|
'''
|
|
3310
3312
|
value = ManagedDatabasePostgresqlPropertiesPgaudit(
|
|
3311
3313
|
feature_enabled=feature_enabled,
|
|
@@ -3342,16 +3344,16 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3342
3344
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3343
3345
|
) -> None:
|
|
3344
3346
|
'''
|
|
3345
|
-
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3346
|
-
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3347
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3348
|
-
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3349
|
-
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3350
|
-
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3351
|
-
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3352
|
-
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3353
|
-
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3354
|
-
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
3349
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
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.26.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
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.26.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
3355
3357
|
'''
|
|
3356
3358
|
value = ManagedDatabasePostgresqlPropertiesPgbouncer(
|
|
3357
3359
|
autodb_idle_timeout=autodb_idle_timeout,
|
|
@@ -3375,7 +3377,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3375
3377
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
3376
3378
|
) -> None:
|
|
3377
3379
|
'''
|
|
3378
|
-
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
3379
3381
|
'''
|
|
3380
3382
|
value = ManagedDatabasePostgresqlPropertiesPglookout(
|
|
3381
3383
|
max_failover_replication_time_lag=max_failover_replication_time_lag
|
|
@@ -3390,7 +3392,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3390
3392
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
3391
3393
|
) -> None:
|
|
3392
3394
|
'''
|
|
3393
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
3394
3396
|
'''
|
|
3395
3397
|
value = ManagedDatabasePostgresqlPropertiesTimescaledb(
|
|
3396
3398
|
max_background_workers=max_background_workers
|
|
@@ -4962,20 +4964,20 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
4962
4964
|
role: typing.Optional[builtins.str] = None,
|
|
4963
4965
|
) -> None:
|
|
4964
4966
|
'''
|
|
4965
|
-
:param feature_enabled: Enable pgaudit extension. Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4966
|
-
:param log: Specifies which classes of statements will be logged by session audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4967
|
-
:param log_catalog: Specifies that session logging should be enabled in the
|
|
4968
|
-
:param log_client: Specifies whether log messages will be visible to a client process such as psql. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4969
|
-
:param log_level: Specifies the log level that will be used for log entries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4970
|
-
:param log_max_string_length: Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4971
|
-
:param log_nested_statements: This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4972
|
-
:param log_parameter: Specifies that audit logging should include the parameters that were passed with the statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4973
|
-
:param log_parameter_max_size: Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4974
|
-
:param log_relation: Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4975
|
-
:param log_rows:
|
|
4976
|
-
:param log_statement: Specifies whether logging will include the statement text and parameters (if enabled). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4977
|
-
:param log_statement_once: Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4978
|
-
:param role: Specifies the master role to use for object audit logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
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.26.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
4977
|
+
:param log_rows: Log Rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
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.26.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
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.26.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
4979
4981
|
'''
|
|
4980
4982
|
if __debug__:
|
|
4981
4983
|
type_hints = typing.get_type_hints(_typecheckingstub__ceddef9157916dec3e9a0146d7eedd65e39272ad64a94090ac97ce9eb4e638a6)
|
|
@@ -5031,16 +5033,16 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5031
5033
|
|
|
5032
5034
|
Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved.
|
|
5033
5035
|
|
|
5034
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5036
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#feature_enabled ManagedDatabasePostgresql#feature_enabled}
|
|
5035
5037
|
'''
|
|
5036
5038
|
result = self._values.get("feature_enabled")
|
|
5037
5039
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
5038
5040
|
|
|
5039
5041
|
@builtins.property
|
|
5040
5042
|
def log(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5041
|
-
'''Specifies which classes of statements will be logged by session audit logging.
|
|
5043
|
+
'''Log. Specifies which classes of statements will be logged by session audit logging.
|
|
5042
5044
|
|
|
5043
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5045
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log ManagedDatabasePostgresql#log}
|
|
5044
5046
|
'''
|
|
5045
5047
|
result = self._values.get("log")
|
|
5046
5048
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -5049,9 +5051,12 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5049
5051
|
def log_catalog(
|
|
5050
5052
|
self,
|
|
5051
5053
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5052
|
-
'''
|
|
5054
|
+
'''Log Catalog.
|
|
5055
|
+
|
|
5056
|
+
Specifies that session logging should be enabled in the case where all relations
|
|
5057
|
+
in a statement are in pg_catalog.
|
|
5053
5058
|
|
|
5054
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5059
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_catalog ManagedDatabasePostgresql#log_catalog}
|
|
5055
5060
|
'''
|
|
5056
5061
|
result = self._values.get("log_catalog")
|
|
5057
5062
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5060,27 +5065,30 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5060
5065
|
def log_client(
|
|
5061
5066
|
self,
|
|
5062
5067
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5063
|
-
'''Specifies whether log messages will be visible to a client process such as psql.
|
|
5068
|
+
'''Log Client. Specifies whether log messages will be visible to a client process such as psql.
|
|
5064
5069
|
|
|
5065
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5070
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_client ManagedDatabasePostgresql#log_client}
|
|
5066
5071
|
'''
|
|
5067
5072
|
result = self._values.get("log_client")
|
|
5068
5073
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
5069
5074
|
|
|
5070
5075
|
@builtins.property
|
|
5071
5076
|
def log_level(self) -> typing.Optional[builtins.str]:
|
|
5072
|
-
'''Specifies the log level that will be used for log entries.
|
|
5077
|
+
'''Log level. Specifies the log level that will be used for log entries.
|
|
5073
5078
|
|
|
5074
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5079
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_level ManagedDatabasePostgresql#log_level}
|
|
5075
5080
|
'''
|
|
5076
5081
|
result = self._values.get("log_level")
|
|
5077
5082
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5078
5083
|
|
|
5079
5084
|
@builtins.property
|
|
5080
5085
|
def log_max_string_length(self) -> typing.Optional[jsii.Number]:
|
|
5081
|
-
'''
|
|
5086
|
+
'''Log Max String Length.
|
|
5082
5087
|
|
|
5083
|
-
|
|
5088
|
+
Crop parameters representation and whole statements if they exceed this threshold.
|
|
5089
|
+
A (default) value of -1 disable the truncation.
|
|
5090
|
+
|
|
5091
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_max_string_length ManagedDatabasePostgresql#log_max_string_length}
|
|
5084
5092
|
'''
|
|
5085
5093
|
result = self._values.get("log_max_string_length")
|
|
5086
5094
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5089,9 +5097,12 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5089
5097
|
def log_nested_statements(
|
|
5090
5098
|
self,
|
|
5091
5099
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5092
|
-
'''
|
|
5100
|
+
'''Log Nested Statements.
|
|
5101
|
+
|
|
5102
|
+
This GUC allows to turn off logging nested statements, that is, statements that are
|
|
5103
|
+
executed as part of another ExecutorRun.
|
|
5093
5104
|
|
|
5094
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5105
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_nested_statements ManagedDatabasePostgresql#log_nested_statements}
|
|
5095
5106
|
'''
|
|
5096
5107
|
result = self._values.get("log_nested_statements")
|
|
5097
5108
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5100,18 +5111,21 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5100
5111
|
def log_parameter(
|
|
5101
5112
|
self,
|
|
5102
5113
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5103
|
-
'''Specifies that audit logging should include the parameters that were passed with the statement.
|
|
5114
|
+
'''Log Parameter. Specifies that audit logging should include the parameters that were passed with the statement.
|
|
5104
5115
|
|
|
5105
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5116
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_parameter ManagedDatabasePostgresql#log_parameter}
|
|
5106
5117
|
'''
|
|
5107
5118
|
result = self._values.get("log_parameter")
|
|
5108
5119
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
5109
5120
|
|
|
5110
5121
|
@builtins.property
|
|
5111
5122
|
def log_parameter_max_size(self) -> typing.Optional[jsii.Number]:
|
|
5112
|
-
'''
|
|
5123
|
+
'''Log Parameter Max Size.
|
|
5113
5124
|
|
|
5114
|
-
|
|
5125
|
+
Specifies that parameter values longer than this setting (in bytes) should not be logged,
|
|
5126
|
+
but replaced with .
|
|
5127
|
+
|
|
5128
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_parameter_max_size ManagedDatabasePostgresql#log_parameter_max_size}
|
|
5115
5129
|
'''
|
|
5116
5130
|
result = self._values.get("log_parameter_max_size")
|
|
5117
5131
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5120,9 +5134,12 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5120
5134
|
def log_relation(
|
|
5121
5135
|
self,
|
|
5122
5136
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5123
|
-
'''
|
|
5137
|
+
'''Log Relation.
|
|
5138
|
+
|
|
5139
|
+
Specifies whether session audit logging should create a separate log entry
|
|
5140
|
+
for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement.
|
|
5124
5141
|
|
|
5125
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5142
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_relation ManagedDatabasePostgresql#log_relation}
|
|
5126
5143
|
'''
|
|
5127
5144
|
result = self._values.get("log_relation")
|
|
5128
5145
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5131,11 +5148,9 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5131
5148
|
def log_rows(
|
|
5132
5149
|
self,
|
|
5133
5150
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5134
|
-
'''
|
|
5151
|
+
'''Log Rows.
|
|
5135
5152
|
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.25.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
5153
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_rows ManagedDatabasePostgresql#log_rows}
|
|
5139
5154
|
'''
|
|
5140
5155
|
result = self._values.get("log_rows")
|
|
5141
5156
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5144,9 +5159,9 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5144
5159
|
def log_statement(
|
|
5145
5160
|
self,
|
|
5146
5161
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5147
|
-
'''Specifies whether logging will include the statement text and parameters (if enabled).
|
|
5162
|
+
'''Log Statement. Specifies whether logging will include the statement text and parameters (if enabled).
|
|
5148
5163
|
|
|
5149
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5164
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_statement ManagedDatabasePostgresql#log_statement}
|
|
5150
5165
|
'''
|
|
5151
5166
|
result = self._values.get("log_statement")
|
|
5152
5167
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5155,18 +5170,21 @@ class ManagedDatabasePostgresqlPropertiesPgaudit:
|
|
|
5155
5170
|
def log_statement_once(
|
|
5156
5171
|
self,
|
|
5157
5172
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5158
|
-
'''
|
|
5173
|
+
'''Log Statement Once.
|
|
5174
|
+
|
|
5175
|
+
Specifies whether logging will include the statement text and parameters with
|
|
5176
|
+
the first log entry for a statement/substatement combination or with every entry.
|
|
5159
5177
|
|
|
5160
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5178
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#log_statement_once ManagedDatabasePostgresql#log_statement_once}
|
|
5161
5179
|
'''
|
|
5162
5180
|
result = self._values.get("log_statement_once")
|
|
5163
5181
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
5164
5182
|
|
|
5165
5183
|
@builtins.property
|
|
5166
5184
|
def role(self) -> typing.Optional[builtins.str]:
|
|
5167
|
-
'''Specifies the master role to use for object audit logging.
|
|
5185
|
+
'''Role. Specifies the master role to use for object audit logging.
|
|
5168
5186
|
|
|
5169
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5187
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#role ManagedDatabasePostgresql#role}
|
|
5170
5188
|
'''
|
|
5171
5189
|
result = self._values.get("role")
|
|
5172
5190
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5598,16 +5616,16 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5598
5616
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5599
5617
|
) -> None:
|
|
5600
5618
|
'''
|
|
5601
|
-
:param autodb_idle_timeout: If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5602
|
-
:param autodb_max_db_connections: Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5603
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5604
|
-
:param autodb_pool_size: If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5605
|
-
:param ignore_startup_parameters: List of parameters to ignore when given in startup packet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5606
|
-
:param max_prepared_statements: PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5607
|
-
:param min_pool_size: Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5608
|
-
:param server_idle_timeout: If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5609
|
-
:param server_lifetime: The pooler will close an unused server connection that has been connected longer than this. [seconds]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5610
|
-
:param server_reset_query_always: Run server_reset_query (DISCARD ALL) in all pooling modes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5621
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
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.26.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
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.26.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
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.26.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
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.26.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5611
5629
|
'''
|
|
5612
5630
|
if __debug__:
|
|
5613
5631
|
type_hints = typing.get_type_hints(_typecheckingstub__2862abffc43a442ad2bff1c444cf98fb770986970925fafb7cc295e2cc45a9b9)
|
|
@@ -5649,7 +5667,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5649
5667
|
|
|
5650
5668
|
If 0 then timeout is disabled. [seconds].
|
|
5651
5669
|
|
|
5652
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5670
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
5653
5671
|
'''
|
|
5654
5672
|
result = self._values.get("autodb_idle_timeout")
|
|
5655
5673
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5660,7 +5678,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5660
5678
|
|
|
5661
5679
|
Setting it to 0 means unlimited.
|
|
5662
5680
|
|
|
5663
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5681
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
5664
5682
|
'''
|
|
5665
5683
|
result = self._values.get("autodb_max_db_connections")
|
|
5666
5684
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5669,7 +5687,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5669
5687
|
def autodb_pool_mode(self) -> typing.Optional[builtins.str]:
|
|
5670
5688
|
'''PGBouncer pool mode.
|
|
5671
5689
|
|
|
5672
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5690
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
5673
5691
|
'''
|
|
5674
5692
|
result = self._values.get("autodb_pool_mode")
|
|
5675
5693
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -5678,7 +5696,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5678
5696
|
def autodb_pool_size(self) -> typing.Optional[jsii.Number]:
|
|
5679
5697
|
'''If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
5680
5698
|
|
|
5681
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5699
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
5682
5700
|
'''
|
|
5683
5701
|
result = self._values.get("autodb_pool_size")
|
|
5684
5702
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5687,7 +5705,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5687
5705
|
def ignore_startup_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5688
5706
|
'''List of parameters to ignore when given in startup packet.
|
|
5689
5707
|
|
|
5690
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5708
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
5691
5709
|
'''
|
|
5692
5710
|
result = self._values.get("ignore_startup_parameters")
|
|
5693
5711
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -5698,7 +5716,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5698
5716
|
|
|
5699
5717
|
Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
|
|
5700
5718
|
|
|
5701
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5719
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
5702
5720
|
'''
|
|
5703
5721
|
result = self._values.get("max_prepared_statements")
|
|
5704
5722
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5709,7 +5727,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5709
5727
|
|
|
5710
5728
|
Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
5711
5729
|
|
|
5712
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5730
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
5713
5731
|
'''
|
|
5714
5732
|
result = self._values.get("min_pool_size")
|
|
5715
5733
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5720,7 +5738,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5720
5738
|
|
|
5721
5739
|
If 0 then timeout is disabled. [seconds].
|
|
5722
5740
|
|
|
5723
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5741
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
5724
5742
|
'''
|
|
5725
5743
|
result = self._values.get("server_idle_timeout")
|
|
5726
5744
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5729,7 +5747,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5729
5747
|
def server_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
5730
5748
|
'''The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
5731
5749
|
|
|
5732
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5750
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
5733
5751
|
'''
|
|
5734
5752
|
result = self._values.get("server_lifetime")
|
|
5735
5753
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5740,7 +5758,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
5740
5758
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
5741
5759
|
'''Run server_reset_query (DISCARD ALL) in all pooling modes.
|
|
5742
5760
|
|
|
5743
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5761
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
5744
5762
|
'''
|
|
5745
5763
|
result = self._values.get("server_reset_query_always")
|
|
5746
5764
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -6028,7 +6046,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
6028
6046
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
6029
6047
|
) -> None:
|
|
6030
6048
|
'''
|
|
6031
|
-
:param max_failover_replication_time_lag: Number of seconds of master unavailability before triggering database failover to standby. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
6032
6050
|
'''
|
|
6033
6051
|
if __debug__:
|
|
6034
6052
|
type_hints = typing.get_type_hints(_typecheckingstub__dd81ae3f527ba52eaf4f2d07e7187afc3b2328ed800858a2364717bdfe0081a9)
|
|
@@ -6039,9 +6057,9 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
6039
6057
|
|
|
6040
6058
|
@builtins.property
|
|
6041
6059
|
def max_failover_replication_time_lag(self) -> typing.Optional[jsii.Number]:
|
|
6042
|
-
'''Number of seconds of master unavailability before triggering database failover to standby.
|
|
6060
|
+
'''Max Failover Replication Time Lag. Number of seconds of master unavailability before triggering database failover to standby.
|
|
6043
6061
|
|
|
6044
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6062
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
6045
6063
|
'''
|
|
6046
6064
|
result = self._values.get("max_failover_replication_time_lag")
|
|
6047
6065
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6129,7 +6147,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6129
6147
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
6130
6148
|
) -> None:
|
|
6131
6149
|
'''
|
|
6132
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Changing this parameter causes a service restart. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.26.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6133
6151
|
'''
|
|
6134
6152
|
if __debug__:
|
|
6135
6153
|
type_hints = typing.get_type_hints(_typecheckingstub__71c8b11f8b53026baff50866f6d74787011a28fc791f639a52c7c58b6f897621)
|
|
@@ -6144,7 +6162,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
6144
6162
|
|
|
6145
6163
|
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.
|
|
6146
6164
|
|
|
6147
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
6165
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.26.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
6148
6166
|
'''
|
|
6149
6167
|
result = self._values.get("max_background_workers")
|
|
6150
6168
|
return typing.cast(typing.Optional[jsii.Number], result)
|