cdktf-cdktf-provider-upcloud 14.15.0__py3-none-any.whl → 14.16.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.16.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 +41 -41
- 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 +638 -582
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +365 -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 +155 -155
- 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.16.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.16.0.dist-info/RECORD +67 -0
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.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.16.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.15.0.dist-info → cdktf_cdktf_provider_upcloud-14.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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.16.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__:
|
|
@@ -230,73 +233,73 @@ class ManagedDatabasePostgresql(
|
|
|
230
233
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
231
234
|
) -> None:
|
|
232
235
|
'''
|
|
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 pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
277
|
-
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
278
|
-
: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.
|
|
279
|
-
: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.
|
|
280
|
-
: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.
|
|
281
|
-
: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.
|
|
282
|
-
: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.
|
|
283
|
-
: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.
|
|
284
|
-
: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.
|
|
285
|
-
: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.
|
|
286
|
-
: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.
|
|
287
|
-
: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.
|
|
288
|
-
: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.
|
|
289
|
-
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
290
|
-
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
291
|
-
: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.
|
|
292
|
-
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
293
|
-
: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.
|
|
294
|
-
: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.
|
|
295
|
-
: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.
|
|
296
|
-
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
297
|
-
: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.
|
|
298
|
-
: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.
|
|
299
|
-
: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.
|
|
236
|
+
: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.16.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
237
|
+
: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.16.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
238
|
+
: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.16.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
239
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
240
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
241
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
242
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
243
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
244
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
245
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
246
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
247
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
248
|
+
: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.16.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
249
|
+
: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.16.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
250
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
251
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
252
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
253
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
254
|
+
: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.16.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
255
|
+
: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.16.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
256
|
+
: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.16.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
257
|
+
: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.16.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
258
|
+
: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.16.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
259
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
260
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
261
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
262
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
263
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
264
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
265
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
266
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
267
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
268
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
269
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
270
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
271
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
272
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
273
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
274
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
275
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
276
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
277
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
278
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
279
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
280
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
281
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
282
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
283
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
284
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
285
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
286
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
287
|
+
: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.16.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
288
|
+
: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.16.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
289
|
+
: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.16.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
290
|
+
: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.16.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
291
|
+
: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.16.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
292
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
293
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
294
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
295
|
+
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
296
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
297
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
298
|
+
: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.16.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
299
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
300
|
+
: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.16.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
301
|
+
: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.16.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
302
|
+
: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.16.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
300
303
|
'''
|
|
301
304
|
value = ManagedDatabasePostgresqlProperties(
|
|
302
305
|
admin_password=admin_password,
|
|
@@ -398,6 +401,10 @@ class ManagedDatabasePostgresql(
|
|
|
398
401
|
def reset_properties(self) -> None:
|
|
399
402
|
return typing.cast(None, jsii.invoke(self, "resetProperties", []))
|
|
400
403
|
|
|
404
|
+
@jsii.member(jsii_name="resetTerminationProtection")
|
|
405
|
+
def reset_termination_protection(self) -> None:
|
|
406
|
+
return typing.cast(None, jsii.invoke(self, "resetTerminationProtection", []))
|
|
407
|
+
|
|
401
408
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
402
409
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
403
410
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -529,6 +536,13 @@ class ManagedDatabasePostgresql(
|
|
|
529
536
|
) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
530
537
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], jsii.get(self, "propertiesInput"))
|
|
531
538
|
|
|
539
|
+
@builtins.property
|
|
540
|
+
@jsii.member(jsii_name="terminationProtectionInput")
|
|
541
|
+
def termination_protection_input(
|
|
542
|
+
self,
|
|
543
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
544
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "terminationProtectionInput"))
|
|
545
|
+
|
|
532
546
|
@builtins.property
|
|
533
547
|
@jsii.member(jsii_name="titleInput")
|
|
534
548
|
def title_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -626,6 +640,23 @@ class ManagedDatabasePostgresql(
|
|
|
626
640
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
627
641
|
jsii.set(self, "powered", value) # pyright: ignore[reportArgumentType]
|
|
628
642
|
|
|
643
|
+
@builtins.property
|
|
644
|
+
@jsii.member(jsii_name="terminationProtection")
|
|
645
|
+
def termination_protection(
|
|
646
|
+
self,
|
|
647
|
+
) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
648
|
+
return typing.cast(typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable], jsii.get(self, "terminationProtection"))
|
|
649
|
+
|
|
650
|
+
@termination_protection.setter
|
|
651
|
+
def termination_protection(
|
|
652
|
+
self,
|
|
653
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
654
|
+
) -> None:
|
|
655
|
+
if __debug__:
|
|
656
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a040b3151c2d2f9c017cfde26b6d5f6d6408e630f17d6eab06dd6c1142465b2b)
|
|
657
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
658
|
+
jsii.set(self, "terminationProtection", value) # pyright: ignore[reportArgumentType]
|
|
659
|
+
|
|
629
660
|
@builtins.property
|
|
630
661
|
@jsii.member(jsii_name="title")
|
|
631
662
|
def title(self) -> builtins.str:
|
|
@@ -837,6 +868,7 @@ class ManagedDatabasePostgresqlComponentsOutputReference(
|
|
|
837
868
|
"network": "network",
|
|
838
869
|
"powered": "powered",
|
|
839
870
|
"properties": "properties",
|
|
871
|
+
"termination_protection": "terminationProtection",
|
|
840
872
|
},
|
|
841
873
|
)
|
|
842
874
|
class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -861,6 +893,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
861
893
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["ManagedDatabasePostgresqlNetwork", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
862
894
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
863
895
|
properties: typing.Optional[typing.Union["ManagedDatabasePostgresqlProperties", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
896
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
864
897
|
) -> None:
|
|
865
898
|
'''
|
|
866
899
|
:param connection:
|
|
@@ -870,17 +903,18 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
870
903
|
:param lifecycle:
|
|
871
904
|
:param provider:
|
|
872
905
|
: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.
|
|
906
|
+
: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.16.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
907
|
+
: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.16.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
908
|
+
:param title: Title of a managed database instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
909
|
+
: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.16.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
910
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.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.
|
|
911
|
+
: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.16.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
912
|
+
: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.16.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
913
|
+
: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.16.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
914
|
+
:param network: network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
915
|
+
:param powered: The administrative power state of the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
916
|
+
:param properties: properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
917
|
+
: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.16.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
884
918
|
'''
|
|
885
919
|
if isinstance(lifecycle, dict):
|
|
886
920
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -906,6 +940,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
906
940
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
907
941
|
check_type(argname="argument powered", value=powered, expected_type=type_hints["powered"])
|
|
908
942
|
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
943
|
+
check_type(argname="argument termination_protection", value=termination_protection, expected_type=type_hints["termination_protection"])
|
|
909
944
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
910
945
|
"name": name,
|
|
911
946
|
"plan": plan,
|
|
@@ -940,6 +975,8 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
940
975
|
self._values["powered"] = powered
|
|
941
976
|
if properties is not None:
|
|
942
977
|
self._values["properties"] = properties
|
|
978
|
+
if termination_protection is not None:
|
|
979
|
+
self._values["termination_protection"] = termination_protection
|
|
943
980
|
|
|
944
981
|
@builtins.property
|
|
945
982
|
def connection(
|
|
@@ -1011,7 +1048,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1011
1048
|
|
|
1012
1049
|
The name is used as a prefix for the logical hostname. Must be unique within an account
|
|
1013
1050
|
|
|
1014
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1051
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1015
1052
|
'''
|
|
1016
1053
|
result = self._values.get("name")
|
|
1017
1054
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1023,7 +1060,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1023
1060
|
|
|
1024
1061
|
This determines how much resources the instance will have. You can list available plans with ``upctl database plans <type>``.
|
|
1025
1062
|
|
|
1026
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1063
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#plan ManagedDatabasePostgresql#plan}
|
|
1027
1064
|
'''
|
|
1028
1065
|
result = self._values.get("plan")
|
|
1029
1066
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -1033,7 +1070,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1033
1070
|
def title(self) -> builtins.str:
|
|
1034
1071
|
'''Title of a managed database instance.
|
|
1035
1072
|
|
|
1036
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1073
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#title ManagedDatabasePostgresql#title}
|
|
1037
1074
|
'''
|
|
1038
1075
|
result = self._values.get("title")
|
|
1039
1076
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1043,7 +1080,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1043
1080
|
def zone(self) -> builtins.str:
|
|
1044
1081
|
'''Zone where the instance resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1045
1082
|
|
|
1046
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1083
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#zone ManagedDatabasePostgresql#zone}
|
|
1047
1084
|
'''
|
|
1048
1085
|
result = self._values.get("zone")
|
|
1049
1086
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1051,7 +1088,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1051
1088
|
|
|
1052
1089
|
@builtins.property
|
|
1053
1090
|
def id(self) -> typing.Optional[builtins.str]:
|
|
1054
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1091
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#id ManagedDatabasePostgresql#id}.
|
|
1055
1092
|
|
|
1056
1093
|
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
1094
|
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 +1100,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1063
1100
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1064
1101
|
'''User defined key-value pairs to classify the managed database.
|
|
1065
1102
|
|
|
1066
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1103
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#labels ManagedDatabasePostgresql#labels}
|
|
1067
1104
|
'''
|
|
1068
1105
|
result = self._values.get("labels")
|
|
1069
1106
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1072,7 +1109,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1072
1109
|
def maintenance_window_dow(self) -> typing.Optional[builtins.str]:
|
|
1073
1110
|
'''Maintenance window day of week. Lower case weekday name (monday, tuesday, ...).
|
|
1074
1111
|
|
|
1075
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1112
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#maintenance_window_dow ManagedDatabasePostgresql#maintenance_window_dow}
|
|
1076
1113
|
'''
|
|
1077
1114
|
result = self._values.get("maintenance_window_dow")
|
|
1078
1115
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1081,7 +1118,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1081
1118
|
def maintenance_window_time(self) -> typing.Optional[builtins.str]:
|
|
1082
1119
|
'''Maintenance window UTC time in hh:mm:ss format.
|
|
1083
1120
|
|
|
1084
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1121
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#maintenance_window_time ManagedDatabasePostgresql#maintenance_window_time}
|
|
1085
1122
|
'''
|
|
1086
1123
|
result = self._values.get("maintenance_window_time")
|
|
1087
1124
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1092,7 +1129,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1092
1129
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]]:
|
|
1093
1130
|
'''network block.
|
|
1094
1131
|
|
|
1095
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1132
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#network ManagedDatabasePostgresql#network}
|
|
1096
1133
|
'''
|
|
1097
1134
|
result = self._values.get("network")
|
|
1098
1135
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["ManagedDatabasePostgresqlNetwork"]]], result)
|
|
@@ -1103,7 +1140,7 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1103
1140
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1104
1141
|
'''The administrative power state of the service.
|
|
1105
1142
|
|
|
1106
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1143
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#powered ManagedDatabasePostgresql#powered}
|
|
1107
1144
|
'''
|
|
1108
1145
|
result = self._values.get("powered")
|
|
1109
1146
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1112,11 +1149,22 @@ class ManagedDatabasePostgresqlConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1112
1149
|
def properties(self) -> typing.Optional["ManagedDatabasePostgresqlProperties"]:
|
|
1113
1150
|
'''properties block.
|
|
1114
1151
|
|
|
1115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1152
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#properties ManagedDatabasePostgresql#properties}
|
|
1116
1153
|
'''
|
|
1117
1154
|
result = self._values.get("properties")
|
|
1118
1155
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlProperties"], result)
|
|
1119
1156
|
|
|
1157
|
+
@builtins.property
|
|
1158
|
+
def termination_protection(
|
|
1159
|
+
self,
|
|
1160
|
+
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1161
|
+
'''If set to true, prevents the managed service from being powered off, or deleted.
|
|
1162
|
+
|
|
1163
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#termination_protection ManagedDatabasePostgresql#termination_protection}
|
|
1164
|
+
'''
|
|
1165
|
+
result = self._values.get("termination_protection")
|
|
1166
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
1167
|
+
|
|
1120
1168
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1121
1169
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1122
1170
|
|
|
@@ -1144,10 +1192,10 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1144
1192
|
uuid: builtins.str,
|
|
1145
1193
|
) -> None:
|
|
1146
1194
|
'''
|
|
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.
|
|
1195
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1196
|
+
: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.16.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1197
|
+
:param type: The type of the network. Must be private. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1198
|
+
: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.16.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1151
1199
|
'''
|
|
1152
1200
|
if __debug__:
|
|
1153
1201
|
type_hints = typing.get_type_hints(_typecheckingstub__5737b331959851ea941ce795bfc130d63e5ac24633787479fac442c8d6e54407)
|
|
@@ -1166,7 +1214,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1166
1214
|
def family(self) -> builtins.str:
|
|
1167
1215
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
1168
1216
|
|
|
1169
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1217
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#family ManagedDatabasePostgresql#family}
|
|
1170
1218
|
'''
|
|
1171
1219
|
result = self._values.get("family")
|
|
1172
1220
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -1176,7 +1224,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1176
1224
|
def name(self) -> builtins.str:
|
|
1177
1225
|
'''The name of the network. Must be unique within the service.
|
|
1178
1226
|
|
|
1179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1227
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#name ManagedDatabasePostgresql#name}
|
|
1180
1228
|
'''
|
|
1181
1229
|
result = self._values.get("name")
|
|
1182
1230
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -1186,7 +1234,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1186
1234
|
def type(self) -> builtins.str:
|
|
1187
1235
|
'''The type of the network. Must be private.
|
|
1188
1236
|
|
|
1189
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1237
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#type ManagedDatabasePostgresql#type}
|
|
1190
1238
|
'''
|
|
1191
1239
|
result = self._values.get("type")
|
|
1192
1240
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -1196,7 +1244,7 @@ class ManagedDatabasePostgresqlNetwork:
|
|
|
1196
1244
|
def uuid(self) -> builtins.str:
|
|
1197
1245
|
'''Private network UUID. Must reside in the same zone as the database.
|
|
1198
1246
|
|
|
1199
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1247
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#uuid ManagedDatabasePostgresql#uuid}
|
|
1200
1248
|
'''
|
|
1201
1249
|
result = self._values.get("uuid")
|
|
1202
1250
|
assert result is not None, "Required property 'uuid' is missing"
|
|
@@ -1719,73 +1767,73 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
1719
1767
|
work_mem: typing.Optional[jsii.Number] = None,
|
|
1720
1768
|
) -> None:
|
|
1721
1769
|
'''
|
|
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 pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1766
|
-
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1767
|
-
: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.
|
|
1768
|
-
: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.
|
|
1769
|
-
: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.
|
|
1770
|
-
: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.
|
|
1771
|
-
: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.
|
|
1772
|
-
: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.
|
|
1773
|
-
: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.
|
|
1774
|
-
: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.
|
|
1775
|
-
: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.
|
|
1776
|
-
: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.
|
|
1777
|
-
: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.
|
|
1778
|
-
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1779
|
-
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1780
|
-
: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.
|
|
1781
|
-
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1782
|
-
: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.
|
|
1783
|
-
: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.
|
|
1784
|
-
: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.
|
|
1785
|
-
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
1786
|
-
: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.
|
|
1787
|
-
: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.
|
|
1788
|
-
: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.
|
|
1770
|
+
: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.16.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
1771
|
+
: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.16.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
1772
|
+
: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.16.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
1773
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
1774
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
1775
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
1776
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
1777
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
1778
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
1779
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
1780
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
1781
|
+
: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.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
1782
|
+
: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.16.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
1783
|
+
: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.16.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
1784
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
1785
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
1786
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
1787
|
+
: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.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
1788
|
+
: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.16.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
1789
|
+
: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.16.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
1790
|
+
: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.16.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
1791
|
+
: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.16.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
1792
|
+
: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.16.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
1793
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
1794
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
1795
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
1796
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
1797
|
+
: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.16.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
1798
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
1799
|
+
:param max_locks_per_transaction: PostgreSQL maximum locks per transaction. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
1800
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
1801
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
1802
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
1803
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
1804
|
+
:param max_prepared_transactions: PostgreSQL maximum prepared transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
1805
|
+
:param max_replication_slots: PostgreSQL maximum replication slots. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
1806
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
1807
|
+
:param max_stack_depth: Maximum depth of the stack in bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
1808
|
+
:param max_standby_archive_delay: Max standby archive delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
1809
|
+
:param max_standby_streaming_delay: Max standby streaming delay in milliseconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
1810
|
+
:param max_wal_senders: PostgreSQL maximum WAL senders. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
1811
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
1812
|
+
:param migration: migration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
1813
|
+
:param pgbouncer: pgbouncer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
1814
|
+
:param pglookout: pglookout block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
1815
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
1816
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
1817
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
1818
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
1819
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
1820
|
+
: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.16.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
1821
|
+
: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.16.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
1822
|
+
: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.16.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
1823
|
+
: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.16.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
1824
|
+
: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.16.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
1825
|
+
: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.16.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
1826
|
+
:param timescaledb: timescaledb block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
1827
|
+
:param timezone: PostgreSQL service timezone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
1828
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
1829
|
+
:param track_commit_timestamp: Record commit time of transactions. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
1830
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
1831
|
+
: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.16.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
1832
|
+
: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.16.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
1833
|
+
:param version: PostgreSQL major version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
1834
|
+
: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.16.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
1835
|
+
: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.16.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
1836
|
+
: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.16.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
1789
1837
|
'''
|
|
1790
1838
|
if isinstance(migration, dict):
|
|
1791
1839
|
migration = ManagedDatabasePostgresqlPropertiesMigration(**migration)
|
|
@@ -2006,7 +2054,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2006
2054
|
|
|
2007
2055
|
Defaults to random string. This must be set only when a new service is being created.
|
|
2008
2056
|
|
|
2009
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2057
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#admin_password ManagedDatabasePostgresql#admin_password}
|
|
2010
2058
|
'''
|
|
2011
2059
|
result = self._values.get("admin_password")
|
|
2012
2060
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2015,7 +2063,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2015
2063
|
def admin_username(self) -> typing.Optional[builtins.str]:
|
|
2016
2064
|
'''Custom username for admin user. This must be set only when a new service is being created.
|
|
2017
2065
|
|
|
2018
|
-
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.16.0/docs/resources/managed_database_postgresql#admin_username ManagedDatabasePostgresql#admin_username}
|
|
2019
2067
|
'''
|
|
2020
2068
|
result = self._values.get("admin_username")
|
|
2021
2069
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2026,7 +2074,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2026
2074
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2027
2075
|
'''Automatic utility network IP Filter. Automatically allow connections from servers in the utility network within the same zone.
|
|
2028
2076
|
|
|
2029
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2077
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#automatic_utility_network_ip_filter ManagedDatabasePostgresql#automatic_utility_network_ip_filter}
|
|
2030
2078
|
'''
|
|
2031
2079
|
result = self._values.get("automatic_utility_network_ip_filter")
|
|
2032
2080
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2037,7 +2085,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2037
2085
|
|
|
2038
2086
|
The default is 0.2 (20% of table size).
|
|
2039
2087
|
|
|
2040
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2088
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_scale_factor ManagedDatabasePostgresql#autovacuum_analyze_scale_factor}
|
|
2041
2089
|
'''
|
|
2042
2090
|
result = self._values.get("autovacuum_analyze_scale_factor")
|
|
2043
2091
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2048,7 +2096,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2048
2096
|
|
|
2049
2097
|
The default is 50 tuples.
|
|
2050
2098
|
|
|
2051
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2099
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_analyze_threshold ManagedDatabasePostgresql#autovacuum_analyze_threshold}
|
|
2052
2100
|
'''
|
|
2053
2101
|
result = self._values.get("autovacuum_analyze_threshold")
|
|
2054
2102
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2057,7 +2105,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2057
2105
|
def autovacuum_freeze_max_age(self) -> typing.Optional[jsii.Number]:
|
|
2058
2106
|
'''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
2107
|
|
|
2060
|
-
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.16.0/docs/resources/managed_database_postgresql#autovacuum_freeze_max_age ManagedDatabasePostgresql#autovacuum_freeze_max_age}
|
|
2061
2109
|
'''
|
|
2062
2110
|
result = self._values.get("autovacuum_freeze_max_age")
|
|
2063
2111
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2068,7 +2116,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2068
2116
|
|
|
2069
2117
|
The default is three. This parameter can only be set at server start.
|
|
2070
2118
|
|
|
2071
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2119
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_max_workers ManagedDatabasePostgresql#autovacuum_max_workers}
|
|
2072
2120
|
'''
|
|
2073
2121
|
result = self._values.get("autovacuum_max_workers")
|
|
2074
2122
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2079,7 +2127,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2079
2127
|
|
|
2080
2128
|
The delay is measured in seconds, and the default is one minute.
|
|
2081
2129
|
|
|
2082
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2130
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_naptime ManagedDatabasePostgresql#autovacuum_naptime}
|
|
2083
2131
|
'''
|
|
2084
2132
|
result = self._values.get("autovacuum_naptime")
|
|
2085
2133
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2090,7 +2138,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2090
2138
|
|
|
2091
2139
|
If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
|
|
2092
2140
|
|
|
2093
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2141
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_delay ManagedDatabasePostgresql#autovacuum_vacuum_cost_delay}
|
|
2094
2142
|
'''
|
|
2095
2143
|
result = self._values.get("autovacuum_vacuum_cost_delay")
|
|
2096
2144
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2101,7 +2149,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2101
2149
|
|
|
2102
2150
|
If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
|
|
2103
2151
|
|
|
2104
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2152
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_cost_limit ManagedDatabasePostgresql#autovacuum_vacuum_cost_limit}
|
|
2105
2153
|
'''
|
|
2106
2154
|
result = self._values.get("autovacuum_vacuum_cost_limit")
|
|
2107
2155
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2112,7 +2160,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2112
2160
|
|
|
2113
2161
|
The default is 0.2 (20% of table size).
|
|
2114
2162
|
|
|
2115
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2163
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_scale_factor ManagedDatabasePostgresql#autovacuum_vacuum_scale_factor}
|
|
2116
2164
|
'''
|
|
2117
2165
|
result = self._values.get("autovacuum_vacuum_scale_factor")
|
|
2118
2166
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2123,7 +2171,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2123
2171
|
|
|
2124
2172
|
The default is 50 tuples.
|
|
2125
2173
|
|
|
2126
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2174
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autovacuum_vacuum_threshold ManagedDatabasePostgresql#autovacuum_vacuum_threshold}
|
|
2127
2175
|
'''
|
|
2128
2176
|
result = self._values.get("autovacuum_vacuum_threshold")
|
|
2129
2177
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2134,7 +2182,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2134
2182
|
|
|
2135
2183
|
New backup is only started if previous backup has already completed.
|
|
2136
2184
|
|
|
2137
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2185
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#backup_hour ManagedDatabasePostgresql#backup_hour}
|
|
2138
2186
|
'''
|
|
2139
2187
|
result = self._values.get("backup_hour")
|
|
2140
2188
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2145,7 +2193,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2145
2193
|
|
|
2146
2194
|
New backup is only started if previous backup has already completed.
|
|
2147
2195
|
|
|
2148
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2196
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#backup_minute ManagedDatabasePostgresql#backup_minute}
|
|
2149
2197
|
'''
|
|
2150
2198
|
result = self._values.get("backup_minute")
|
|
2151
2199
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2154,7 +2202,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2154
2202
|
def bgwriter_delay(self) -> typing.Optional[jsii.Number]:
|
|
2155
2203
|
'''Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
|
|
2156
2204
|
|
|
2157
|
-
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.16.0/docs/resources/managed_database_postgresql#bgwriter_delay ManagedDatabasePostgresql#bgwriter_delay}
|
|
2158
2206
|
'''
|
|
2159
2207
|
result = self._values.get("bgwriter_delay")
|
|
2160
2208
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2165,7 +2213,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2165
2213
|
|
|
2166
2214
|
Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
2167
2215
|
|
|
2168
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2216
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#bgwriter_flush_after ManagedDatabasePostgresql#bgwriter_flush_after}
|
|
2169
2217
|
'''
|
|
2170
2218
|
result = self._values.get("bgwriter_flush_after")
|
|
2171
2219
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2176,7 +2224,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2176
2224
|
|
|
2177
2225
|
Setting this to zero disables background writing. Default is 100.
|
|
2178
2226
|
|
|
2179
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2227
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_maxpages ManagedDatabasePostgresql#bgwriter_lru_maxpages}
|
|
2180
2228
|
'''
|
|
2181
2229
|
result = self._values.get("bgwriter_lru_maxpages")
|
|
2182
2230
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2187,7 +2235,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2187
2235
|
|
|
2188
2236
|
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
2237
|
|
|
2190
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2238
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#bgwriter_lru_multiplier ManagedDatabasePostgresql#bgwriter_lru_multiplier}
|
|
2191
2239
|
'''
|
|
2192
2240
|
result = self._values.get("bgwriter_lru_multiplier")
|
|
2193
2241
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2196,7 +2244,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2196
2244
|
def deadlock_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2197
2245
|
'''This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2198
2246
|
|
|
2199
|
-
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.16.0/docs/resources/managed_database_postgresql#deadlock_timeout ManagedDatabasePostgresql#deadlock_timeout}
|
|
2200
2248
|
'''
|
|
2201
2249
|
result = self._values.get("deadlock_timeout")
|
|
2202
2250
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2205,7 +2253,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2205
2253
|
def default_toast_compression(self) -> typing.Optional[builtins.str]:
|
|
2206
2254
|
'''Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
|
|
2207
2255
|
|
|
2208
|
-
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.16.0/docs/resources/managed_database_postgresql#default_toast_compression ManagedDatabasePostgresql#default_toast_compression}
|
|
2209
2257
|
'''
|
|
2210
2258
|
result = self._values.get("default_toast_compression")
|
|
2211
2259
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2214,7 +2262,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2214
2262
|
def idle_in_transaction_session_timeout(self) -> typing.Optional[jsii.Number]:
|
|
2215
2263
|
'''Time out sessions with open transactions after this number of milliseconds.
|
|
2216
2264
|
|
|
2217
|
-
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.16.0/docs/resources/managed_database_postgresql#idle_in_transaction_session_timeout ManagedDatabasePostgresql#idle_in_transaction_session_timeout}
|
|
2218
2266
|
'''
|
|
2219
2267
|
result = self._values.get("idle_in_transaction_session_timeout")
|
|
2220
2268
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2223,7 +2271,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2223
2271
|
def ip_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2224
2272
|
'''IP filter. Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
|
|
2225
2273
|
|
|
2226
|
-
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.16.0/docs/resources/managed_database_postgresql#ip_filter ManagedDatabasePostgresql#ip_filter}
|
|
2227
2275
|
'''
|
|
2228
2276
|
result = self._values.get("ip_filter")
|
|
2229
2277
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -2234,7 +2282,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2234
2282
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2235
2283
|
'''Controls system-wide use of Just-in-Time Compilation (JIT).
|
|
2236
2284
|
|
|
2237
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2285
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#jit ManagedDatabasePostgresql#jit}
|
|
2238
2286
|
'''
|
|
2239
2287
|
result = self._values.get("jit")
|
|
2240
2288
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2245,7 +2293,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2245
2293
|
|
|
2246
2294
|
Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
2247
2295
|
|
|
2248
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2296
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#log_autovacuum_min_duration ManagedDatabasePostgresql#log_autovacuum_min_duration}
|
|
2249
2297
|
'''
|
|
2250
2298
|
result = self._values.get("log_autovacuum_min_duration")
|
|
2251
2299
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2254,7 +2302,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2254
2302
|
def log_error_verbosity(self) -> typing.Optional[builtins.str]:
|
|
2255
2303
|
'''Controls the amount of detail written in the server log for each message that is logged.
|
|
2256
2304
|
|
|
2257
|
-
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.16.0/docs/resources/managed_database_postgresql#log_error_verbosity ManagedDatabasePostgresql#log_error_verbosity}
|
|
2258
2306
|
'''
|
|
2259
2307
|
result = self._values.get("log_error_verbosity")
|
|
2260
2308
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2263,7 +2311,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2263
2311
|
def log_line_prefix(self) -> typing.Optional[builtins.str]:
|
|
2264
2312
|
'''Choose from one of the available log formats.
|
|
2265
2313
|
|
|
2266
|
-
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.16.0/docs/resources/managed_database_postgresql#log_line_prefix ManagedDatabasePostgresql#log_line_prefix}
|
|
2267
2315
|
'''
|
|
2268
2316
|
result = self._values.get("log_line_prefix")
|
|
2269
2317
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2272,7 +2320,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2272
2320
|
def log_min_duration_statement(self) -> typing.Optional[jsii.Number]:
|
|
2273
2321
|
'''Log statements that take more than this number of milliseconds to run, -1 disables.
|
|
2274
2322
|
|
|
2275
|
-
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.16.0/docs/resources/managed_database_postgresql#log_min_duration_statement ManagedDatabasePostgresql#log_min_duration_statement}
|
|
2276
2324
|
'''
|
|
2277
2325
|
result = self._values.get("log_min_duration_statement")
|
|
2278
2326
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2281,7 +2329,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2281
2329
|
def log_temp_files(self) -> typing.Optional[jsii.Number]:
|
|
2282
2330
|
'''Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
|
|
2283
2331
|
|
|
2284
|
-
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.16.0/docs/resources/managed_database_postgresql#log_temp_files ManagedDatabasePostgresql#log_temp_files}
|
|
2285
2333
|
'''
|
|
2286
2334
|
result = self._values.get("log_temp_files")
|
|
2287
2335
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2290,7 +2338,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2290
2338
|
def max_files_per_process(self) -> typing.Optional[jsii.Number]:
|
|
2291
2339
|
'''PostgreSQL maximum number of files that can be open per process.
|
|
2292
2340
|
|
|
2293
|
-
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.16.0/docs/resources/managed_database_postgresql#max_files_per_process ManagedDatabasePostgresql#max_files_per_process}
|
|
2294
2342
|
'''
|
|
2295
2343
|
result = self._values.get("max_files_per_process")
|
|
2296
2344
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2299,7 +2347,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2299
2347
|
def max_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2300
2348
|
'''PostgreSQL maximum locks per transaction.
|
|
2301
2349
|
|
|
2302
|
-
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.16.0/docs/resources/managed_database_postgresql#max_locks_per_transaction ManagedDatabasePostgresql#max_locks_per_transaction}
|
|
2303
2351
|
'''
|
|
2304
2352
|
result = self._values.get("max_locks_per_transaction")
|
|
2305
2353
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2308,7 +2356,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2308
2356
|
def max_logical_replication_workers(self) -> typing.Optional[jsii.Number]:
|
|
2309
2357
|
'''PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2310
2358
|
|
|
2311
|
-
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.16.0/docs/resources/managed_database_postgresql#max_logical_replication_workers ManagedDatabasePostgresql#max_logical_replication_workers}
|
|
2312
2360
|
'''
|
|
2313
2361
|
result = self._values.get("max_logical_replication_workers")
|
|
2314
2362
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2317,7 +2365,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2317
2365
|
def max_parallel_workers(self) -> typing.Optional[jsii.Number]:
|
|
2318
2366
|
'''Sets the maximum number of workers that the system can support for parallel queries.
|
|
2319
2367
|
|
|
2320
|
-
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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers ManagedDatabasePostgresql#max_parallel_workers}
|
|
2321
2369
|
'''
|
|
2322
2370
|
result = self._values.get("max_parallel_workers")
|
|
2323
2371
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2326,7 +2374,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2326
2374
|
def max_parallel_workers_per_gather(self) -> typing.Optional[jsii.Number]:
|
|
2327
2375
|
'''Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2328
2376
|
|
|
2329
|
-
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.16.0/docs/resources/managed_database_postgresql#max_parallel_workers_per_gather ManagedDatabasePostgresql#max_parallel_workers_per_gather}
|
|
2330
2378
|
'''
|
|
2331
2379
|
result = self._values.get("max_parallel_workers_per_gather")
|
|
2332
2380
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2335,7 +2383,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2335
2383
|
def max_pred_locks_per_transaction(self) -> typing.Optional[jsii.Number]:
|
|
2336
2384
|
'''PostgreSQL maximum predicate locks per transaction.
|
|
2337
2385
|
|
|
2338
|
-
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.16.0/docs/resources/managed_database_postgresql#max_pred_locks_per_transaction ManagedDatabasePostgresql#max_pred_locks_per_transaction}
|
|
2339
2387
|
'''
|
|
2340
2388
|
result = self._values.get("max_pred_locks_per_transaction")
|
|
2341
2389
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2344,7 +2392,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2344
2392
|
def max_prepared_transactions(self) -> typing.Optional[jsii.Number]:
|
|
2345
2393
|
'''PostgreSQL maximum prepared transactions.
|
|
2346
2394
|
|
|
2347
|
-
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.16.0/docs/resources/managed_database_postgresql#max_prepared_transactions ManagedDatabasePostgresql#max_prepared_transactions}
|
|
2348
2396
|
'''
|
|
2349
2397
|
result = self._values.get("max_prepared_transactions")
|
|
2350
2398
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2353,7 +2401,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2353
2401
|
def max_replication_slots(self) -> typing.Optional[jsii.Number]:
|
|
2354
2402
|
'''PostgreSQL maximum replication slots.
|
|
2355
2403
|
|
|
2356
|
-
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.16.0/docs/resources/managed_database_postgresql#max_replication_slots ManagedDatabasePostgresql#max_replication_slots}
|
|
2357
2405
|
'''
|
|
2358
2406
|
result = self._values.get("max_replication_slots")
|
|
2359
2407
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2364,7 +2412,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2364
2412
|
|
|
2365
2413
|
Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
|
|
2366
2414
|
|
|
2367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2415
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_slot_wal_keep_size ManagedDatabasePostgresql#max_slot_wal_keep_size}
|
|
2368
2416
|
'''
|
|
2369
2417
|
result = self._values.get("max_slot_wal_keep_size")
|
|
2370
2418
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2373,7 +2421,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2373
2421
|
def max_stack_depth(self) -> typing.Optional[jsii.Number]:
|
|
2374
2422
|
'''Maximum depth of the stack in bytes.
|
|
2375
2423
|
|
|
2376
|
-
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.16.0/docs/resources/managed_database_postgresql#max_stack_depth ManagedDatabasePostgresql#max_stack_depth}
|
|
2377
2425
|
'''
|
|
2378
2426
|
result = self._values.get("max_stack_depth")
|
|
2379
2427
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2382,7 +2430,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2382
2430
|
def max_standby_archive_delay(self) -> typing.Optional[jsii.Number]:
|
|
2383
2431
|
'''Max standby archive delay in milliseconds.
|
|
2384
2432
|
|
|
2385
|
-
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.16.0/docs/resources/managed_database_postgresql#max_standby_archive_delay ManagedDatabasePostgresql#max_standby_archive_delay}
|
|
2386
2434
|
'''
|
|
2387
2435
|
result = self._values.get("max_standby_archive_delay")
|
|
2388
2436
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2391,7 +2439,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2391
2439
|
def max_standby_streaming_delay(self) -> typing.Optional[jsii.Number]:
|
|
2392
2440
|
'''Max standby streaming delay in milliseconds.
|
|
2393
2441
|
|
|
2394
|
-
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.16.0/docs/resources/managed_database_postgresql#max_standby_streaming_delay ManagedDatabasePostgresql#max_standby_streaming_delay}
|
|
2395
2443
|
'''
|
|
2396
2444
|
result = self._values.get("max_standby_streaming_delay")
|
|
2397
2445
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2400,7 +2448,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2400
2448
|
def max_wal_senders(self) -> typing.Optional[jsii.Number]:
|
|
2401
2449
|
'''PostgreSQL maximum WAL senders.
|
|
2402
2450
|
|
|
2403
|
-
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.16.0/docs/resources/managed_database_postgresql#max_wal_senders ManagedDatabasePostgresql#max_wal_senders}
|
|
2404
2452
|
'''
|
|
2405
2453
|
result = self._values.get("max_wal_senders")
|
|
2406
2454
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2409,7 +2457,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2409
2457
|
def max_worker_processes(self) -> typing.Optional[jsii.Number]:
|
|
2410
2458
|
'''Sets the maximum number of background processes that the system can support.
|
|
2411
2459
|
|
|
2412
|
-
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.16.0/docs/resources/managed_database_postgresql#max_worker_processes ManagedDatabasePostgresql#max_worker_processes}
|
|
2413
2461
|
'''
|
|
2414
2462
|
result = self._values.get("max_worker_processes")
|
|
2415
2463
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2420,7 +2468,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2420
2468
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"]:
|
|
2421
2469
|
'''migration block.
|
|
2422
2470
|
|
|
2423
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#migration ManagedDatabasePostgresql#migration}
|
|
2424
2472
|
'''
|
|
2425
2473
|
result = self._values.get("migration")
|
|
2426
2474
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesMigration"], result)
|
|
@@ -2431,7 +2479,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2431
2479
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"]:
|
|
2432
2480
|
'''pgbouncer block.
|
|
2433
2481
|
|
|
2434
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2482
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pgbouncer ManagedDatabasePostgresql#pgbouncer}
|
|
2435
2483
|
'''
|
|
2436
2484
|
result = self._values.get("pgbouncer")
|
|
2437
2485
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPgbouncer"], result)
|
|
@@ -2442,7 +2490,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2442
2490
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"]:
|
|
2443
2491
|
'''pglookout block.
|
|
2444
2492
|
|
|
2445
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2493
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pglookout ManagedDatabasePostgresql#pglookout}
|
|
2446
2494
|
'''
|
|
2447
2495
|
result = self._values.get("pglookout")
|
|
2448
2496
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesPglookout"], result)
|
|
@@ -2451,7 +2499,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2451
2499
|
def pg_partman_bgw_interval(self) -> typing.Optional[jsii.Number]:
|
|
2452
2500
|
'''Sets the time interval to run pg_partman's scheduled tasks.
|
|
2453
2501
|
|
|
2454
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2502
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_interval ManagedDatabasePostgresql#pg_partman_bgw_interval}
|
|
2455
2503
|
'''
|
|
2456
2504
|
result = self._values.get("pg_partman_bgw_interval")
|
|
2457
2505
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2460,7 +2508,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2460
2508
|
def pg_partman_bgw_role(self) -> typing.Optional[builtins.str]:
|
|
2461
2509
|
'''Controls which role to use for pg_partman's scheduled background tasks.
|
|
2462
2510
|
|
|
2463
|
-
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.16.0/docs/resources/managed_database_postgresql#pg_partman_bgw_role ManagedDatabasePostgresql#pg_partman_bgw_role}
|
|
2464
2512
|
'''
|
|
2465
2513
|
result = self._values.get("pg_partman_bgw_role")
|
|
2466
2514
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2473,7 +2521,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2473
2521
|
|
|
2474
2522
|
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
2523
|
|
|
2476
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2524
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_enable ManagedDatabasePostgresql#pg_stat_monitor_enable}
|
|
2477
2525
|
'''
|
|
2478
2526
|
result = self._values.get("pg_stat_monitor_enable")
|
|
2479
2527
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2484,7 +2532,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2484
2532
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2485
2533
|
'''Enables or disables query plan monitoring.
|
|
2486
2534
|
|
|
2487
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2535
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_enable_query_plan ManagedDatabasePostgresql#pg_stat_monitor_pgsm_enable_query_plan}
|
|
2488
2536
|
'''
|
|
2489
2537
|
result = self._values.get("pg_stat_monitor_pgsm_enable_query_plan")
|
|
2490
2538
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2493,7 +2541,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2493
2541
|
def pg_stat_monitor_pgsm_max_buckets(self) -> typing.Optional[jsii.Number]:
|
|
2494
2542
|
'''Sets the maximum number of buckets.
|
|
2495
2543
|
|
|
2496
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2544
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pg_stat_monitor_pgsm_max_buckets ManagedDatabasePostgresql#pg_stat_monitor_pgsm_max_buckets}
|
|
2497
2545
|
'''
|
|
2498
2546
|
result = self._values.get("pg_stat_monitor_pgsm_max_buckets")
|
|
2499
2547
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2504,7 +2552,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2504
2552
|
|
|
2505
2553
|
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
2554
|
|
|
2507
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2555
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#pg_stat_statements_track ManagedDatabasePostgresql#pg_stat_statements_track}
|
|
2508
2556
|
'''
|
|
2509
2557
|
result = self._values.get("pg_stat_statements_track")
|
|
2510
2558
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2515,7 +2563,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2515
2563
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2516
2564
|
'''Public Access. Allow access to the service from the public Internet.
|
|
2517
2565
|
|
|
2518
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2566
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#public_access ManagedDatabasePostgresql#public_access}
|
|
2519
2567
|
'''
|
|
2520
2568
|
result = self._values.get("public_access")
|
|
2521
2569
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2526,7 +2574,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2526
2574
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2527
2575
|
'''Service logging. Store logs for the service so that they are available in the HTTP API and console.
|
|
2528
2576
|
|
|
2529
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2577
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#service_log ManagedDatabasePostgresql#service_log}
|
|
2530
2578
|
'''
|
|
2531
2579
|
result = self._values.get("service_log")
|
|
2532
2580
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2537,7 +2585,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2537
2585
|
|
|
2538
2586
|
Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
|
|
2539
2587
|
|
|
2540
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2588
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#shared_buffers_percentage ManagedDatabasePostgresql#shared_buffers_percentage}
|
|
2541
2589
|
'''
|
|
2542
2590
|
result = self._values.get("shared_buffers_percentage")
|
|
2543
2591
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2546,7 +2594,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2546
2594
|
def synchronous_replication(self) -> typing.Optional[builtins.str]:
|
|
2547
2595
|
'''Synchronous replication type. Note that the service plan also needs to support synchronous replication.
|
|
2548
2596
|
|
|
2549
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2597
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#synchronous_replication ManagedDatabasePostgresql#synchronous_replication}
|
|
2550
2598
|
'''
|
|
2551
2599
|
result = self._values.get("synchronous_replication")
|
|
2552
2600
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2555,7 +2603,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2555
2603
|
def temp_file_limit(self) -> typing.Optional[jsii.Number]:
|
|
2556
2604
|
'''PostgreSQL temporary file limit in KiB, -1 for unlimited.
|
|
2557
2605
|
|
|
2558
|
-
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.16.0/docs/resources/managed_database_postgresql#temp_file_limit ManagedDatabasePostgresql#temp_file_limit}
|
|
2559
2607
|
'''
|
|
2560
2608
|
result = self._values.get("temp_file_limit")
|
|
2561
2609
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2566,7 +2614,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2566
2614
|
) -> typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"]:
|
|
2567
2615
|
'''timescaledb block.
|
|
2568
2616
|
|
|
2569
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2617
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timescaledb ManagedDatabasePostgresql#timescaledb}
|
|
2570
2618
|
'''
|
|
2571
2619
|
result = self._values.get("timescaledb")
|
|
2572
2620
|
return typing.cast(typing.Optional["ManagedDatabasePostgresqlPropertiesTimescaledb"], result)
|
|
@@ -2575,7 +2623,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2575
2623
|
def timezone(self) -> typing.Optional[builtins.str]:
|
|
2576
2624
|
'''PostgreSQL service timezone.
|
|
2577
2625
|
|
|
2578
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2626
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#timezone ManagedDatabasePostgresql#timezone}
|
|
2579
2627
|
'''
|
|
2580
2628
|
result = self._values.get("timezone")
|
|
2581
2629
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2584,7 +2632,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2584
2632
|
def track_activity_query_size(self) -> typing.Optional[jsii.Number]:
|
|
2585
2633
|
'''Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2586
2634
|
|
|
2587
|
-
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.16.0/docs/resources/managed_database_postgresql#track_activity_query_size ManagedDatabasePostgresql#track_activity_query_size}
|
|
2588
2636
|
'''
|
|
2589
2637
|
result = self._values.get("track_activity_query_size")
|
|
2590
2638
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2593,7 +2641,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2593
2641
|
def track_commit_timestamp(self) -> typing.Optional[builtins.str]:
|
|
2594
2642
|
'''Record commit time of transactions.
|
|
2595
2643
|
|
|
2596
|
-
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.16.0/docs/resources/managed_database_postgresql#track_commit_timestamp ManagedDatabasePostgresql#track_commit_timestamp}
|
|
2597
2645
|
'''
|
|
2598
2646
|
result = self._values.get("track_commit_timestamp")
|
|
2599
2647
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2602,7 +2650,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2602
2650
|
def track_functions(self) -> typing.Optional[builtins.str]:
|
|
2603
2651
|
'''Enables tracking of function call counts and time used.
|
|
2604
2652
|
|
|
2605
|
-
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.16.0/docs/resources/managed_database_postgresql#track_functions ManagedDatabasePostgresql#track_functions}
|
|
2606
2654
|
'''
|
|
2607
2655
|
result = self._values.get("track_functions")
|
|
2608
2656
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2613,7 +2661,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2613
2661
|
|
|
2614
2662
|
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
2663
|
|
|
2616
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2664
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#track_io_timing ManagedDatabasePostgresql#track_io_timing}
|
|
2617
2665
|
'''
|
|
2618
2666
|
result = self._values.get("track_io_timing")
|
|
2619
2667
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2622,7 +2670,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2622
2670
|
def variant(self) -> typing.Optional[builtins.str]:
|
|
2623
2671
|
'''Variant of the PostgreSQL service, may affect the features that are exposed by default.
|
|
2624
2672
|
|
|
2625
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2673
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#variant ManagedDatabasePostgresql#variant}
|
|
2626
2674
|
'''
|
|
2627
2675
|
result = self._values.get("variant")
|
|
2628
2676
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2631,7 +2679,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2631
2679
|
def version(self) -> typing.Optional[builtins.str]:
|
|
2632
2680
|
'''PostgreSQL major version.
|
|
2633
2681
|
|
|
2634
|
-
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.16.0/docs/resources/managed_database_postgresql#version ManagedDatabasePostgresql#version}
|
|
2635
2683
|
'''
|
|
2636
2684
|
result = self._values.get("version")
|
|
2637
2685
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2642,7 +2690,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2642
2690
|
|
|
2643
2691
|
Setting this value to zero disables the timeout.
|
|
2644
2692
|
|
|
2645
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2693
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#wal_sender_timeout ManagedDatabasePostgresql#wal_sender_timeout}
|
|
2646
2694
|
'''
|
|
2647
2695
|
result = self._values.get("wal_sender_timeout")
|
|
2648
2696
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2653,7 +2701,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2653
2701
|
|
|
2654
2702
|
Note that setting this value to lower than the default 200ms may negatively impact performance.
|
|
2655
2703
|
|
|
2656
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2704
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#wal_writer_delay ManagedDatabasePostgresql#wal_writer_delay}
|
|
2657
2705
|
'''
|
|
2658
2706
|
result = self._values.get("wal_writer_delay")
|
|
2659
2707
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2664,7 +2712,7 @@ class ManagedDatabasePostgresqlProperties:
|
|
|
2664
2712
|
|
|
2665
2713
|
Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2666
2714
|
|
|
2667
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2715
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#work_mem ManagedDatabasePostgresql#work_mem}
|
|
2668
2716
|
'''
|
|
2669
2717
|
result = self._values.get("work_mem")
|
|
2670
2718
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2711,15 +2759,15 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2711
2759
|
username: typing.Optional[builtins.str] = None,
|
|
2712
2760
|
) -> None:
|
|
2713
2761
|
'''
|
|
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.
|
|
2762
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2763
|
+
: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.16.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2764
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2765
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2766
|
+
: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.16.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2767
|
+
: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.16.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2768
|
+
: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.16.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2769
|
+
: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.16.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2770
|
+
: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.16.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2723
2771
|
'''
|
|
2724
2772
|
if __debug__:
|
|
2725
2773
|
type_hints = typing.get_type_hints(_typecheckingstub__9a22b07e9381a03b0e883019f9869d2e86afe1337164b3f40f42a65332f93686)
|
|
@@ -2756,7 +2804,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2756
2804
|
def dbname(self) -> typing.Optional[builtins.str]:
|
|
2757
2805
|
'''Database name for bootstrapping the initial connection.
|
|
2758
2806
|
|
|
2759
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2807
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
2760
2808
|
'''
|
|
2761
2809
|
result = self._values.get("dbname")
|
|
2762
2810
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2765,7 +2813,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2765
2813
|
def host(self) -> typing.Optional[builtins.str]:
|
|
2766
2814
|
'''Hostname or IP address of the server where to migrate data from.
|
|
2767
2815
|
|
|
2768
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2816
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
2769
2817
|
'''
|
|
2770
2818
|
result = self._values.get("host")
|
|
2771
2819
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2774,7 +2822,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2774
2822
|
def ignore_dbs(self) -> typing.Optional[builtins.str]:
|
|
2775
2823
|
'''Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment).
|
|
2776
2824
|
|
|
2777
|
-
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.16.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
2778
2826
|
'''
|
|
2779
2827
|
result = self._values.get("ignore_dbs")
|
|
2780
2828
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2783,7 +2831,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2783
2831
|
def ignore_roles(self) -> typing.Optional[builtins.str]:
|
|
2784
2832
|
'''Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment).
|
|
2785
2833
|
|
|
2786
|
-
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.16.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
2787
2835
|
'''
|
|
2788
2836
|
result = self._values.get("ignore_roles")
|
|
2789
2837
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2792,7 +2840,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2792
2840
|
def method(self) -> typing.Optional[builtins.str]:
|
|
2793
2841
|
'''The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types).
|
|
2794
2842
|
|
|
2795
|
-
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.16.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
2796
2844
|
'''
|
|
2797
2845
|
result = self._values.get("method")
|
|
2798
2846
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2801,7 +2849,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2801
2849
|
def password(self) -> typing.Optional[builtins.str]:
|
|
2802
2850
|
'''Password for authentication with the server where to migrate data from.
|
|
2803
2851
|
|
|
2804
|
-
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.16.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
2805
2853
|
'''
|
|
2806
2854
|
result = self._values.get("password")
|
|
2807
2855
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -2810,7 +2858,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2810
2858
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
2811
2859
|
'''Port number of the server where to migrate data from.
|
|
2812
2860
|
|
|
2813
|
-
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.16.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
2814
2862
|
'''
|
|
2815
2863
|
result = self._values.get("port")
|
|
2816
2864
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -2821,7 +2869,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2821
2869
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
2822
2870
|
'''The server where to migrate data from is secured with SSL.
|
|
2823
2871
|
|
|
2824
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2872
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
2825
2873
|
'''
|
|
2826
2874
|
result = self._values.get("ssl")
|
|
2827
2875
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -2830,7 +2878,7 @@ class ManagedDatabasePostgresqlPropertiesMigration:
|
|
|
2830
2878
|
def username(self) -> typing.Optional[builtins.str]:
|
|
2831
2879
|
'''User name for authentication with the server where to migrate data from.
|
|
2832
2880
|
|
|
2833
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
2881
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
2834
2882
|
'''
|
|
2835
2883
|
result = self._values.get("username")
|
|
2836
2884
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3114,15 +3162,15 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3114
3162
|
username: typing.Optional[builtins.str] = None,
|
|
3115
3163
|
) -> None:
|
|
3116
3164
|
'''
|
|
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.
|
|
3165
|
+
:param dbname: Database name for bootstrapping the initial connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#dbname ManagedDatabasePostgresql#dbname}
|
|
3166
|
+
: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.16.0/docs/resources/managed_database_postgresql#host ManagedDatabasePostgresql#host}
|
|
3167
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_dbs ManagedDatabasePostgresql#ignore_dbs}
|
|
3168
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_roles ManagedDatabasePostgresql#ignore_roles}
|
|
3169
|
+
: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.16.0/docs/resources/managed_database_postgresql#method ManagedDatabasePostgresql#method}
|
|
3170
|
+
: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.16.0/docs/resources/managed_database_postgresql#password ManagedDatabasePostgresql#password}
|
|
3171
|
+
: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.16.0/docs/resources/managed_database_postgresql#port ManagedDatabasePostgresql#port}
|
|
3172
|
+
: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.16.0/docs/resources/managed_database_postgresql#ssl ManagedDatabasePostgresql#ssl}
|
|
3173
|
+
: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.16.0/docs/resources/managed_database_postgresql#username ManagedDatabasePostgresql#username}
|
|
3126
3174
|
'''
|
|
3127
3175
|
value = ManagedDatabasePostgresqlPropertiesMigration(
|
|
3128
3176
|
dbname=dbname,
|
|
@@ -3154,16 +3202,16 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3154
3202
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
3155
3203
|
) -> None:
|
|
3156
3204
|
'''
|
|
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.
|
|
3205
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
3206
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
3207
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
3208
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
3209
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
3210
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
3211
|
+
: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.16.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
3212
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
3213
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
3214
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
3167
3215
|
'''
|
|
3168
3216
|
value = ManagedDatabasePostgresqlPropertiesPgbouncer(
|
|
3169
3217
|
autodb_idle_timeout=autodb_idle_timeout,
|
|
@@ -3187,7 +3235,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3187
3235
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
3188
3236
|
) -> None:
|
|
3189
3237
|
'''
|
|
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.
|
|
3238
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
3191
3239
|
'''
|
|
3192
3240
|
value = ManagedDatabasePostgresqlPropertiesPglookout(
|
|
3193
3241
|
max_failover_replication_time_lag=max_failover_replication_time_lag
|
|
@@ -3202,7 +3250,7 @@ class ManagedDatabasePostgresqlPropertiesOutputReference(
|
|
|
3202
3250
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
3203
3251
|
) -> None:
|
|
3204
3252
|
'''
|
|
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.
|
|
3253
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
3206
3254
|
'''
|
|
3207
3255
|
value = ManagedDatabasePostgresqlPropertiesTimescaledb(
|
|
3208
3256
|
max_background_workers=max_background_workers
|
|
@@ -4687,16 +4735,16 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4687
4735
|
server_reset_query_always: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
4688
4736
|
) -> None:
|
|
4689
4737
|
'''
|
|
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.
|
|
4738
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
4739
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
4740
|
+
:param autodb_pool_mode: PGBouncer pool mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
4741
|
+
: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.16.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
4742
|
+
: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.16.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
4743
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
4744
|
+
: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.16.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
4745
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
4746
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
4747
|
+
: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.16.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
4700
4748
|
'''
|
|
4701
4749
|
if __debug__:
|
|
4702
4750
|
type_hints = typing.get_type_hints(_typecheckingstub__2862abffc43a442ad2bff1c444cf98fb770986970925fafb7cc295e2cc45a9b9)
|
|
@@ -4738,7 +4786,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4738
4786
|
|
|
4739
4787
|
If 0 then timeout is disabled. [seconds].
|
|
4740
4788
|
|
|
4741
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4789
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_idle_timeout ManagedDatabasePostgresql#autodb_idle_timeout}
|
|
4742
4790
|
'''
|
|
4743
4791
|
result = self._values.get("autodb_idle_timeout")
|
|
4744
4792
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4749,7 +4797,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4749
4797
|
|
|
4750
4798
|
Setting it to 0 means unlimited.
|
|
4751
4799
|
|
|
4752
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4800
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_max_db_connections ManagedDatabasePostgresql#autodb_max_db_connections}
|
|
4753
4801
|
'''
|
|
4754
4802
|
result = self._values.get("autodb_max_db_connections")
|
|
4755
4803
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4758,7 +4806,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4758
4806
|
def autodb_pool_mode(self) -> typing.Optional[builtins.str]:
|
|
4759
4807
|
'''PGBouncer pool mode.
|
|
4760
4808
|
|
|
4761
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4809
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_pool_mode ManagedDatabasePostgresql#autodb_pool_mode}
|
|
4762
4810
|
'''
|
|
4763
4811
|
result = self._values.get("autodb_pool_mode")
|
|
4764
4812
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -4767,7 +4815,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4767
4815
|
def autodb_pool_size(self) -> typing.Optional[jsii.Number]:
|
|
4768
4816
|
'''If non-zero then create automatically a pool of that size per user when a pool doesn't exist.
|
|
4769
4817
|
|
|
4770
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4818
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#autodb_pool_size ManagedDatabasePostgresql#autodb_pool_size}
|
|
4771
4819
|
'''
|
|
4772
4820
|
result = self._values.get("autodb_pool_size")
|
|
4773
4821
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4776,7 +4824,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4776
4824
|
def ignore_startup_parameters(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4777
4825
|
'''List of parameters to ignore when given in startup packet.
|
|
4778
4826
|
|
|
4779
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4827
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#ignore_startup_parameters ManagedDatabasePostgresql#ignore_startup_parameters}
|
|
4780
4828
|
'''
|
|
4781
4829
|
result = self._values.get("ignore_startup_parameters")
|
|
4782
4830
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -4787,7 +4835,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4787
4835
|
|
|
4788
4836
|
Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000.
|
|
4789
4837
|
|
|
4790
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4838
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_prepared_statements ManagedDatabasePostgresql#max_prepared_statements}
|
|
4791
4839
|
'''
|
|
4792
4840
|
result = self._values.get("max_prepared_statements")
|
|
4793
4841
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4798,7 +4846,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4798
4846
|
|
|
4799
4847
|
Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size.
|
|
4800
4848
|
|
|
4801
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4849
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#min_pool_size ManagedDatabasePostgresql#min_pool_size}
|
|
4802
4850
|
'''
|
|
4803
4851
|
result = self._values.get("min_pool_size")
|
|
4804
4852
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4809,7 +4857,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4809
4857
|
|
|
4810
4858
|
If 0 then timeout is disabled. [seconds].
|
|
4811
4859
|
|
|
4812
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4860
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#server_idle_timeout ManagedDatabasePostgresql#server_idle_timeout}
|
|
4813
4861
|
'''
|
|
4814
4862
|
result = self._values.get("server_idle_timeout")
|
|
4815
4863
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4818,7 +4866,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4818
4866
|
def server_lifetime(self) -> typing.Optional[jsii.Number]:
|
|
4819
4867
|
'''The pooler will close an unused server connection that has been connected longer than this. [seconds].
|
|
4820
4868
|
|
|
4821
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4869
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#server_lifetime ManagedDatabasePostgresql#server_lifetime}
|
|
4822
4870
|
'''
|
|
4823
4871
|
result = self._values.get("server_lifetime")
|
|
4824
4872
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -4829,7 +4877,7 @@ class ManagedDatabasePostgresqlPropertiesPgbouncer:
|
|
|
4829
4877
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
4830
4878
|
'''Run server_reset_query (DISCARD ALL) in all pooling modes.
|
|
4831
4879
|
|
|
4832
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4880
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#server_reset_query_always ManagedDatabasePostgresql#server_reset_query_always}
|
|
4833
4881
|
'''
|
|
4834
4882
|
result = self._values.get("server_reset_query_always")
|
|
4835
4883
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -5117,7 +5165,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5117
5165
|
max_failover_replication_time_lag: typing.Optional[jsii.Number] = None,
|
|
5118
5166
|
) -> None:
|
|
5119
5167
|
'''
|
|
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.
|
|
5168
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5121
5169
|
'''
|
|
5122
5170
|
if __debug__:
|
|
5123
5171
|
type_hints = typing.get_type_hints(_typecheckingstub__dd81ae3f527ba52eaf4f2d07e7187afc3b2328ed800858a2364717bdfe0081a9)
|
|
@@ -5130,7 +5178,7 @@ class ManagedDatabasePostgresqlPropertiesPglookout:
|
|
|
5130
5178
|
def max_failover_replication_time_lag(self) -> typing.Optional[jsii.Number]:
|
|
5131
5179
|
'''Number of seconds of master unavailability before triggering database failover to standby.
|
|
5132
5180
|
|
|
5133
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5181
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_failover_replication_time_lag ManagedDatabasePostgresql#max_failover_replication_time_lag}
|
|
5134
5182
|
'''
|
|
5135
5183
|
result = self._values.get("max_failover_replication_time_lag")
|
|
5136
5184
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5218,7 +5266,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
5218
5266
|
max_background_workers: typing.Optional[jsii.Number] = None,
|
|
5219
5267
|
) -> None:
|
|
5220
5268
|
'''
|
|
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.
|
|
5269
|
+
: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.16.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
5222
5270
|
'''
|
|
5223
5271
|
if __debug__:
|
|
5224
5272
|
type_hints = typing.get_type_hints(_typecheckingstub__71c8b11f8b53026baff50866f6d74787011a28fc791f639a52c7c58b6f897621)
|
|
@@ -5233,7 +5281,7 @@ class ManagedDatabasePostgresqlPropertiesTimescaledb:
|
|
|
5233
5281
|
|
|
5234
5282
|
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
5283
|
|
|
5236
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
5284
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.16.0/docs/resources/managed_database_postgresql#max_background_workers ManagedDatabasePostgresql#max_background_workers}
|
|
5237
5285
|
'''
|
|
5238
5286
|
result = self._values.get("max_background_workers")
|
|
5239
5287
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -5350,6 +5398,7 @@ def _typecheckingstub__5fa809510c8f69da52891462ee8f64a2638b82c8a731ae399fb00992f
|
|
|
5350
5398
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabasePostgresqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
5351
5399
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5352
5400
|
properties: typing.Optional[typing.Union[ManagedDatabasePostgresqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5401
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5353
5402
|
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
5403
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
5355
5404
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -5418,6 +5467,12 @@ def _typecheckingstub__ea14ac222a06ab006f9282ded2425426342e694303ff49e133423cad9
|
|
|
5418
5467
|
"""Type checking stubs"""
|
|
5419
5468
|
pass
|
|
5420
5469
|
|
|
5470
|
+
def _typecheckingstub__a040b3151c2d2f9c017cfde26b6d5f6d6408e630f17d6eab06dd6c1142465b2b(
|
|
5471
|
+
value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
|
|
5472
|
+
) -> None:
|
|
5473
|
+
"""Type checking stubs"""
|
|
5474
|
+
pass
|
|
5475
|
+
|
|
5421
5476
|
def _typecheckingstub__5a6d4eea83ac11ab3241ebe5783562662925bb3b73987673a1f5bd2da77529d0(
|
|
5422
5477
|
value: builtins.str,
|
|
5423
5478
|
) -> None:
|
|
@@ -5497,6 +5552,7 @@ def _typecheckingstub__45f42ebdf030afdba0d57f507b07d90736dd58b3b6241153662af2f45
|
|
|
5497
5552
|
network: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[ManagedDatabasePostgresqlNetwork, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
5498
5553
|
powered: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5499
5554
|
properties: typing.Optional[typing.Union[ManagedDatabasePostgresqlProperties, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
5555
|
+
termination_protection: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
|
|
5500
5556
|
) -> None:
|
|
5501
5557
|
"""Type checking stubs"""
|
|
5502
5558
|
pass
|