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,600 @@
1
+ r'''
2
+ # `data_upcloud_managed_object_storage_regions`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_managed_object_storage_regions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions).
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 DataUpcloudManagedObjectStorageRegions(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStorageRegions.DataUpcloudManagedObjectStorageRegions",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions upcloud_managed_object_storage_regions}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id: builtins.str,
53
+ *,
54
+ regions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedObjectStorageRegionsRegions", 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/managed_object_storage_regions upcloud_managed_object_storage_regions} 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 regions: regions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions#regions DataUpcloudManagedObjectStorageRegions#regions}
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__84e8e54da40980251059161e0bc1dba945c8f613ca56184c7ac731f9a9335fab)
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 = DataUpcloudManagedObjectStorageRegionsConfig(
81
+ regions=regions,
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 DataUpcloudManagedObjectStorageRegions 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 DataUpcloudManagedObjectStorageRegions to import.
106
+ :param import_from_id: The id of the existing DataUpcloudManagedObjectStorageRegions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions#import import section} in the documentation of this resource for the id to use
107
+ :param provider: ? Optional instance of the provider where the DataUpcloudManagedObjectStorageRegions to import is found.
108
+ '''
109
+ if __debug__:
110
+ type_hints = typing.get_type_hints(_typecheckingstub__cc555ec803fb46f258c11ad4c8919ef840b40e7723fafd8e13f8d16b56dabd8f)
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="putRegions")
118
+ def put_regions(
119
+ self,
120
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedObjectStorageRegionsRegions", typing.Dict[builtins.str, typing.Any]]]],
121
+ ) -> None:
122
+ '''
123
+ :param value: -
124
+ '''
125
+ if __debug__:
126
+ type_hints = typing.get_type_hints(_typecheckingstub__6c40587db6a55635572479bd247d9146664bf8b96e8a22baa3e310204e3cdac5)
127
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
128
+ return typing.cast(None, jsii.invoke(self, "putRegions", [value]))
129
+
130
+ @jsii.member(jsii_name="resetRegions")
131
+ def reset_regions(self) -> None:
132
+ return typing.cast(None, jsii.invoke(self, "resetRegions", []))
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="id")
149
+ def id(self) -> builtins.str:
150
+ return typing.cast(builtins.str, jsii.get(self, "id"))
151
+
152
+ @builtins.property
153
+ @jsii.member(jsii_name="regions")
154
+ def regions(self) -> "DataUpcloudManagedObjectStorageRegionsRegionsList":
155
+ return typing.cast("DataUpcloudManagedObjectStorageRegionsRegionsList", jsii.get(self, "regions"))
156
+
157
+ @builtins.property
158
+ @jsii.member(jsii_name="regionsInput")
159
+ def regions_input(
160
+ self,
161
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedObjectStorageRegionsRegions"]]]:
162
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedObjectStorageRegionsRegions"]]], jsii.get(self, "regionsInput"))
163
+
164
+
165
+ @jsii.data_type(
166
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStorageRegions.DataUpcloudManagedObjectStorageRegionsConfig",
167
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
168
+ name_mapping={
169
+ "connection": "connection",
170
+ "count": "count",
171
+ "depends_on": "dependsOn",
172
+ "for_each": "forEach",
173
+ "lifecycle": "lifecycle",
174
+ "provider": "provider",
175
+ "provisioners": "provisioners",
176
+ "regions": "regions",
177
+ },
178
+ )
179
+ class DataUpcloudManagedObjectStorageRegionsConfig(
180
+ _cdktf_9a9027ec.TerraformMetaArguments,
181
+ ):
182
+ def __init__(
183
+ self,
184
+ *,
185
+ 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,
186
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
187
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
188
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
189
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
190
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
191
+ 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,
192
+ regions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedObjectStorageRegionsRegions", typing.Dict[builtins.str, typing.Any]]]]] = None,
193
+ ) -> None:
194
+ '''
195
+ :param connection:
196
+ :param count:
197
+ :param depends_on:
198
+ :param for_each:
199
+ :param lifecycle:
200
+ :param provider:
201
+ :param provisioners:
202
+ :param regions: regions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions#regions DataUpcloudManagedObjectStorageRegions#regions}
203
+ '''
204
+ if isinstance(lifecycle, dict):
205
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
206
+ if __debug__:
207
+ type_hints = typing.get_type_hints(_typecheckingstub__60391405885d2ed2703c7fd3e2b01b62064e9519e560e6201b3f3ac836a06a5f)
208
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
209
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
210
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
211
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
212
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
213
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
214
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
215
+ check_type(argname="argument regions", value=regions, expected_type=type_hints["regions"])
216
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
217
+ if connection is not None:
218
+ self._values["connection"] = connection
219
+ if count is not None:
220
+ self._values["count"] = count
221
+ if depends_on is not None:
222
+ self._values["depends_on"] = depends_on
223
+ if for_each is not None:
224
+ self._values["for_each"] = for_each
225
+ if lifecycle is not None:
226
+ self._values["lifecycle"] = lifecycle
227
+ if provider is not None:
228
+ self._values["provider"] = provider
229
+ if provisioners is not None:
230
+ self._values["provisioners"] = provisioners
231
+ if regions is not None:
232
+ self._values["regions"] = regions
233
+
234
+ @builtins.property
235
+ def connection(
236
+ self,
237
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
238
+ '''
239
+ :stability: experimental
240
+ '''
241
+ result = self._values.get("connection")
242
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
243
+
244
+ @builtins.property
245
+ def count(
246
+ self,
247
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
248
+ '''
249
+ :stability: experimental
250
+ '''
251
+ result = self._values.get("count")
252
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
253
+
254
+ @builtins.property
255
+ def depends_on(
256
+ self,
257
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
258
+ '''
259
+ :stability: experimental
260
+ '''
261
+ result = self._values.get("depends_on")
262
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
263
+
264
+ @builtins.property
265
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
266
+ '''
267
+ :stability: experimental
268
+ '''
269
+ result = self._values.get("for_each")
270
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
271
+
272
+ @builtins.property
273
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
274
+ '''
275
+ :stability: experimental
276
+ '''
277
+ result = self._values.get("lifecycle")
278
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
279
+
280
+ @builtins.property
281
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
282
+ '''
283
+ :stability: experimental
284
+ '''
285
+ result = self._values.get("provider")
286
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
287
+
288
+ @builtins.property
289
+ def provisioners(
290
+ self,
291
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
292
+ '''
293
+ :stability: experimental
294
+ '''
295
+ result = self._values.get("provisioners")
296
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
297
+
298
+ @builtins.property
299
+ def regions(
300
+ self,
301
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedObjectStorageRegionsRegions"]]]:
302
+ '''regions block.
303
+
304
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_regions#regions DataUpcloudManagedObjectStorageRegions#regions}
305
+ '''
306
+ result = self._values.get("regions")
307
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedObjectStorageRegionsRegions"]]], result)
308
+
309
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
310
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
311
+
312
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
313
+ return not (rhs == self)
314
+
315
+ def __repr__(self) -> str:
316
+ return "DataUpcloudManagedObjectStorageRegionsConfig(%s)" % ", ".join(
317
+ k + "=" + repr(v) for k, v in self._values.items()
318
+ )
319
+
320
+
321
+ @jsii.data_type(
322
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStorageRegions.DataUpcloudManagedObjectStorageRegionsRegions",
323
+ jsii_struct_bases=[],
324
+ name_mapping={},
325
+ )
326
+ class DataUpcloudManagedObjectStorageRegionsRegions:
327
+ def __init__(self) -> None:
328
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
329
+
330
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
331
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
332
+
333
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
334
+ return not (rhs == self)
335
+
336
+ def __repr__(self) -> str:
337
+ return "DataUpcloudManagedObjectStorageRegionsRegions(%s)" % ", ".join(
338
+ k + "=" + repr(v) for k, v in self._values.items()
339
+ )
340
+
341
+
342
+ class DataUpcloudManagedObjectStorageRegionsRegionsList(
343
+ _cdktf_9a9027ec.ComplexList,
344
+ metaclass=jsii.JSIIMeta,
345
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStorageRegions.DataUpcloudManagedObjectStorageRegionsRegionsList",
346
+ ):
347
+ def __init__(
348
+ self,
349
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
350
+ terraform_attribute: builtins.str,
351
+ wraps_set: builtins.bool,
352
+ ) -> None:
353
+ '''
354
+ :param terraform_resource: The parent resource.
355
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
356
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
357
+ '''
358
+ if __debug__:
359
+ type_hints = typing.get_type_hints(_typecheckingstub__36a4b16b95c5660b9e06cadc3aea63fd6fe359df4e4630c75dc5b81fbca2b48d)
360
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
361
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
362
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
363
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
364
+
365
+ @jsii.member(jsii_name="get")
366
+ def get(
367
+ self,
368
+ index: jsii.Number,
369
+ ) -> "DataUpcloudManagedObjectStorageRegionsRegionsOutputReference":
370
+ '''
371
+ :param index: the index of the item to return.
372
+ '''
373
+ if __debug__:
374
+ type_hints = typing.get_type_hints(_typecheckingstub__5fb32e3f6a902c9fceddef6cf636507619c849c27affdbd0e67c4df11fb8cea2)
375
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
376
+ return typing.cast("DataUpcloudManagedObjectStorageRegionsRegionsOutputReference", jsii.invoke(self, "get", [index]))
377
+
378
+ @builtins.property
379
+ @jsii.member(jsii_name="terraformAttribute")
380
+ def _terraform_attribute(self) -> builtins.str:
381
+ '''The attribute on the parent resource this class is referencing.'''
382
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
383
+
384
+ @_terraform_attribute.setter
385
+ def _terraform_attribute(self, value: builtins.str) -> None:
386
+ if __debug__:
387
+ type_hints = typing.get_type_hints(_typecheckingstub__162771adbec8cc73724a8947694d15cc0935b20ea8c53e0e83e4d46644030ef9)
388
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
389
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
390
+
391
+ @builtins.property
392
+ @jsii.member(jsii_name="terraformResource")
393
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
394
+ '''The parent resource.'''
395
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
396
+
397
+ @_terraform_resource.setter
398
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
399
+ if __debug__:
400
+ type_hints = typing.get_type_hints(_typecheckingstub__0ced75acdaaacc1eb8ea895959f3a04086e0bc15d6c151fa8e5a1b4788b53ab0)
401
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
402
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
403
+
404
+ @builtins.property
405
+ @jsii.member(jsii_name="wrapsSet")
406
+ def _wraps_set(self) -> builtins.bool:
407
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
408
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
409
+
410
+ @_wraps_set.setter
411
+ def _wraps_set(self, value: builtins.bool) -> None:
412
+ if __debug__:
413
+ type_hints = typing.get_type_hints(_typecheckingstub__f5c02d72127383965aa2d9d600963f6486ba12af84a51c89c98b7da750bcb102)
414
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
415
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
416
+
417
+ @builtins.property
418
+ @jsii.member(jsii_name="internalValue")
419
+ def internal_value(
420
+ self,
421
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedObjectStorageRegionsRegions]]]:
422
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedObjectStorageRegionsRegions]]], jsii.get(self, "internalValue"))
423
+
424
+ @internal_value.setter
425
+ def internal_value(
426
+ self,
427
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedObjectStorageRegionsRegions]]],
428
+ ) -> None:
429
+ if __debug__:
430
+ type_hints = typing.get_type_hints(_typecheckingstub__80a9c86e1c787a30af7300558bf3596647e3355172d0300ee0f42b704751c7a2)
431
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
432
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
433
+
434
+
435
+ class DataUpcloudManagedObjectStorageRegionsRegionsOutputReference(
436
+ _cdktf_9a9027ec.ComplexObject,
437
+ metaclass=jsii.JSIIMeta,
438
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStorageRegions.DataUpcloudManagedObjectStorageRegionsRegionsOutputReference",
439
+ ):
440
+ def __init__(
441
+ self,
442
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
443
+ terraform_attribute: builtins.str,
444
+ complex_object_index: jsii.Number,
445
+ complex_object_is_from_set: builtins.bool,
446
+ ) -> None:
447
+ '''
448
+ :param terraform_resource: The parent resource.
449
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
450
+ :param complex_object_index: the index of this item in the list.
451
+ :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).
452
+ '''
453
+ if __debug__:
454
+ type_hints = typing.get_type_hints(_typecheckingstub__48cd9c2ff6333409dd36f970d31919aeee67b7fbc88effe0c0e4fb1c333bc67f)
455
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
456
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
457
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
458
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
459
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
460
+
461
+ @builtins.property
462
+ @jsii.member(jsii_name="name")
463
+ def name(self) -> builtins.str:
464
+ return typing.cast(builtins.str, jsii.get(self, "name"))
465
+
466
+ @builtins.property
467
+ @jsii.member(jsii_name="primaryZone")
468
+ def primary_zone(self) -> builtins.str:
469
+ return typing.cast(builtins.str, jsii.get(self, "primaryZone"))
470
+
471
+ @builtins.property
472
+ @jsii.member(jsii_name="zones")
473
+ def zones(self) -> typing.List[builtins.str]:
474
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "zones"))
475
+
476
+ @builtins.property
477
+ @jsii.member(jsii_name="internalValue")
478
+ def internal_value(
479
+ self,
480
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedObjectStorageRegionsRegions]]:
481
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedObjectStorageRegionsRegions]], jsii.get(self, "internalValue"))
482
+
483
+ @internal_value.setter
484
+ def internal_value(
485
+ self,
486
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedObjectStorageRegionsRegions]],
487
+ ) -> None:
488
+ if __debug__:
489
+ type_hints = typing.get_type_hints(_typecheckingstub__15702b52521e0fdde7c2e3f1900e26a110c60208c02de3335c867ef6452c4017)
490
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
491
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
492
+
493
+
494
+ __all__ = [
495
+ "DataUpcloudManagedObjectStorageRegions",
496
+ "DataUpcloudManagedObjectStorageRegionsConfig",
497
+ "DataUpcloudManagedObjectStorageRegionsRegions",
498
+ "DataUpcloudManagedObjectStorageRegionsRegionsList",
499
+ "DataUpcloudManagedObjectStorageRegionsRegionsOutputReference",
500
+ ]
501
+
502
+ publication.publish()
503
+
504
+ def _typecheckingstub__84e8e54da40980251059161e0bc1dba945c8f613ca56184c7ac731f9a9335fab(
505
+ scope: _constructs_77d1e7e8.Construct,
506
+ id: builtins.str,
507
+ *,
508
+ regions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedObjectStorageRegionsRegions, typing.Dict[builtins.str, typing.Any]]]]] = None,
509
+ 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,
510
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
511
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
512
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
513
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
514
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
515
+ 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,
516
+ ) -> None:
517
+ """Type checking stubs"""
518
+ pass
519
+
520
+ def _typecheckingstub__cc555ec803fb46f258c11ad4c8919ef840b40e7723fafd8e13f8d16b56dabd8f(
521
+ scope: _constructs_77d1e7e8.Construct,
522
+ import_to_id: builtins.str,
523
+ import_from_id: builtins.str,
524
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
525
+ ) -> None:
526
+ """Type checking stubs"""
527
+ pass
528
+
529
+ def _typecheckingstub__6c40587db6a55635572479bd247d9146664bf8b96e8a22baa3e310204e3cdac5(
530
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedObjectStorageRegionsRegions, typing.Dict[builtins.str, typing.Any]]]],
531
+ ) -> None:
532
+ """Type checking stubs"""
533
+ pass
534
+
535
+ def _typecheckingstub__60391405885d2ed2703c7fd3e2b01b62064e9519e560e6201b3f3ac836a06a5f(
536
+ *,
537
+ 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,
538
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
539
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
540
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
541
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
542
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
543
+ 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,
544
+ regions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedObjectStorageRegionsRegions, typing.Dict[builtins.str, typing.Any]]]]] = None,
545
+ ) -> None:
546
+ """Type checking stubs"""
547
+ pass
548
+
549
+ def _typecheckingstub__36a4b16b95c5660b9e06cadc3aea63fd6fe359df4e4630c75dc5b81fbca2b48d(
550
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
551
+ terraform_attribute: builtins.str,
552
+ wraps_set: builtins.bool,
553
+ ) -> None:
554
+ """Type checking stubs"""
555
+ pass
556
+
557
+ def _typecheckingstub__5fb32e3f6a902c9fceddef6cf636507619c849c27affdbd0e67c4df11fb8cea2(
558
+ index: jsii.Number,
559
+ ) -> None:
560
+ """Type checking stubs"""
561
+ pass
562
+
563
+ def _typecheckingstub__162771adbec8cc73724a8947694d15cc0935b20ea8c53e0e83e4d46644030ef9(
564
+ value: builtins.str,
565
+ ) -> None:
566
+ """Type checking stubs"""
567
+ pass
568
+
569
+ def _typecheckingstub__0ced75acdaaacc1eb8ea895959f3a04086e0bc15d6c151fa8e5a1b4788b53ab0(
570
+ value: _cdktf_9a9027ec.IInterpolatingParent,
571
+ ) -> None:
572
+ """Type checking stubs"""
573
+ pass
574
+
575
+ def _typecheckingstub__f5c02d72127383965aa2d9d600963f6486ba12af84a51c89c98b7da750bcb102(
576
+ value: builtins.bool,
577
+ ) -> None:
578
+ """Type checking stubs"""
579
+ pass
580
+
581
+ def _typecheckingstub__80a9c86e1c787a30af7300558bf3596647e3355172d0300ee0f42b704751c7a2(
582
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedObjectStorageRegionsRegions]]],
583
+ ) -> None:
584
+ """Type checking stubs"""
585
+ pass
586
+
587
+ def _typecheckingstub__48cd9c2ff6333409dd36f970d31919aeee67b7fbc88effe0c0e4fb1c333bc67f(
588
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
589
+ terraform_attribute: builtins.str,
590
+ complex_object_index: jsii.Number,
591
+ complex_object_is_from_set: builtins.bool,
592
+ ) -> None:
593
+ """Type checking stubs"""
594
+ pass
595
+
596
+ def _typecheckingstub__15702b52521e0fdde7c2e3f1900e26a110c60208c02de3335c867ef6452c4017(
597
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedObjectStorageRegionsRegions]],
598
+ ) -> None:
599
+ """Type checking stubs"""
600
+ pass