cdktf-cdktf-provider-upcloud 14.10.1__py3-none-any.whl → 14.11.1__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.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +23 -4
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +18 -3
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +23 -8
- 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 +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +131 -54
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +57 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +53 -38
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +50 -35
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +77 -62
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +74 -59
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +58 -43
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +245 -175
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +209 -194
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +211 -196
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +457 -442
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +325 -310
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +139 -124
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +66 -51
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/network/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +39 -24
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/provider/__init__.py +41 -26
- cdktf_cdktf_provider_upcloud/router/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/server/__init__.py +169 -154
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/storage/__init__.py +70 -53
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/tag/__init__.py +32 -17
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/METADATA +6 -6
- cdktf_cdktf_provider_upcloud-14.11.1.dist-info/RECORD +64 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.10.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.10.1.dist-info/RECORD +0 -62
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
|
-
# CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 5.
|
|
2
|
+
# CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 5.11.1
|
|
3
3
|
|
|
4
|
-
This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.
|
|
4
|
+
This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.11.1/docs) bindings for [CDK for Terraform](https://cdk.tf).
|
|
5
5
|
|
|
6
6
|
## Available Packages
|
|
7
7
|
|
|
@@ -63,7 +63,7 @@ This project is explicitly not tracking the Terraform upcloud provider version 1
|
|
|
63
63
|
These are the upstream dependencies:
|
|
64
64
|
|
|
65
65
|
* [CDK for Terraform](https://cdk.tf)
|
|
66
|
-
* [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.
|
|
66
|
+
* [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.11.1)
|
|
67
67
|
* [Terraform Engine](https://terraform.io)
|
|
68
68
|
|
|
69
69
|
If there are breaking changes (backward incompatible) in any of the above, the major version of this project will be bumped.
|
|
@@ -106,7 +106,22 @@ import jsii
|
|
|
106
106
|
import publication
|
|
107
107
|
import typing_extensions
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
import typeguard
|
|
110
|
+
from importlib.metadata import version as _metadata_package_version
|
|
111
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
112
|
+
|
|
113
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
114
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
115
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
116
|
+
else:
|
|
117
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
118
|
+
pass
|
|
119
|
+
else:
|
|
120
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
121
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
122
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
123
|
+
else:
|
|
124
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
110
125
|
|
|
111
126
|
from ._jsii import *
|
|
112
127
|
|
|
@@ -114,6 +129,7 @@ __all__ = [
|
|
|
114
129
|
"data_upcloud_hosts",
|
|
115
130
|
"data_upcloud_ip_addresses",
|
|
116
131
|
"data_upcloud_kubernetes_cluster",
|
|
132
|
+
"data_upcloud_load_balancer_dns_challenge_domain",
|
|
117
133
|
"data_upcloud_managed_database_mysql_sessions",
|
|
118
134
|
"data_upcloud_managed_database_opensearch_indices",
|
|
119
135
|
"data_upcloud_managed_database_postgresql_sessions",
|
|
@@ -150,6 +166,7 @@ __all__ = [
|
|
|
150
166
|
"managed_database_redis",
|
|
151
167
|
"managed_database_user",
|
|
152
168
|
"managed_object_storage",
|
|
169
|
+
"managed_object_storage_custom_domain",
|
|
153
170
|
"managed_object_storage_policy",
|
|
154
171
|
"managed_object_storage_user",
|
|
155
172
|
"managed_object_storage_user_access_key",
|
|
@@ -172,6 +189,7 @@ publication.publish()
|
|
|
172
189
|
from . import data_upcloud_hosts
|
|
173
190
|
from . import data_upcloud_ip_addresses
|
|
174
191
|
from . import data_upcloud_kubernetes_cluster
|
|
192
|
+
from . import data_upcloud_load_balancer_dns_challenge_domain
|
|
175
193
|
from . import data_upcloud_managed_database_mysql_sessions
|
|
176
194
|
from . import data_upcloud_managed_database_opensearch_indices
|
|
177
195
|
from . import data_upcloud_managed_database_postgresql_sessions
|
|
@@ -208,6 +226,7 @@ from . import managed_database_postgresql
|
|
|
208
226
|
from . import managed_database_redis
|
|
209
227
|
from . import managed_database_user
|
|
210
228
|
from . import managed_object_storage
|
|
229
|
+
from . import managed_object_storage_custom_domain
|
|
211
230
|
from . import managed_object_storage_policy
|
|
212
231
|
from . import managed_object_storage_user
|
|
213
232
|
from . import managed_object_storage_user_access_key
|
|
@@ -11,16 +11,31 @@ import jsii
|
|
|
11
11
|
import publication
|
|
12
12
|
import typing_extensions
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
import typeguard
|
|
15
|
+
from importlib.metadata import version as _metadata_package_version
|
|
16
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
17
|
+
|
|
18
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
19
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
20
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
21
|
+
else:
|
|
22
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
23
|
+
pass
|
|
24
|
+
else:
|
|
25
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
26
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
27
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
28
|
+
else:
|
|
29
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
15
30
|
|
|
16
31
|
import cdktf._jsii
|
|
17
32
|
import constructs._jsii
|
|
18
33
|
|
|
19
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
20
35
|
"@cdktf/provider-upcloud",
|
|
21
|
-
"14.
|
|
36
|
+
"14.11.1",
|
|
22
37
|
__name__[0:-6],
|
|
23
|
-
"provider-upcloud@14.
|
|
38
|
+
"provider-upcloud@14.11.1.jsii.tgz",
|
|
24
39
|
)
|
|
25
40
|
|
|
26
41
|
__all__ = [
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_hosts`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_hosts`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_hosts`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
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
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class DataUpcloudHosts(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudHosts.DataUpcloudHosts",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts upcloud_hosts}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -45,11 +60,11 @@ class DataUpcloudHosts(
|
|
|
45
60
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
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,
|
|
47
62
|
) -> None:
|
|
48
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts upcloud_hosts} Data Source.
|
|
49
64
|
|
|
50
65
|
:param scope: The scope in which to define this construct.
|
|
51
66
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
-
:param hosts: hosts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
:param hosts: hosts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts#hosts DataUpcloudHosts#hosts}
|
|
53
68
|
:param connection:
|
|
54
69
|
:param count:
|
|
55
70
|
:param depends_on:
|
|
@@ -88,7 +103,7 @@ class DataUpcloudHosts(
|
|
|
88
103
|
|
|
89
104
|
:param scope: The scope in which to define this construct.
|
|
90
105
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudHosts to import.
|
|
91
|
-
:param import_from_id: The id of the existing DataUpcloudHosts that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
106
|
+
:param import_from_id: The id of the existing DataUpcloudHosts that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts#import import section} in the documentation of this resource for the id to use
|
|
92
107
|
:param provider: ? Optional instance of the provider where the DataUpcloudHosts to import is found.
|
|
93
108
|
'''
|
|
94
109
|
if __debug__:
|
|
@@ -182,7 +197,7 @@ class DataUpcloudHostsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
182
197
|
:param lifecycle:
|
|
183
198
|
:param provider:
|
|
184
199
|
:param provisioners:
|
|
185
|
-
:param hosts: hosts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
200
|
+
:param hosts: hosts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts#hosts DataUpcloudHosts#hosts}
|
|
186
201
|
'''
|
|
187
202
|
if isinstance(lifecycle, dict):
|
|
188
203
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -284,7 +299,7 @@ class DataUpcloudHostsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
284
299
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudHostsHosts"]]]:
|
|
285
300
|
'''hosts block.
|
|
286
301
|
|
|
287
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
302
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/hosts#hosts DataUpcloudHosts#hosts}
|
|
288
303
|
'''
|
|
289
304
|
result = self._values.get("hosts")
|
|
290
305
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudHostsHosts"]]], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_ip_addresses`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_ip_addresses`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_ip_addresses`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
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
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class DataUpcloudIpAddresses(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudIpAddresses.DataUpcloudIpAddresses",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses upcloud_ip_addresses}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -45,11 +60,11 @@ class DataUpcloudIpAddresses(
|
|
|
45
60
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
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,
|
|
47
62
|
) -> None:
|
|
48
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses upcloud_ip_addresses} Data Source.
|
|
49
64
|
|
|
50
65
|
:param scope: The scope in which to define this construct.
|
|
51
66
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses#id DataUpcloudIpAddresses#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.
|
|
53
68
|
:param connection:
|
|
54
69
|
:param count:
|
|
55
70
|
:param depends_on:
|
|
@@ -88,7 +103,7 @@ class DataUpcloudIpAddresses(
|
|
|
88
103
|
|
|
89
104
|
:param scope: The scope in which to define this construct.
|
|
90
105
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudIpAddresses to import.
|
|
91
|
-
:param import_from_id: The id of the existing DataUpcloudIpAddresses that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
106
|
+
:param import_from_id: The id of the existing DataUpcloudIpAddresses that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses#import import section} in the documentation of this resource for the id to use
|
|
92
107
|
:param provider: ? Optional instance of the provider where the DataUpcloudIpAddresses to import is found.
|
|
93
108
|
'''
|
|
94
109
|
if __debug__:
|
|
@@ -358,7 +373,7 @@ class DataUpcloudIpAddressesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
358
373
|
:param lifecycle:
|
|
359
374
|
:param provider:
|
|
360
375
|
:param provisioners:
|
|
361
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
376
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses#id DataUpcloudIpAddresses#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.
|
|
362
377
|
'''
|
|
363
378
|
if isinstance(lifecycle, dict):
|
|
364
379
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -456,7 +471,7 @@ class DataUpcloudIpAddressesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
456
471
|
|
|
457
472
|
@builtins.property
|
|
458
473
|
def id(self) -> typing.Optional[builtins.str]:
|
|
459
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
474
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/ip_addresses#id DataUpcloudIpAddresses#id}.
|
|
460
475
|
|
|
461
476
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
462
477
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_kubernetes_cluster`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_kubernetes_cluster`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_kubernetes_cluster`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
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
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class DataUpcloudKubernetesCluster(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudKubernetesCluster.DataUpcloudKubernetesCluster",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster upcloud_kubernetes_cluster}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -45,11 +60,11 @@ class DataUpcloudKubernetesCluster(
|
|
|
45
60
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
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,
|
|
47
62
|
) -> None:
|
|
48
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster upcloud_kubernetes_cluster} Data Source.
|
|
49
64
|
|
|
50
65
|
:param scope: The scope in which to define this construct.
|
|
51
66
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
-
:param id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
+
:param id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster#id DataUpcloudKubernetesCluster#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.
|
|
53
68
|
:param connection:
|
|
54
69
|
:param count:
|
|
55
70
|
:param depends_on:
|
|
@@ -88,7 +103,7 @@ class DataUpcloudKubernetesCluster(
|
|
|
88
103
|
|
|
89
104
|
:param scope: The scope in which to define this construct.
|
|
90
105
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudKubernetesCluster to import.
|
|
91
|
-
:param import_from_id: The id of the existing DataUpcloudKubernetesCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
106
|
+
:param import_from_id: The id of the existing DataUpcloudKubernetesCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use
|
|
92
107
|
:param provider: ? Optional instance of the provider where the DataUpcloudKubernetesCluster to import is found.
|
|
93
108
|
'''
|
|
94
109
|
if __debug__:
|
|
@@ -195,7 +210,7 @@ class DataUpcloudKubernetesClusterConfig(_cdktf_9a9027ec.TerraformMetaArguments)
|
|
|
195
210
|
:param lifecycle:
|
|
196
211
|
:param provider:
|
|
197
212
|
:param provisioners:
|
|
198
|
-
:param id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
213
|
+
:param id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster#id DataUpcloudKubernetesCluster#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.
|
|
199
214
|
'''
|
|
200
215
|
if isinstance(lifecycle, dict):
|
|
201
216
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -295,7 +310,7 @@ class DataUpcloudKubernetesClusterConfig(_cdktf_9a9027ec.TerraformMetaArguments)
|
|
|
295
310
|
def id(self) -> builtins.str:
|
|
296
311
|
'''UUID of the cluster.
|
|
297
312
|
|
|
298
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
313
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/kubernetes_cluster#id DataUpcloudKubernetesCluster#id}
|
|
299
314
|
|
|
300
315
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
301
316
|
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.
|