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,1093 @@
1
+ r'''
2
+ # `data_upcloud_networks`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_networks`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks).
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 DataUpcloudNetworks(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworks",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks upcloud_networks}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id_: builtins.str,
53
+ *,
54
+ filter_name: typing.Optional[builtins.str] = None,
55
+ id: typing.Optional[builtins.str] = None,
56
+ zone: typing.Optional[builtins.str] = None,
57
+ 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,
58
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
59
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
60
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
61
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
62
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
63
+ 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,
64
+ ) -> None:
65
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks upcloud_networks} Data Source.
66
+
67
+ :param scope: The scope in which to define this construct.
68
+ :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
69
+ :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
70
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#id DataUpcloudNetworks#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.
71
+ :param zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
72
+ :param connection:
73
+ :param count:
74
+ :param depends_on:
75
+ :param for_each:
76
+ :param lifecycle:
77
+ :param provider:
78
+ :param provisioners:
79
+ '''
80
+ if __debug__:
81
+ type_hints = typing.get_type_hints(_typecheckingstub__a88021d64633831bc1edddf2d15af10f7c904123a6932302e06f473a18ae7b3e)
82
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
83
+ check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
84
+ config = DataUpcloudNetworksConfig(
85
+ filter_name=filter_name,
86
+ id=id,
87
+ zone=zone,
88
+ connection=connection,
89
+ count=count,
90
+ depends_on=depends_on,
91
+ for_each=for_each,
92
+ lifecycle=lifecycle,
93
+ provider=provider,
94
+ provisioners=provisioners,
95
+ )
96
+
97
+ jsii.create(self.__class__, self, [scope, id_, config])
98
+
99
+ @jsii.member(jsii_name="generateConfigForImport")
100
+ @builtins.classmethod
101
+ def generate_config_for_import(
102
+ cls,
103
+ scope: _constructs_77d1e7e8.Construct,
104
+ import_to_id: builtins.str,
105
+ import_from_id: builtins.str,
106
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
107
+ ) -> _cdktf_9a9027ec.ImportableResource:
108
+ '''Generates CDKTF code for importing a DataUpcloudNetworks resource upon running "cdktf plan ".
109
+
110
+ :param scope: The scope in which to define this construct.
111
+ :param import_to_id: The construct id used in the generated config for the DataUpcloudNetworks to import.
112
+ :param import_from_id: The id of the existing DataUpcloudNetworks that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#import import section} in the documentation of this resource for the id to use
113
+ :param provider: ? Optional instance of the provider where the DataUpcloudNetworks to import is found.
114
+ '''
115
+ if __debug__:
116
+ type_hints = typing.get_type_hints(_typecheckingstub__ef7ce67233811bb392b4f7c805b972b4504f87631c2742b70288d67594e7c5a1)
117
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
118
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
119
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
120
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
121
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
122
+
123
+ @jsii.member(jsii_name="resetFilterName")
124
+ def reset_filter_name(self) -> None:
125
+ return typing.cast(None, jsii.invoke(self, "resetFilterName", []))
126
+
127
+ @jsii.member(jsii_name="resetId")
128
+ def reset_id(self) -> None:
129
+ return typing.cast(None, jsii.invoke(self, "resetId", []))
130
+
131
+ @jsii.member(jsii_name="resetZone")
132
+ def reset_zone(self) -> None:
133
+ return typing.cast(None, jsii.invoke(self, "resetZone", []))
134
+
135
+ @jsii.member(jsii_name="synthesizeAttributes")
136
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
137
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
138
+
139
+ @jsii.member(jsii_name="synthesizeHclAttributes")
140
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
141
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
142
+
143
+ @jsii.python.classproperty
144
+ @jsii.member(jsii_name="tfResourceType")
145
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
146
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
147
+
148
+ @builtins.property
149
+ @jsii.member(jsii_name="networks")
150
+ def networks(self) -> "DataUpcloudNetworksNetworksList":
151
+ return typing.cast("DataUpcloudNetworksNetworksList", jsii.get(self, "networks"))
152
+
153
+ @builtins.property
154
+ @jsii.member(jsii_name="filterNameInput")
155
+ def filter_name_input(self) -> typing.Optional[builtins.str]:
156
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "filterNameInput"))
157
+
158
+ @builtins.property
159
+ @jsii.member(jsii_name="idInput")
160
+ def id_input(self) -> typing.Optional[builtins.str]:
161
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
162
+
163
+ @builtins.property
164
+ @jsii.member(jsii_name="zoneInput")
165
+ def zone_input(self) -> typing.Optional[builtins.str]:
166
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "zoneInput"))
167
+
168
+ @builtins.property
169
+ @jsii.member(jsii_name="filterName")
170
+ def filter_name(self) -> builtins.str:
171
+ return typing.cast(builtins.str, jsii.get(self, "filterName"))
172
+
173
+ @filter_name.setter
174
+ def filter_name(self, value: builtins.str) -> None:
175
+ if __debug__:
176
+ type_hints = typing.get_type_hints(_typecheckingstub__b5aa77891260d4208522f57f6b0aab890f02493cb3a6beca31b227a07bd252a0)
177
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
178
+ jsii.set(self, "filterName", value) # pyright: ignore[reportArgumentType]
179
+
180
+ @builtins.property
181
+ @jsii.member(jsii_name="id")
182
+ def id(self) -> builtins.str:
183
+ return typing.cast(builtins.str, jsii.get(self, "id"))
184
+
185
+ @id.setter
186
+ def id(self, value: builtins.str) -> None:
187
+ if __debug__:
188
+ type_hints = typing.get_type_hints(_typecheckingstub__cf496fe4c56ee566f93ce14ec2e3105d8837ce6505c8bfc2a330b375f7f9d591)
189
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
190
+ jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
191
+
192
+ @builtins.property
193
+ @jsii.member(jsii_name="zone")
194
+ def zone(self) -> builtins.str:
195
+ return typing.cast(builtins.str, jsii.get(self, "zone"))
196
+
197
+ @zone.setter
198
+ def zone(self, value: builtins.str) -> None:
199
+ if __debug__:
200
+ type_hints = typing.get_type_hints(_typecheckingstub__9a631ad1f4c6aaecb48f1e8a7298a6ca0b3fb0b7aec906159b8d6384d9341fa8)
201
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
202
+ jsii.set(self, "zone", value) # pyright: ignore[reportArgumentType]
203
+
204
+
205
+ @jsii.data_type(
206
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksConfig",
207
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
208
+ name_mapping={
209
+ "connection": "connection",
210
+ "count": "count",
211
+ "depends_on": "dependsOn",
212
+ "for_each": "forEach",
213
+ "lifecycle": "lifecycle",
214
+ "provider": "provider",
215
+ "provisioners": "provisioners",
216
+ "filter_name": "filterName",
217
+ "id": "id",
218
+ "zone": "zone",
219
+ },
220
+ )
221
+ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
222
+ def __init__(
223
+ self,
224
+ *,
225
+ 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,
226
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
227
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
228
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
229
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
230
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
231
+ 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,
232
+ filter_name: typing.Optional[builtins.str] = None,
233
+ id: typing.Optional[builtins.str] = None,
234
+ zone: typing.Optional[builtins.str] = None,
235
+ ) -> None:
236
+ '''
237
+ :param connection:
238
+ :param count:
239
+ :param depends_on:
240
+ :param for_each:
241
+ :param lifecycle:
242
+ :param provider:
243
+ :param provisioners:
244
+ :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
245
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#id DataUpcloudNetworks#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.
246
+ :param zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
247
+ '''
248
+ if isinstance(lifecycle, dict):
249
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
250
+ if __debug__:
251
+ type_hints = typing.get_type_hints(_typecheckingstub__36417b62fcc441fcfea3002fad5d8bc1a432a7eb802f14146b87c8523c26e59c)
252
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
253
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
254
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
255
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
256
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
257
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
258
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
259
+ check_type(argname="argument filter_name", value=filter_name, expected_type=type_hints["filter_name"])
260
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
261
+ check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
262
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
263
+ if connection is not None:
264
+ self._values["connection"] = connection
265
+ if count is not None:
266
+ self._values["count"] = count
267
+ if depends_on is not None:
268
+ self._values["depends_on"] = depends_on
269
+ if for_each is not None:
270
+ self._values["for_each"] = for_each
271
+ if lifecycle is not None:
272
+ self._values["lifecycle"] = lifecycle
273
+ if provider is not None:
274
+ self._values["provider"] = provider
275
+ if provisioners is not None:
276
+ self._values["provisioners"] = provisioners
277
+ if filter_name is not None:
278
+ self._values["filter_name"] = filter_name
279
+ if id is not None:
280
+ self._values["id"] = id
281
+ if zone is not None:
282
+ self._values["zone"] = zone
283
+
284
+ @builtins.property
285
+ def connection(
286
+ self,
287
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
288
+ '''
289
+ :stability: experimental
290
+ '''
291
+ result = self._values.get("connection")
292
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
293
+
294
+ @builtins.property
295
+ def count(
296
+ self,
297
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
298
+ '''
299
+ :stability: experimental
300
+ '''
301
+ result = self._values.get("count")
302
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
303
+
304
+ @builtins.property
305
+ def depends_on(
306
+ self,
307
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
308
+ '''
309
+ :stability: experimental
310
+ '''
311
+ result = self._values.get("depends_on")
312
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
313
+
314
+ @builtins.property
315
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
316
+ '''
317
+ :stability: experimental
318
+ '''
319
+ result = self._values.get("for_each")
320
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
321
+
322
+ @builtins.property
323
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
324
+ '''
325
+ :stability: experimental
326
+ '''
327
+ result = self._values.get("lifecycle")
328
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
329
+
330
+ @builtins.property
331
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
332
+ '''
333
+ :stability: experimental
334
+ '''
335
+ result = self._values.get("provider")
336
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
337
+
338
+ @builtins.property
339
+ def provisioners(
340
+ self,
341
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
342
+ '''
343
+ :stability: experimental
344
+ '''
345
+ result = self._values.get("provisioners")
346
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
347
+
348
+ @builtins.property
349
+ def filter_name(self) -> typing.Optional[builtins.str]:
350
+ '''If specified, results will be filtered to match name using a regular expression.
351
+
352
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
353
+ '''
354
+ result = self._values.get("filter_name")
355
+ return typing.cast(typing.Optional[builtins.str], result)
356
+
357
+ @builtins.property
358
+ def id(self) -> typing.Optional[builtins.str]:
359
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#id DataUpcloudNetworks#id}.
360
+
361
+ Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
362
+ 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.
363
+ '''
364
+ result = self._values.get("id")
365
+ return typing.cast(typing.Optional[builtins.str], result)
366
+
367
+ @builtins.property
368
+ def zone(self) -> typing.Optional[builtins.str]:
369
+ '''If specified, this data source will return only networks from this zone.
370
+
371
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
372
+ '''
373
+ result = self._values.get("zone")
374
+ return typing.cast(typing.Optional[builtins.str], result)
375
+
376
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
377
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
378
+
379
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
380
+ return not (rhs == self)
381
+
382
+ def __repr__(self) -> str:
383
+ return "DataUpcloudNetworksConfig(%s)" % ", ".join(
384
+ k + "=" + repr(v) for k, v in self._values.items()
385
+ )
386
+
387
+
388
+ @jsii.data_type(
389
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworks",
390
+ jsii_struct_bases=[],
391
+ name_mapping={},
392
+ )
393
+ class DataUpcloudNetworksNetworks:
394
+ def __init__(self) -> None:
395
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
396
+
397
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
398
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
399
+
400
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
401
+ return not (rhs == self)
402
+
403
+ def __repr__(self) -> str:
404
+ return "DataUpcloudNetworksNetworks(%s)" % ", ".join(
405
+ k + "=" + repr(v) for k, v in self._values.items()
406
+ )
407
+
408
+
409
+ @jsii.data_type(
410
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksIpNetwork",
411
+ jsii_struct_bases=[],
412
+ name_mapping={},
413
+ )
414
+ class DataUpcloudNetworksNetworksIpNetwork:
415
+ def __init__(self) -> None:
416
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
417
+
418
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
419
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
420
+
421
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
422
+ return not (rhs == self)
423
+
424
+ def __repr__(self) -> str:
425
+ return "DataUpcloudNetworksNetworksIpNetwork(%s)" % ", ".join(
426
+ k + "=" + repr(v) for k, v in self._values.items()
427
+ )
428
+
429
+
430
+ class DataUpcloudNetworksNetworksIpNetworkList(
431
+ _cdktf_9a9027ec.ComplexList,
432
+ metaclass=jsii.JSIIMeta,
433
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksIpNetworkList",
434
+ ):
435
+ def __init__(
436
+ self,
437
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
438
+ terraform_attribute: builtins.str,
439
+ wraps_set: builtins.bool,
440
+ ) -> None:
441
+ '''
442
+ :param terraform_resource: The parent resource.
443
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
444
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
445
+ '''
446
+ if __debug__:
447
+ type_hints = typing.get_type_hints(_typecheckingstub__3c72222e76fc7bcf832089e89e3d67fd74d0e48d9ed57c33285d93de07ec72e6)
448
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
449
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
450
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
451
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
452
+
453
+ @jsii.member(jsii_name="get")
454
+ def get(
455
+ self,
456
+ index: jsii.Number,
457
+ ) -> "DataUpcloudNetworksNetworksIpNetworkOutputReference":
458
+ '''
459
+ :param index: the index of the item to return.
460
+ '''
461
+ if __debug__:
462
+ type_hints = typing.get_type_hints(_typecheckingstub__7b164a15f3a8a4c0f13413eaace97582a1d603077fec5db6b7a7fd8bfc47b165)
463
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
464
+ return typing.cast("DataUpcloudNetworksNetworksIpNetworkOutputReference", jsii.invoke(self, "get", [index]))
465
+
466
+ @builtins.property
467
+ @jsii.member(jsii_name="terraformAttribute")
468
+ def _terraform_attribute(self) -> builtins.str:
469
+ '''The attribute on the parent resource this class is referencing.'''
470
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
471
+
472
+ @_terraform_attribute.setter
473
+ def _terraform_attribute(self, value: builtins.str) -> None:
474
+ if __debug__:
475
+ type_hints = typing.get_type_hints(_typecheckingstub__14587e28e665b69ca34f725ffc8276cb44bd0e581da9b3cbe45a716e2ad774d2)
476
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
477
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
478
+
479
+ @builtins.property
480
+ @jsii.member(jsii_name="terraformResource")
481
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
482
+ '''The parent resource.'''
483
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
484
+
485
+ @_terraform_resource.setter
486
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
487
+ if __debug__:
488
+ type_hints = typing.get_type_hints(_typecheckingstub__1cdbc0a3b4241f6abfaa5acabc27fc05676699d150eb1b6ac61cdd9c29aa11b5)
489
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
490
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
491
+
492
+ @builtins.property
493
+ @jsii.member(jsii_name="wrapsSet")
494
+ def _wraps_set(self) -> builtins.bool:
495
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
496
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
497
+
498
+ @_wraps_set.setter
499
+ def _wraps_set(self, value: builtins.bool) -> None:
500
+ if __debug__:
501
+ type_hints = typing.get_type_hints(_typecheckingstub__d5bcc43ee1a97acb5a2d1c3127c4d2822222926b79f76a151629f9a8f5139d5b)
502
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
503
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
504
+
505
+
506
+ class DataUpcloudNetworksNetworksIpNetworkOutputReference(
507
+ _cdktf_9a9027ec.ComplexObject,
508
+ metaclass=jsii.JSIIMeta,
509
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksIpNetworkOutputReference",
510
+ ):
511
+ def __init__(
512
+ self,
513
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
514
+ terraform_attribute: builtins.str,
515
+ complex_object_index: jsii.Number,
516
+ complex_object_is_from_set: builtins.bool,
517
+ ) -> None:
518
+ '''
519
+ :param terraform_resource: The parent resource.
520
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
521
+ :param complex_object_index: the index of this item in the list.
522
+ :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).
523
+ '''
524
+ if __debug__:
525
+ type_hints = typing.get_type_hints(_typecheckingstub__da7ca33c673390c3f2f8c1aafd5a1e64da6516273195b58a530aa154e9a66dd3)
526
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
527
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
528
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
529
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
530
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
531
+
532
+ @builtins.property
533
+ @jsii.member(jsii_name="address")
534
+ def address(self) -> builtins.str:
535
+ return typing.cast(builtins.str, jsii.get(self, "address"))
536
+
537
+ @builtins.property
538
+ @jsii.member(jsii_name="dhcp")
539
+ def dhcp(self) -> _cdktf_9a9027ec.IResolvable:
540
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "dhcp"))
541
+
542
+ @builtins.property
543
+ @jsii.member(jsii_name="dhcpDefaultRoute")
544
+ def dhcp_default_route(self) -> _cdktf_9a9027ec.IResolvable:
545
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "dhcpDefaultRoute"))
546
+
547
+ @builtins.property
548
+ @jsii.member(jsii_name="dhcpDns")
549
+ def dhcp_dns(self) -> typing.List[builtins.str]:
550
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "dhcpDns"))
551
+
552
+ @builtins.property
553
+ @jsii.member(jsii_name="dhcpRoutes")
554
+ def dhcp_routes(self) -> typing.List[builtins.str]:
555
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "dhcpRoutes"))
556
+
557
+ @builtins.property
558
+ @jsii.member(jsii_name="family")
559
+ def family(self) -> builtins.str:
560
+ return typing.cast(builtins.str, jsii.get(self, "family"))
561
+
562
+ @builtins.property
563
+ @jsii.member(jsii_name="gateway")
564
+ def gateway(self) -> builtins.str:
565
+ return typing.cast(builtins.str, jsii.get(self, "gateway"))
566
+
567
+ @builtins.property
568
+ @jsii.member(jsii_name="internalValue")
569
+ def internal_value(self) -> typing.Optional[DataUpcloudNetworksNetworksIpNetwork]:
570
+ return typing.cast(typing.Optional[DataUpcloudNetworksNetworksIpNetwork], jsii.get(self, "internalValue"))
571
+
572
+ @internal_value.setter
573
+ def internal_value(
574
+ self,
575
+ value: typing.Optional[DataUpcloudNetworksNetworksIpNetwork],
576
+ ) -> None:
577
+ if __debug__:
578
+ type_hints = typing.get_type_hints(_typecheckingstub__5837618c70d47a9e57d9579bf1e0c0d23b0f504ee13df3154fbb12268d753cae)
579
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
580
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
581
+
582
+
583
+ class DataUpcloudNetworksNetworksList(
584
+ _cdktf_9a9027ec.ComplexList,
585
+ metaclass=jsii.JSIIMeta,
586
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksList",
587
+ ):
588
+ def __init__(
589
+ self,
590
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
591
+ terraform_attribute: builtins.str,
592
+ wraps_set: builtins.bool,
593
+ ) -> None:
594
+ '''
595
+ :param terraform_resource: The parent resource.
596
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
597
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
598
+ '''
599
+ if __debug__:
600
+ type_hints = typing.get_type_hints(_typecheckingstub__b079a942dfd33feba32d002461f9291efba1f7f08ab5f630f1c1a2dacd96bf61)
601
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
602
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
603
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
604
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
605
+
606
+ @jsii.member(jsii_name="get")
607
+ def get(self, index: jsii.Number) -> "DataUpcloudNetworksNetworksOutputReference":
608
+ '''
609
+ :param index: the index of the item to return.
610
+ '''
611
+ if __debug__:
612
+ type_hints = typing.get_type_hints(_typecheckingstub__d919bb1e5b5a8e97c60d7d31adef8e083500426030ce67857dc4e8b6eb821f46)
613
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
614
+ return typing.cast("DataUpcloudNetworksNetworksOutputReference", jsii.invoke(self, "get", [index]))
615
+
616
+ @builtins.property
617
+ @jsii.member(jsii_name="terraformAttribute")
618
+ def _terraform_attribute(self) -> builtins.str:
619
+ '''The attribute on the parent resource this class is referencing.'''
620
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
621
+
622
+ @_terraform_attribute.setter
623
+ def _terraform_attribute(self, value: builtins.str) -> None:
624
+ if __debug__:
625
+ type_hints = typing.get_type_hints(_typecheckingstub__76f794a122064df8a2a8a8f6d703d9473d7cc7e3ce074422a7e39270d0c0b97c)
626
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
627
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
628
+
629
+ @builtins.property
630
+ @jsii.member(jsii_name="terraformResource")
631
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
632
+ '''The parent resource.'''
633
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
634
+
635
+ @_terraform_resource.setter
636
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
637
+ if __debug__:
638
+ type_hints = typing.get_type_hints(_typecheckingstub__45cbbf0837f8f46d5e41abac4026ea1246c53ec61af17b2dd9796861ee4cf1b0)
639
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
640
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
641
+
642
+ @builtins.property
643
+ @jsii.member(jsii_name="wrapsSet")
644
+ def _wraps_set(self) -> builtins.bool:
645
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
646
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
647
+
648
+ @_wraps_set.setter
649
+ def _wraps_set(self, value: builtins.bool) -> None:
650
+ if __debug__:
651
+ type_hints = typing.get_type_hints(_typecheckingstub__28478caacca2f63d04091468653ebf07092b6c5b8b57a88e6f5cfe5bf8870c62)
652
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
653
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
654
+
655
+
656
+ class DataUpcloudNetworksNetworksOutputReference(
657
+ _cdktf_9a9027ec.ComplexObject,
658
+ metaclass=jsii.JSIIMeta,
659
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksOutputReference",
660
+ ):
661
+ def __init__(
662
+ self,
663
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
664
+ terraform_attribute: builtins.str,
665
+ complex_object_index: jsii.Number,
666
+ complex_object_is_from_set: builtins.bool,
667
+ ) -> None:
668
+ '''
669
+ :param terraform_resource: The parent resource.
670
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
671
+ :param complex_object_index: the index of this item in the list.
672
+ :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).
673
+ '''
674
+ if __debug__:
675
+ type_hints = typing.get_type_hints(_typecheckingstub__0957670d59921f88df034fdbfbd799d31beaba0a989693276c6b1be630fab129)
676
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
677
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
678
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
679
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
680
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
681
+
682
+ @builtins.property
683
+ @jsii.member(jsii_name="id")
684
+ def id(self) -> builtins.str:
685
+ return typing.cast(builtins.str, jsii.get(self, "id"))
686
+
687
+ @builtins.property
688
+ @jsii.member(jsii_name="ipNetwork")
689
+ def ip_network(self) -> DataUpcloudNetworksNetworksIpNetworkList:
690
+ return typing.cast(DataUpcloudNetworksNetworksIpNetworkList, jsii.get(self, "ipNetwork"))
691
+
692
+ @builtins.property
693
+ @jsii.member(jsii_name="name")
694
+ def name(self) -> builtins.str:
695
+ return typing.cast(builtins.str, jsii.get(self, "name"))
696
+
697
+ @builtins.property
698
+ @jsii.member(jsii_name="servers")
699
+ def servers(self) -> "DataUpcloudNetworksNetworksServersList":
700
+ return typing.cast("DataUpcloudNetworksNetworksServersList", jsii.get(self, "servers"))
701
+
702
+ @builtins.property
703
+ @jsii.member(jsii_name="type")
704
+ def type(self) -> builtins.str:
705
+ return typing.cast(builtins.str, jsii.get(self, "type"))
706
+
707
+ @builtins.property
708
+ @jsii.member(jsii_name="zone")
709
+ def zone(self) -> builtins.str:
710
+ return typing.cast(builtins.str, jsii.get(self, "zone"))
711
+
712
+ @builtins.property
713
+ @jsii.member(jsii_name="internalValue")
714
+ def internal_value(self) -> typing.Optional[DataUpcloudNetworksNetworks]:
715
+ return typing.cast(typing.Optional[DataUpcloudNetworksNetworks], jsii.get(self, "internalValue"))
716
+
717
+ @internal_value.setter
718
+ def internal_value(
719
+ self,
720
+ value: typing.Optional[DataUpcloudNetworksNetworks],
721
+ ) -> None:
722
+ if __debug__:
723
+ type_hints = typing.get_type_hints(_typecheckingstub__1f8095d746be9c8d8f0ac952f0806e42368fc8b51cb2e1f433bf30c0d4a8d8db)
724
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
725
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
726
+
727
+
728
+ @jsii.data_type(
729
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksServers",
730
+ jsii_struct_bases=[],
731
+ name_mapping={},
732
+ )
733
+ class DataUpcloudNetworksNetworksServers:
734
+ def __init__(self) -> None:
735
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
736
+
737
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
738
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
739
+
740
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
741
+ return not (rhs == self)
742
+
743
+ def __repr__(self) -> str:
744
+ return "DataUpcloudNetworksNetworksServers(%s)" % ", ".join(
745
+ k + "=" + repr(v) for k, v in self._values.items()
746
+ )
747
+
748
+
749
+ class DataUpcloudNetworksNetworksServersList(
750
+ _cdktf_9a9027ec.ComplexList,
751
+ metaclass=jsii.JSIIMeta,
752
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksServersList",
753
+ ):
754
+ def __init__(
755
+ self,
756
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
757
+ terraform_attribute: builtins.str,
758
+ wraps_set: builtins.bool,
759
+ ) -> None:
760
+ '''
761
+ :param terraform_resource: The parent resource.
762
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
763
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
764
+ '''
765
+ if __debug__:
766
+ type_hints = typing.get_type_hints(_typecheckingstub__440fa01be22378f9bb190a864db1ff1546f461df64d23f749aa097b28676404f)
767
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
768
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
769
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
770
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
771
+
772
+ @jsii.member(jsii_name="get")
773
+ def get(
774
+ self,
775
+ index: jsii.Number,
776
+ ) -> "DataUpcloudNetworksNetworksServersOutputReference":
777
+ '''
778
+ :param index: the index of the item to return.
779
+ '''
780
+ if __debug__:
781
+ type_hints = typing.get_type_hints(_typecheckingstub__1bca0a639192bc2cd11df4ac95ef6f327f110d33c11e274f1b30a30e16ce224e)
782
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
783
+ return typing.cast("DataUpcloudNetworksNetworksServersOutputReference", jsii.invoke(self, "get", [index]))
784
+
785
+ @builtins.property
786
+ @jsii.member(jsii_name="terraformAttribute")
787
+ def _terraform_attribute(self) -> builtins.str:
788
+ '''The attribute on the parent resource this class is referencing.'''
789
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
790
+
791
+ @_terraform_attribute.setter
792
+ def _terraform_attribute(self, value: builtins.str) -> None:
793
+ if __debug__:
794
+ type_hints = typing.get_type_hints(_typecheckingstub__8c23b72f364c87a660d6638286722c68657c796c7fa2ee50517d1b9347fff922)
795
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
796
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
797
+
798
+ @builtins.property
799
+ @jsii.member(jsii_name="terraformResource")
800
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
801
+ '''The parent resource.'''
802
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
803
+
804
+ @_terraform_resource.setter
805
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
806
+ if __debug__:
807
+ type_hints = typing.get_type_hints(_typecheckingstub__fca73801f71655c621c7269040513bc3b2a84986781d63a2599f96b1413abb8d)
808
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
809
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
810
+
811
+ @builtins.property
812
+ @jsii.member(jsii_name="wrapsSet")
813
+ def _wraps_set(self) -> builtins.bool:
814
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
815
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
816
+
817
+ @_wraps_set.setter
818
+ def _wraps_set(self, value: builtins.bool) -> None:
819
+ if __debug__:
820
+ type_hints = typing.get_type_hints(_typecheckingstub__5c66922a8049d6c46dc46294bef83df2e6ef81408367e041fe6991fdd03b7784)
821
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
822
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
823
+
824
+
825
+ class DataUpcloudNetworksNetworksServersOutputReference(
826
+ _cdktf_9a9027ec.ComplexObject,
827
+ metaclass=jsii.JSIIMeta,
828
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworksNetworksServersOutputReference",
829
+ ):
830
+ def __init__(
831
+ self,
832
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
833
+ terraform_attribute: builtins.str,
834
+ complex_object_index: jsii.Number,
835
+ complex_object_is_from_set: builtins.bool,
836
+ ) -> None:
837
+ '''
838
+ :param terraform_resource: The parent resource.
839
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
840
+ :param complex_object_index: the index of this item in the list.
841
+ :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).
842
+ '''
843
+ if __debug__:
844
+ type_hints = typing.get_type_hints(_typecheckingstub__345bda8ddee82a528850c4f7f912094ea943d713a5b6d734683c3100d39c279e)
845
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
846
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
847
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
848
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
849
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
850
+
851
+ @builtins.property
852
+ @jsii.member(jsii_name="id")
853
+ def id(self) -> builtins.str:
854
+ return typing.cast(builtins.str, jsii.get(self, "id"))
855
+
856
+ @builtins.property
857
+ @jsii.member(jsii_name="title")
858
+ def title(self) -> builtins.str:
859
+ return typing.cast(builtins.str, jsii.get(self, "title"))
860
+
861
+ @builtins.property
862
+ @jsii.member(jsii_name="internalValue")
863
+ def internal_value(self) -> typing.Optional[DataUpcloudNetworksNetworksServers]:
864
+ return typing.cast(typing.Optional[DataUpcloudNetworksNetworksServers], jsii.get(self, "internalValue"))
865
+
866
+ @internal_value.setter
867
+ def internal_value(
868
+ self,
869
+ value: typing.Optional[DataUpcloudNetworksNetworksServers],
870
+ ) -> None:
871
+ if __debug__:
872
+ type_hints = typing.get_type_hints(_typecheckingstub__b61e3302c648c16a510e1dd82ff6d010908a9e3d218ea5d4c1118e49a0c0cf74)
873
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
874
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
875
+
876
+
877
+ __all__ = [
878
+ "DataUpcloudNetworks",
879
+ "DataUpcloudNetworksConfig",
880
+ "DataUpcloudNetworksNetworks",
881
+ "DataUpcloudNetworksNetworksIpNetwork",
882
+ "DataUpcloudNetworksNetworksIpNetworkList",
883
+ "DataUpcloudNetworksNetworksIpNetworkOutputReference",
884
+ "DataUpcloudNetworksNetworksList",
885
+ "DataUpcloudNetworksNetworksOutputReference",
886
+ "DataUpcloudNetworksNetworksServers",
887
+ "DataUpcloudNetworksNetworksServersList",
888
+ "DataUpcloudNetworksNetworksServersOutputReference",
889
+ ]
890
+
891
+ publication.publish()
892
+
893
+ def _typecheckingstub__a88021d64633831bc1edddf2d15af10f7c904123a6932302e06f473a18ae7b3e(
894
+ scope: _constructs_77d1e7e8.Construct,
895
+ id_: builtins.str,
896
+ *,
897
+ filter_name: typing.Optional[builtins.str] = None,
898
+ id: typing.Optional[builtins.str] = None,
899
+ zone: typing.Optional[builtins.str] = None,
900
+ 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,
901
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
902
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
903
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
904
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
905
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
906
+ 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,
907
+ ) -> None:
908
+ """Type checking stubs"""
909
+ pass
910
+
911
+ def _typecheckingstub__ef7ce67233811bb392b4f7c805b972b4504f87631c2742b70288d67594e7c5a1(
912
+ scope: _constructs_77d1e7e8.Construct,
913
+ import_to_id: builtins.str,
914
+ import_from_id: builtins.str,
915
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
916
+ ) -> None:
917
+ """Type checking stubs"""
918
+ pass
919
+
920
+ def _typecheckingstub__b5aa77891260d4208522f57f6b0aab890f02493cb3a6beca31b227a07bd252a0(
921
+ value: builtins.str,
922
+ ) -> None:
923
+ """Type checking stubs"""
924
+ pass
925
+
926
+ def _typecheckingstub__cf496fe4c56ee566f93ce14ec2e3105d8837ce6505c8bfc2a330b375f7f9d591(
927
+ value: builtins.str,
928
+ ) -> None:
929
+ """Type checking stubs"""
930
+ pass
931
+
932
+ def _typecheckingstub__9a631ad1f4c6aaecb48f1e8a7298a6ca0b3fb0b7aec906159b8d6384d9341fa8(
933
+ value: builtins.str,
934
+ ) -> None:
935
+ """Type checking stubs"""
936
+ pass
937
+
938
+ def _typecheckingstub__36417b62fcc441fcfea3002fad5d8bc1a432a7eb802f14146b87c8523c26e59c(
939
+ *,
940
+ 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,
941
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
942
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
943
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
944
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
945
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
946
+ 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,
947
+ filter_name: typing.Optional[builtins.str] = None,
948
+ id: typing.Optional[builtins.str] = None,
949
+ zone: typing.Optional[builtins.str] = None,
950
+ ) -> None:
951
+ """Type checking stubs"""
952
+ pass
953
+
954
+ def _typecheckingstub__3c72222e76fc7bcf832089e89e3d67fd74d0e48d9ed57c33285d93de07ec72e6(
955
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
956
+ terraform_attribute: builtins.str,
957
+ wraps_set: builtins.bool,
958
+ ) -> None:
959
+ """Type checking stubs"""
960
+ pass
961
+
962
+ def _typecheckingstub__7b164a15f3a8a4c0f13413eaace97582a1d603077fec5db6b7a7fd8bfc47b165(
963
+ index: jsii.Number,
964
+ ) -> None:
965
+ """Type checking stubs"""
966
+ pass
967
+
968
+ def _typecheckingstub__14587e28e665b69ca34f725ffc8276cb44bd0e581da9b3cbe45a716e2ad774d2(
969
+ value: builtins.str,
970
+ ) -> None:
971
+ """Type checking stubs"""
972
+ pass
973
+
974
+ def _typecheckingstub__1cdbc0a3b4241f6abfaa5acabc27fc05676699d150eb1b6ac61cdd9c29aa11b5(
975
+ value: _cdktf_9a9027ec.IInterpolatingParent,
976
+ ) -> None:
977
+ """Type checking stubs"""
978
+ pass
979
+
980
+ def _typecheckingstub__d5bcc43ee1a97acb5a2d1c3127c4d2822222926b79f76a151629f9a8f5139d5b(
981
+ value: builtins.bool,
982
+ ) -> None:
983
+ """Type checking stubs"""
984
+ pass
985
+
986
+ def _typecheckingstub__da7ca33c673390c3f2f8c1aafd5a1e64da6516273195b58a530aa154e9a66dd3(
987
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
988
+ terraform_attribute: builtins.str,
989
+ complex_object_index: jsii.Number,
990
+ complex_object_is_from_set: builtins.bool,
991
+ ) -> None:
992
+ """Type checking stubs"""
993
+ pass
994
+
995
+ def _typecheckingstub__5837618c70d47a9e57d9579bf1e0c0d23b0f504ee13df3154fbb12268d753cae(
996
+ value: typing.Optional[DataUpcloudNetworksNetworksIpNetwork],
997
+ ) -> None:
998
+ """Type checking stubs"""
999
+ pass
1000
+
1001
+ def _typecheckingstub__b079a942dfd33feba32d002461f9291efba1f7f08ab5f630f1c1a2dacd96bf61(
1002
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1003
+ terraform_attribute: builtins.str,
1004
+ wraps_set: builtins.bool,
1005
+ ) -> None:
1006
+ """Type checking stubs"""
1007
+ pass
1008
+
1009
+ def _typecheckingstub__d919bb1e5b5a8e97c60d7d31adef8e083500426030ce67857dc4e8b6eb821f46(
1010
+ index: jsii.Number,
1011
+ ) -> None:
1012
+ """Type checking stubs"""
1013
+ pass
1014
+
1015
+ def _typecheckingstub__76f794a122064df8a2a8a8f6d703d9473d7cc7e3ce074422a7e39270d0c0b97c(
1016
+ value: builtins.str,
1017
+ ) -> None:
1018
+ """Type checking stubs"""
1019
+ pass
1020
+
1021
+ def _typecheckingstub__45cbbf0837f8f46d5e41abac4026ea1246c53ec61af17b2dd9796861ee4cf1b0(
1022
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1023
+ ) -> None:
1024
+ """Type checking stubs"""
1025
+ pass
1026
+
1027
+ def _typecheckingstub__28478caacca2f63d04091468653ebf07092b6c5b8b57a88e6f5cfe5bf8870c62(
1028
+ value: builtins.bool,
1029
+ ) -> None:
1030
+ """Type checking stubs"""
1031
+ pass
1032
+
1033
+ def _typecheckingstub__0957670d59921f88df034fdbfbd799d31beaba0a989693276c6b1be630fab129(
1034
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1035
+ terraform_attribute: builtins.str,
1036
+ complex_object_index: jsii.Number,
1037
+ complex_object_is_from_set: builtins.bool,
1038
+ ) -> None:
1039
+ """Type checking stubs"""
1040
+ pass
1041
+
1042
+ def _typecheckingstub__1f8095d746be9c8d8f0ac952f0806e42368fc8b51cb2e1f433bf30c0d4a8d8db(
1043
+ value: typing.Optional[DataUpcloudNetworksNetworks],
1044
+ ) -> None:
1045
+ """Type checking stubs"""
1046
+ pass
1047
+
1048
+ def _typecheckingstub__440fa01be22378f9bb190a864db1ff1546f461df64d23f749aa097b28676404f(
1049
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1050
+ terraform_attribute: builtins.str,
1051
+ wraps_set: builtins.bool,
1052
+ ) -> None:
1053
+ """Type checking stubs"""
1054
+ pass
1055
+
1056
+ def _typecheckingstub__1bca0a639192bc2cd11df4ac95ef6f327f110d33c11e274f1b30a30e16ce224e(
1057
+ index: jsii.Number,
1058
+ ) -> None:
1059
+ """Type checking stubs"""
1060
+ pass
1061
+
1062
+ def _typecheckingstub__8c23b72f364c87a660d6638286722c68657c796c7fa2ee50517d1b9347fff922(
1063
+ value: builtins.str,
1064
+ ) -> None:
1065
+ """Type checking stubs"""
1066
+ pass
1067
+
1068
+ def _typecheckingstub__fca73801f71655c621c7269040513bc3b2a84986781d63a2599f96b1413abb8d(
1069
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1070
+ ) -> None:
1071
+ """Type checking stubs"""
1072
+ pass
1073
+
1074
+ def _typecheckingstub__5c66922a8049d6c46dc46294bef83df2e6ef81408367e041fe6991fdd03b7784(
1075
+ value: builtins.bool,
1076
+ ) -> None:
1077
+ """Type checking stubs"""
1078
+ pass
1079
+
1080
+ def _typecheckingstub__345bda8ddee82a528850c4f7f912094ea943d713a5b6d734683c3100d39c279e(
1081
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1082
+ terraform_attribute: builtins.str,
1083
+ complex_object_index: jsii.Number,
1084
+ complex_object_is_from_set: builtins.bool,
1085
+ ) -> None:
1086
+ """Type checking stubs"""
1087
+ pass
1088
+
1089
+ def _typecheckingstub__b61e3302c648c16a510e1dd82ff6d010908a9e3d218ea5d4c1118e49a0c0cf74(
1090
+ value: typing.Optional[DataUpcloudNetworksNetworksServers],
1091
+ ) -> None:
1092
+ """Type checking stubs"""
1093
+ pass