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.
- cdktf_cdktf_provider_upcloud/__init__.py +247 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/py.typed +1 -0
- cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
- cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
- cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
- cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `data_upcloud_zones`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_zones`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones).
|
|
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 DataUpcloudZones(
|
|
43
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudZones.DataUpcloudZones",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones upcloud_zones}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
filter_type: typing.Optional[builtins.str] = 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/zones upcloud_zones} 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 filter_type: Filter zones by type. Possible values are "all", "public" and "private". Default is "public". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
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__6b3ee0aae58ffb52e24c080cc14f8064c37660dcc8fd41bc301113bfdadfc848)
|
|
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 = DataUpcloudZonesConfig(
|
|
81
|
+
filter_type=filter_type,
|
|
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 DataUpcloudZones 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 DataUpcloudZones to import.
|
|
106
|
+
:param import_from_id: The id of the existing DataUpcloudZones that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones#import import section} in the documentation of this resource for the id to use
|
|
107
|
+
:param provider: ? Optional instance of the provider where the DataUpcloudZones to import is found.
|
|
108
|
+
'''
|
|
109
|
+
if __debug__:
|
|
110
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eaf12625eeeae46d01c6293ed44830f6b5e4fa41adf42b500262831374e9c981)
|
|
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="resetFilterType")
|
|
118
|
+
def reset_filter_type(self) -> None:
|
|
119
|
+
return typing.cast(None, jsii.invoke(self, "resetFilterType", []))
|
|
120
|
+
|
|
121
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
122
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
123
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
124
|
+
|
|
125
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
126
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
127
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
128
|
+
|
|
129
|
+
@jsii.python.classproperty
|
|
130
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
131
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
132
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
133
|
+
|
|
134
|
+
@builtins.property
|
|
135
|
+
@jsii.member(jsii_name="id")
|
|
136
|
+
def id(self) -> builtins.str:
|
|
137
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
138
|
+
|
|
139
|
+
@builtins.property
|
|
140
|
+
@jsii.member(jsii_name="zoneIds")
|
|
141
|
+
def zone_ids(self) -> typing.List[builtins.str]:
|
|
142
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "zoneIds"))
|
|
143
|
+
|
|
144
|
+
@builtins.property
|
|
145
|
+
@jsii.member(jsii_name="filterTypeInput")
|
|
146
|
+
def filter_type_input(self) -> typing.Optional[builtins.str]:
|
|
147
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "filterTypeInput"))
|
|
148
|
+
|
|
149
|
+
@builtins.property
|
|
150
|
+
@jsii.member(jsii_name="filterType")
|
|
151
|
+
def filter_type(self) -> builtins.str:
|
|
152
|
+
return typing.cast(builtins.str, jsii.get(self, "filterType"))
|
|
153
|
+
|
|
154
|
+
@filter_type.setter
|
|
155
|
+
def filter_type(self, value: builtins.str) -> None:
|
|
156
|
+
if __debug__:
|
|
157
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b34ebe3d44f243cf49fe377a365d9dc4f4d014c9ca8a2b3c0581e65b7b0786f8)
|
|
158
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
159
|
+
jsii.set(self, "filterType", value) # pyright: ignore[reportArgumentType]
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
@jsii.data_type(
|
|
163
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudZones.DataUpcloudZonesConfig",
|
|
164
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
165
|
+
name_mapping={
|
|
166
|
+
"connection": "connection",
|
|
167
|
+
"count": "count",
|
|
168
|
+
"depends_on": "dependsOn",
|
|
169
|
+
"for_each": "forEach",
|
|
170
|
+
"lifecycle": "lifecycle",
|
|
171
|
+
"provider": "provider",
|
|
172
|
+
"provisioners": "provisioners",
|
|
173
|
+
"filter_type": "filterType",
|
|
174
|
+
},
|
|
175
|
+
)
|
|
176
|
+
class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
177
|
+
def __init__(
|
|
178
|
+
self,
|
|
179
|
+
*,
|
|
180
|
+
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,
|
|
181
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
182
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
183
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
184
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
185
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
186
|
+
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,
|
|
187
|
+
filter_type: typing.Optional[builtins.str] = None,
|
|
188
|
+
) -> None:
|
|
189
|
+
'''
|
|
190
|
+
:param connection:
|
|
191
|
+
:param count:
|
|
192
|
+
:param depends_on:
|
|
193
|
+
:param for_each:
|
|
194
|
+
:param lifecycle:
|
|
195
|
+
:param provider:
|
|
196
|
+
:param provisioners:
|
|
197
|
+
:param filter_type: Filter zones by type. Possible values are "all", "public" and "private". Default is "public". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
198
|
+
'''
|
|
199
|
+
if isinstance(lifecycle, dict):
|
|
200
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
201
|
+
if __debug__:
|
|
202
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ed0c2173a3bcd65cdb4ab922d071075f345dcbcfd12063225242733644e965cc)
|
|
203
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
204
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
205
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
206
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
207
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
208
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
209
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
210
|
+
check_type(argname="argument filter_type", value=filter_type, expected_type=type_hints["filter_type"])
|
|
211
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
212
|
+
if connection is not None:
|
|
213
|
+
self._values["connection"] = connection
|
|
214
|
+
if count is not None:
|
|
215
|
+
self._values["count"] = count
|
|
216
|
+
if depends_on is not None:
|
|
217
|
+
self._values["depends_on"] = depends_on
|
|
218
|
+
if for_each is not None:
|
|
219
|
+
self._values["for_each"] = for_each
|
|
220
|
+
if lifecycle is not None:
|
|
221
|
+
self._values["lifecycle"] = lifecycle
|
|
222
|
+
if provider is not None:
|
|
223
|
+
self._values["provider"] = provider
|
|
224
|
+
if provisioners is not None:
|
|
225
|
+
self._values["provisioners"] = provisioners
|
|
226
|
+
if filter_type is not None:
|
|
227
|
+
self._values["filter_type"] = filter_type
|
|
228
|
+
|
|
229
|
+
@builtins.property
|
|
230
|
+
def connection(
|
|
231
|
+
self,
|
|
232
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
233
|
+
'''
|
|
234
|
+
:stability: experimental
|
|
235
|
+
'''
|
|
236
|
+
result = self._values.get("connection")
|
|
237
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
238
|
+
|
|
239
|
+
@builtins.property
|
|
240
|
+
def count(
|
|
241
|
+
self,
|
|
242
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
243
|
+
'''
|
|
244
|
+
:stability: experimental
|
|
245
|
+
'''
|
|
246
|
+
result = self._values.get("count")
|
|
247
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
248
|
+
|
|
249
|
+
@builtins.property
|
|
250
|
+
def depends_on(
|
|
251
|
+
self,
|
|
252
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
253
|
+
'''
|
|
254
|
+
:stability: experimental
|
|
255
|
+
'''
|
|
256
|
+
result = self._values.get("depends_on")
|
|
257
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
258
|
+
|
|
259
|
+
@builtins.property
|
|
260
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
261
|
+
'''
|
|
262
|
+
:stability: experimental
|
|
263
|
+
'''
|
|
264
|
+
result = self._values.get("for_each")
|
|
265
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
266
|
+
|
|
267
|
+
@builtins.property
|
|
268
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
269
|
+
'''
|
|
270
|
+
:stability: experimental
|
|
271
|
+
'''
|
|
272
|
+
result = self._values.get("lifecycle")
|
|
273
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
274
|
+
|
|
275
|
+
@builtins.property
|
|
276
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
277
|
+
'''
|
|
278
|
+
:stability: experimental
|
|
279
|
+
'''
|
|
280
|
+
result = self._values.get("provider")
|
|
281
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
282
|
+
|
|
283
|
+
@builtins.property
|
|
284
|
+
def provisioners(
|
|
285
|
+
self,
|
|
286
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
287
|
+
'''
|
|
288
|
+
:stability: experimental
|
|
289
|
+
'''
|
|
290
|
+
result = self._values.get("provisioners")
|
|
291
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
292
|
+
|
|
293
|
+
@builtins.property
|
|
294
|
+
def filter_type(self) -> typing.Optional[builtins.str]:
|
|
295
|
+
'''Filter zones by type. Possible values are "all", "public" and "private". Default is "public".
|
|
296
|
+
|
|
297
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
298
|
+
'''
|
|
299
|
+
result = self._values.get("filter_type")
|
|
300
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
301
|
+
|
|
302
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
303
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
304
|
+
|
|
305
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
306
|
+
return not (rhs == self)
|
|
307
|
+
|
|
308
|
+
def __repr__(self) -> str:
|
|
309
|
+
return "DataUpcloudZonesConfig(%s)" % ", ".join(
|
|
310
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
__all__ = [
|
|
315
|
+
"DataUpcloudZones",
|
|
316
|
+
"DataUpcloudZonesConfig",
|
|
317
|
+
]
|
|
318
|
+
|
|
319
|
+
publication.publish()
|
|
320
|
+
|
|
321
|
+
def _typecheckingstub__6b3ee0aae58ffb52e24c080cc14f8064c37660dcc8fd41bc301113bfdadfc848(
|
|
322
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
323
|
+
id: builtins.str,
|
|
324
|
+
*,
|
|
325
|
+
filter_type: typing.Optional[builtins.str] = None,
|
|
326
|
+
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,
|
|
327
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
328
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
329
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
330
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
331
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
332
|
+
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,
|
|
333
|
+
) -> None:
|
|
334
|
+
"""Type checking stubs"""
|
|
335
|
+
pass
|
|
336
|
+
|
|
337
|
+
def _typecheckingstub__eaf12625eeeae46d01c6293ed44830f6b5e4fa41adf42b500262831374e9c981(
|
|
338
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
339
|
+
import_to_id: builtins.str,
|
|
340
|
+
import_from_id: builtins.str,
|
|
341
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
342
|
+
) -> None:
|
|
343
|
+
"""Type checking stubs"""
|
|
344
|
+
pass
|
|
345
|
+
|
|
346
|
+
def _typecheckingstub__b34ebe3d44f243cf49fe377a365d9dc4f4d014c9ca8a2b3c0581e65b7b0786f8(
|
|
347
|
+
value: builtins.str,
|
|
348
|
+
) -> None:
|
|
349
|
+
"""Type checking stubs"""
|
|
350
|
+
pass
|
|
351
|
+
|
|
352
|
+
def _typecheckingstub__ed0c2173a3bcd65cdb4ab922d071075f345dcbcfd12063225242733644e965cc(
|
|
353
|
+
*,
|
|
354
|
+
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,
|
|
355
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
356
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
357
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
358
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
359
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
360
|
+
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,
|
|
361
|
+
filter_type: typing.Optional[builtins.str] = None,
|
|
362
|
+
) -> None:
|
|
363
|
+
"""Type checking stubs"""
|
|
364
|
+
pass
|