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,384 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `data_upcloud_kubernetes_cluster`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_kubernetes_cluster`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/kubernetes_cluster).
|
|
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 DataUpcloudKubernetesCluster(
|
|
43
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudKubernetesCluster.DataUpcloudKubernetesCluster",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/kubernetes_cluster upcloud_kubernetes_cluster}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id_: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
id: builtins.str,
|
|
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/kubernetes_cluster upcloud_kubernetes_cluster} 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 id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/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.
|
|
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__891df8823c370caf5c3b46732462f48739b76a5ee8ff1204198168966fc90322)
|
|
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 = DataUpcloudKubernetesClusterConfig(
|
|
81
|
+
id=id,
|
|
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 DataUpcloudKubernetesCluster 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 DataUpcloudKubernetesCluster to import.
|
|
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.31.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use
|
|
107
|
+
:param provider: ? Optional instance of the provider where the DataUpcloudKubernetesCluster to import is found.
|
|
108
|
+
'''
|
|
109
|
+
if __debug__:
|
|
110
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bfef1c0ba0bea20bcedb2c53b283a01f29e63a8739b5ad5358db4ed5fa5e4e54)
|
|
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="synthesizeAttributes")
|
|
118
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
119
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
120
|
+
|
|
121
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
122
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
123
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
124
|
+
|
|
125
|
+
@jsii.python.classproperty
|
|
126
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
127
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
128
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
129
|
+
|
|
130
|
+
@builtins.property
|
|
131
|
+
@jsii.member(jsii_name="clientCertificate")
|
|
132
|
+
def client_certificate(self) -> builtins.str:
|
|
133
|
+
return typing.cast(builtins.str, jsii.get(self, "clientCertificate"))
|
|
134
|
+
|
|
135
|
+
@builtins.property
|
|
136
|
+
@jsii.member(jsii_name="clientKey")
|
|
137
|
+
def client_key(self) -> builtins.str:
|
|
138
|
+
return typing.cast(builtins.str, jsii.get(self, "clientKey"))
|
|
139
|
+
|
|
140
|
+
@builtins.property
|
|
141
|
+
@jsii.member(jsii_name="clusterCaCertificate")
|
|
142
|
+
def cluster_ca_certificate(self) -> builtins.str:
|
|
143
|
+
return typing.cast(builtins.str, jsii.get(self, "clusterCaCertificate"))
|
|
144
|
+
|
|
145
|
+
@builtins.property
|
|
146
|
+
@jsii.member(jsii_name="host")
|
|
147
|
+
def host(self) -> builtins.str:
|
|
148
|
+
return typing.cast(builtins.str, jsii.get(self, "host"))
|
|
149
|
+
|
|
150
|
+
@builtins.property
|
|
151
|
+
@jsii.member(jsii_name="kubeconfig")
|
|
152
|
+
def kubeconfig(self) -> builtins.str:
|
|
153
|
+
return typing.cast(builtins.str, jsii.get(self, "kubeconfig"))
|
|
154
|
+
|
|
155
|
+
@builtins.property
|
|
156
|
+
@jsii.member(jsii_name="name")
|
|
157
|
+
def name(self) -> builtins.str:
|
|
158
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
159
|
+
|
|
160
|
+
@builtins.property
|
|
161
|
+
@jsii.member(jsii_name="idInput")
|
|
162
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
163
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
164
|
+
|
|
165
|
+
@builtins.property
|
|
166
|
+
@jsii.member(jsii_name="id")
|
|
167
|
+
def id(self) -> builtins.str:
|
|
168
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
169
|
+
|
|
170
|
+
@id.setter
|
|
171
|
+
def id(self, value: builtins.str) -> None:
|
|
172
|
+
if __debug__:
|
|
173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f481fa0f0daeb2f037061d58311b15cb6a1038875dafe84369dd543e18d82506)
|
|
174
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
175
|
+
jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@jsii.data_type(
|
|
179
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudKubernetesCluster.DataUpcloudKubernetesClusterConfig",
|
|
180
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
181
|
+
name_mapping={
|
|
182
|
+
"connection": "connection",
|
|
183
|
+
"count": "count",
|
|
184
|
+
"depends_on": "dependsOn",
|
|
185
|
+
"for_each": "forEach",
|
|
186
|
+
"lifecycle": "lifecycle",
|
|
187
|
+
"provider": "provider",
|
|
188
|
+
"provisioners": "provisioners",
|
|
189
|
+
"id": "id",
|
|
190
|
+
},
|
|
191
|
+
)
|
|
192
|
+
class DataUpcloudKubernetesClusterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
193
|
+
def __init__(
|
|
194
|
+
self,
|
|
195
|
+
*,
|
|
196
|
+
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,
|
|
197
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
198
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
199
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
200
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
201
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
202
|
+
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,
|
|
203
|
+
id: builtins.str,
|
|
204
|
+
) -> None:
|
|
205
|
+
'''
|
|
206
|
+
:param connection:
|
|
207
|
+
:param count:
|
|
208
|
+
:param depends_on:
|
|
209
|
+
:param for_each:
|
|
210
|
+
:param lifecycle:
|
|
211
|
+
:param provider:
|
|
212
|
+
:param provisioners:
|
|
213
|
+
:param id: UUID of the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/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.
|
|
214
|
+
'''
|
|
215
|
+
if isinstance(lifecycle, dict):
|
|
216
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
217
|
+
if __debug__:
|
|
218
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fcc96befc0205e69fd47fba5fa02a5f4fe5d80bf47ff65770e6e10179c6e4327)
|
|
219
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
220
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
221
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
222
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
223
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
224
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
225
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
226
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
227
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
228
|
+
"id": id,
|
|
229
|
+
}
|
|
230
|
+
if connection is not None:
|
|
231
|
+
self._values["connection"] = connection
|
|
232
|
+
if count is not None:
|
|
233
|
+
self._values["count"] = count
|
|
234
|
+
if depends_on is not None:
|
|
235
|
+
self._values["depends_on"] = depends_on
|
|
236
|
+
if for_each is not None:
|
|
237
|
+
self._values["for_each"] = for_each
|
|
238
|
+
if lifecycle is not None:
|
|
239
|
+
self._values["lifecycle"] = lifecycle
|
|
240
|
+
if provider is not None:
|
|
241
|
+
self._values["provider"] = provider
|
|
242
|
+
if provisioners is not None:
|
|
243
|
+
self._values["provisioners"] = provisioners
|
|
244
|
+
|
|
245
|
+
@builtins.property
|
|
246
|
+
def connection(
|
|
247
|
+
self,
|
|
248
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
249
|
+
'''
|
|
250
|
+
:stability: experimental
|
|
251
|
+
'''
|
|
252
|
+
result = self._values.get("connection")
|
|
253
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
254
|
+
|
|
255
|
+
@builtins.property
|
|
256
|
+
def count(
|
|
257
|
+
self,
|
|
258
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
259
|
+
'''
|
|
260
|
+
:stability: experimental
|
|
261
|
+
'''
|
|
262
|
+
result = self._values.get("count")
|
|
263
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
264
|
+
|
|
265
|
+
@builtins.property
|
|
266
|
+
def depends_on(
|
|
267
|
+
self,
|
|
268
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
269
|
+
'''
|
|
270
|
+
:stability: experimental
|
|
271
|
+
'''
|
|
272
|
+
result = self._values.get("depends_on")
|
|
273
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
274
|
+
|
|
275
|
+
@builtins.property
|
|
276
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
277
|
+
'''
|
|
278
|
+
:stability: experimental
|
|
279
|
+
'''
|
|
280
|
+
result = self._values.get("for_each")
|
|
281
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
282
|
+
|
|
283
|
+
@builtins.property
|
|
284
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
285
|
+
'''
|
|
286
|
+
:stability: experimental
|
|
287
|
+
'''
|
|
288
|
+
result = self._values.get("lifecycle")
|
|
289
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
290
|
+
|
|
291
|
+
@builtins.property
|
|
292
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
293
|
+
'''
|
|
294
|
+
:stability: experimental
|
|
295
|
+
'''
|
|
296
|
+
result = self._values.get("provider")
|
|
297
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
298
|
+
|
|
299
|
+
@builtins.property
|
|
300
|
+
def provisioners(
|
|
301
|
+
self,
|
|
302
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
303
|
+
'''
|
|
304
|
+
:stability: experimental
|
|
305
|
+
'''
|
|
306
|
+
result = self._values.get("provisioners")
|
|
307
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
308
|
+
|
|
309
|
+
@builtins.property
|
|
310
|
+
def id(self) -> builtins.str:
|
|
311
|
+
'''UUID of the cluster.
|
|
312
|
+
|
|
313
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/kubernetes_cluster#id DataUpcloudKubernetesCluster#id}
|
|
314
|
+
|
|
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.
|
|
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.
|
|
317
|
+
'''
|
|
318
|
+
result = self._values.get("id")
|
|
319
|
+
assert result is not None, "Required property 'id' is missing"
|
|
320
|
+
return typing.cast(builtins.str, result)
|
|
321
|
+
|
|
322
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
323
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
324
|
+
|
|
325
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
326
|
+
return not (rhs == self)
|
|
327
|
+
|
|
328
|
+
def __repr__(self) -> str:
|
|
329
|
+
return "DataUpcloudKubernetesClusterConfig(%s)" % ", ".join(
|
|
330
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
__all__ = [
|
|
335
|
+
"DataUpcloudKubernetesCluster",
|
|
336
|
+
"DataUpcloudKubernetesClusterConfig",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
publication.publish()
|
|
340
|
+
|
|
341
|
+
def _typecheckingstub__891df8823c370caf5c3b46732462f48739b76a5ee8ff1204198168966fc90322(
|
|
342
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
343
|
+
id_: builtins.str,
|
|
344
|
+
*,
|
|
345
|
+
id: builtins.str,
|
|
346
|
+
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,
|
|
347
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
348
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
349
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
350
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
351
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
352
|
+
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,
|
|
353
|
+
) -> None:
|
|
354
|
+
"""Type checking stubs"""
|
|
355
|
+
pass
|
|
356
|
+
|
|
357
|
+
def _typecheckingstub__bfef1c0ba0bea20bcedb2c53b283a01f29e63a8739b5ad5358db4ed5fa5e4e54(
|
|
358
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
359
|
+
import_to_id: builtins.str,
|
|
360
|
+
import_from_id: builtins.str,
|
|
361
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
362
|
+
) -> None:
|
|
363
|
+
"""Type checking stubs"""
|
|
364
|
+
pass
|
|
365
|
+
|
|
366
|
+
def _typecheckingstub__f481fa0f0daeb2f037061d58311b15cb6a1038875dafe84369dd543e18d82506(
|
|
367
|
+
value: builtins.str,
|
|
368
|
+
) -> None:
|
|
369
|
+
"""Type checking stubs"""
|
|
370
|
+
pass
|
|
371
|
+
|
|
372
|
+
def _typecheckingstub__fcc96befc0205e69fd47fba5fa02a5f4fe5d80bf47ff65770e6e10179c6e4327(
|
|
373
|
+
*,
|
|
374
|
+
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,
|
|
375
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
376
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
377
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
378
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
379
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
380
|
+
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,
|
|
381
|
+
id: builtins.str,
|
|
382
|
+
) -> None:
|
|
383
|
+
"""Type checking stubs"""
|
|
384
|
+
pass
|