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,421 @@
1
+ r'''
2
+ # `data_upcloud_zone`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_zone`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone).
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 DataUpcloudZone(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudZone.DataUpcloudZone",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone upcloud_zone}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id_: builtins.str,
53
+ *,
54
+ id: typing.Optional[builtins.str] = None,
55
+ name: typing.Optional[builtins.str] = None,
56
+ 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,
57
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
58
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
59
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
60
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
61
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
62
+ 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,
63
+ ) -> None:
64
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone upcloud_zone} Data Source.
65
+
66
+ :param scope: The scope in which to define this construct.
67
+ :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
68
+ :param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#id DataUpcloudZone#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.
69
+ :param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#name DataUpcloudZone#name}
70
+ :param connection:
71
+ :param count:
72
+ :param depends_on:
73
+ :param for_each:
74
+ :param lifecycle:
75
+ :param provider:
76
+ :param provisioners:
77
+ '''
78
+ if __debug__:
79
+ type_hints = typing.get_type_hints(_typecheckingstub__cb8a6eb06669eea5221965903b79aa56b0214f06ec17935d5fde2954345183d8)
80
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
81
+ check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
82
+ config = DataUpcloudZoneConfig(
83
+ id=id,
84
+ name=name,
85
+ connection=connection,
86
+ count=count,
87
+ depends_on=depends_on,
88
+ for_each=for_each,
89
+ lifecycle=lifecycle,
90
+ provider=provider,
91
+ provisioners=provisioners,
92
+ )
93
+
94
+ jsii.create(self.__class__, self, [scope, id_, config])
95
+
96
+ @jsii.member(jsii_name="generateConfigForImport")
97
+ @builtins.classmethod
98
+ def generate_config_for_import(
99
+ cls,
100
+ scope: _constructs_77d1e7e8.Construct,
101
+ import_to_id: builtins.str,
102
+ import_from_id: builtins.str,
103
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
104
+ ) -> _cdktf_9a9027ec.ImportableResource:
105
+ '''Generates CDKTF code for importing a DataUpcloudZone resource upon running "cdktf plan ".
106
+
107
+ :param scope: The scope in which to define this construct.
108
+ :param import_to_id: The construct id used in the generated config for the DataUpcloudZone to import.
109
+ :param import_from_id: The id of the existing DataUpcloudZone that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#import import section} in the documentation of this resource for the id to use
110
+ :param provider: ? Optional instance of the provider where the DataUpcloudZone to import is found.
111
+ '''
112
+ if __debug__:
113
+ type_hints = typing.get_type_hints(_typecheckingstub__0b1209b0c9fafcbe1ff0bbbda53d878176d10306a74378bc68985a5aa8dfe67d)
114
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
115
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
116
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
117
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
118
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
119
+
120
+ @jsii.member(jsii_name="resetId")
121
+ def reset_id(self) -> None:
122
+ return typing.cast(None, jsii.invoke(self, "resetId", []))
123
+
124
+ @jsii.member(jsii_name="resetName")
125
+ def reset_name(self) -> None:
126
+ return typing.cast(None, jsii.invoke(self, "resetName", []))
127
+
128
+ @jsii.member(jsii_name="synthesizeAttributes")
129
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
130
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
131
+
132
+ @jsii.member(jsii_name="synthesizeHclAttributes")
133
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
134
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
135
+
136
+ @jsii.python.classproperty
137
+ @jsii.member(jsii_name="tfResourceType")
138
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
139
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
140
+
141
+ @builtins.property
142
+ @jsii.member(jsii_name="description")
143
+ def description(self) -> builtins.str:
144
+ return typing.cast(builtins.str, jsii.get(self, "description"))
145
+
146
+ @builtins.property
147
+ @jsii.member(jsii_name="parentZone")
148
+ def parent_zone(self) -> builtins.str:
149
+ return typing.cast(builtins.str, jsii.get(self, "parentZone"))
150
+
151
+ @builtins.property
152
+ @jsii.member(jsii_name="public")
153
+ def public(self) -> _cdktf_9a9027ec.IResolvable:
154
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "public"))
155
+
156
+ @builtins.property
157
+ @jsii.member(jsii_name="idInput")
158
+ def id_input(self) -> typing.Optional[builtins.str]:
159
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
160
+
161
+ @builtins.property
162
+ @jsii.member(jsii_name="nameInput")
163
+ def name_input(self) -> typing.Optional[builtins.str]:
164
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
165
+
166
+ @builtins.property
167
+ @jsii.member(jsii_name="id")
168
+ def id(self) -> builtins.str:
169
+ return typing.cast(builtins.str, jsii.get(self, "id"))
170
+
171
+ @id.setter
172
+ def id(self, value: builtins.str) -> None:
173
+ if __debug__:
174
+ type_hints = typing.get_type_hints(_typecheckingstub__51db402eb935265a629c882efd0c87ea881b185d6142ff68da2d4ca392d51265)
175
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
176
+ jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
177
+
178
+ @builtins.property
179
+ @jsii.member(jsii_name="name")
180
+ def name(self) -> builtins.str:
181
+ return typing.cast(builtins.str, jsii.get(self, "name"))
182
+
183
+ @name.setter
184
+ def name(self, value: builtins.str) -> None:
185
+ if __debug__:
186
+ type_hints = typing.get_type_hints(_typecheckingstub__f07d349386c24c8ff423cc6d4eabea7c2bc9d28e100eb15d4be91e779fc328cf)
187
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
188
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
189
+
190
+
191
+ @jsii.data_type(
192
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudZone.DataUpcloudZoneConfig",
193
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
194
+ name_mapping={
195
+ "connection": "connection",
196
+ "count": "count",
197
+ "depends_on": "dependsOn",
198
+ "for_each": "forEach",
199
+ "lifecycle": "lifecycle",
200
+ "provider": "provider",
201
+ "provisioners": "provisioners",
202
+ "id": "id",
203
+ "name": "name",
204
+ },
205
+ )
206
+ class DataUpcloudZoneConfig(_cdktf_9a9027ec.TerraformMetaArguments):
207
+ def __init__(
208
+ self,
209
+ *,
210
+ 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,
211
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
212
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
213
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
214
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
215
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
216
+ 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,
217
+ id: typing.Optional[builtins.str] = None,
218
+ name: typing.Optional[builtins.str] = None,
219
+ ) -> None:
220
+ '''
221
+ :param connection:
222
+ :param count:
223
+ :param depends_on:
224
+ :param for_each:
225
+ :param lifecycle:
226
+ :param provider:
227
+ :param provisioners:
228
+ :param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#id DataUpcloudZone#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.
229
+ :param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#name DataUpcloudZone#name}
230
+ '''
231
+ if isinstance(lifecycle, dict):
232
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
233
+ if __debug__:
234
+ type_hints = typing.get_type_hints(_typecheckingstub__f0e9c3f09c7e9a8f8976d0d2fc9c3f2be6a2abba292ce38f81a610bbdb6c8fb1)
235
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
236
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
237
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
238
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
239
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
240
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
241
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
242
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
243
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
244
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
245
+ if connection is not None:
246
+ self._values["connection"] = connection
247
+ if count is not None:
248
+ self._values["count"] = count
249
+ if depends_on is not None:
250
+ self._values["depends_on"] = depends_on
251
+ if for_each is not None:
252
+ self._values["for_each"] = for_each
253
+ if lifecycle is not None:
254
+ self._values["lifecycle"] = lifecycle
255
+ if provider is not None:
256
+ self._values["provider"] = provider
257
+ if provisioners is not None:
258
+ self._values["provisioners"] = provisioners
259
+ if id is not None:
260
+ self._values["id"] = id
261
+ if name is not None:
262
+ self._values["name"] = name
263
+
264
+ @builtins.property
265
+ def connection(
266
+ self,
267
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
268
+ '''
269
+ :stability: experimental
270
+ '''
271
+ result = self._values.get("connection")
272
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
273
+
274
+ @builtins.property
275
+ def count(
276
+ self,
277
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
278
+ '''
279
+ :stability: experimental
280
+ '''
281
+ result = self._values.get("count")
282
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
283
+
284
+ @builtins.property
285
+ def depends_on(
286
+ self,
287
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
288
+ '''
289
+ :stability: experimental
290
+ '''
291
+ result = self._values.get("depends_on")
292
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
293
+
294
+ @builtins.property
295
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
296
+ '''
297
+ :stability: experimental
298
+ '''
299
+ result = self._values.get("for_each")
300
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
301
+
302
+ @builtins.property
303
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
304
+ '''
305
+ :stability: experimental
306
+ '''
307
+ result = self._values.get("lifecycle")
308
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
309
+
310
+ @builtins.property
311
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
312
+ '''
313
+ :stability: experimental
314
+ '''
315
+ result = self._values.get("provider")
316
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
317
+
318
+ @builtins.property
319
+ def provisioners(
320
+ self,
321
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
322
+ '''
323
+ :stability: experimental
324
+ '''
325
+ result = self._values.get("provisioners")
326
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
327
+
328
+ @builtins.property
329
+ def id(self) -> typing.Optional[builtins.str]:
330
+ '''Identifier of the zone.
331
+
332
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#id DataUpcloudZone#id}
333
+
334
+ Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
335
+ 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.
336
+ '''
337
+ result = self._values.get("id")
338
+ return typing.cast(typing.Optional[builtins.str], result)
339
+
340
+ @builtins.property
341
+ def name(self) -> typing.Optional[builtins.str]:
342
+ '''Identifier of the zone.
343
+
344
+ Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence.
345
+
346
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zone#name DataUpcloudZone#name}
347
+ '''
348
+ result = self._values.get("name")
349
+ return typing.cast(typing.Optional[builtins.str], result)
350
+
351
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
352
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
353
+
354
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
355
+ return not (rhs == self)
356
+
357
+ def __repr__(self) -> str:
358
+ return "DataUpcloudZoneConfig(%s)" % ", ".join(
359
+ k + "=" + repr(v) for k, v in self._values.items()
360
+ )
361
+
362
+
363
+ __all__ = [
364
+ "DataUpcloudZone",
365
+ "DataUpcloudZoneConfig",
366
+ ]
367
+
368
+ publication.publish()
369
+
370
+ def _typecheckingstub__cb8a6eb06669eea5221965903b79aa56b0214f06ec17935d5fde2954345183d8(
371
+ scope: _constructs_77d1e7e8.Construct,
372
+ id_: builtins.str,
373
+ *,
374
+ id: typing.Optional[builtins.str] = None,
375
+ name: typing.Optional[builtins.str] = None,
376
+ 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,
377
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
378
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
379
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
380
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
381
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
382
+ 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,
383
+ ) -> None:
384
+ """Type checking stubs"""
385
+ pass
386
+
387
+ def _typecheckingstub__0b1209b0c9fafcbe1ff0bbbda53d878176d10306a74378bc68985a5aa8dfe67d(
388
+ scope: _constructs_77d1e7e8.Construct,
389
+ import_to_id: builtins.str,
390
+ import_from_id: builtins.str,
391
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
392
+ ) -> None:
393
+ """Type checking stubs"""
394
+ pass
395
+
396
+ def _typecheckingstub__51db402eb935265a629c882efd0c87ea881b185d6142ff68da2d4ca392d51265(
397
+ value: builtins.str,
398
+ ) -> None:
399
+ """Type checking stubs"""
400
+ pass
401
+
402
+ def _typecheckingstub__f07d349386c24c8ff423cc6d4eabea7c2bc9d28e100eb15d4be91e779fc328cf(
403
+ value: builtins.str,
404
+ ) -> None:
405
+ """Type checking stubs"""
406
+ pass
407
+
408
+ def _typecheckingstub__f0e9c3f09c7e9a8f8976d0d2fc9c3f2be6a2abba292ce38f81a610bbdb6c8fb1(
409
+ *,
410
+ 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,
411
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
412
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
413
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
414
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
415
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
416
+ 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,
417
+ id: typing.Optional[builtins.str] = None,
418
+ name: typing.Optional[builtins.str] = None,
419
+ ) -> None:
420
+ """Type checking stubs"""
421
+ pass