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.
Files changed (66) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +247 -0
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
  7. cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
  13. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
  14. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
  15. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
  16. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
  18. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
  19. cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
  20. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
  21. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
  22. cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
  23. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
  24. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
  25. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
  26. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
  27. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
  28. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
  29. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
  30. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
  31. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
  33. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
  34. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
  35. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
  36. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
  37. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
  38. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
  39. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
  40. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
  41. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
  42. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
  43. cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
  44. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
  47. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
  48. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
  49. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
  50. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
  51. cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
  52. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
  53. cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
  54. cdktf_cdktf_provider_upcloud/py.typed +1 -0
  55. cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
  56. cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
  57. cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
  58. cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
  59. cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
  60. cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
  61. cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
  62. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
  63. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
  64. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
  65. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
  66. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,853 @@
1
+ r'''
2
+ # `data_upcloud_managed_database_mysql_sessions`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_mysql_sessions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_mysql_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 DataUpcloudManagedDatabaseMysqlSessions(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessions",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_mysql_sessions upcloud_managed_database_mysql_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["DataUpcloudManagedDatabaseMysqlSessionsSessions", 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_mysql_sessions upcloud_managed_database_mysql_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_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#service}
73
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#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__cf2a814e563a8de7f43aa89c1d19998959ca4c33bc97ea4317cd62dec302df9f)
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 = DataUpcloudManagedDatabaseMysqlSessionsConfig(
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 DataUpcloudManagedDatabaseMysqlSessions 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 DataUpcloudManagedDatabaseMysqlSessions to import.
121
+ :param import_from_id: The id of the existing DataUpcloudManagedDatabaseMysqlSessions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_mysql_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 DataUpcloudManagedDatabaseMysqlSessions to import is found.
123
+ '''
124
+ if __debug__:
125
+ type_hints = typing.get_type_hints(_typecheckingstub__31e8f9c97eab27cab246c4ffa3b0fc025f65bb672046ad6593b8575b6e555210)
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["DataUpcloudManagedDatabaseMysqlSessionsSessions", typing.Dict[builtins.str, typing.Any]]]],
136
+ ) -> None:
137
+ '''
138
+ :param value: -
139
+ '''
140
+ if __debug__:
141
+ type_hints = typing.get_type_hints(_typecheckingstub__29d35f58979958453f3ba029f2531f1613c526ed74c15e2390add600d7091532)
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) -> "DataUpcloudManagedDatabaseMysqlSessionsSessionsList":
181
+ return typing.cast("DataUpcloudManagedDatabaseMysqlSessionsSessionsList", 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["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]]:
213
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]], 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__7ffe3b315ee68351aab0ce756be4579ff140b761b36fbf54a5c57059969df3c7)
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__41cfac678b7de81568a597ee3b57c9708412ab5618f6b77a902da6b437086574)
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__5640ee34267e1fbee56de6fef17212a179d24117da2c226e500f3b57d2b5b07d)
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__39b7fabeab5eaabd4865e20d3e8ca65ca769b139f64b37b7b4e51484571c2f2c)
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__705b3fde757d4a12d8ac045b64cf384be5149134d2fa7708af989b528ec38865)
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.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessionsConfig",
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 DataUpcloudManagedDatabaseMysqlSessionsConfig(
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["DataUpcloudManagedDatabaseMysqlSessionsSessions", 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_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#service}
324
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#sessions}
329
+ '''
330
+ if isinstance(lifecycle, dict):
331
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
332
+ if __debug__:
333
+ type_hints = typing.get_type_hints(_typecheckingstub__7b5d5219b7b6fa1da44db86daa663552d614b14151eb9460b9ac89a9d6056eab)
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_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#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_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#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["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]]:
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_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#sessions}
493
+ '''
494
+ result = self._values.get("sessions")
495
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]], 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 "DataUpcloudManagedDatabaseMysqlSessionsConfig(%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.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessionsSessions",
511
+ jsii_struct_bases=[],
512
+ name_mapping={},
513
+ )
514
+ class DataUpcloudManagedDatabaseMysqlSessionsSessions:
515
+ def __init__(self) -> None:
516
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
517
+
518
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
519
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
520
+
521
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
522
+ return not (rhs == self)
523
+
524
+ def __repr__(self) -> str:
525
+ return "DataUpcloudManagedDatabaseMysqlSessionsSessions(%s)" % ", ".join(
526
+ k + "=" + repr(v) for k, v in self._values.items()
527
+ )
528
+
529
+
530
+ class DataUpcloudManagedDatabaseMysqlSessionsSessionsList(
531
+ _cdktf_9a9027ec.ComplexList,
532
+ metaclass=jsii.JSIIMeta,
533
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessionsSessionsList",
534
+ ):
535
+ def __init__(
536
+ self,
537
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
538
+ terraform_attribute: builtins.str,
539
+ wraps_set: builtins.bool,
540
+ ) -> None:
541
+ '''
542
+ :param terraform_resource: The parent resource.
543
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
544
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
545
+ '''
546
+ if __debug__:
547
+ type_hints = typing.get_type_hints(_typecheckingstub__483f9e64fb817480a06efd87f7023eb70ada41f595eb8da977096021d56327d6)
548
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
549
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
550
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
551
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
552
+
553
+ @jsii.member(jsii_name="get")
554
+ def get(
555
+ self,
556
+ index: jsii.Number,
557
+ ) -> "DataUpcloudManagedDatabaseMysqlSessionsSessionsOutputReference":
558
+ '''
559
+ :param index: the index of the item to return.
560
+ '''
561
+ if __debug__:
562
+ type_hints = typing.get_type_hints(_typecheckingstub__6e4f9735c66aa9f164a38df430f14cc0d413fef678b9924cb9d352f630519c2c)
563
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
564
+ return typing.cast("DataUpcloudManagedDatabaseMysqlSessionsSessionsOutputReference", jsii.invoke(self, "get", [index]))
565
+
566
+ @builtins.property
567
+ @jsii.member(jsii_name="terraformAttribute")
568
+ def _terraform_attribute(self) -> builtins.str:
569
+ '''The attribute on the parent resource this class is referencing.'''
570
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
571
+
572
+ @_terraform_attribute.setter
573
+ def _terraform_attribute(self, value: builtins.str) -> None:
574
+ if __debug__:
575
+ type_hints = typing.get_type_hints(_typecheckingstub__2a26fe7b8368c1ae0a842947bc88309982c9f7055755cc28b5c681e680ccc6f5)
576
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
577
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
578
+
579
+ @builtins.property
580
+ @jsii.member(jsii_name="terraformResource")
581
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
582
+ '''The parent resource.'''
583
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
584
+
585
+ @_terraform_resource.setter
586
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
587
+ if __debug__:
588
+ type_hints = typing.get_type_hints(_typecheckingstub__94184d2da1426733f95c7ed6a592e8fd496b63b6b01bcac9f3b795564be04db7)
589
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
590
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
591
+
592
+ @builtins.property
593
+ @jsii.member(jsii_name="wrapsSet")
594
+ def _wraps_set(self) -> builtins.bool:
595
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
596
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
597
+
598
+ @_wraps_set.setter
599
+ def _wraps_set(self, value: builtins.bool) -> None:
600
+ if __debug__:
601
+ type_hints = typing.get_type_hints(_typecheckingstub__ed6f2771e8cd646a7ccbcc9f2cb24a7e7404414f9c46a9e8fc312d2ecdf8b9a6)
602
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
603
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
604
+
605
+ @builtins.property
606
+ @jsii.member(jsii_name="internalValue")
607
+ def internal_value(
608
+ self,
609
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseMysqlSessionsSessions]]]:
610
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseMysqlSessionsSessions]]], jsii.get(self, "internalValue"))
611
+
612
+ @internal_value.setter
613
+ def internal_value(
614
+ self,
615
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseMysqlSessionsSessions]]],
616
+ ) -> None:
617
+ if __debug__:
618
+ type_hints = typing.get_type_hints(_typecheckingstub__a7409fa146cca47599fb207cff67717f6aa2bd71fcaf7c7231a2442ea3ebbb48)
619
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
620
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
621
+
622
+
623
+ class DataUpcloudManagedDatabaseMysqlSessionsSessionsOutputReference(
624
+ _cdktf_9a9027ec.ComplexObject,
625
+ metaclass=jsii.JSIIMeta,
626
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessionsSessionsOutputReference",
627
+ ):
628
+ def __init__(
629
+ self,
630
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
631
+ terraform_attribute: builtins.str,
632
+ complex_object_index: jsii.Number,
633
+ complex_object_is_from_set: builtins.bool,
634
+ ) -> None:
635
+ '''
636
+ :param terraform_resource: The parent resource.
637
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
638
+ :param complex_object_index: the index of this item in the list.
639
+ :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).
640
+ '''
641
+ if __debug__:
642
+ type_hints = typing.get_type_hints(_typecheckingstub__8274bc0f18f003c5efa40d9ccd3cf9d364ab907ffffc126fa2f46dcd1cf956f3)
643
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
644
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
645
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
646
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
647
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
648
+
649
+ @builtins.property
650
+ @jsii.member(jsii_name="applicationName")
651
+ def application_name(self) -> builtins.str:
652
+ return typing.cast(builtins.str, jsii.get(self, "applicationName"))
653
+
654
+ @builtins.property
655
+ @jsii.member(jsii_name="clientAddr")
656
+ def client_addr(self) -> builtins.str:
657
+ return typing.cast(builtins.str, jsii.get(self, "clientAddr"))
658
+
659
+ @builtins.property
660
+ @jsii.member(jsii_name="datname")
661
+ def datname(self) -> builtins.str:
662
+ return typing.cast(builtins.str, jsii.get(self, "datname"))
663
+
664
+ @builtins.property
665
+ @jsii.member(jsii_name="id")
666
+ def id(self) -> builtins.str:
667
+ return typing.cast(builtins.str, jsii.get(self, "id"))
668
+
669
+ @builtins.property
670
+ @jsii.member(jsii_name="query")
671
+ def query(self) -> builtins.str:
672
+ return typing.cast(builtins.str, jsii.get(self, "query"))
673
+
674
+ @builtins.property
675
+ @jsii.member(jsii_name="queryDuration")
676
+ def query_duration(self) -> builtins.str:
677
+ return typing.cast(builtins.str, jsii.get(self, "queryDuration"))
678
+
679
+ @builtins.property
680
+ @jsii.member(jsii_name="state")
681
+ def state(self) -> builtins.str:
682
+ return typing.cast(builtins.str, jsii.get(self, "state"))
683
+
684
+ @builtins.property
685
+ @jsii.member(jsii_name="usename")
686
+ def usename(self) -> builtins.str:
687
+ return typing.cast(builtins.str, jsii.get(self, "usename"))
688
+
689
+ @builtins.property
690
+ @jsii.member(jsii_name="internalValue")
691
+ def internal_value(
692
+ self,
693
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseMysqlSessionsSessions]]:
694
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseMysqlSessionsSessions]], jsii.get(self, "internalValue"))
695
+
696
+ @internal_value.setter
697
+ def internal_value(
698
+ self,
699
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseMysqlSessionsSessions]],
700
+ ) -> None:
701
+ if __debug__:
702
+ type_hints = typing.get_type_hints(_typecheckingstub__1a0b7a1f74a662bacc50f66297e2c1e95b66e66499195d4d1cbaefe604909919)
703
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
704
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
705
+
706
+
707
+ __all__ = [
708
+ "DataUpcloudManagedDatabaseMysqlSessions",
709
+ "DataUpcloudManagedDatabaseMysqlSessionsConfig",
710
+ "DataUpcloudManagedDatabaseMysqlSessionsSessions",
711
+ "DataUpcloudManagedDatabaseMysqlSessionsSessionsList",
712
+ "DataUpcloudManagedDatabaseMysqlSessionsSessionsOutputReference",
713
+ ]
714
+
715
+ publication.publish()
716
+
717
+ def _typecheckingstub__cf2a814e563a8de7f43aa89c1d19998959ca4c33bc97ea4317cd62dec302df9f(
718
+ scope: _constructs_77d1e7e8.Construct,
719
+ id_: builtins.str,
720
+ *,
721
+ service: builtins.str,
722
+ id: typing.Optional[builtins.str] = None,
723
+ limit: typing.Optional[jsii.Number] = None,
724
+ offset: typing.Optional[jsii.Number] = None,
725
+ order: typing.Optional[builtins.str] = None,
726
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseMysqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
727
+ 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,
728
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
729
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
730
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
731
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
732
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
733
+ 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,
734
+ ) -> None:
735
+ """Type checking stubs"""
736
+ pass
737
+
738
+ def _typecheckingstub__31e8f9c97eab27cab246c4ffa3b0fc025f65bb672046ad6593b8575b6e555210(
739
+ scope: _constructs_77d1e7e8.Construct,
740
+ import_to_id: builtins.str,
741
+ import_from_id: builtins.str,
742
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
743
+ ) -> None:
744
+ """Type checking stubs"""
745
+ pass
746
+
747
+ def _typecheckingstub__29d35f58979958453f3ba029f2531f1613c526ed74c15e2390add600d7091532(
748
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseMysqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]],
749
+ ) -> None:
750
+ """Type checking stubs"""
751
+ pass
752
+
753
+ def _typecheckingstub__7ffe3b315ee68351aab0ce756be4579ff140b761b36fbf54a5c57059969df3c7(
754
+ value: builtins.str,
755
+ ) -> None:
756
+ """Type checking stubs"""
757
+ pass
758
+
759
+ def _typecheckingstub__41cfac678b7de81568a597ee3b57c9708412ab5618f6b77a902da6b437086574(
760
+ value: jsii.Number,
761
+ ) -> None:
762
+ """Type checking stubs"""
763
+ pass
764
+
765
+ def _typecheckingstub__5640ee34267e1fbee56de6fef17212a179d24117da2c226e500f3b57d2b5b07d(
766
+ value: jsii.Number,
767
+ ) -> None:
768
+ """Type checking stubs"""
769
+ pass
770
+
771
+ def _typecheckingstub__39b7fabeab5eaabd4865e20d3e8ca65ca769b139f64b37b7b4e51484571c2f2c(
772
+ value: builtins.str,
773
+ ) -> None:
774
+ """Type checking stubs"""
775
+ pass
776
+
777
+ def _typecheckingstub__705b3fde757d4a12d8ac045b64cf384be5149134d2fa7708af989b528ec38865(
778
+ value: builtins.str,
779
+ ) -> None:
780
+ """Type checking stubs"""
781
+ pass
782
+
783
+ def _typecheckingstub__7b5d5219b7b6fa1da44db86daa663552d614b14151eb9460b9ac89a9d6056eab(
784
+ *,
785
+ 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,
786
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
787
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
788
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
789
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
790
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
791
+ 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,
792
+ service: builtins.str,
793
+ id: typing.Optional[builtins.str] = None,
794
+ limit: typing.Optional[jsii.Number] = None,
795
+ offset: typing.Optional[jsii.Number] = None,
796
+ order: typing.Optional[builtins.str] = None,
797
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseMysqlSessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
798
+ ) -> None:
799
+ """Type checking stubs"""
800
+ pass
801
+
802
+ def _typecheckingstub__483f9e64fb817480a06efd87f7023eb70ada41f595eb8da977096021d56327d6(
803
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
804
+ terraform_attribute: builtins.str,
805
+ wraps_set: builtins.bool,
806
+ ) -> None:
807
+ """Type checking stubs"""
808
+ pass
809
+
810
+ def _typecheckingstub__6e4f9735c66aa9f164a38df430f14cc0d413fef678b9924cb9d352f630519c2c(
811
+ index: jsii.Number,
812
+ ) -> None:
813
+ """Type checking stubs"""
814
+ pass
815
+
816
+ def _typecheckingstub__2a26fe7b8368c1ae0a842947bc88309982c9f7055755cc28b5c681e680ccc6f5(
817
+ value: builtins.str,
818
+ ) -> None:
819
+ """Type checking stubs"""
820
+ pass
821
+
822
+ def _typecheckingstub__94184d2da1426733f95c7ed6a592e8fd496b63b6b01bcac9f3b795564be04db7(
823
+ value: _cdktf_9a9027ec.IInterpolatingParent,
824
+ ) -> None:
825
+ """Type checking stubs"""
826
+ pass
827
+
828
+ def _typecheckingstub__ed6f2771e8cd646a7ccbcc9f2cb24a7e7404414f9c46a9e8fc312d2ecdf8b9a6(
829
+ value: builtins.bool,
830
+ ) -> None:
831
+ """Type checking stubs"""
832
+ pass
833
+
834
+ def _typecheckingstub__a7409fa146cca47599fb207cff67717f6aa2bd71fcaf7c7231a2442ea3ebbb48(
835
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseMysqlSessionsSessions]]],
836
+ ) -> None:
837
+ """Type checking stubs"""
838
+ pass
839
+
840
+ def _typecheckingstub__8274bc0f18f003c5efa40d9ccd3cf9d364ab907ffffc126fa2f46dcd1cf956f3(
841
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
842
+ terraform_attribute: builtins.str,
843
+ complex_object_index: jsii.Number,
844
+ complex_object_is_from_set: builtins.bool,
845
+ ) -> None:
846
+ """Type checking stubs"""
847
+ pass
848
+
849
+ def _typecheckingstub__1a0b7a1f74a662bacc50f66297e2c1e95b66e66499195d4d1cbaefe604909919(
850
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseMysqlSessionsSessions]],
851
+ ) -> None:
852
+ """Type checking stubs"""
853
+ pass