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,633 @@
1
+ r'''
2
+ # `data_upcloud_ip_addresses`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_ip_addresses`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses).
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 DataUpcloudIpAddresses(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddresses",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses upcloud_ip_addresses}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id: builtins.str,
53
+ *,
54
+ addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudIpAddressesAddresses", typing.Dict[builtins.str, typing.Any]]]]] = None,
55
+ 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,
56
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
57
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
58
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
59
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
60
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
61
+ 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,
62
+ ) -> None:
63
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses upcloud_ip_addresses} Data Source.
64
+
65
+ :param scope: The scope in which to define this construct.
66
+ :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
67
+ :param addresses: addresses block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses#addresses DataUpcloudIpAddresses#addresses}
68
+ :param connection:
69
+ :param count:
70
+ :param depends_on:
71
+ :param for_each:
72
+ :param lifecycle:
73
+ :param provider:
74
+ :param provisioners:
75
+ '''
76
+ if __debug__:
77
+ type_hints = typing.get_type_hints(_typecheckingstub__2b1d8df4f9a76a9c0b3ddb9006fcc889260c1a2ed1a82c09065ba480a290158e)
78
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
79
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
80
+ config = DataUpcloudIpAddressesConfig(
81
+ addresses=addresses,
82
+ connection=connection,
83
+ count=count,
84
+ depends_on=depends_on,
85
+ for_each=for_each,
86
+ lifecycle=lifecycle,
87
+ provider=provider,
88
+ provisioners=provisioners,
89
+ )
90
+
91
+ jsii.create(self.__class__, self, [scope, id, config])
92
+
93
+ @jsii.member(jsii_name="generateConfigForImport")
94
+ @builtins.classmethod
95
+ def generate_config_for_import(
96
+ cls,
97
+ scope: _constructs_77d1e7e8.Construct,
98
+ import_to_id: builtins.str,
99
+ import_from_id: builtins.str,
100
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
101
+ ) -> _cdktf_9a9027ec.ImportableResource:
102
+ '''Generates CDKTF code for importing a DataUpcloudIpAddresses resource upon running "cdktf plan ".
103
+
104
+ :param scope: The scope in which to define this construct.
105
+ :param import_to_id: The construct id used in the generated config for the DataUpcloudIpAddresses to import.
106
+ :param import_from_id: The id of the existing DataUpcloudIpAddresses that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses#import import section} in the documentation of this resource for the id to use
107
+ :param provider: ? Optional instance of the provider where the DataUpcloudIpAddresses to import is found.
108
+ '''
109
+ if __debug__:
110
+ type_hints = typing.get_type_hints(_typecheckingstub__448bac2e92f32297bbadabc1892b6f6b4df4c83114f76163f624876da5bfcad4)
111
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
112
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
113
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
114
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
115
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
116
+
117
+ @jsii.member(jsii_name="putAddresses")
118
+ def put_addresses(
119
+ self,
120
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudIpAddressesAddresses", typing.Dict[builtins.str, typing.Any]]]],
121
+ ) -> None:
122
+ '''
123
+ :param value: -
124
+ '''
125
+ if __debug__:
126
+ type_hints = typing.get_type_hints(_typecheckingstub__ca88bd0b6a7d70fa1f0beecd8eb62dd45c54144d435da3bdaf406816325607f7)
127
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
128
+ return typing.cast(None, jsii.invoke(self, "putAddresses", [value]))
129
+
130
+ @jsii.member(jsii_name="resetAddresses")
131
+ def reset_addresses(self) -> None:
132
+ return typing.cast(None, jsii.invoke(self, "resetAddresses", []))
133
+
134
+ @jsii.member(jsii_name="synthesizeAttributes")
135
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
136
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
137
+
138
+ @jsii.member(jsii_name="synthesizeHclAttributes")
139
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
140
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
141
+
142
+ @jsii.python.classproperty
143
+ @jsii.member(jsii_name="tfResourceType")
144
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
145
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
146
+
147
+ @builtins.property
148
+ @jsii.member(jsii_name="addresses")
149
+ def addresses(self) -> "DataUpcloudIpAddressesAddressesList":
150
+ return typing.cast("DataUpcloudIpAddressesAddressesList", jsii.get(self, "addresses"))
151
+
152
+ @builtins.property
153
+ @jsii.member(jsii_name="id")
154
+ def id(self) -> builtins.str:
155
+ return typing.cast(builtins.str, jsii.get(self, "id"))
156
+
157
+ @builtins.property
158
+ @jsii.member(jsii_name="addressesInput")
159
+ def addresses_input(
160
+ self,
161
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudIpAddressesAddresses"]]]:
162
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudIpAddressesAddresses"]]], jsii.get(self, "addressesInput"))
163
+
164
+
165
+ @jsii.data_type(
166
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddressesAddresses",
167
+ jsii_struct_bases=[],
168
+ name_mapping={},
169
+ )
170
+ class DataUpcloudIpAddressesAddresses:
171
+ def __init__(self) -> None:
172
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
173
+
174
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
175
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
176
+
177
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
178
+ return not (rhs == self)
179
+
180
+ def __repr__(self) -> str:
181
+ return "DataUpcloudIpAddressesAddresses(%s)" % ", ".join(
182
+ k + "=" + repr(v) for k, v in self._values.items()
183
+ )
184
+
185
+
186
+ class DataUpcloudIpAddressesAddressesList(
187
+ _cdktf_9a9027ec.ComplexList,
188
+ metaclass=jsii.JSIIMeta,
189
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddressesAddressesList",
190
+ ):
191
+ def __init__(
192
+ self,
193
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
194
+ terraform_attribute: builtins.str,
195
+ wraps_set: builtins.bool,
196
+ ) -> None:
197
+ '''
198
+ :param terraform_resource: The parent resource.
199
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
200
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
201
+ '''
202
+ if __debug__:
203
+ type_hints = typing.get_type_hints(_typecheckingstub__80f9e6ee7e288133e23357eb1e8606fa31362aba11cfeb16e3b45f8ac639ebc0)
204
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
205
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
206
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
207
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
208
+
209
+ @jsii.member(jsii_name="get")
210
+ def get(
211
+ self,
212
+ index: jsii.Number,
213
+ ) -> "DataUpcloudIpAddressesAddressesOutputReference":
214
+ '''
215
+ :param index: the index of the item to return.
216
+ '''
217
+ if __debug__:
218
+ type_hints = typing.get_type_hints(_typecheckingstub__61f64f3c5918a69fe68eea1c12a27c06ed3ab2f54d24835b838c50b392beafd4)
219
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
220
+ return typing.cast("DataUpcloudIpAddressesAddressesOutputReference", jsii.invoke(self, "get", [index]))
221
+
222
+ @builtins.property
223
+ @jsii.member(jsii_name="terraformAttribute")
224
+ def _terraform_attribute(self) -> builtins.str:
225
+ '''The attribute on the parent resource this class is referencing.'''
226
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
227
+
228
+ @_terraform_attribute.setter
229
+ def _terraform_attribute(self, value: builtins.str) -> None:
230
+ if __debug__:
231
+ type_hints = typing.get_type_hints(_typecheckingstub__d5eaf9b7a37904775faa7c8e153568c8d83c219266d444433e4359c653b9862a)
232
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
233
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
234
+
235
+ @builtins.property
236
+ @jsii.member(jsii_name="terraformResource")
237
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
238
+ '''The parent resource.'''
239
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
240
+
241
+ @_terraform_resource.setter
242
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
243
+ if __debug__:
244
+ type_hints = typing.get_type_hints(_typecheckingstub__fdc2721001181258cb40fff6f302ae48c88385ac9dd1bad13541de2eee76d22e)
245
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
246
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
247
+
248
+ @builtins.property
249
+ @jsii.member(jsii_name="wrapsSet")
250
+ def _wraps_set(self) -> builtins.bool:
251
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
252
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
253
+
254
+ @_wraps_set.setter
255
+ def _wraps_set(self, value: builtins.bool) -> None:
256
+ if __debug__:
257
+ type_hints = typing.get_type_hints(_typecheckingstub__5079e0f8b789f5032dc0044789334c21fa0a9825ed30d22c122cb4e5d1036b09)
258
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
259
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
260
+
261
+ @builtins.property
262
+ @jsii.member(jsii_name="internalValue")
263
+ def internal_value(
264
+ self,
265
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]]:
266
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]], jsii.get(self, "internalValue"))
267
+
268
+ @internal_value.setter
269
+ def internal_value(
270
+ self,
271
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]],
272
+ ) -> None:
273
+ if __debug__:
274
+ type_hints = typing.get_type_hints(_typecheckingstub__c1cafca0cf6c9b1b568bb04311626d7a15277f0769132160f7c7d8d0b88c943f)
275
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
276
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
277
+
278
+
279
+ class DataUpcloudIpAddressesAddressesOutputReference(
280
+ _cdktf_9a9027ec.ComplexObject,
281
+ metaclass=jsii.JSIIMeta,
282
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddressesAddressesOutputReference",
283
+ ):
284
+ def __init__(
285
+ self,
286
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
287
+ terraform_attribute: builtins.str,
288
+ complex_object_index: jsii.Number,
289
+ complex_object_is_from_set: builtins.bool,
290
+ ) -> None:
291
+ '''
292
+ :param terraform_resource: The parent resource.
293
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
294
+ :param complex_object_index: the index of this item in the list.
295
+ :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).
296
+ '''
297
+ if __debug__:
298
+ type_hints = typing.get_type_hints(_typecheckingstub__377164bcea76251e579e73778b4b45e819fed7d526134bc3e31679df1abecf9c)
299
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
300
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
301
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
302
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
303
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
304
+
305
+ @builtins.property
306
+ @jsii.member(jsii_name="access")
307
+ def access(self) -> builtins.str:
308
+ return typing.cast(builtins.str, jsii.get(self, "access"))
309
+
310
+ @builtins.property
311
+ @jsii.member(jsii_name="address")
312
+ def address(self) -> builtins.str:
313
+ return typing.cast(builtins.str, jsii.get(self, "address"))
314
+
315
+ @builtins.property
316
+ @jsii.member(jsii_name="family")
317
+ def family(self) -> builtins.str:
318
+ return typing.cast(builtins.str, jsii.get(self, "family"))
319
+
320
+ @builtins.property
321
+ @jsii.member(jsii_name="floating")
322
+ def floating(self) -> _cdktf_9a9027ec.IResolvable:
323
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "floating"))
324
+
325
+ @builtins.property
326
+ @jsii.member(jsii_name="mac")
327
+ def mac(self) -> builtins.str:
328
+ return typing.cast(builtins.str, jsii.get(self, "mac"))
329
+
330
+ @builtins.property
331
+ @jsii.member(jsii_name="partOfPlan")
332
+ def part_of_plan(self) -> _cdktf_9a9027ec.IResolvable:
333
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "partOfPlan"))
334
+
335
+ @builtins.property
336
+ @jsii.member(jsii_name="ptrRecord")
337
+ def ptr_record(self) -> builtins.str:
338
+ return typing.cast(builtins.str, jsii.get(self, "ptrRecord"))
339
+
340
+ @builtins.property
341
+ @jsii.member(jsii_name="releasePolicy")
342
+ def release_policy(self) -> builtins.str:
343
+ return typing.cast(builtins.str, jsii.get(self, "releasePolicy"))
344
+
345
+ @builtins.property
346
+ @jsii.member(jsii_name="server")
347
+ def server(self) -> builtins.str:
348
+ return typing.cast(builtins.str, jsii.get(self, "server"))
349
+
350
+ @builtins.property
351
+ @jsii.member(jsii_name="zone")
352
+ def zone(self) -> builtins.str:
353
+ return typing.cast(builtins.str, jsii.get(self, "zone"))
354
+
355
+ @builtins.property
356
+ @jsii.member(jsii_name="internalValue")
357
+ def internal_value(
358
+ self,
359
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudIpAddressesAddresses]]:
360
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudIpAddressesAddresses]], jsii.get(self, "internalValue"))
361
+
362
+ @internal_value.setter
363
+ def internal_value(
364
+ self,
365
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudIpAddressesAddresses]],
366
+ ) -> None:
367
+ if __debug__:
368
+ type_hints = typing.get_type_hints(_typecheckingstub__c7eacdc6916f719ce9a5d133b699a86877fdcf385f12a4ef583dd68a9cbba7e5)
369
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
370
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
371
+
372
+
373
+ @jsii.data_type(
374
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddressesConfig",
375
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
376
+ name_mapping={
377
+ "connection": "connection",
378
+ "count": "count",
379
+ "depends_on": "dependsOn",
380
+ "for_each": "forEach",
381
+ "lifecycle": "lifecycle",
382
+ "provider": "provider",
383
+ "provisioners": "provisioners",
384
+ "addresses": "addresses",
385
+ },
386
+ )
387
+ class DataUpcloudIpAddressesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
388
+ def __init__(
389
+ self,
390
+ *,
391
+ 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,
392
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
393
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
394
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
395
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
396
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
397
+ 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,
398
+ addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudIpAddressesAddresses, typing.Dict[builtins.str, typing.Any]]]]] = None,
399
+ ) -> None:
400
+ '''
401
+ :param connection:
402
+ :param count:
403
+ :param depends_on:
404
+ :param for_each:
405
+ :param lifecycle:
406
+ :param provider:
407
+ :param provisioners:
408
+ :param addresses: addresses block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses#addresses DataUpcloudIpAddresses#addresses}
409
+ '''
410
+ if isinstance(lifecycle, dict):
411
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
412
+ if __debug__:
413
+ type_hints = typing.get_type_hints(_typecheckingstub__f8eaf73d054779a9489925b302569b9e24194947f28df7eff8d51225d68fb014)
414
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
415
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
416
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
417
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
418
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
419
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
420
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
421
+ check_type(argname="argument addresses", value=addresses, expected_type=type_hints["addresses"])
422
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
423
+ if connection is not None:
424
+ self._values["connection"] = connection
425
+ if count is not None:
426
+ self._values["count"] = count
427
+ if depends_on is not None:
428
+ self._values["depends_on"] = depends_on
429
+ if for_each is not None:
430
+ self._values["for_each"] = for_each
431
+ if lifecycle is not None:
432
+ self._values["lifecycle"] = lifecycle
433
+ if provider is not None:
434
+ self._values["provider"] = provider
435
+ if provisioners is not None:
436
+ self._values["provisioners"] = provisioners
437
+ if addresses is not None:
438
+ self._values["addresses"] = addresses
439
+
440
+ @builtins.property
441
+ def connection(
442
+ self,
443
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
444
+ '''
445
+ :stability: experimental
446
+ '''
447
+ result = self._values.get("connection")
448
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
449
+
450
+ @builtins.property
451
+ def count(
452
+ self,
453
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
454
+ '''
455
+ :stability: experimental
456
+ '''
457
+ result = self._values.get("count")
458
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
459
+
460
+ @builtins.property
461
+ def depends_on(
462
+ self,
463
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
464
+ '''
465
+ :stability: experimental
466
+ '''
467
+ result = self._values.get("depends_on")
468
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
469
+
470
+ @builtins.property
471
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
472
+ '''
473
+ :stability: experimental
474
+ '''
475
+ result = self._values.get("for_each")
476
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
477
+
478
+ @builtins.property
479
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
480
+ '''
481
+ :stability: experimental
482
+ '''
483
+ result = self._values.get("lifecycle")
484
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
485
+
486
+ @builtins.property
487
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
488
+ '''
489
+ :stability: experimental
490
+ '''
491
+ result = self._values.get("provider")
492
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
493
+
494
+ @builtins.property
495
+ def provisioners(
496
+ self,
497
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
498
+ '''
499
+ :stability: experimental
500
+ '''
501
+ result = self._values.get("provisioners")
502
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
503
+
504
+ @builtins.property
505
+ def addresses(
506
+ self,
507
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]]:
508
+ '''addresses block.
509
+
510
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/ip_addresses#addresses DataUpcloudIpAddresses#addresses}
511
+ '''
512
+ result = self._values.get("addresses")
513
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]], result)
514
+
515
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
516
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
517
+
518
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
519
+ return not (rhs == self)
520
+
521
+ def __repr__(self) -> str:
522
+ return "DataUpcloudIpAddressesConfig(%s)" % ", ".join(
523
+ k + "=" + repr(v) for k, v in self._values.items()
524
+ )
525
+
526
+
527
+ __all__ = [
528
+ "DataUpcloudIpAddresses",
529
+ "DataUpcloudIpAddressesAddresses",
530
+ "DataUpcloudIpAddressesAddressesList",
531
+ "DataUpcloudIpAddressesAddressesOutputReference",
532
+ "DataUpcloudIpAddressesConfig",
533
+ ]
534
+
535
+ publication.publish()
536
+
537
+ def _typecheckingstub__2b1d8df4f9a76a9c0b3ddb9006fcc889260c1a2ed1a82c09065ba480a290158e(
538
+ scope: _constructs_77d1e7e8.Construct,
539
+ id: builtins.str,
540
+ *,
541
+ addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudIpAddressesAddresses, typing.Dict[builtins.str, typing.Any]]]]] = None,
542
+ 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,
543
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
544
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
545
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
546
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
547
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
548
+ 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,
549
+ ) -> None:
550
+ """Type checking stubs"""
551
+ pass
552
+
553
+ def _typecheckingstub__448bac2e92f32297bbadabc1892b6f6b4df4c83114f76163f624876da5bfcad4(
554
+ scope: _constructs_77d1e7e8.Construct,
555
+ import_to_id: builtins.str,
556
+ import_from_id: builtins.str,
557
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
558
+ ) -> None:
559
+ """Type checking stubs"""
560
+ pass
561
+
562
+ def _typecheckingstub__ca88bd0b6a7d70fa1f0beecd8eb62dd45c54144d435da3bdaf406816325607f7(
563
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudIpAddressesAddresses, typing.Dict[builtins.str, typing.Any]]]],
564
+ ) -> None:
565
+ """Type checking stubs"""
566
+ pass
567
+
568
+ def _typecheckingstub__80f9e6ee7e288133e23357eb1e8606fa31362aba11cfeb16e3b45f8ac639ebc0(
569
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
570
+ terraform_attribute: builtins.str,
571
+ wraps_set: builtins.bool,
572
+ ) -> None:
573
+ """Type checking stubs"""
574
+ pass
575
+
576
+ def _typecheckingstub__61f64f3c5918a69fe68eea1c12a27c06ed3ab2f54d24835b838c50b392beafd4(
577
+ index: jsii.Number,
578
+ ) -> None:
579
+ """Type checking stubs"""
580
+ pass
581
+
582
+ def _typecheckingstub__d5eaf9b7a37904775faa7c8e153568c8d83c219266d444433e4359c653b9862a(
583
+ value: builtins.str,
584
+ ) -> None:
585
+ """Type checking stubs"""
586
+ pass
587
+
588
+ def _typecheckingstub__fdc2721001181258cb40fff6f302ae48c88385ac9dd1bad13541de2eee76d22e(
589
+ value: _cdktf_9a9027ec.IInterpolatingParent,
590
+ ) -> None:
591
+ """Type checking stubs"""
592
+ pass
593
+
594
+ def _typecheckingstub__5079e0f8b789f5032dc0044789334c21fa0a9825ed30d22c122cb4e5d1036b09(
595
+ value: builtins.bool,
596
+ ) -> None:
597
+ """Type checking stubs"""
598
+ pass
599
+
600
+ def _typecheckingstub__c1cafca0cf6c9b1b568bb04311626d7a15277f0769132160f7c7d8d0b88c943f(
601
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudIpAddressesAddresses]]],
602
+ ) -> None:
603
+ """Type checking stubs"""
604
+ pass
605
+
606
+ def _typecheckingstub__377164bcea76251e579e73778b4b45e819fed7d526134bc3e31679df1abecf9c(
607
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
608
+ terraform_attribute: builtins.str,
609
+ complex_object_index: jsii.Number,
610
+ complex_object_is_from_set: builtins.bool,
611
+ ) -> None:
612
+ """Type checking stubs"""
613
+ pass
614
+
615
+ def _typecheckingstub__c7eacdc6916f719ce9a5d133b699a86877fdcf385f12a4ef583dd68a9cbba7e5(
616
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudIpAddressesAddresses]],
617
+ ) -> None:
618
+ """Type checking stubs"""
619
+ pass
620
+
621
+ def _typecheckingstub__f8eaf73d054779a9489925b302569b9e24194947f28df7eff8d51225d68fb014(
622
+ *,
623
+ 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,
624
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
625
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
626
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
627
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
628
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
629
+ 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,
630
+ addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudIpAddressesAddresses, typing.Dict[builtins.str, typing.Any]]]]] = None,
631
+ ) -> None:
632
+ """Type checking stubs"""
633
+ pass