cdktf-cdktf-provider-upcloud 14.15.0__py3-none-any.whl → 14.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.17.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +4 -4
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +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 +42 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +226 -226
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +254 -198
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +3178 -3151
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +411 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +185 -129
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +182 -126
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +1002 -425
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.17.0.dist-info/RECORD +67 -0
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.15.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.15.0.dist-info/RECORD +0 -67
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.17.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_managed_database_postgresql`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_managed_database_postgresql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_database_postgresql`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.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.17.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -62,6 +62,7 @@ class ManagedDatabasePostgresql(
|
|
|
62
62
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabasePostgresqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
63
63
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
64
64
|
properties: typing.Optional[typing.Union["ManagedDatabasePostgresqlProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
65
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
65
66
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
66
67
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
67
68
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -70,21 +71,22 @@ class ManagedDatabasePostgresql(
|
|
|
70
71
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
71
72
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
72
73
|
) -> None:
|
|
73
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
74
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql upcloud_managed_database_postgresql} Resource.
|
|
74
75
|
|
|
75
76
|
:param scope: The scope in which to define this construct.
|
|
76
77
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
77
|
-
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
-
:param plan: Service plan to use. This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
79
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
80
|
-
:param zone: Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
81
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
82
|
-
:param labels: User defined key-value pairs to classify the managed database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
83
|
-
:param maintenance_window_dow: Maintenance window day of week. Lower case weekday name (monday, tuesday, ...). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
84
|
-
:param maintenance_window_time: Maintenance window UTC time in hh:mm:ss format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
85
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
86
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
87
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
78
|
+
:param name: Name of the service. The name is used as a prefix for the logical hostname. Must be unique within an account Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
88
90
|
:param connection:
|
|
89
91
|
:param count:
|
|
90
92
|
:param depends_on:
|
|
@@ -109,6 +111,7 @@ class ManagedDatabasePostgresql(
|
|
|
109
111
|
network=network,
|
|
110
112
|
powered=powered,
|
|
111
113
|
properties=properties,
|
|
114
|
+
termination_protection=termination_protection,
|
|
112
115
|
connection=connection,
|
|
113
116
|
count=count,
|
|
114
117
|
depends_on=depends_on,
|
|
@@ -133,7 +136,7 @@ class ManagedDatabasePostgresql(
|
|
|
133
136
|
|
|
134
137
|
:param scope: The scope in which to define this construct.
|
|
135
138
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabasePostgresql to import.
|
|
136
|
-
: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.17.0/docs/resources/managed_database_postgresql#import import section} in the documentation of this resource for the id to use
|
|
137
140
|
:param provider: ? Optional instance of the provider where the ManagedDatabasePostgresql to import is found.
|
|
138
141
|
'''
|
|
139
142
|
if __debug__:
|
|
@@ -204,6 +207,7 @@ class ManagedDatabasePostgresql(
|
|
|
204
207
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
205
208
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
206
209
|
migration: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesMigration", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
210
|
+
password_encryption: typing.Optional[builtins.str] = None,
|
|
207
211
|
pgbouncer: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesPgbouncer", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
208
212
|
pglookout: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesPglookout", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
209
213
|
pg_partman_bgw_interval: typing.Optional[jsii.Number] = None,
|
|
@@ -230,73 +234,74 @@ class ManagedDatabasePostgresql(
|
|
|
230
234
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
231
235
|
) -> None:
|
|
232
236
|
'''
|
|
233
|
-
: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.
|
|
234
|
-
: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.
|
|
235
|
-
: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.
|
|
236
|
-
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
237
|
-
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
238
|
-
: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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
239
|
-
: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 three. This parameter can only be set at server start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
240
|
-
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
241
|
-
: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 value is 20 milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
242
|
-
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
243
|
-
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
244
|
-
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
245
|
-
: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.
|
|
246
|
-
: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.
|
|
247
|
-
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
248
|
-
: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, default is 512. Setting of 0 disables forced writeback. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
249
|
-
: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. Default is 100. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
250
|
-
: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.
|
|
251
|
-
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
252
|
-
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
253
|
-
: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.
|
|
254
|
-
: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.
|
|
255
|
-
: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.
|
|
256
|
-
: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 (the default) disables logging autovacuum actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
257
|
-
: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.
|
|
258
|
-
: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.
|
|
259
|
-
: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.
|
|
260
|
-
: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.
|
|
261
|
-
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
262
|
-
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
263
|
-
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
264
|
-
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
265
|
-
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
266
|
-
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
267
|
-
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
268
|
-
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
269
|
-
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
270
|
-
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
271
|
-
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
272
|
-
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
273
|
-
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
274
|
-
:param max_worker_processes: Sets the maximum number of background processes that the system can support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
275
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
276
|
-
:param
|
|
277
|
-
:param
|
|
278
|
-
:param
|
|
279
|
-
:param
|
|
280
|
-
:param
|
|
281
|
-
:param
|
|
282
|
-
:param
|
|
283
|
-
:param
|
|
284
|
-
:param
|
|
285
|
-
:param
|
|
286
|
-
:param
|
|
287
|
-
:param
|
|
288
|
-
:param
|
|
289
|
-
:param
|
|
290
|
-
:param
|
|
291
|
-
:param
|
|
292
|
-
:param
|
|
293
|
-
:param
|
|
294
|
-
:param
|
|
295
|
-
:param
|
|
296
|
-
:param
|
|
297
|
-
:param
|
|
298
|
-
:param
|
|
299
|
-
:param
|
|
237
|
+
: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.17.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
238
|
+
: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.17.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
239
|
+
: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.17.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
240
|
+
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
241
|
+
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
242
|
+
: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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
243
|
+
: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 three. This parameter can only be set at server start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
244
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
245
|
+
: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 value is 20 milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
246
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
247
|
+
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
248
|
+
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
249
|
+
: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.17.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
250
|
+
: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.17.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
251
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
252
|
+
: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, default is 512. Setting of 0 disables forced writeback. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
253
|
+
: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. Default is 100. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
254
|
+
: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.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
255
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
256
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
257
|
+
: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.17.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
258
|
+
: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.17.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
259
|
+
: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.17.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
260
|
+
: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 (the default) disables logging autovacuum actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
261
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
262
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
263
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
264
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
265
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
266
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
267
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
268
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
269
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
270
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
271
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
272
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
273
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
274
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
275
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
276
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
277
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
278
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
279
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
280
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
281
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
282
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
283
|
+
:param pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
284
|
+
: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.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
285
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.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.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
286
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
287
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
288
|
+
: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 value is top. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
289
|
+
: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.17.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
290
|
+
: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.17.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
291
|
+
: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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
292
|
+
: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.17.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
293
|
+
: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.17.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
294
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
295
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
296
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
297
|
+
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
298
|
+
: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.17.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
299
|
+
:param track_io_timing: Enables timing of database I/O calls. This parameter is off by default, because 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.17.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
300
|
+
: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.17.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
301
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
302
|
+
: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.17.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
303
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
304
|
+
: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. Default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
300
305
|
'''
|
|
301
306
|
value = ManagedDatabasePostgresqlProperties(
|
|
302
307
|
admin_password=admin_password,
|
|
@@ -342,6 +347,7 @@ class ManagedDatabasePostgresql(
|
|
|
342
347
|
max_wal_senders=max_wal_senders,
|
|
343
348
|
max_worker_processes=max_worker_processes,
|
|
344
349
|
migration=migration,
|
|
350
|
+
password_encryption=password_encryption,
|
|
345
351
|
pgbouncer=pgbouncer,
|
|
346
352
|
pglookout=pglookout,
|
|
347
353
|
pg_partman_bgw_interval=pg_partman_bgw_interval,
|
|
@@ -398,6 +404,10 @@ class ManagedDatabasePostgresql(
|
|
|
398
404
|
def reset_properties(self) -> None:
|
|
399
405
|
return typing.cast(None, jsii.invoke(self, "resetProperties", []))
|
|
400
406
|
|
|
407
|
+
@jsii.member(jsii_name="resetTerminationProtection")
|
|
408
|
+
def reset_termination_protection(self) -> None:
|
|
409
|
+
return typing.cast(None, jsii.invoke(self, "resetTerminationProtection", []))
|
|
410
|
+
|
|
401
411
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
402
412
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
403
413
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -529,6 +539,13 @@ class ManagedDatabasePostgresql(
|
|
|
529
539
|
) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
530
540
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], jsii.get(self, "propertiesInput"))
|
|
531
541
|
|
|
542
|
+
@builtins.property
|
|
543
|
+
@jsii.member(jsii_name="terminationProtectionInput")
|
|
544
|
+
def termination_protection_input(
|
|
545
|
+
self,
|
|
546
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
547
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "terminationProtectionInput"))
|
|
548
|
+
|
|
532
549
|
@builtins.property
|
|
533
550
|
@jsii.member(jsii_name="titleInput")
|
|
534
551
|
def title_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -626,6 +643,23 @@ class ManagedDatabasePostgresql(
|
|
|
626
643
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
627
644
|
jsii.set(self, "powered", value) # pyright: ignore[reportArgumentType]
|
|
628
645
|
|
|
646
|
+
@builtins.property
|
|
647
|
+
@jsii.member(jsii_name="terminationProtection")
|
|
648
|
+
def termination_protection(
|
|
649
|
+
self,
|
|
650
|
+
) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
651
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "terminationProtection"))
|
|
652
|
+
|
|
653
|
+
@termination_protection.setter
|
|
654
|
+
def termination_protection(
|
|
655
|
+
self,
|
|
656
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
657
|
+
) -> None:
|
|
658
|
+
if __debug__:
|
|
659
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a040b3151c2d2f9c017cfde26b6d5f6d6408e630f17d6eab06dd6c1142465b2b)
|
|
660
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
661
|
+
jsii.set(self, "terminationProtection", value) # pyright: ignore[reportArgumentType]
|
|
662
|
+
|
|
629
663
|
@builtins.property
|
|
630
664
|
@jsii.member(jsii_name="title")
|
|
631
665
|
def title(self) -> builtins.str:
|
|
@@ -837,6 +871,7 @@ class ManagedDatabasePostgresqlComponentsOutputReference(
|
|
|
837
871
|
"network": "network",
|
|
838
872
|
"powered": "powered",
|
|
839
873
|
"properties": "properties",
|
|
874
|
+
"termination_protection": "terminationProtection",
|
|
840
875
|
},
|
|
841
876
|
)
|
|
842
877
|
class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -861,6 +896,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
861
896
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabasePostgresqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
862
897
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
863
898
|
properties: typing.Optional[typing.Union["ManagedDatabasePostgresqlProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
899
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
864
900
|
) -> None:
|
|
865
901
|
'''
|
|
866
902
|
:param connection:
|
|
@@ -870,17 +906,18 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
870
906
|
:param lifecycle:
|
|
871
907
|
:param provider:
|
|
872
908
|
:param provisioners:
|
|
873
|
-
: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.
|
|
874
|
-
: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.
|
|
875
|
-
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
876
|
-
: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.
|
|
877
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
878
|
-
: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.
|
|
879
|
-
: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.
|
|
880
|
-
: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.
|
|
881
|
-
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
882
|
-
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
883
|
-
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
909
|
+
: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.17.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
910
|
+
: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.17.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
911
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
912
|
+
: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.17.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
913
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.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.
|
|
914
|
+
: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.17.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
915
|
+
: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.17.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
916
|
+
: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.17.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
917
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
918
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
919
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
920
|
+
: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.17.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
884
921
|
'''
|
|
885
922
|
if isinstance(lifecycle, dict):
|
|
886
923
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -906,6 +943,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
906
943
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
907
944
|
check_type(argname="argument powered", value=powered, expected_type=type_hints["powered"])
|
|
908
945
|
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
946
|
+
check_type(argname="argument termination_protection", value=termination_protection, expected_type=type_hints["termination_protection"])
|
|
909
947
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
910
948
|
"name": name,
|
|
911
949
|
"plan": plan,
|
|
@@ -940,6 +978,8 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
940
978
|
self._values["powered"] = powered
|
|
941
979
|
if properties is not None:
|
|
942
980
|
self._values["properties"] = properties
|
|
981
|
+
if termination_protection is not None:
|
|
982
|
+
self._values["termination_protection"] = termination_protection
|
|
943
983
|
|
|
944
984
|
@builtins.property
|
|
945
985
|
def connection(
|
|
@@ -1011,7 +1051,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1011
1051
|
|
|
1012
1052
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
1013
1053
|
|
|
1014
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1054
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1015
1055
|
'''
|
|
1016
1056
|
result = self._values.get("name")
|
|
1017
1057
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1023,7 +1063,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1023
1063
|
|
|
1024
1064
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
1025
1065
|
|
|
1026
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1066
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
1027
1067
|
'''
|
|
1028
1068
|
result = self._values.get("plan")
|
|
1029
1069
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1033,7 +1073,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1033
1073
|
def title(self) -> builtins.str:
|
|
1034
1074
|
'''Title of a managed database instance.
|
|
1035
1075
|
|
|
1036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1076
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
1037
1077
|
'''
|
|
1038
1078
|
result = self._values.get("title")
|
|
1039
1079
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1043,7 +1083,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1043
1083
|
def zone(self) -> builtins.str:
|
|
1044
1084
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1045
1085
|
|
|
1046
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1086
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
1047
1087
|
'''
|
|
1048
1088
|
result = self._values.get("zone")
|
|
1049
1089
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1051,7 +1091,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1051
1091
|
|
|
1052
1092
|
@builtins.property
|
|
1053
1093
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1054
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1094
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}.
|
|
1055
1095
|
|
|
1056
1096
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
1057
1097
|
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.
|
|
@@ -1063,7 +1103,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1063
1103
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1064
1104
|
'''User defined key-value pairs to classify the managed database.
|
|
1065
1105
|
|
|
1066
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1106
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
1067
1107
|
'''
|
|
1068
1108
|
result = self._values.get("labels")
|
|
1069
1109
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1072,7 +1112,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1072
1112
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
1073
1113
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
1074
1114
|
|
|
1075
|
-
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.17.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
1076
1116
|
'''
|
|
1077
1117
|
result = self._values.get("maintenance_window_dow")
|
|
1078
1118
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1081,7 +1121,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1081
1121
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1082
1122
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1083
1123
|
|
|
1084
|
-
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.17.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
1085
1125
|
'''
|
|
1086
1126
|
result = self._values.get("maintenance_window_time")
|
|
1087
1127
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1092,7 +1132,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1132
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]]:
|
|
1093
1133
|
'''network block.
|
|
1094
1134
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1135
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
1096
1136
|
'''
|
|
1097
1137
|
result = self._values.get("network")
|
|
1098
1138
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]], result)
|
|
@@ -1103,7 +1143,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1103
1143
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1104
1144
|
'''The administrative power state of the service.
|
|
1105
1145
|
|
|
1106
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1146
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
1107
1147
|
'''
|
|
1108
1148
|
result = self._values.get("powered")
|
|
1109
1149
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1112,11 +1152,22 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1152
|
def properties(self) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
1113
1153
|
'''properties block.
|
|
1114
1154
|
|
|
1115
|
-
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.17.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
1116
1156
|
'''
|
|
1117
1157
|
result = self._values.get("properties")
|
|
1118
1158
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], result)
|
|
1119
1159
|
|
|
1160
|
+
@builtins.property
|
|
1161
|
+
def termination_protection(
|
|
1162
|
+
self,
|
|
1163
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1164
|
+
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1165
|
+
|
|
1166
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
1167
|
+
'''
|
|
1168
|
+
result = self._values.get("termination_protection")
|
|
1169
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1170
|
+
|
|
1120
1171
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1121
1172
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1122
1173
|
|
|
@@ -1144,10 +1195,10 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1144
1195
|
uuid: builtins.str,
|
|
1145
1196
|
) -> None:
|
|
1146
1197
|
'''
|
|
1147
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1148
|
-
: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.
|
|
1149
|
-
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1150
|
-
: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.
|
|
1198
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1199
|
+
: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.17.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1200
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1201
|
+
: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.17.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1151
1202
|
'''
|
|
1152
1203
|
if __debug__:
|
|
1153
1204
|
type_hints = typing.get_type_hints(_typecheckingstub__5737b331959851ea941ce795bfc130d63e5ac24633787479fac442c8d6e54407)
|
|
@@ -1166,7 +1217,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1166
1217
|
def family(self) -> builtins.str:
|
|
1167
1218
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1168
1219
|
|
|
1169
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1220
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1170
1221
|
'''
|
|
1171
1222
|
result = self._values.get("family")
|
|
1172
1223
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1176,7 +1227,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1176
1227
|
def name(self) -> builtins.str:
|
|
1177
1228
|
'''The name of the network. Must be unique within the service.
|
|
1178
1229
|
|
|
1179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1230
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1180
1231
|
'''
|
|
1181
1232
|
result = self._values.get("name")
|
|
1182
1233
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1186,7 +1237,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1186
1237
|
def type(self) -> builtins.str:
|
|
1187
1238
|
'''The type of the network. Must be private.
|
|
1188
1239
|
|
|
1189
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1240
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1190
1241
|
'''
|
|
1191
1242
|
result = self._values.get("type")
|
|
1192
1243
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1196,7 +1247,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1196
1247
|
def uuid(self) -> builtins.str:
|
|
1197
1248
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1198
1249
|
|
|
1199
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1250
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1200
1251
|
'''
|
|
1201
1252
|
result = self._values.get("uuid")
|
|
1202
1253
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1620,6 +1671,7 @@ class ManagedDatabasePostgresqlNodeStatesOutputReference(
|
|
|
1620
1671
|
"max_wal_senders": "maxWalSenders",
|
|
1621
1672
|
"max_worker_processes": "maxWorkerProcesses",
|
|
1622
1673
|
"migration": "migration",
|
|
1674
|
+
"password_encryption": "passwordEncryption",
|
|
1623
1675
|
"pgbouncer": "pgbouncer",
|
|
1624
1676
|
"pglookout": "pglookout",
|
|
1625
1677
|
"pg_partman_bgw_interval": "pgPartmanBgwInterval",
|
|
@@ -1693,6 +1745,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1693
1745
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
1694
1746
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
1695
1747
|
migration: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesMigration", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1748
|
+
password_encryption: typing.Optional[builtins.str] = None,
|
|
1696
1749
|
pgbouncer: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesPgbouncer", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1697
1750
|
pglookout: typing.Optional[typing.Union["ManagedDatabasePostgresqlPropertiesPglookout", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1698
1751
|
pg_partman_bgw_interval: typing.Optional[jsii.Number] = None,
|
|
@@ -1719,73 +1772,74 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1719
1772
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
1720
1773
|
) -> None:
|
|
1721
1774
|
'''
|
|
1722
|
-
: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.
|
|
1723
|
-
: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.
|
|
1724
|
-
: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.
|
|
1725
|
-
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1726
|
-
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1727
|
-
: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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1728
|
-
: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 three. This parameter can only be set at server start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1729
|
-
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1730
|
-
: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 value is 20 milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1731
|
-
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1732
|
-
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1733
|
-
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1734
|
-
: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.
|
|
1735
|
-
: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.
|
|
1736
|
-
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1737
|
-
: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, default is 512. Setting of 0 disables forced writeback. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1738
|
-
: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. Default is 100. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1739
|
-
: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.
|
|
1740
|
-
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1741
|
-
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1742
|
-
: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.
|
|
1743
|
-
: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.
|
|
1744
|
-
: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.
|
|
1745
|
-
: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 (the default) disables logging autovacuum actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1746
|
-
: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.
|
|
1747
|
-
: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.
|
|
1748
|
-
: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.
|
|
1749
|
-
: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.
|
|
1750
|
-
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1751
|
-
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1752
|
-
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1753
|
-
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1754
|
-
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1755
|
-
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1756
|
-
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1757
|
-
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1758
|
-
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1759
|
-
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1760
|
-
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1761
|
-
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1762
|
-
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1763
|
-
:param max_worker_processes: Sets the maximum number of background processes that the system can support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1764
|
-
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1765
|
-
:param
|
|
1766
|
-
:param
|
|
1767
|
-
:param
|
|
1768
|
-
:param
|
|
1769
|
-
:param
|
|
1770
|
-
:param
|
|
1771
|
-
:param
|
|
1772
|
-
:param
|
|
1773
|
-
:param
|
|
1774
|
-
:param
|
|
1775
|
-
:param
|
|
1776
|
-
:param
|
|
1777
|
-
:param
|
|
1778
|
-
:param
|
|
1779
|
-
:param
|
|
1780
|
-
:param
|
|
1781
|
-
:param
|
|
1782
|
-
:param
|
|
1783
|
-
:param
|
|
1784
|
-
:param
|
|
1785
|
-
:param
|
|
1786
|
-
:param
|
|
1787
|
-
:param
|
|
1788
|
-
:param
|
|
1775
|
+
: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.17.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
1776
|
+
: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.17.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
1777
|
+
: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.17.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
1778
|
+
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
1779
|
+
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
1780
|
+
: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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
1781
|
+
: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 three. This parameter can only be set at server start. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
1782
|
+
:param autovacuum_naptime: Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
1783
|
+
: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 value is 20 milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
1784
|
+
:param autovacuum_vacuum_cost_limit: Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
1785
|
+
: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. The default is 0.2 (20% of table size). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
1786
|
+
: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 tuples. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
1787
|
+
: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.17.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
1788
|
+
: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.17.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
1789
|
+
:param bgwriter_delay: Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
1790
|
+
: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, default is 512. Setting of 0 disables forced writeback. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
1791
|
+
: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. Default is 100. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
1792
|
+
: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.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
1793
|
+
:param deadlock_timeout: This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
1794
|
+
:param default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
1795
|
+
: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.17.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
1796
|
+
: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.17.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
1797
|
+
: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.17.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
1798
|
+
: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 (the default) disables logging autovacuum actions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
1799
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
1800
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
1801
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
1802
|
+
: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.17.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
1803
|
+
:param max_files_per_process: PostgreSQL maximum number of files that can be open per process. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
1804
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
1805
|
+
:param max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
1806
|
+
:param max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
1807
|
+
:param max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
1808
|
+
:param max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
1809
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
1810
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
1811
|
+
:param max_slot_wal_keep_size: PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
1812
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
1813
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
1814
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
1815
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
1816
|
+
:param max_worker_processes: Sets the maximum number of background processes that the system can support. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
1817
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
1818
|
+
:param password_encryption: Chooses the algorithm for encrypting passwords. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
1819
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
1820
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
1821
|
+
:param pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
1822
|
+
: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.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
1823
|
+
:param pg_stat_monitor_enable: Enable pg_stat_monitor extension if available for the current cluster. Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.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.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
1824
|
+
:param pg_stat_monitor_pgsm_enable_query_plan: Enables or disables query plan monitoring. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
1825
|
+
:param pg_stat_monitor_pgsm_max_buckets: Sets the maximum number of buckets. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
1826
|
+
: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 value is top. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
1827
|
+
: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.17.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
1828
|
+
: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.17.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
1829
|
+
: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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
1830
|
+
: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.17.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
1831
|
+
: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.17.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
1832
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
1833
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
1834
|
+
:param track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
1835
|
+
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
1836
|
+
: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.17.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
1837
|
+
:param track_io_timing: Enables timing of database I/O calls. This parameter is off by default, because 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.17.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
1838
|
+
: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.17.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
1839
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
1840
|
+
: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.17.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
1841
|
+
:param wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
1842
|
+
: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. Default is 1MB + 0.075% of total RAM (up to 32MB). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
1789
1843
|
'''
|
|
1790
1844
|
if isinstance(migration, dict):
|
|
1791
1845
|
migration = ManagedDatabasePostgresqlPropertiesMigration(**migration)
|
|
@@ -1840,6 +1894,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1840
1894
|
check_type(argname="argument max_wal_senders", value=max_wal_senders, expected_type=type_hints["max_wal_senders"])
|
|
1841
1895
|
check_type(argname="argument max_worker_processes", value=max_worker_processes, expected_type=type_hints["max_worker_processes"])
|
|
1842
1896
|
check_type(argname="argument migration", value=migration, expected_type=type_hints["migration"])
|
|
1897
|
+
check_type(argname="argument password_encryption", value=password_encryption, expected_type=type_hints["password_encryption"])
|
|
1843
1898
|
check_type(argname="argument pgbouncer", value=pgbouncer, expected_type=type_hints["pgbouncer"])
|
|
1844
1899
|
check_type(argname="argument pglookout", value=pglookout, expected_type=type_hints["pglookout"])
|
|
1845
1900
|
check_type(argname="argument pg_partman_bgw_interval", value=pg_partman_bgw_interval, expected_type=type_hints["pg_partman_bgw_interval"])
|
|
@@ -1951,6 +2006,8 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1951
2006
|
self._values["max_worker_processes"] = max_worker_processes
|
|
1952
2007
|
if migration is not None:
|
|
1953
2008
|
self._values["migration"] = migration
|
|
2009
|
+
if password_encryption is not None:
|
|
2010
|
+
self._values["password_encryption"] = password_encryption
|
|
1954
2011
|
if pgbouncer is not None:
|
|
1955
2012
|
self._values["pgbouncer"] = pgbouncer
|
|
1956
2013
|
if pglookout is not None:
|
|
@@ -2006,7 +2063,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2006
2063
|
|
|
2007
2064
|
Defaults to random string. This must be set only when a new service is being created.
|
|
2008
2065
|
|
|
2009
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2066
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
2010
2067
|
'''
|
|
2011
2068
|
result = self._values.get("admin_password")
|
|
2012
2069
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2015,7 +2072,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2015
2072
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
2016
2073
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
2017
2074
|
|
|
2018
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2075
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
2019
2076
|
'''
|
|
2020
2077
|
result = self._values.get("admin_username")
|
|
2021
2078
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2026,7 +2083,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2026
2083
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2027
2084
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2028
2085
|
|
|
2029
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2086
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
2030
2087
|
'''
|
|
2031
2088
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
2032
2089
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2037,7 +2094,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2037
2094
|
|
|
2038
2095
|
The default is 0.2 (20% of table size).
|
|
2039
2096
|
|
|
2040
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2097
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2041
2098
|
'''
|
|
2042
2099
|
result = self._values.get("autovacuum_analyze_scale_factor")
|
|
2043
2100
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2048,7 +2105,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2048
2105
|
|
|
2049
2106
|
The default is 50 tuples.
|
|
2050
2107
|
|
|
2051
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2108
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
2052
2109
|
'''
|
|
2053
2110
|
result = self._values.get("autovacuum_analyze_threshold")
|
|
2054
2111
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2057,7 +2114,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2057
2114
|
def autovacuum_freeze_max_age(self) -> typing.Optional[jsii.Number]:
|
|
2058
2115
|
'''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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
2059
2116
|
|
|
2060
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2117
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
2061
2118
|
'''
|
|
2062
2119
|
result = self._values.get("autovacuum_freeze_max_age")
|
|
2063
2120
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2068,7 +2125,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2068
2125
|
|
|
2069
2126
|
The default is three. This parameter can only be set at server start.
|
|
2070
2127
|
|
|
2071
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2128
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
2072
2129
|
'''
|
|
2073
2130
|
result = self._values.get("autovacuum_max_workers")
|
|
2074
2131
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2079,7 +2136,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2079
2136
|
|
|
2080
2137
|
The delay is measured in seconds, and the default is one minute.
|
|
2081
2138
|
|
|
2082
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2139
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
2083
2140
|
'''
|
|
2084
2141
|
result = self._values.get("autovacuum_naptime")
|
|
2085
2142
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2090,7 +2147,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2090
2147
|
|
|
2091
2148
|
If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
|
|
2092
2149
|
|
|
2093
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2150
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
2094
2151
|
'''
|
|
2095
2152
|
result = self._values.get("autovacuum_vacuum_cost_delay")
|
|
2096
2153
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2101,7 +2158,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2101
2158
|
|
|
2102
2159
|
If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
|
|
2103
2160
|
|
|
2104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2161
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
2105
2162
|
'''
|
|
2106
2163
|
result = self._values.get("autovacuum_vacuum_cost_limit")
|
|
2107
2164
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2112,7 +2169,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2112
2169
|
|
|
2113
2170
|
The default is 0.2 (20% of table size).
|
|
2114
2171
|
|
|
2115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2172
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
2116
2173
|
'''
|
|
2117
2174
|
result = self._values.get("autovacuum_vacuum_scale_factor")
|
|
2118
2175
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2123,7 +2180,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2123
2180
|
|
|
2124
2181
|
The default is 50 tuples.
|
|
2125
2182
|
|
|
2126
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2183
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
2127
2184
|
'''
|
|
2128
2185
|
result = self._values.get("autovacuum_vacuum_threshold")
|
|
2129
2186
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2134,7 +2191,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2134
2191
|
|
|
2135
2192
|
New backup is only started if previous backup has already completed.
|
|
2136
2193
|
|
|
2137
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2194
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
2138
2195
|
'''
|
|
2139
2196
|
result = self._values.get("backup_hour")
|
|
2140
2197
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2145,7 +2202,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2145
2202
|
|
|
2146
2203
|
New backup is only started if previous backup has already completed.
|
|
2147
2204
|
|
|
2148
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2205
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
2149
2206
|
'''
|
|
2150
2207
|
result = self._values.get("backup_minute")
|
|
2151
2208
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2154,7 +2211,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2154
2211
|
def bgwriter_delay(self) -> typing.Optional[jsii.Number]:
|
|
2155
2212
|
'''Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
|
|
2156
2213
|
|
|
2157
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2214
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
2158
2215
|
'''
|
|
2159
2216
|
result = self._values.get("bgwriter_delay")
|
|
2160
2217
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2165,7 +2222,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2165
2222
|
|
|
2166
2223
|
Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
2167
2224
|
|
|
2168
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2225
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
2169
2226
|
'''
|
|
2170
2227
|
result = self._values.get("bgwriter_flush_after")
|
|
2171
2228
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2176,7 +2233,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2176
2233
|
|
|
2177
2234
|
Setting this to zero disables background writing. Default is 100.
|
|
2178
2235
|
|
|
2179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2236
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
2180
2237
|
'''
|
|
2181
2238
|
result = self._values.get("bgwriter_lru_maxpages")
|
|
2182
2239
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2187,7 +2244,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2187
2244
|
|
|
2188
2245
|
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.
|
|
2189
2246
|
|
|
2190
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2247
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
2191
2248
|
'''
|
|
2192
2249
|
result = self._values.get("bgwriter_lru_multiplier")
|
|
2193
2250
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2196,7 +2253,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2196
2253
|
def deadlock_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2197
2254
|
'''This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2198
2255
|
|
|
2199
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2256
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
2200
2257
|
'''
|
|
2201
2258
|
result = self._values.get("deadlock_timeout")
|
|
2202
2259
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2205,7 +2262,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2205
2262
|
def default_toast_compression(self) -> typing.Optional[builtins.str]:
|
|
2206
2263
|
'''Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
|
|
2207
2264
|
|
|
2208
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2265
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
2209
2266
|
'''
|
|
2210
2267
|
result = self._values.get("default_toast_compression")
|
|
2211
2268
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2214,7 +2271,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2214
2271
|
def idle_in_transaction_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2215
2272
|
'''Time out sessions with open transactions after this number of milliseconds.
|
|
2216
2273
|
|
|
2217
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2274
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
2218
2275
|
'''
|
|
2219
2276
|
result = self._values.get("idle_in_transaction_session_timeout")
|
|
2220
2277
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2223,7 +2280,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2223
2280
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2224
2281
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2225
2282
|
|
|
2226
|
-
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.17.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
2227
2284
|
'''
|
|
2228
2285
|
result = self._values.get("ip_filter")
|
|
2229
2286
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2234,7 +2291,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2234
2291
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2235
2292
|
'''Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2236
2293
|
|
|
2237
|
-
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.17.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
2238
2295
|
'''
|
|
2239
2296
|
result = self._values.get("jit")
|
|
2240
2297
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2245,7 +2302,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2245
2302
|
|
|
2246
2303
|
Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
2247
2304
|
|
|
2248
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2305
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
2249
2306
|
'''
|
|
2250
2307
|
result = self._values.get("log_autovacuum_min_duration")
|
|
2251
2308
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2254,7 +2311,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2254
2311
|
def log_error_verbosity(self) -> typing.Optional[builtins.str]:
|
|
2255
2312
|
'''Controls the amount of detail written in the server log for each message that is logged.
|
|
2256
2313
|
|
|
2257
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2314
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
2258
2315
|
'''
|
|
2259
2316
|
result = self._values.get("log_error_verbosity")
|
|
2260
2317
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2263,7 +2320,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2263
2320
|
def log_line_prefix(self) -> typing.Optional[builtins.str]:
|
|
2264
2321
|
'''Choose from one of the available log formats.
|
|
2265
2322
|
|
|
2266
|
-
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.17.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
2267
2324
|
'''
|
|
2268
2325
|
result = self._values.get("log_line_prefix")
|
|
2269
2326
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2272,7 +2329,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2272
2329
|
def log_min_duration_statement(self) -> typing.Optional[jsii.Number]:
|
|
2273
2330
|
'''Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2274
2331
|
|
|
2275
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2332
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
2276
2333
|
'''
|
|
2277
2334
|
result = self._values.get("log_min_duration_statement")
|
|
2278
2335
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2281,7 +2338,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2281
2338
|
def log_temp_files(self) -> typing.Optional[jsii.Number]:
|
|
2282
2339
|
'''Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2283
2340
|
|
|
2284
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2341
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
2285
2342
|
'''
|
|
2286
2343
|
result = self._values.get("log_temp_files")
|
|
2287
2344
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2290,7 +2347,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2290
2347
|
def max_files_per_process(self) -> typing.Optional[jsii.Number]:
|
|
2291
2348
|
'''PostgreSQL maximum number of files that can be open per process.
|
|
2292
2349
|
|
|
2293
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2350
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
2294
2351
|
'''
|
|
2295
2352
|
result = self._values.get("max_files_per_process")
|
|
2296
2353
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2299,7 +2356,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2299
2356
|
def max_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2300
2357
|
'''PostgreSQL maximum locks per transaction.
|
|
2301
2358
|
|
|
2302
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2359
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
2303
2360
|
'''
|
|
2304
2361
|
result = self._values.get("max_locks_per_transaction")
|
|
2305
2362
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2308,7 +2365,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2308
2365
|
def max_logical_replication_workers(self) -> typing.Optional[jsii.Number]:
|
|
2309
2366
|
'''PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2310
2367
|
|
|
2311
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2368
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
2312
2369
|
'''
|
|
2313
2370
|
result = self._values.get("max_logical_replication_workers")
|
|
2314
2371
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2317,7 +2374,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2317
2374
|
def max_parallel_workers(self) -> typing.Optional[jsii.Number]:
|
|
2318
2375
|
'''Sets the maximum number of workers that the system can support for parallel queries.
|
|
2319
2376
|
|
|
2320
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2377
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
2321
2378
|
'''
|
|
2322
2379
|
result = self._values.get("max_parallel_workers")
|
|
2323
2380
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2326,7 +2383,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2326
2383
|
def max_parallel_workers_per_gather(self) -> typing.Optional[jsii.Number]:
|
|
2327
2384
|
'''Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2328
2385
|
|
|
2329
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2386
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
2330
2387
|
'''
|
|
2331
2388
|
result = self._values.get("max_parallel_workers_per_gather")
|
|
2332
2389
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2335,7 +2392,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2335
2392
|
def max_pred_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2336
2393
|
'''PostgreSQL maximum predicate locks per transaction.
|
|
2337
2394
|
|
|
2338
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2395
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
2339
2396
|
'''
|
|
2340
2397
|
result = self._values.get("max_pred_locks_per_transaction")
|
|
2341
2398
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2344,7 +2401,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2344
2401
|
def max_prepared_transactions(self) -> typing.Optional[jsii.Number]:
|
|
2345
2402
|
'''PostgreSQL maximum prepared transactions.
|
|
2346
2403
|
|
|
2347
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2404
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
2348
2405
|
'''
|
|
2349
2406
|
result = self._values.get("max_prepared_transactions")
|
|
2350
2407
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2353,7 +2410,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2353
2410
|
def max_replication_slots(self) -> typing.Optional[jsii.Number]:
|
|
2354
2411
|
'''PostgreSQL maximum replication slots.
|
|
2355
2412
|
|
|
2356
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2413
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
2357
2414
|
'''
|
|
2358
2415
|
result = self._values.get("max_replication_slots")
|
|
2359
2416
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2364,7 +2421,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2364
2421
|
|
|
2365
2422
|
Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
|
|
2366
2423
|
|
|
2367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2424
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
2368
2425
|
'''
|
|
2369
2426
|
result = self._values.get("max_slot_wal_keep_size")
|
|
2370
2427
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2373,7 +2430,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2373
2430
|
def max_stack_depth(self) -> typing.Optional[jsii.Number]:
|
|
2374
2431
|
'''Maximum depth of the stack in bytes.
|
|
2375
2432
|
|
|
2376
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2433
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
2377
2434
|
'''
|
|
2378
2435
|
result = self._values.get("max_stack_depth")
|
|
2379
2436
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2382,7 +2439,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2382
2439
|
def max_standby_archive_delay(self) -> typing.Optional[jsii.Number]:
|
|
2383
2440
|
'''Max standby archive delay in milliseconds.
|
|
2384
2441
|
|
|
2385
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2442
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
2386
2443
|
'''
|
|
2387
2444
|
result = self._values.get("max_standby_archive_delay")
|
|
2388
2445
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2391,7 +2448,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2391
2448
|
def max_standby_streaming_delay(self) -> typing.Optional[jsii.Number]:
|
|
2392
2449
|
'''Max standby streaming delay in milliseconds.
|
|
2393
2450
|
|
|
2394
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2451
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
2395
2452
|
'''
|
|
2396
2453
|
result = self._values.get("max_standby_streaming_delay")
|
|
2397
2454
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2400,7 +2457,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2400
2457
|
def max_wal_senders(self) -> typing.Optional[jsii.Number]:
|
|
2401
2458
|
'''PostgreSQL maximum WAL senders.
|
|
2402
2459
|
|
|
2403
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2460
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
2404
2461
|
'''
|
|
2405
2462
|
result = self._values.get("max_wal_senders")
|
|
2406
2463
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2409,7 +2466,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2409
2466
|
def max_worker_processes(self) -> typing.Optional[jsii.Number]:
|
|
2410
2467
|
'''Sets the maximum number of background processes that the system can support.
|
|
2411
2468
|
|
|
2412
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2469
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
2413
2470
|
'''
|
|
2414
2471
|
result = self._values.get("max_worker_processes")
|
|
2415
2472
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2420,18 +2477,27 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2420
2477
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"]:
|
|
2421
2478
|
'''migration block.
|
|
2422
2479
|
|
|
2423
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2480
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
2424
2481
|
'''
|
|
2425
2482
|
result = self._values.get("migration")
|
|
2426
2483
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"], result)
|
|
2427
2484
|
|
|
2485
|
+
@builtins.property
|
|
2486
|
+
def password_encryption(self) -> typing.Optional[builtins.str]:
|
|
2487
|
+
'''Chooses the algorithm for encrypting passwords.
|
|
2488
|
+
|
|
2489
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#password_encryption ManagedDatabasePostgresql#password_encryption}
|
|
2490
|
+
'''
|
|
2491
|
+
result = self._values.get("password_encryption")
|
|
2492
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2493
|
+
|
|
2428
2494
|
@builtins.property
|
|
2429
2495
|
def pgbouncer(
|
|
2430
2496
|
self,
|
|
2431
2497
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"]:
|
|
2432
2498
|
'''pgbouncer block.
|
|
2433
2499
|
|
|
2434
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2500
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
2435
2501
|
'''
|
|
2436
2502
|
result = self._values.get("pgbouncer")
|
|
2437
2503
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"], result)
|
|
@@ -2442,7 +2508,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2442
2508
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"]:
|
|
2443
2509
|
'''pglookout block.
|
|
2444
2510
|
|
|
2445
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2511
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
2446
2512
|
'''
|
|
2447
2513
|
result = self._values.get("pglookout")
|
|
2448
2514
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"], result)
|
|
@@ -2451,7 +2517,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2451
2517
|
def pg_partman_bgw_interval(self) -> typing.Optional[jsii.Number]:
|
|
2452
2518
|
'''Sets the time interval to run pg_partman's scheduled tasks.
|
|
2453
2519
|
|
|
2454
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2520
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
2455
2521
|
'''
|
|
2456
2522
|
result = self._values.get("pg_partman_bgw_interval")
|
|
2457
2523
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2460,7 +2526,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2460
2526
|
def pg_partman_bgw_role(self) -> typing.Optional[builtins.str]:
|
|
2461
2527
|
'''Controls which role to use for pg_partman's scheduled background tasks.
|
|
2462
2528
|
|
|
2463
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2529
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
2464
2530
|
'''
|
|
2465
2531
|
result = self._values.get("pg_partman_bgw_role")
|
|
2466
2532
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2473,7 +2539,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2473
2539
|
|
|
2474
2540
|
Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
|
|
2475
2541
|
|
|
2476
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2542
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
2477
2543
|
'''
|
|
2478
2544
|
result = self._values.get("pg_stat_monitor_enable")
|
|
2479
2545
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2484,7 +2550,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2484
2550
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2485
2551
|
'''Enables or disables query plan monitoring.
|
|
2486
2552
|
|
|
2487
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2553
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
2488
2554
|
'''
|
|
2489
2555
|
result = self._values.get("pg_stat_monitor_pgsm_enable_query_plan")
|
|
2490
2556
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2493,7 +2559,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2493
2559
|
def pg_stat_monitor_pgsm_max_buckets(self) -> typing.Optional[jsii.Number]:
|
|
2494
2560
|
'''Sets the maximum number of buckets.
|
|
2495
2561
|
|
|
2496
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2562
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
2497
2563
|
'''
|
|
2498
2564
|
result = self._values.get("pg_stat_monitor_pgsm_max_buckets")
|
|
2499
2565
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2504,7 +2570,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2504
2570
|
|
|
2505
2571
|
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 value is top.
|
|
2506
2572
|
|
|
2507
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2573
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
2508
2574
|
'''
|
|
2509
2575
|
result = self._values.get("pg_stat_statements_track")
|
|
2510
2576
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2515,7 +2581,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2515
2581
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2516
2582
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2517
2583
|
|
|
2518
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2584
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
2519
2585
|
'''
|
|
2520
2586
|
result = self._values.get("public_access")
|
|
2521
2587
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2526,7 +2592,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2526
2592
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2527
2593
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2528
2594
|
|
|
2529
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2595
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
2530
2596
|
'''
|
|
2531
2597
|
result = self._values.get("service_log")
|
|
2532
2598
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2537,7 +2603,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2537
2603
|
|
|
2538
2604
|
Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
|
|
2539
2605
|
|
|
2540
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2606
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
2541
2607
|
'''
|
|
2542
2608
|
result = self._values.get("shared_buffers_percentage")
|
|
2543
2609
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2546,7 +2612,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2546
2612
|
def synchronous_replication(self) -> typing.Optional[builtins.str]:
|
|
2547
2613
|
'''Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2548
2614
|
|
|
2549
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2615
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
2550
2616
|
'''
|
|
2551
2617
|
result = self._values.get("synchronous_replication")
|
|
2552
2618
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2555,7 +2621,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2555
2621
|
def temp_file_limit(self) -> typing.Optional[jsii.Number]:
|
|
2556
2622
|
'''PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2557
2623
|
|
|
2558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2624
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
2559
2625
|
'''
|
|
2560
2626
|
result = self._values.get("temp_file_limit")
|
|
2561
2627
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2566,7 +2632,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2566
2632
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"]:
|
|
2567
2633
|
'''timescaledb block.
|
|
2568
2634
|
|
|
2569
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2635
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
2570
2636
|
'''
|
|
2571
2637
|
result = self._values.get("timescaledb")
|
|
2572
2638
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"], result)
|
|
@@ -2575,7 +2641,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2575
2641
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
2576
2642
|
'''PostgreSQL service timezone.
|
|
2577
2643
|
|
|
2578
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2644
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
2579
2645
|
'''
|
|
2580
2646
|
result = self._values.get("timezone")
|
|
2581
2647
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2584,7 +2650,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2584
2650
|
def track_activity_query_size(self) -> typing.Optional[jsii.Number]:
|
|
2585
2651
|
'''Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2586
2652
|
|
|
2587
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2653
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
2588
2654
|
'''
|
|
2589
2655
|
result = self._values.get("track_activity_query_size")
|
|
2590
2656
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2593,7 +2659,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2593
2659
|
def track_commit_timestamp(self) -> typing.Optional[builtins.str]:
|
|
2594
2660
|
'''Record commit time of transactions.
|
|
2595
2661
|
|
|
2596
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2662
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
2597
2663
|
'''
|
|
2598
2664
|
result = self._values.get("track_commit_timestamp")
|
|
2599
2665
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2602,7 +2668,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2602
2668
|
def track_functions(self) -> typing.Optional[builtins.str]:
|
|
2603
2669
|
'''Enables tracking of function call counts and time used.
|
|
2604
2670
|
|
|
2605
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2671
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
2606
2672
|
'''
|
|
2607
2673
|
result = self._values.get("track_functions")
|
|
2608
2674
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2613,7 +2679,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2613
2679
|
|
|
2614
2680
|
This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
|
|
2615
2681
|
|
|
2616
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
2617
2683
|
'''
|
|
2618
2684
|
result = self._values.get("track_io_timing")
|
|
2619
2685
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2622,7 +2688,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2622
2688
|
def variant(self) -> typing.Optional[builtins.str]:
|
|
2623
2689
|
'''Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2624
2690
|
|
|
2625
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2691
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
2626
2692
|
'''
|
|
2627
2693
|
result = self._values.get("variant")
|
|
2628
2694
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2631,7 +2697,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2631
2697
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2632
2698
|
'''PostgreSQL major version.
|
|
2633
2699
|
|
|
2634
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2700
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
2635
2701
|
'''
|
|
2636
2702
|
result = self._values.get("version")
|
|
2637
2703
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2642,7 +2708,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2642
2708
|
|
|
2643
2709
|
Setting this value to zero disables the timeout.
|
|
2644
2710
|
|
|
2645
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2711
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
2646
2712
|
'''
|
|
2647
2713
|
result = self._values.get("wal_sender_timeout")
|
|
2648
2714
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2653,7 +2719,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2653
2719
|
|
|
2654
2720
|
Note that setting this value to lower than the default 200ms may negatively impact performance.
|
|
2655
2721
|
|
|
2656
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2722
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
2657
2723
|
'''
|
|
2658
2724
|
result = self._values.get("wal_writer_delay")
|
|
2659
2725
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2664,7 +2730,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2664
2730
|
|
|
2665
2731
|
Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2666
2732
|
|
|
2667
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2733
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
2668
2734
|
'''
|
|
2669
2735
|
result = self._values.get("work_mem")
|
|
2670
2736
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2711,15 +2777,15 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2711
2777
|
username: typing.Optional[builtins.str] = None,
|
|
2712
2778
|
) -> None:
|
|
2713
2779
|
'''
|
|
2714
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2715
|
-
: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.
|
|
2716
|
-
: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.
|
|
2717
|
-
: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.
|
|
2718
|
-
: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.
|
|
2719
|
-
: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.
|
|
2720
|
-
: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.
|
|
2721
|
-
: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.
|
|
2722
|
-
: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.
|
|
2780
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2781
|
+
: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.17.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2782
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2783
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2784
|
+
: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.17.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2785
|
+
: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.17.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2786
|
+
: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.17.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2787
|
+
: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.17.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2788
|
+
: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.17.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2723
2789
|
'''
|
|
2724
2790
|
if __debug__:
|
|
2725
2791
|
type_hints = typing.get_type_hints(_typecheckingstub__9a22b07e9381a03b0e883019f9869d2e86afe1337164b3f40f42a65332f93686)
|
|
@@ -2756,7 +2822,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2756
2822
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2757
2823
|
'''Database name for bootstrapping the initial connection.
|
|
2758
2824
|
|
|
2759
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2825
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2760
2826
|
'''
|
|
2761
2827
|
result = self._values.get("dbname")
|
|
2762
2828
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2765,7 +2831,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2765
2831
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2766
2832
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2767
2833
|
|
|
2768
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2834
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2769
2835
|
'''
|
|
2770
2836
|
result = self._values.get("host")
|
|
2771
2837
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2774,7 +2840,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2774
2840
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2775
2841
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2776
2842
|
|
|
2777
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2843
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2778
2844
|
'''
|
|
2779
2845
|
result = self._values.get("ignore_dbs")
|
|
2780
2846
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2783,7 +2849,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2783
2849
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2784
2850
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2785
2851
|
|
|
2786
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2852
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2787
2853
|
'''
|
|
2788
2854
|
result = self._values.get("ignore_roles")
|
|
2789
2855
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2792,7 +2858,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2792
2858
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2793
2859
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2794
2860
|
|
|
2795
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2861
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2796
2862
|
'''
|
|
2797
2863
|
result = self._values.get("method")
|
|
2798
2864
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2801,7 +2867,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2801
2867
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2802
2868
|
'''Password for authentication with the server where to migrate data from.
|
|
2803
2869
|
|
|
2804
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2870
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2805
2871
|
'''
|
|
2806
2872
|
result = self._values.get("password")
|
|
2807
2873
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2810,7 +2876,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2810
2876
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2811
2877
|
'''Port number of the server where to migrate data from.
|
|
2812
2878
|
|
|
2813
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2879
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2814
2880
|
'''
|
|
2815
2881
|
result = self._values.get("port")
|
|
2816
2882
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2821,7 +2887,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2821
2887
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2822
2888
|
'''The server where to migrate data from is secured with SSL.
|
|
2823
2889
|
|
|
2824
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2890
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2825
2891
|
'''
|
|
2826
2892
|
result = self._values.get("ssl")
|
|
2827
2893
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2830,7 +2896,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2830
2896
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2831
2897
|
'''User name for authentication with the server where to migrate data from.
|
|
2832
2898
|
|
|
2833
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2899
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2834
2900
|
'''
|
|
2835
2901
|
result = self._values.get("username")
|
|
2836
2902
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3114,15 +3180,15 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3114
3180
|
username: typing.Optional[builtins.str] = None,
|
|
3115
3181
|
) -> None:
|
|
3116
3182
|
'''
|
|
3117
|
-
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3118
|
-
: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.
|
|
3119
|
-
: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.
|
|
3120
|
-
: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.
|
|
3121
|
-
: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.
|
|
3122
|
-
: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.
|
|
3123
|
-
: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.
|
|
3124
|
-
: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.
|
|
3125
|
-
: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.
|
|
3183
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
3184
|
+
: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.17.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
3185
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
3186
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
3187
|
+
: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.17.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
3188
|
+
: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.17.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
3189
|
+
: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.17.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
3190
|
+
: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.17.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
3191
|
+
: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.17.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
3126
3192
|
'''
|
|
3127
3193
|
value = ManagedDatabasePostgresqlPropertiesMigration(
|
|
3128
3194
|
dbname=dbname,
|
|
@@ -3154,16 +3220,16 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3154
3220
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3155
3221
|
) -> None:
|
|
3156
3222
|
'''
|
|
3157
|
-
: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.
|
|
3158
|
-
: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.
|
|
3159
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3160
|
-
: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.
|
|
3161
|
-
: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.
|
|
3162
|
-
: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.
|
|
3163
|
-
: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.
|
|
3164
|
-
: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.
|
|
3165
|
-
: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.
|
|
3166
|
-
: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.
|
|
3223
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
3224
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
3225
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
3226
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
3227
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
3228
|
+
: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.17.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
3229
|
+
: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.17.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
3230
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
3231
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
3232
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
3167
3233
|
'''
|
|
3168
3234
|
value = ManagedDatabasePostgresqlPropertiesPgbouncer(
|
|
3169
3235
|
autodb_idle_timeout=autodb_idle_timeout,
|
|
@@ -3187,7 +3253,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3187
3253
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
3188
3254
|
) -> None:
|
|
3189
3255
|
'''
|
|
3190
|
-
: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.
|
|
3256
|
+
: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.17.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
3191
3257
|
'''
|
|
3192
3258
|
value = ManagedDatabasePostgresqlPropertiesPglookout(
|
|
3193
3259
|
max_failover_replication_time_lag=max_failover_replication_time_lag
|
|
@@ -3202,7 +3268,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3202
3268
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
3203
3269
|
) -> None:
|
|
3204
3270
|
'''
|
|
3205
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
3271
|
+
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
3206
3272
|
'''
|
|
3207
3273
|
value = ManagedDatabasePostgresqlPropertiesTimescaledb(
|
|
3208
3274
|
max_background_workers=max_background_workers
|
|
@@ -3382,6 +3448,10 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3382
3448
|
def reset_migration(self) -> None:
|
|
3383
3449
|
return typing.cast(None, jsii.invoke(self, "resetMigration", []))
|
|
3384
3450
|
|
|
3451
|
+
@jsii.member(jsii_name="resetPasswordEncryption")
|
|
3452
|
+
def reset_password_encryption(self) -> None:
|
|
3453
|
+
return typing.cast(None, jsii.invoke(self, "resetPasswordEncryption", []))
|
|
3454
|
+
|
|
3385
3455
|
@jsii.member(jsii_name="resetPgbouncer")
|
|
3386
3456
|
def reset_pgbouncer(self) -> None:
|
|
3387
3457
|
return typing.cast(None, jsii.invoke(self, "resetPgbouncer", []))
|
|
@@ -3725,6 +3795,11 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3725
3795
|
) -> typing.Optional[ManagedDatabasePostgresqlPropertiesMigration]:
|
|
3726
3796
|
return typing.cast(typing.Optional[ManagedDatabasePostgresqlPropertiesMigration], jsii.get(self, "migrationInput"))
|
|
3727
3797
|
|
|
3798
|
+
@builtins.property
|
|
3799
|
+
@jsii.member(jsii_name="passwordEncryptionInput")
|
|
3800
|
+
def password_encryption_input(self) -> typing.Optional[builtins.str]:
|
|
3801
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "passwordEncryptionInput"))
|
|
3802
|
+
|
|
3728
3803
|
@builtins.property
|
|
3729
3804
|
@jsii.member(jsii_name="pgbouncerInput")
|
|
3730
3805
|
def pgbouncer_input(
|
|
@@ -4371,6 +4446,18 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
4371
4446
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4372
4447
|
jsii.set(self, "maxWorkerProcesses", value) # pyright: ignore[reportArgumentType]
|
|
4373
4448
|
|
|
4449
|
+
@builtins.property
|
|
4450
|
+
@jsii.member(jsii_name="passwordEncryption")
|
|
4451
|
+
def password_encryption(self) -> builtins.str:
|
|
4452
|
+
return typing.cast(builtins.str, jsii.get(self, "passwordEncryption"))
|
|
4453
|
+
|
|
4454
|
+
@password_encryption.setter
|
|
4455
|
+
def password_encryption(self, value: builtins.str) -> None:
|
|
4456
|
+
if __debug__:
|
|
4457
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6097c67500ebbf2161ac4c0f362f0cdd35e8a2bbd76d01dd9ada7d7d9ec618fc)
|
|
4458
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4459
|
+
jsii.set(self, "passwordEncryption", value) # pyright: ignore[reportArgumentType]
|
|
4460
|
+
|
|
4374
4461
|
@builtins.property
|
|
4375
4462
|
@jsii.member(jsii_name="pgPartmanBgwInterval")
|
|
4376
4463
|
def pg_partman_bgw_interval(self) -> jsii.Number:
|
|
@@ -4687,16 +4774,16 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4687
4774
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
4688
4775
|
) -> None:
|
|
4689
4776
|
'''
|
|
4690
|
-
: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.
|
|
4691
|
-
: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.
|
|
4692
|
-
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4693
|
-
: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.
|
|
4694
|
-
: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.
|
|
4695
|
-
: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.
|
|
4696
|
-
: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.
|
|
4697
|
-
: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.
|
|
4698
|
-
: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.
|
|
4699
|
-
: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.
|
|
4777
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
4778
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
4779
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
4780
|
+
: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.17.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
4781
|
+
: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.17.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
4782
|
+
: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.17.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
4783
|
+
: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.17.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
4784
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
4785
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
4786
|
+
: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.17.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
4700
4787
|
'''
|
|
4701
4788
|
if __debug__:
|
|
4702
4789
|
type_hints = typing.get_type_hints(_typecheckingstub__2862abffc43a442ad2bff1c444cf98fb770986970925fafb7cc295e2cc45a9b9)
|
|
@@ -4738,7 +4825,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4738
4825
|
|
|
4739
4826
|
If 0 then timeout is disabled. [seconds].
|
|
4740
4827
|
|
|
4741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4828
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
4742
4829
|
'''
|
|
4743
4830
|
result = self._values.get("autodb_idle_timeout")
|
|
4744
4831
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4749,7 +4836,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4749
4836
|
|
|
4750
4837
|
Setting it to 0 means unlimited.
|
|
4751
4838
|
|
|
4752
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4839
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
4753
4840
|
'''
|
|
4754
4841
|
result = self._values.get("autodb_max_db_connections")
|
|
4755
4842
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4758,7 +4845,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4758
4845
|
def autodb_pool_mode(self) -> typing.Optional[builtins.str]:
|
|
4759
4846
|
'''PGBouncer pool mode.
|
|
4760
4847
|
|
|
4761
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4848
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
4762
4849
|
'''
|
|
4763
4850
|
result = self._values.get("autodb_pool_mode")
|
|
4764
4851
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -4767,7 +4854,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4767
4854
|
def autodb_pool_size(self) -> typing.Optional[jsii.Number]:
|
|
4768
4855
|
'''If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
4769
4856
|
|
|
4770
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4857
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
4771
4858
|
'''
|
|
4772
4859
|
result = self._values.get("autodb_pool_size")
|
|
4773
4860
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4776,7 +4863,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4776
4863
|
def ignore_startup_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4777
4864
|
'''List of parameters to ignore when given in startup packet.
|
|
4778
4865
|
|
|
4779
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4866
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
4780
4867
|
'''
|
|
4781
4868
|
result = self._values.get("ignore_startup_parameters")
|
|
4782
4869
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -4787,7 +4874,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4787
4874
|
|
|
4788
4875
|
Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
|
|
4789
4876
|
|
|
4790
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4877
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
4791
4878
|
'''
|
|
4792
4879
|
result = self._values.get("max_prepared_statements")
|
|
4793
4880
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4798,7 +4885,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4798
4885
|
|
|
4799
4886
|
Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
4800
4887
|
|
|
4801
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4888
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
4802
4889
|
'''
|
|
4803
4890
|
result = self._values.get("min_pool_size")
|
|
4804
4891
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4809,7 +4896,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4809
4896
|
|
|
4810
4897
|
If 0 then timeout is disabled. [seconds].
|
|
4811
4898
|
|
|
4812
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4899
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
4813
4900
|
'''
|
|
4814
4901
|
result = self._values.get("server_idle_timeout")
|
|
4815
4902
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4818,7 +4905,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4818
4905
|
def server_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
4819
4906
|
'''The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
4820
4907
|
|
|
4821
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4908
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
4822
4909
|
'''
|
|
4823
4910
|
result = self._values.get("server_lifetime")
|
|
4824
4911
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4829,7 +4916,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4829
4916
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
4830
4917
|
'''Run server_reset_query (DISCARD ALL) in all pooling modes.
|
|
4831
4918
|
|
|
4832
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4919
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
4833
4920
|
'''
|
|
4834
4921
|
result = self._values.get("server_reset_query_always")
|
|
4835
4922
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5117,7 +5204,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5117
5204
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
5118
5205
|
) -> None:
|
|
5119
5206
|
'''
|
|
5120
|
-
: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.
|
|
5207
|
+
: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.17.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5121
5208
|
'''
|
|
5122
5209
|
if __debug__:
|
|
5123
5210
|
type_hints = typing.get_type_hints(_typecheckingstub__dd81ae3f527ba52eaf4f2d07e7187afc3b2328ed800858a2364717bdfe0081a9)
|
|
@@ -5130,7 +5217,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5130
5217
|
def max_failover_replication_time_lag(self) -> typing.Optional[jsii.Number]:
|
|
5131
5218
|
'''Number of seconds of master unavailability before triggering database failover to standby.
|
|
5132
5219
|
|
|
5133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5220
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5134
5221
|
'''
|
|
5135
5222
|
result = self._values.get("max_failover_replication_time_lag")
|
|
5136
5223
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5218,7 +5305,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
5218
5305
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
5219
5306
|
) -> None:
|
|
5220
5307
|
'''
|
|
5221
|
-
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5308
|
+
:param max_background_workers: The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
5222
5309
|
'''
|
|
5223
5310
|
if __debug__:
|
|
5224
5311
|
type_hints = typing.get_type_hints(_typecheckingstub__71c8b11f8b53026baff50866f6d74787011a28fc791f639a52c7c58b6f897621)
|
|
@@ -5233,7 +5320,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
5233
5320
|
|
|
5234
5321
|
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.
|
|
5235
5322
|
|
|
5236
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.17.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
5237
5324
|
'''
|
|
5238
5325
|
result = self._values.get("max_background_workers")
|
|
5239
5326
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5350,6 +5437,7 @@ def _typecheckingstub__5fa809510c8f69da52891462ee8f64a2638b82c8a731ae399fb00992f
|
|
|
5350
5437
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabasePostgresqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
5351
5438
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5352
5439
|
properties: typing.Optional[typing.Union[ManagedDatabasePostgresqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5440
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5353
5441
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5354
5442
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
5355
5443
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -5418,6 +5506,12 @@ def _typecheckingstub__ea14ac222a06ab006f9282ded2425426342e694303ff49e133423cad9
|
|
|
5418
5506
|
"""Type checking stubs"""
|
|
5419
5507
|
pass
|
|
5420
5508
|
|
|
5509
|
+
def _typecheckingstub__a040b3151c2d2f9c017cfde26b6d5f6d6408e630f17d6eab06dd6c1142465b2b(
|
|
5510
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
5511
|
+
) -> None:
|
|
5512
|
+
"""Type checking stubs"""
|
|
5513
|
+
pass
|
|
5514
|
+
|
|
5421
5515
|
def _typecheckingstub__5a6d4eea83ac11ab3241ebe5783562662925bb3b73987673a1f5bd2da77529d0(
|
|
5422
5516
|
value: builtins.str,
|
|
5423
5517
|
) -> None:
|
|
@@ -5497,6 +5591,7 @@ def _typecheckingstub__45f42ebdf030afdba0d57f507b07d90736dd58b3b6241153662af2f45
|
|
|
5497
5591
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabasePostgresqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
5498
5592
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5499
5593
|
properties: typing.Optional[typing.Union[ManagedDatabasePostgresqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5594
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5500
5595
|
) -> None:
|
|
5501
5596
|
"""Type checking stubs"""
|
|
5502
5597
|
pass
|
|
@@ -5680,6 +5775,7 @@ def _typecheckingstub__c6910d3220979fbcd86275a19c629678468755096ca15771873a4cee0
|
|
|
5680
5775
|
max_wal_senders: typing.Optional[jsii.Number] = None,
|
|
5681
5776
|
max_worker_processes: typing.Optional[jsii.Number] = None,
|
|
5682
5777
|
migration: typing.Optional[typing.Union[ManagedDatabasePostgresqlPropertiesMigration, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5778
|
+
password_encryption: typing.Optional[builtins.str] = None,
|
|
5683
5779
|
pgbouncer: typing.Optional[typing.Union[ManagedDatabasePostgresqlPropertiesPgbouncer, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5684
5780
|
pglookout: typing.Optional[typing.Union[ManagedDatabasePostgresqlPropertiesPglookout, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5685
5781
|
pg_partman_bgw_interval: typing.Optional[jsii.Number] = None,
|
|
@@ -6049,6 +6145,12 @@ def _typecheckingstub__e948928e818da004176e363a2f0f2908db9b0ca2dc562efd6a932fd7a
|
|
|
6049
6145
|
"""Type checking stubs"""
|
|
6050
6146
|
pass
|
|
6051
6147
|
|
|
6148
|
+
def _typecheckingstub__6097c67500ebbf2161ac4c0f362f0cdd35e8a2bbd76d01dd9ada7d7d9ec618fc(
|
|
6149
|
+
value: builtins.str,
|
|
6150
|
+
) -> None:
|
|
6151
|
+
"""Type checking stubs"""
|
|
6152
|
+
pass
|
|
6153
|
+
|
|
6052
6154
|
def _typecheckingstub__0e7c39d3398b89ecbde622d25d90b6c1a7c033dbecc8bd3b4ba1f10c9b8144f6(
|
|
6053
6155
|
value: jsii.Number,
|
|
6054
6156
|
) -> None:
|