cdktf-cdktf-provider-upcloud 15.8.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.
- cdktf_cdktf_provider_upcloud/__init__.py +247 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/py.typed +1 -0
- cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
- cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
- cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
- cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1084 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `data_upcloud_managed_database_postgresql_sessions`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_postgresql_sessions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions).
|
|
5
|
+
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
9
|
+
import abc
|
|
10
|
+
import builtins
|
|
11
|
+
import datetime
|
|
12
|
+
import enum
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
import jsii
|
|
16
|
+
import publication
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
35
|
+
|
|
36
|
+
from .._jsii import *
|
|
37
|
+
|
|
38
|
+
import cdktf as _cdktf_9a9027ec
|
|
39
|
+
import constructs as _constructs_77d1e7e8
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class DataUpcloudManagedDatabasePostgresqlSessions(
|
|
43
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabasePostgresqlSessions.DataUpcloudManagedDatabasePostgresqlSessions",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions upcloud_managed_database_postgresql_sessions}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id_: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
service: builtins.str,
|
|
55
|
+
id: typing.Optional[builtins.str] = None,
|
|
56
|
+
limit: typing.Optional[jsii.Number] = None,
|
|
57
|
+
offset: typing.Optional[jsii.Number] = None,
|
|
58
|
+
order: typing.Optional[builtins.str] = None,
|
|
59
|
+
sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabasePostgresqlSessionsSessions", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
60
|
+
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,
|
|
61
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
62
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
63
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
64
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
65
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
66
|
+
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,
|
|
67
|
+
) -> None:
|
|
68
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions upcloud_managed_database_postgresql_sessions} Data Source.
|
|
69
|
+
|
|
70
|
+
:param scope: The scope in which to define this construct.
|
|
71
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
72
|
+
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#service DataUpcloudManagedDatabasePostgresqlSessions#service}
|
|
73
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#id DataUpcloudManagedDatabasePostgresqlSessions#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.
|
|
74
|
+
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#limit DataUpcloudManagedDatabasePostgresqlSessions#limit}
|
|
75
|
+
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#offset DataUpcloudManagedDatabasePostgresqlSessions#offset}
|
|
76
|
+
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#order DataUpcloudManagedDatabasePostgresqlSessions#order}
|
|
77
|
+
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#sessions DataUpcloudManagedDatabasePostgresqlSessions#sessions}
|
|
78
|
+
:param connection:
|
|
79
|
+
:param count:
|
|
80
|
+
:param depends_on:
|
|
81
|
+
:param for_each:
|
|
82
|
+
:param lifecycle:
|
|
83
|
+
:param provider:
|
|
84
|
+
:param provisioners:
|
|
85
|
+
'''
|
|
86
|
+
if __debug__:
|
|
87
|
+
type_hints = typing.get_type_hints(_typecheckingstub__74df70385397c400e40bf25695357a3541a4d60f1aef033a41b6feb2db3e488b)
|
|
88
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
89
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
|
90
|
+
config = DataUpcloudManagedDatabasePostgresqlSessionsConfig(
|
|
91
|
+
service=service,
|
|
92
|
+
id=id,
|
|
93
|
+
limit=limit,
|
|
94
|
+
offset=offset,
|
|
95
|
+
order=order,
|
|
96
|
+
sessions=sessions,
|
|
97
|
+
connection=connection,
|
|
98
|
+
count=count,
|
|
99
|
+
depends_on=depends_on,
|
|
100
|
+
for_each=for_each,
|
|
101
|
+
lifecycle=lifecycle,
|
|
102
|
+
provider=provider,
|
|
103
|
+
provisioners=provisioners,
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
|
107
|
+
|
|
108
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
109
|
+
@builtins.classmethod
|
|
110
|
+
def generate_config_for_import(
|
|
111
|
+
cls,
|
|
112
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
113
|
+
import_to_id: builtins.str,
|
|
114
|
+
import_from_id: builtins.str,
|
|
115
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
116
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
117
|
+
'''Generates CDKTF code for importing a DataUpcloudManagedDatabasePostgresqlSessions resource upon running "cdktf plan ".
|
|
118
|
+
|
|
119
|
+
:param scope: The scope in which to define this construct.
|
|
120
|
+
:param import_to_id: The construct id used in the generated config for the DataUpcloudManagedDatabasePostgresqlSessions to import.
|
|
121
|
+
:param import_from_id: The id of the existing DataUpcloudManagedDatabasePostgresqlSessions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#import import section} in the documentation of this resource for the id to use
|
|
122
|
+
:param provider: ? Optional instance of the provider where the DataUpcloudManagedDatabasePostgresqlSessions to import is found.
|
|
123
|
+
'''
|
|
124
|
+
if __debug__:
|
|
125
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9cafa457e2061508f9c1adf3df65a70a7392c81f0c0422040b990e41001abb17)
|
|
126
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
127
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
128
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
129
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
130
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
131
|
+
|
|
132
|
+
@jsii.member(jsii_name="putSessions")
|
|
133
|
+
def put_sessions(
|
|
134
|
+
self,
|
|
135
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabasePostgresqlSessionsSessions", typing.Dict[builtins.str, typing.Any]]]],
|
|
136
|
+
) -> None:
|
|
137
|
+
'''
|
|
138
|
+
:param value: -
|
|
139
|
+
'''
|
|
140
|
+
if __debug__:
|
|
141
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae272cc7c90414635b361703a59cbedff148c37dc3bc47bb4300d4b23abcedb3)
|
|
142
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
143
|
+
return typing.cast(None, jsii.invoke(self, "putSessions", [value]))
|
|
144
|
+
|
|
145
|
+
@jsii.member(jsii_name="resetId")
|
|
146
|
+
def reset_id(self) -> None:
|
|
147
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
148
|
+
|
|
149
|
+
@jsii.member(jsii_name="resetLimit")
|
|
150
|
+
def reset_limit(self) -> None:
|
|
151
|
+
return typing.cast(None, jsii.invoke(self, "resetLimit", []))
|
|
152
|
+
|
|
153
|
+
@jsii.member(jsii_name="resetOffset")
|
|
154
|
+
def reset_offset(self) -> None:
|
|
155
|
+
return typing.cast(None, jsii.invoke(self, "resetOffset", []))
|
|
156
|
+
|
|
157
|
+
@jsii.member(jsii_name="resetOrder")
|
|
158
|
+
def reset_order(self) -> None:
|
|
159
|
+
return typing.cast(None, jsii.invoke(self, "resetOrder", []))
|
|
160
|
+
|
|
161
|
+
@jsii.member(jsii_name="resetSessions")
|
|
162
|
+
def reset_sessions(self) -> None:
|
|
163
|
+
return typing.cast(None, jsii.invoke(self, "resetSessions", []))
|
|
164
|
+
|
|
165
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
166
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
167
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
168
|
+
|
|
169
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
170
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
171
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
172
|
+
|
|
173
|
+
@jsii.python.classproperty
|
|
174
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
175
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
176
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
177
|
+
|
|
178
|
+
@builtins.property
|
|
179
|
+
@jsii.member(jsii_name="sessions")
|
|
180
|
+
def sessions(self) -> "DataUpcloudManagedDatabasePostgresqlSessionsSessionsList":
|
|
181
|
+
return typing.cast("DataUpcloudManagedDatabasePostgresqlSessionsSessionsList", jsii.get(self, "sessions"))
|
|
182
|
+
|
|
183
|
+
@builtins.property
|
|
184
|
+
@jsii.member(jsii_name="idInput")
|
|
185
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
186
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
187
|
+
|
|
188
|
+
@builtins.property
|
|
189
|
+
@jsii.member(jsii_name="limitInput")
|
|
190
|
+
def limit_input(self) -> typing.Optional[jsii.Number]:
|
|
191
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "limitInput"))
|
|
192
|
+
|
|
193
|
+
@builtins.property
|
|
194
|
+
@jsii.member(jsii_name="offsetInput")
|
|
195
|
+
def offset_input(self) -> typing.Optional[jsii.Number]:
|
|
196
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "offsetInput"))
|
|
197
|
+
|
|
198
|
+
@builtins.property
|
|
199
|
+
@jsii.member(jsii_name="orderInput")
|
|
200
|
+
def order_input(self) -> typing.Optional[builtins.str]:
|
|
201
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "orderInput"))
|
|
202
|
+
|
|
203
|
+
@builtins.property
|
|
204
|
+
@jsii.member(jsii_name="serviceInput")
|
|
205
|
+
def service_input(self) -> typing.Optional[builtins.str]:
|
|
206
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceInput"))
|
|
207
|
+
|
|
208
|
+
@builtins.property
|
|
209
|
+
@jsii.member(jsii_name="sessionsInput")
|
|
210
|
+
def sessions_input(
|
|
211
|
+
self,
|
|
212
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabasePostgresqlSessionsSessions"]]]:
|
|
213
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabasePostgresqlSessionsSessions"]]], jsii.get(self, "sessionsInput"))
|
|
214
|
+
|
|
215
|
+
@builtins.property
|
|
216
|
+
@jsii.member(jsii_name="id")
|
|
217
|
+
def id(self) -> builtins.str:
|
|
218
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
219
|
+
|
|
220
|
+
@id.setter
|
|
221
|
+
def id(self, value: builtins.str) -> None:
|
|
222
|
+
if __debug__:
|
|
223
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a2ae758ed5b4903055d0b591b26c37ed702dbee7d13a1cdc16c639de933a3352)
|
|
224
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
225
|
+
jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
|
|
226
|
+
|
|
227
|
+
@builtins.property
|
|
228
|
+
@jsii.member(jsii_name="limit")
|
|
229
|
+
def limit(self) -> jsii.Number:
|
|
230
|
+
return typing.cast(jsii.Number, jsii.get(self, "limit"))
|
|
231
|
+
|
|
232
|
+
@limit.setter
|
|
233
|
+
def limit(self, value: jsii.Number) -> None:
|
|
234
|
+
if __debug__:
|
|
235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a570a723c7894e5fc5914c900d359a386217a815f6a1d5eafe02159ce6b50282)
|
|
236
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
237
|
+
jsii.set(self, "limit", value) # pyright: ignore[reportArgumentType]
|
|
238
|
+
|
|
239
|
+
@builtins.property
|
|
240
|
+
@jsii.member(jsii_name="offset")
|
|
241
|
+
def offset(self) -> jsii.Number:
|
|
242
|
+
return typing.cast(jsii.Number, jsii.get(self, "offset"))
|
|
243
|
+
|
|
244
|
+
@offset.setter
|
|
245
|
+
def offset(self, value: jsii.Number) -> None:
|
|
246
|
+
if __debug__:
|
|
247
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3f2c8ac86a938bdfe76b5b6d7ff43e2353b072223ff4359d371e2da4a9b90fda)
|
|
248
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
249
|
+
jsii.set(self, "offset", value) # pyright: ignore[reportArgumentType]
|
|
250
|
+
|
|
251
|
+
@builtins.property
|
|
252
|
+
@jsii.member(jsii_name="order")
|
|
253
|
+
def order(self) -> builtins.str:
|
|
254
|
+
return typing.cast(builtins.str, jsii.get(self, "order"))
|
|
255
|
+
|
|
256
|
+
@order.setter
|
|
257
|
+
def order(self, value: builtins.str) -> None:
|
|
258
|
+
if __debug__:
|
|
259
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d04d770494b31ff465f1ed442616eb4c84ace8b7a7b9056bfac0edeb567d0154)
|
|
260
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
261
|
+
jsii.set(self, "order", value) # pyright: ignore[reportArgumentType]
|
|
262
|
+
|
|
263
|
+
@builtins.property
|
|
264
|
+
@jsii.member(jsii_name="service")
|
|
265
|
+
def service(self) -> builtins.str:
|
|
266
|
+
return typing.cast(builtins.str, jsii.get(self, "service"))
|
|
267
|
+
|
|
268
|
+
@service.setter
|
|
269
|
+
def service(self, value: builtins.str) -> None:
|
|
270
|
+
if __debug__:
|
|
271
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b115f9a6a886661fd8c995efbed30d680ac743da19b05f7a4c513c9d01b78f34)
|
|
272
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
273
|
+
jsii.set(self, "service", value) # pyright: ignore[reportArgumentType]
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
@jsii.data_type(
|
|
277
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabasePostgresqlSessions.DataUpcloudManagedDatabasePostgresqlSessionsConfig",
|
|
278
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
279
|
+
name_mapping={
|
|
280
|
+
"connection": "connection",
|
|
281
|
+
"count": "count",
|
|
282
|
+
"depends_on": "dependsOn",
|
|
283
|
+
"for_each": "forEach",
|
|
284
|
+
"lifecycle": "lifecycle",
|
|
285
|
+
"provider": "provider",
|
|
286
|
+
"provisioners": "provisioners",
|
|
287
|
+
"service": "service",
|
|
288
|
+
"id": "id",
|
|
289
|
+
"limit": "limit",
|
|
290
|
+
"offset": "offset",
|
|
291
|
+
"order": "order",
|
|
292
|
+
"sessions": "sessions",
|
|
293
|
+
},
|
|
294
|
+
)
|
|
295
|
+
class DataUpcloudManagedDatabasePostgresqlSessionsConfig(
|
|
296
|
+
_cdktf_9a9027ec.TerraformMetaArguments,
|
|
297
|
+
):
|
|
298
|
+
def __init__(
|
|
299
|
+
self,
|
|
300
|
+
*,
|
|
301
|
+
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,
|
|
302
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
303
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
304
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
305
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
306
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
307
|
+
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,
|
|
308
|
+
service: builtins.str,
|
|
309
|
+
id: typing.Optional[builtins.str] = None,
|
|
310
|
+
limit: typing.Optional[jsii.Number] = None,
|
|
311
|
+
offset: typing.Optional[jsii.Number] = None,
|
|
312
|
+
order: typing.Optional[builtins.str] = None,
|
|
313
|
+
sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabasePostgresqlSessionsSessions", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
314
|
+
) -> None:
|
|
315
|
+
'''
|
|
316
|
+
:param connection:
|
|
317
|
+
:param count:
|
|
318
|
+
:param depends_on:
|
|
319
|
+
:param for_each:
|
|
320
|
+
:param lifecycle:
|
|
321
|
+
:param provider:
|
|
322
|
+
:param provisioners:
|
|
323
|
+
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#service DataUpcloudManagedDatabasePostgresqlSessions#service}
|
|
324
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#id DataUpcloudManagedDatabasePostgresqlSessions#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.
|
|
325
|
+
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#limit DataUpcloudManagedDatabasePostgresqlSessions#limit}
|
|
326
|
+
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#offset DataUpcloudManagedDatabasePostgresqlSessions#offset}
|
|
327
|
+
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#order DataUpcloudManagedDatabasePostgresqlSessions#order}
|
|
328
|
+
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#sessions DataUpcloudManagedDatabasePostgresqlSessions#sessions}
|
|
329
|
+
'''
|
|
330
|
+
if isinstance(lifecycle, dict):
|
|
331
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
332
|
+
if __debug__:
|
|
333
|
+
type_hints = typing.get_type_hints(_typecheckingstub__88854b025ff3c933ddd355a408e41a2724d0b374b2a711daef23b4440dbd79cd)
|
|
334
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
335
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
336
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
337
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
338
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
339
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
340
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
341
|
+
check_type(argname="argument service", value=service, expected_type=type_hints["service"])
|
|
342
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
343
|
+
check_type(argname="argument limit", value=limit, expected_type=type_hints["limit"])
|
|
344
|
+
check_type(argname="argument offset", value=offset, expected_type=type_hints["offset"])
|
|
345
|
+
check_type(argname="argument order", value=order, expected_type=type_hints["order"])
|
|
346
|
+
check_type(argname="argument sessions", value=sessions, expected_type=type_hints["sessions"])
|
|
347
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
348
|
+
"service": service,
|
|
349
|
+
}
|
|
350
|
+
if connection is not None:
|
|
351
|
+
self._values["connection"] = connection
|
|
352
|
+
if count is not None:
|
|
353
|
+
self._values["count"] = count
|
|
354
|
+
if depends_on is not None:
|
|
355
|
+
self._values["depends_on"] = depends_on
|
|
356
|
+
if for_each is not None:
|
|
357
|
+
self._values["for_each"] = for_each
|
|
358
|
+
if lifecycle is not None:
|
|
359
|
+
self._values["lifecycle"] = lifecycle
|
|
360
|
+
if provider is not None:
|
|
361
|
+
self._values["provider"] = provider
|
|
362
|
+
if provisioners is not None:
|
|
363
|
+
self._values["provisioners"] = provisioners
|
|
364
|
+
if id is not None:
|
|
365
|
+
self._values["id"] = id
|
|
366
|
+
if limit is not None:
|
|
367
|
+
self._values["limit"] = limit
|
|
368
|
+
if offset is not None:
|
|
369
|
+
self._values["offset"] = offset
|
|
370
|
+
if order is not None:
|
|
371
|
+
self._values["order"] = order
|
|
372
|
+
if sessions is not None:
|
|
373
|
+
self._values["sessions"] = sessions
|
|
374
|
+
|
|
375
|
+
@builtins.property
|
|
376
|
+
def connection(
|
|
377
|
+
self,
|
|
378
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
379
|
+
'''
|
|
380
|
+
:stability: experimental
|
|
381
|
+
'''
|
|
382
|
+
result = self._values.get("connection")
|
|
383
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
384
|
+
|
|
385
|
+
@builtins.property
|
|
386
|
+
def count(
|
|
387
|
+
self,
|
|
388
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
389
|
+
'''
|
|
390
|
+
:stability: experimental
|
|
391
|
+
'''
|
|
392
|
+
result = self._values.get("count")
|
|
393
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
394
|
+
|
|
395
|
+
@builtins.property
|
|
396
|
+
def depends_on(
|
|
397
|
+
self,
|
|
398
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
399
|
+
'''
|
|
400
|
+
:stability: experimental
|
|
401
|
+
'''
|
|
402
|
+
result = self._values.get("depends_on")
|
|
403
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
404
|
+
|
|
405
|
+
@builtins.property
|
|
406
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
407
|
+
'''
|
|
408
|
+
:stability: experimental
|
|
409
|
+
'''
|
|
410
|
+
result = self._values.get("for_each")
|
|
411
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
412
|
+
|
|
413
|
+
@builtins.property
|
|
414
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
415
|
+
'''
|
|
416
|
+
:stability: experimental
|
|
417
|
+
'''
|
|
418
|
+
result = self._values.get("lifecycle")
|
|
419
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
420
|
+
|
|
421
|
+
@builtins.property
|
|
422
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
423
|
+
'''
|
|
424
|
+
:stability: experimental
|
|
425
|
+
'''
|
|
426
|
+
result = self._values.get("provider")
|
|
427
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
428
|
+
|
|
429
|
+
@builtins.property
|
|
430
|
+
def provisioners(
|
|
431
|
+
self,
|
|
432
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
433
|
+
'''
|
|
434
|
+
:stability: experimental
|
|
435
|
+
'''
|
|
436
|
+
result = self._values.get("provisioners")
|
|
437
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
438
|
+
|
|
439
|
+
@builtins.property
|
|
440
|
+
def service(self) -> builtins.str:
|
|
441
|
+
'''Service's UUID for which these sessions belongs to.
|
|
442
|
+
|
|
443
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#service DataUpcloudManagedDatabasePostgresqlSessions#service}
|
|
444
|
+
'''
|
|
445
|
+
result = self._values.get("service")
|
|
446
|
+
assert result is not None, "Required property 'service' is missing"
|
|
447
|
+
return typing.cast(builtins.str, result)
|
|
448
|
+
|
|
449
|
+
@builtins.property
|
|
450
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
451
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#id DataUpcloudManagedDatabasePostgresqlSessions#id}.
|
|
452
|
+
|
|
453
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
454
|
+
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.
|
|
455
|
+
'''
|
|
456
|
+
result = self._values.get("id")
|
|
457
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
458
|
+
|
|
459
|
+
@builtins.property
|
|
460
|
+
def limit(self) -> typing.Optional[jsii.Number]:
|
|
461
|
+
'''Number of entries to receive at most.
|
|
462
|
+
|
|
463
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#limit DataUpcloudManagedDatabasePostgresqlSessions#limit}
|
|
464
|
+
'''
|
|
465
|
+
result = self._values.get("limit")
|
|
466
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
467
|
+
|
|
468
|
+
@builtins.property
|
|
469
|
+
def offset(self) -> typing.Optional[jsii.Number]:
|
|
470
|
+
'''Offset for retrieved results based on sort order.
|
|
471
|
+
|
|
472
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#offset DataUpcloudManagedDatabasePostgresqlSessions#offset}
|
|
473
|
+
'''
|
|
474
|
+
result = self._values.get("offset")
|
|
475
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
476
|
+
|
|
477
|
+
@builtins.property
|
|
478
|
+
def order(self) -> typing.Optional[builtins.str]:
|
|
479
|
+
'''Order by session field and sort retrieved results. Limited variables can be used for ordering.
|
|
480
|
+
|
|
481
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#order DataUpcloudManagedDatabasePostgresqlSessions#order}
|
|
482
|
+
'''
|
|
483
|
+
result = self._values.get("order")
|
|
484
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
485
|
+
|
|
486
|
+
@builtins.property
|
|
487
|
+
def sessions(
|
|
488
|
+
self,
|
|
489
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabasePostgresqlSessionsSessions"]]]:
|
|
490
|
+
'''sessions block.
|
|
491
|
+
|
|
492
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#sessions DataUpcloudManagedDatabasePostgresqlSessions#sessions}
|
|
493
|
+
'''
|
|
494
|
+
result = self._values.get("sessions")
|
|
495
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabasePostgresqlSessionsSessions"]]], result)
|
|
496
|
+
|
|
497
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
498
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
499
|
+
|
|
500
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
501
|
+
return not (rhs == self)
|
|
502
|
+
|
|
503
|
+
def __repr__(self) -> str:
|
|
504
|
+
return "DataUpcloudManagedDatabasePostgresqlSessionsConfig(%s)" % ", ".join(
|
|
505
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
506
|
+
)
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
@jsii.data_type(
|
|
510
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabasePostgresqlSessions.DataUpcloudManagedDatabasePostgresqlSessionsSessions",
|
|
511
|
+
jsii_struct_bases=[],
|
|
512
|
+
name_mapping={
|
|
513
|
+
"backend_xid": "backendXid",
|
|
514
|
+
"backend_xmin": "backendXmin",
|
|
515
|
+
"client_hostname": "clientHostname",
|
|
516
|
+
"xact_start": "xactStart",
|
|
517
|
+
},
|
|
518
|
+
)
|
|
519
|
+
class DataUpcloudManagedDatabasePostgresqlSessionsSessions:
|
|
520
|
+
def __init__(
|
|
521
|
+
self,
|
|
522
|
+
*,
|
|
523
|
+
backend_xid: typing.Optional[jsii.Number] = None,
|
|
524
|
+
backend_xmin: typing.Optional[jsii.Number] = None,
|
|
525
|
+
client_hostname: typing.Optional[builtins.str] = None,
|
|
526
|
+
xact_start: typing.Optional[builtins.str] = None,
|
|
527
|
+
) -> None:
|
|
528
|
+
'''
|
|
529
|
+
:param backend_xid: Top-level transaction identifier of this service, if any. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#backend_xid DataUpcloudManagedDatabasePostgresqlSessions#backend_xid}
|
|
530
|
+
:param backend_xmin: The current service's xmin horizon. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#backend_xmin DataUpcloudManagedDatabasePostgresqlSessions#backend_xmin}
|
|
531
|
+
:param client_hostname: Host name of the connected client, as reported by a reverse DNS lookup of ``client_addr``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#client_hostname DataUpcloudManagedDatabasePostgresqlSessions#client_hostname}
|
|
532
|
+
:param xact_start: Time when this process' current transaction was started, or null if no transaction is active. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#xact_start DataUpcloudManagedDatabasePostgresqlSessions#xact_start}
|
|
533
|
+
'''
|
|
534
|
+
if __debug__:
|
|
535
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57ec3b614936e25c6e3f84fc0b7fa845d1479abc373e328d4da778b1be8ee4cb)
|
|
536
|
+
check_type(argname="argument backend_xid", value=backend_xid, expected_type=type_hints["backend_xid"])
|
|
537
|
+
check_type(argname="argument backend_xmin", value=backend_xmin, expected_type=type_hints["backend_xmin"])
|
|
538
|
+
check_type(argname="argument client_hostname", value=client_hostname, expected_type=type_hints["client_hostname"])
|
|
539
|
+
check_type(argname="argument xact_start", value=xact_start, expected_type=type_hints["xact_start"])
|
|
540
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
541
|
+
if backend_xid is not None:
|
|
542
|
+
self._values["backend_xid"] = backend_xid
|
|
543
|
+
if backend_xmin is not None:
|
|
544
|
+
self._values["backend_xmin"] = backend_xmin
|
|
545
|
+
if client_hostname is not None:
|
|
546
|
+
self._values["client_hostname"] = client_hostname
|
|
547
|
+
if xact_start is not None:
|
|
548
|
+
self._values["xact_start"] = xact_start
|
|
549
|
+
|
|
550
|
+
@builtins.property
|
|
551
|
+
def backend_xid(self) -> typing.Optional[jsii.Number]:
|
|
552
|
+
'''Top-level transaction identifier of this service, if any.
|
|
553
|
+
|
|
554
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#backend_xid DataUpcloudManagedDatabasePostgresqlSessions#backend_xid}
|
|
555
|
+
'''
|
|
556
|
+
result = self._values.get("backend_xid")
|
|
557
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
558
|
+
|
|
559
|
+
@builtins.property
|
|
560
|
+
def backend_xmin(self) -> typing.Optional[jsii.Number]:
|
|
561
|
+
'''The current service's xmin horizon.
|
|
562
|
+
|
|
563
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#backend_xmin DataUpcloudManagedDatabasePostgresqlSessions#backend_xmin}
|
|
564
|
+
'''
|
|
565
|
+
result = self._values.get("backend_xmin")
|
|
566
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
567
|
+
|
|
568
|
+
@builtins.property
|
|
569
|
+
def client_hostname(self) -> typing.Optional[builtins.str]:
|
|
570
|
+
'''Host name of the connected client, as reported by a reverse DNS lookup of ``client_addr``.
|
|
571
|
+
|
|
572
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#client_hostname DataUpcloudManagedDatabasePostgresqlSessions#client_hostname}
|
|
573
|
+
'''
|
|
574
|
+
result = self._values.get("client_hostname")
|
|
575
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
576
|
+
|
|
577
|
+
@builtins.property
|
|
578
|
+
def xact_start(self) -> typing.Optional[builtins.str]:
|
|
579
|
+
'''Time when this process' current transaction was started, or null if no transaction is active.
|
|
580
|
+
|
|
581
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_postgresql_sessions#xact_start DataUpcloudManagedDatabasePostgresqlSessions#xact_start}
|
|
582
|
+
'''
|
|
583
|
+
result = self._values.get("xact_start")
|
|
584
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
585
|
+
|
|
586
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
587
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
588
|
+
|
|
589
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
590
|
+
return not (rhs == self)
|
|
591
|
+
|
|
592
|
+
def __repr__(self) -> str:
|
|
593
|
+
return "DataUpcloudManagedDatabasePostgresqlSessionsSessions(%s)" % ", ".join(
|
|
594
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
595
|
+
)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class DataUpcloudManagedDatabasePostgresqlSessionsSessionsList(
|
|
599
|
+
_cdktf_9a9027ec.ComplexList,
|
|
600
|
+
metaclass=jsii.JSIIMeta,
|
|
601
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabasePostgresqlSessions.DataUpcloudManagedDatabasePostgresqlSessionsSessionsList",
|
|
602
|
+
):
|
|
603
|
+
def __init__(
|
|
604
|
+
self,
|
|
605
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
606
|
+
terraform_attribute: builtins.str,
|
|
607
|
+
wraps_set: builtins.bool,
|
|
608
|
+
) -> None:
|
|
609
|
+
'''
|
|
610
|
+
:param terraform_resource: The parent resource.
|
|
611
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
612
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
613
|
+
'''
|
|
614
|
+
if __debug__:
|
|
615
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c92b565e7b0944ffec866b6137491d806a5ba161d858639607db05c43c379906)
|
|
616
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
617
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
618
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
619
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
620
|
+
|
|
621
|
+
@jsii.member(jsii_name="get")
|
|
622
|
+
def get(
|
|
623
|
+
self,
|
|
624
|
+
index: jsii.Number,
|
|
625
|
+
) -> "DataUpcloudManagedDatabasePostgresqlSessionsSessionsOutputReference":
|
|
626
|
+
'''
|
|
627
|
+
:param index: the index of the item to return.
|
|
628
|
+
'''
|
|
629
|
+
if __debug__:
|
|
630
|
+
type_hints = typing.get_type_hints(_typecheckingstub__61de951231e553fbcf983a586aa9aaad5fbf67b2276f3fc9d6ef5a2383610302)
|
|
631
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
632
|
+
return typing.cast("DataUpcloudManagedDatabasePostgresqlSessionsSessionsOutputReference", jsii.invoke(self, "get", [index]))
|
|
633
|
+
|
|
634
|
+
@builtins.property
|
|
635
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
636
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
637
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
638
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
639
|
+
|
|
640
|
+
@_terraform_attribute.setter
|
|
641
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
642
|
+
if __debug__:
|
|
643
|
+
type_hints = typing.get_type_hints(_typecheckingstub__26a141b97e21c6e6c9675aaf38f9392c6b889638f19cb6d91fe528d5b226e867)
|
|
644
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
645
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
646
|
+
|
|
647
|
+
@builtins.property
|
|
648
|
+
@jsii.member(jsii_name="terraformResource")
|
|
649
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
650
|
+
'''The parent resource.'''
|
|
651
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
652
|
+
|
|
653
|
+
@_terraform_resource.setter
|
|
654
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
655
|
+
if __debug__:
|
|
656
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3846315c5d599b56991b7004da6190014432cbef0ce8abf1544376a16a58e30f)
|
|
657
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
658
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
659
|
+
|
|
660
|
+
@builtins.property
|
|
661
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
662
|
+
def _wraps_set(self) -> builtins.bool:
|
|
663
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
664
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
665
|
+
|
|
666
|
+
@_wraps_set.setter
|
|
667
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
668
|
+
if __debug__:
|
|
669
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d86040e687c600d76c902c6f6c4ecc6497e006d7ac71d408e8af2a8d16a9f74d)
|
|
670
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
671
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
672
|
+
|
|
673
|
+
@builtins.property
|
|
674
|
+
@jsii.member(jsii_name="internalValue")
|
|
675
|
+
def internal_value(
|
|
676
|
+
self,
|
|
677
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabasePostgresqlSessionsSessions]]]:
|
|
678
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabasePostgresqlSessionsSessions]]], jsii.get(self, "internalValue"))
|
|
679
|
+
|
|
680
|
+
@internal_value.setter
|
|
681
|
+
def internal_value(
|
|
682
|
+
self,
|
|
683
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabasePostgresqlSessionsSessions]]],
|
|
684
|
+
) -> None:
|
|
685
|
+
if __debug__:
|
|
686
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9ea873ae56007bc5d75ed1f1bab628434bbee7c4f71a33516325b4eab2a0ccfe)
|
|
687
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
688
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
class DataUpcloudManagedDatabasePostgresqlSessionsSessionsOutputReference(
|
|
692
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
693
|
+
metaclass=jsii.JSIIMeta,
|
|
694
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabasePostgresqlSessions.DataUpcloudManagedDatabasePostgresqlSessionsSessionsOutputReference",
|
|
695
|
+
):
|
|
696
|
+
def __init__(
|
|
697
|
+
self,
|
|
698
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
699
|
+
terraform_attribute: builtins.str,
|
|
700
|
+
complex_object_index: jsii.Number,
|
|
701
|
+
complex_object_is_from_set: builtins.bool,
|
|
702
|
+
) -> None:
|
|
703
|
+
'''
|
|
704
|
+
:param terraform_resource: The parent resource.
|
|
705
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
706
|
+
:param complex_object_index: the index of this item in the list.
|
|
707
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
708
|
+
'''
|
|
709
|
+
if __debug__:
|
|
710
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6088ebb94c8dd8832c1e231bf4b276a7ed495facadc659f94e7dc61ffe00e8b4)
|
|
711
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
712
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
713
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
714
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
715
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
716
|
+
|
|
717
|
+
@jsii.member(jsii_name="resetBackendXid")
|
|
718
|
+
def reset_backend_xid(self) -> None:
|
|
719
|
+
return typing.cast(None, jsii.invoke(self, "resetBackendXid", []))
|
|
720
|
+
|
|
721
|
+
@jsii.member(jsii_name="resetBackendXmin")
|
|
722
|
+
def reset_backend_xmin(self) -> None:
|
|
723
|
+
return typing.cast(None, jsii.invoke(self, "resetBackendXmin", []))
|
|
724
|
+
|
|
725
|
+
@jsii.member(jsii_name="resetClientHostname")
|
|
726
|
+
def reset_client_hostname(self) -> None:
|
|
727
|
+
return typing.cast(None, jsii.invoke(self, "resetClientHostname", []))
|
|
728
|
+
|
|
729
|
+
@jsii.member(jsii_name="resetXactStart")
|
|
730
|
+
def reset_xact_start(self) -> None:
|
|
731
|
+
return typing.cast(None, jsii.invoke(self, "resetXactStart", []))
|
|
732
|
+
|
|
733
|
+
@builtins.property
|
|
734
|
+
@jsii.member(jsii_name="applicationName")
|
|
735
|
+
def application_name(self) -> builtins.str:
|
|
736
|
+
return typing.cast(builtins.str, jsii.get(self, "applicationName"))
|
|
737
|
+
|
|
738
|
+
@builtins.property
|
|
739
|
+
@jsii.member(jsii_name="backendStart")
|
|
740
|
+
def backend_start(self) -> builtins.str:
|
|
741
|
+
return typing.cast(builtins.str, jsii.get(self, "backendStart"))
|
|
742
|
+
|
|
743
|
+
@builtins.property
|
|
744
|
+
@jsii.member(jsii_name="backendType")
|
|
745
|
+
def backend_type(self) -> builtins.str:
|
|
746
|
+
return typing.cast(builtins.str, jsii.get(self, "backendType"))
|
|
747
|
+
|
|
748
|
+
@builtins.property
|
|
749
|
+
@jsii.member(jsii_name="clientAddr")
|
|
750
|
+
def client_addr(self) -> builtins.str:
|
|
751
|
+
return typing.cast(builtins.str, jsii.get(self, "clientAddr"))
|
|
752
|
+
|
|
753
|
+
@builtins.property
|
|
754
|
+
@jsii.member(jsii_name="clientPort")
|
|
755
|
+
def client_port(self) -> jsii.Number:
|
|
756
|
+
return typing.cast(jsii.Number, jsii.get(self, "clientPort"))
|
|
757
|
+
|
|
758
|
+
@builtins.property
|
|
759
|
+
@jsii.member(jsii_name="datid")
|
|
760
|
+
def datid(self) -> jsii.Number:
|
|
761
|
+
return typing.cast(jsii.Number, jsii.get(self, "datid"))
|
|
762
|
+
|
|
763
|
+
@builtins.property
|
|
764
|
+
@jsii.member(jsii_name="datname")
|
|
765
|
+
def datname(self) -> builtins.str:
|
|
766
|
+
return typing.cast(builtins.str, jsii.get(self, "datname"))
|
|
767
|
+
|
|
768
|
+
@builtins.property
|
|
769
|
+
@jsii.member(jsii_name="id")
|
|
770
|
+
def id(self) -> builtins.str:
|
|
771
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
772
|
+
|
|
773
|
+
@builtins.property
|
|
774
|
+
@jsii.member(jsii_name="query")
|
|
775
|
+
def query(self) -> builtins.str:
|
|
776
|
+
return typing.cast(builtins.str, jsii.get(self, "query"))
|
|
777
|
+
|
|
778
|
+
@builtins.property
|
|
779
|
+
@jsii.member(jsii_name="queryDuration")
|
|
780
|
+
def query_duration(self) -> builtins.str:
|
|
781
|
+
return typing.cast(builtins.str, jsii.get(self, "queryDuration"))
|
|
782
|
+
|
|
783
|
+
@builtins.property
|
|
784
|
+
@jsii.member(jsii_name="queryStart")
|
|
785
|
+
def query_start(self) -> builtins.str:
|
|
786
|
+
return typing.cast(builtins.str, jsii.get(self, "queryStart"))
|
|
787
|
+
|
|
788
|
+
@builtins.property
|
|
789
|
+
@jsii.member(jsii_name="state")
|
|
790
|
+
def state(self) -> builtins.str:
|
|
791
|
+
return typing.cast(builtins.str, jsii.get(self, "state"))
|
|
792
|
+
|
|
793
|
+
@builtins.property
|
|
794
|
+
@jsii.member(jsii_name="stateChange")
|
|
795
|
+
def state_change(self) -> builtins.str:
|
|
796
|
+
return typing.cast(builtins.str, jsii.get(self, "stateChange"))
|
|
797
|
+
|
|
798
|
+
@builtins.property
|
|
799
|
+
@jsii.member(jsii_name="usename")
|
|
800
|
+
def usename(self) -> builtins.str:
|
|
801
|
+
return typing.cast(builtins.str, jsii.get(self, "usename"))
|
|
802
|
+
|
|
803
|
+
@builtins.property
|
|
804
|
+
@jsii.member(jsii_name="usesysid")
|
|
805
|
+
def usesysid(self) -> jsii.Number:
|
|
806
|
+
return typing.cast(jsii.Number, jsii.get(self, "usesysid"))
|
|
807
|
+
|
|
808
|
+
@builtins.property
|
|
809
|
+
@jsii.member(jsii_name="waitEvent")
|
|
810
|
+
def wait_event(self) -> builtins.str:
|
|
811
|
+
return typing.cast(builtins.str, jsii.get(self, "waitEvent"))
|
|
812
|
+
|
|
813
|
+
@builtins.property
|
|
814
|
+
@jsii.member(jsii_name="waitEventType")
|
|
815
|
+
def wait_event_type(self) -> builtins.str:
|
|
816
|
+
return typing.cast(builtins.str, jsii.get(self, "waitEventType"))
|
|
817
|
+
|
|
818
|
+
@builtins.property
|
|
819
|
+
@jsii.member(jsii_name="backendXidInput")
|
|
820
|
+
def backend_xid_input(self) -> typing.Optional[jsii.Number]:
|
|
821
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "backendXidInput"))
|
|
822
|
+
|
|
823
|
+
@builtins.property
|
|
824
|
+
@jsii.member(jsii_name="backendXminInput")
|
|
825
|
+
def backend_xmin_input(self) -> typing.Optional[jsii.Number]:
|
|
826
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "backendXminInput"))
|
|
827
|
+
|
|
828
|
+
@builtins.property
|
|
829
|
+
@jsii.member(jsii_name="clientHostnameInput")
|
|
830
|
+
def client_hostname_input(self) -> typing.Optional[builtins.str]:
|
|
831
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clientHostnameInput"))
|
|
832
|
+
|
|
833
|
+
@builtins.property
|
|
834
|
+
@jsii.member(jsii_name="xactStartInput")
|
|
835
|
+
def xact_start_input(self) -> typing.Optional[builtins.str]:
|
|
836
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "xactStartInput"))
|
|
837
|
+
|
|
838
|
+
@builtins.property
|
|
839
|
+
@jsii.member(jsii_name="backendXid")
|
|
840
|
+
def backend_xid(self) -> jsii.Number:
|
|
841
|
+
return typing.cast(jsii.Number, jsii.get(self, "backendXid"))
|
|
842
|
+
|
|
843
|
+
@backend_xid.setter
|
|
844
|
+
def backend_xid(self, value: jsii.Number) -> None:
|
|
845
|
+
if __debug__:
|
|
846
|
+
type_hints = typing.get_type_hints(_typecheckingstub__23aef71e3569d3201ad0e3f73e29a11fd4a4a874fc25d5ee2bb8536a4e806414)
|
|
847
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
848
|
+
jsii.set(self, "backendXid", value) # pyright: ignore[reportArgumentType]
|
|
849
|
+
|
|
850
|
+
@builtins.property
|
|
851
|
+
@jsii.member(jsii_name="backendXmin")
|
|
852
|
+
def backend_xmin(self) -> jsii.Number:
|
|
853
|
+
return typing.cast(jsii.Number, jsii.get(self, "backendXmin"))
|
|
854
|
+
|
|
855
|
+
@backend_xmin.setter
|
|
856
|
+
def backend_xmin(self, value: jsii.Number) -> None:
|
|
857
|
+
if __debug__:
|
|
858
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ec447e93c835010e1528f9d63c4d6c34bf8058c9f2cbf6a873f37bd7c015f289)
|
|
859
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
860
|
+
jsii.set(self, "backendXmin", value) # pyright: ignore[reportArgumentType]
|
|
861
|
+
|
|
862
|
+
@builtins.property
|
|
863
|
+
@jsii.member(jsii_name="clientHostname")
|
|
864
|
+
def client_hostname(self) -> builtins.str:
|
|
865
|
+
return typing.cast(builtins.str, jsii.get(self, "clientHostname"))
|
|
866
|
+
|
|
867
|
+
@client_hostname.setter
|
|
868
|
+
def client_hostname(self, value: builtins.str) -> None:
|
|
869
|
+
if __debug__:
|
|
870
|
+
type_hints = typing.get_type_hints(_typecheckingstub__065257c22d044f649f054f7261ee53c301f25a668dc2c857af8ec2453d5c3dc1)
|
|
871
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
872
|
+
jsii.set(self, "clientHostname", value) # pyright: ignore[reportArgumentType]
|
|
873
|
+
|
|
874
|
+
@builtins.property
|
|
875
|
+
@jsii.member(jsii_name="xactStart")
|
|
876
|
+
def xact_start(self) -> builtins.str:
|
|
877
|
+
return typing.cast(builtins.str, jsii.get(self, "xactStart"))
|
|
878
|
+
|
|
879
|
+
@xact_start.setter
|
|
880
|
+
def xact_start(self, value: builtins.str) -> None:
|
|
881
|
+
if __debug__:
|
|
882
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0cf4b4d2f154901657ebf44f97d2d2399ae6010d0d1d9735d3a2bc91ca3f9db0)
|
|
883
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
884
|
+
jsii.set(self, "xactStart", value) # pyright: ignore[reportArgumentType]
|
|
885
|
+
|
|
886
|
+
@builtins.property
|
|
887
|
+
@jsii.member(jsii_name="internalValue")
|
|
888
|
+
def internal_value(
|
|
889
|
+
self,
|
|
890
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabasePostgresqlSessionsSessions]]:
|
|
891
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabasePostgresqlSessionsSessions]], jsii.get(self, "internalValue"))
|
|
892
|
+
|
|
893
|
+
@internal_value.setter
|
|
894
|
+
def internal_value(
|
|
895
|
+
self,
|
|
896
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabasePostgresqlSessionsSessions]],
|
|
897
|
+
) -> None:
|
|
898
|
+
if __debug__:
|
|
899
|
+
type_hints = typing.get_type_hints(_typecheckingstub__089b164ee14380b9e01a5973ac85d8c97100ef6334c79355fbfa46759a01d946)
|
|
900
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
901
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
__all__ = [
|
|
905
|
+
"DataUpcloudManagedDatabasePostgresqlSessions",
|
|
906
|
+
"DataUpcloudManagedDatabasePostgresqlSessionsConfig",
|
|
907
|
+
"DataUpcloudManagedDatabasePostgresqlSessionsSessions",
|
|
908
|
+
"DataUpcloudManagedDatabasePostgresqlSessionsSessionsList",
|
|
909
|
+
"DataUpcloudManagedDatabasePostgresqlSessionsSessionsOutputReference",
|
|
910
|
+
]
|
|
911
|
+
|
|
912
|
+
publication.publish()
|
|
913
|
+
|
|
914
|
+
def _typecheckingstub__74df70385397c400e40bf25695357a3541a4d60f1aef033a41b6feb2db3e488b(
|
|
915
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
916
|
+
id_: builtins.str,
|
|
917
|
+
*,
|
|
918
|
+
service: builtins.str,
|
|
919
|
+
id: typing.Optional[builtins.str] = None,
|
|
920
|
+
limit: typing.Optional[jsii.Number] = None,
|
|
921
|
+
offset: typing.Optional[jsii.Number] = None,
|
|
922
|
+
order: typing.Optional[builtins.str] = None,
|
|
923
|
+
sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabasePostgresqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
924
|
+
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,
|
|
925
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
926
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
927
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
928
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
929
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
930
|
+
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,
|
|
931
|
+
) -> None:
|
|
932
|
+
"""Type checking stubs"""
|
|
933
|
+
pass
|
|
934
|
+
|
|
935
|
+
def _typecheckingstub__9cafa457e2061508f9c1adf3df65a70a7392c81f0c0422040b990e41001abb17(
|
|
936
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
937
|
+
import_to_id: builtins.str,
|
|
938
|
+
import_from_id: builtins.str,
|
|
939
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
940
|
+
) -> None:
|
|
941
|
+
"""Type checking stubs"""
|
|
942
|
+
pass
|
|
943
|
+
|
|
944
|
+
def _typecheckingstub__ae272cc7c90414635b361703a59cbedff148c37dc3bc47bb4300d4b23abcedb3(
|
|
945
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabasePostgresqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]],
|
|
946
|
+
) -> None:
|
|
947
|
+
"""Type checking stubs"""
|
|
948
|
+
pass
|
|
949
|
+
|
|
950
|
+
def _typecheckingstub__a2ae758ed5b4903055d0b591b26c37ed702dbee7d13a1cdc16c639de933a3352(
|
|
951
|
+
value: builtins.str,
|
|
952
|
+
) -> None:
|
|
953
|
+
"""Type checking stubs"""
|
|
954
|
+
pass
|
|
955
|
+
|
|
956
|
+
def _typecheckingstub__a570a723c7894e5fc5914c900d359a386217a815f6a1d5eafe02159ce6b50282(
|
|
957
|
+
value: jsii.Number,
|
|
958
|
+
) -> None:
|
|
959
|
+
"""Type checking stubs"""
|
|
960
|
+
pass
|
|
961
|
+
|
|
962
|
+
def _typecheckingstub__3f2c8ac86a938bdfe76b5b6d7ff43e2353b072223ff4359d371e2da4a9b90fda(
|
|
963
|
+
value: jsii.Number,
|
|
964
|
+
) -> None:
|
|
965
|
+
"""Type checking stubs"""
|
|
966
|
+
pass
|
|
967
|
+
|
|
968
|
+
def _typecheckingstub__d04d770494b31ff465f1ed442616eb4c84ace8b7a7b9056bfac0edeb567d0154(
|
|
969
|
+
value: builtins.str,
|
|
970
|
+
) -> None:
|
|
971
|
+
"""Type checking stubs"""
|
|
972
|
+
pass
|
|
973
|
+
|
|
974
|
+
def _typecheckingstub__b115f9a6a886661fd8c995efbed30d680ac743da19b05f7a4c513c9d01b78f34(
|
|
975
|
+
value: builtins.str,
|
|
976
|
+
) -> None:
|
|
977
|
+
"""Type checking stubs"""
|
|
978
|
+
pass
|
|
979
|
+
|
|
980
|
+
def _typecheckingstub__88854b025ff3c933ddd355a408e41a2724d0b374b2a711daef23b4440dbd79cd(
|
|
981
|
+
*,
|
|
982
|
+
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,
|
|
983
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
984
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
985
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
986
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
987
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
988
|
+
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,
|
|
989
|
+
service: builtins.str,
|
|
990
|
+
id: typing.Optional[builtins.str] = None,
|
|
991
|
+
limit: typing.Optional[jsii.Number] = None,
|
|
992
|
+
offset: typing.Optional[jsii.Number] = None,
|
|
993
|
+
order: typing.Optional[builtins.str] = None,
|
|
994
|
+
sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabasePostgresqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
995
|
+
) -> None:
|
|
996
|
+
"""Type checking stubs"""
|
|
997
|
+
pass
|
|
998
|
+
|
|
999
|
+
def _typecheckingstub__57ec3b614936e25c6e3f84fc0b7fa845d1479abc373e328d4da778b1be8ee4cb(
|
|
1000
|
+
*,
|
|
1001
|
+
backend_xid: typing.Optional[jsii.Number] = None,
|
|
1002
|
+
backend_xmin: typing.Optional[jsii.Number] = None,
|
|
1003
|
+
client_hostname: typing.Optional[builtins.str] = None,
|
|
1004
|
+
xact_start: typing.Optional[builtins.str] = None,
|
|
1005
|
+
) -> None:
|
|
1006
|
+
"""Type checking stubs"""
|
|
1007
|
+
pass
|
|
1008
|
+
|
|
1009
|
+
def _typecheckingstub__c92b565e7b0944ffec866b6137491d806a5ba161d858639607db05c43c379906(
|
|
1010
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1011
|
+
terraform_attribute: builtins.str,
|
|
1012
|
+
wraps_set: builtins.bool,
|
|
1013
|
+
) -> None:
|
|
1014
|
+
"""Type checking stubs"""
|
|
1015
|
+
pass
|
|
1016
|
+
|
|
1017
|
+
def _typecheckingstub__61de951231e553fbcf983a586aa9aaad5fbf67b2276f3fc9d6ef5a2383610302(
|
|
1018
|
+
index: jsii.Number,
|
|
1019
|
+
) -> None:
|
|
1020
|
+
"""Type checking stubs"""
|
|
1021
|
+
pass
|
|
1022
|
+
|
|
1023
|
+
def _typecheckingstub__26a141b97e21c6e6c9675aaf38f9392c6b889638f19cb6d91fe528d5b226e867(
|
|
1024
|
+
value: builtins.str,
|
|
1025
|
+
) -> None:
|
|
1026
|
+
"""Type checking stubs"""
|
|
1027
|
+
pass
|
|
1028
|
+
|
|
1029
|
+
def _typecheckingstub__3846315c5d599b56991b7004da6190014432cbef0ce8abf1544376a16a58e30f(
|
|
1030
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1031
|
+
) -> None:
|
|
1032
|
+
"""Type checking stubs"""
|
|
1033
|
+
pass
|
|
1034
|
+
|
|
1035
|
+
def _typecheckingstub__d86040e687c600d76c902c6f6c4ecc6497e006d7ac71d408e8af2a8d16a9f74d(
|
|
1036
|
+
value: builtins.bool,
|
|
1037
|
+
) -> None:
|
|
1038
|
+
"""Type checking stubs"""
|
|
1039
|
+
pass
|
|
1040
|
+
|
|
1041
|
+
def _typecheckingstub__9ea873ae56007bc5d75ed1f1bab628434bbee7c4f71a33516325b4eab2a0ccfe(
|
|
1042
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabasePostgresqlSessionsSessions]]],
|
|
1043
|
+
) -> None:
|
|
1044
|
+
"""Type checking stubs"""
|
|
1045
|
+
pass
|
|
1046
|
+
|
|
1047
|
+
def _typecheckingstub__6088ebb94c8dd8832c1e231bf4b276a7ed495facadc659f94e7dc61ffe00e8b4(
|
|
1048
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1049
|
+
terraform_attribute: builtins.str,
|
|
1050
|
+
complex_object_index: jsii.Number,
|
|
1051
|
+
complex_object_is_from_set: builtins.bool,
|
|
1052
|
+
) -> None:
|
|
1053
|
+
"""Type checking stubs"""
|
|
1054
|
+
pass
|
|
1055
|
+
|
|
1056
|
+
def _typecheckingstub__23aef71e3569d3201ad0e3f73e29a11fd4a4a874fc25d5ee2bb8536a4e806414(
|
|
1057
|
+
value: jsii.Number,
|
|
1058
|
+
) -> None:
|
|
1059
|
+
"""Type checking stubs"""
|
|
1060
|
+
pass
|
|
1061
|
+
|
|
1062
|
+
def _typecheckingstub__ec447e93c835010e1528f9d63c4d6c34bf8058c9f2cbf6a873f37bd7c015f289(
|
|
1063
|
+
value: jsii.Number,
|
|
1064
|
+
) -> None:
|
|
1065
|
+
"""Type checking stubs"""
|
|
1066
|
+
pass
|
|
1067
|
+
|
|
1068
|
+
def _typecheckingstub__065257c22d044f649f054f7261ee53c301f25a668dc2c857af8ec2453d5c3dc1(
|
|
1069
|
+
value: builtins.str,
|
|
1070
|
+
) -> None:
|
|
1071
|
+
"""Type checking stubs"""
|
|
1072
|
+
pass
|
|
1073
|
+
|
|
1074
|
+
def _typecheckingstub__0cf4b4d2f154901657ebf44f97d2d2399ae6010d0d1d9735d3a2bc91ca3f9db0(
|
|
1075
|
+
value: builtins.str,
|
|
1076
|
+
) -> None:
|
|
1077
|
+
"""Type checking stubs"""
|
|
1078
|
+
pass
|
|
1079
|
+
|
|
1080
|
+
def _typecheckingstub__089b164ee14380b9e01a5973ac85d8c97100ef6334c79355fbfa46759a01d946(
|
|
1081
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabasePostgresqlSessionsSessions]],
|
|
1082
|
+
) -> None:
|
|
1083
|
+
"""Type checking stubs"""
|
|
1084
|
+
pass
|