cdktf-cdktf-provider-upcloud 14.10.1__py3-none-any.whl → 14.11.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.
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.0.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.0.dist-info}/METADATA +6 -6
- cdktf_cdktf_provider_upcloud-14.11.0.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.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `data_upcloud_load_balancer_dns_challenge_domain`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_load_balancer_dns_challenge_domain`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/load_balancer_dns_challenge_domain).
|
|
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 DataUpcloudLoadBalancerDnsChallengeDomain(
|
|
43
|
+
_cdktf_9a9027ec.TerraformDataSource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudLoadBalancerDnsChallengeDomain.DataUpcloudLoadBalancerDnsChallengeDomain",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/load_balancer_dns_challenge_domain upcloud_load_balancer_dns_challenge_domain}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
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,
|
|
55
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
56
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
57
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
58
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
59
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
60
|
+
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,
|
|
61
|
+
) -> None:
|
|
62
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/load_balancer_dns_challenge_domain upcloud_load_balancer_dns_challenge_domain} Data Source.
|
|
63
|
+
|
|
64
|
+
:param scope: The scope in which to define this construct.
|
|
65
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
66
|
+
:param connection:
|
|
67
|
+
:param count:
|
|
68
|
+
:param depends_on:
|
|
69
|
+
:param for_each:
|
|
70
|
+
:param lifecycle:
|
|
71
|
+
:param provider:
|
|
72
|
+
:param provisioners:
|
|
73
|
+
'''
|
|
74
|
+
if __debug__:
|
|
75
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c37f4d0a4c511ddf65a2c369c347583e37429a216ab6c13a7f6d0627093eb17b)
|
|
76
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
77
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
78
|
+
config = DataUpcloudLoadBalancerDnsChallengeDomainConfig(
|
|
79
|
+
connection=connection,
|
|
80
|
+
count=count,
|
|
81
|
+
depends_on=depends_on,
|
|
82
|
+
for_each=for_each,
|
|
83
|
+
lifecycle=lifecycle,
|
|
84
|
+
provider=provider,
|
|
85
|
+
provisioners=provisioners,
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
89
|
+
|
|
90
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
91
|
+
@builtins.classmethod
|
|
92
|
+
def generate_config_for_import(
|
|
93
|
+
cls,
|
|
94
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
95
|
+
import_to_id: builtins.str,
|
|
96
|
+
import_from_id: builtins.str,
|
|
97
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
98
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
99
|
+
'''Generates CDKTF code for importing a DataUpcloudLoadBalancerDnsChallengeDomain resource upon running "cdktf plan ".
|
|
100
|
+
|
|
101
|
+
:param scope: The scope in which to define this construct.
|
|
102
|
+
:param import_to_id: The construct id used in the generated config for the DataUpcloudLoadBalancerDnsChallengeDomain to import.
|
|
103
|
+
:param import_from_id: The id of the existing DataUpcloudLoadBalancerDnsChallengeDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/load_balancer_dns_challenge_domain#import import section} in the documentation of this resource for the id to use
|
|
104
|
+
:param provider: ? Optional instance of the provider where the DataUpcloudLoadBalancerDnsChallengeDomain to import is found.
|
|
105
|
+
'''
|
|
106
|
+
if __debug__:
|
|
107
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f8f40685cf78699ec0bfc08a5cb5e3560a23916129a435f4a9ca0b073e14818f)
|
|
108
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
109
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
110
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
111
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
112
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
113
|
+
|
|
114
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
115
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
116
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
117
|
+
|
|
118
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
119
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
120
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
121
|
+
|
|
122
|
+
@jsii.python.classproperty
|
|
123
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
124
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
125
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
126
|
+
|
|
127
|
+
@builtins.property
|
|
128
|
+
@jsii.member(jsii_name="domain")
|
|
129
|
+
def domain(self) -> builtins.str:
|
|
130
|
+
return typing.cast(builtins.str, jsii.get(self, "domain"))
|
|
131
|
+
|
|
132
|
+
@builtins.property
|
|
133
|
+
@jsii.member(jsii_name="id")
|
|
134
|
+
def id(self) -> builtins.str:
|
|
135
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
@jsii.data_type(
|
|
139
|
+
jsii_type="@cdktf/provider-upcloud.dataUpcloudLoadBalancerDnsChallengeDomain.DataUpcloudLoadBalancerDnsChallengeDomainConfig",
|
|
140
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
141
|
+
name_mapping={
|
|
142
|
+
"connection": "connection",
|
|
143
|
+
"count": "count",
|
|
144
|
+
"depends_on": "dependsOn",
|
|
145
|
+
"for_each": "forEach",
|
|
146
|
+
"lifecycle": "lifecycle",
|
|
147
|
+
"provider": "provider",
|
|
148
|
+
"provisioners": "provisioners",
|
|
149
|
+
},
|
|
150
|
+
)
|
|
151
|
+
class DataUpcloudLoadBalancerDnsChallengeDomainConfig(
|
|
152
|
+
_cdktf_9a9027ec.TerraformMetaArguments,
|
|
153
|
+
):
|
|
154
|
+
def __init__(
|
|
155
|
+
self,
|
|
156
|
+
*,
|
|
157
|
+
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,
|
|
158
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
159
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
160
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
161
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
162
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
163
|
+
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,
|
|
164
|
+
) -> None:
|
|
165
|
+
'''
|
|
166
|
+
:param connection:
|
|
167
|
+
:param count:
|
|
168
|
+
:param depends_on:
|
|
169
|
+
:param for_each:
|
|
170
|
+
:param lifecycle:
|
|
171
|
+
:param provider:
|
|
172
|
+
:param provisioners:
|
|
173
|
+
'''
|
|
174
|
+
if isinstance(lifecycle, dict):
|
|
175
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
176
|
+
if __debug__:
|
|
177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__82ba9b2f4eeffdb3cf480b47e8989595b8bae2af667094e3dbfb83f0219b3264)
|
|
178
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
179
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
180
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
181
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
182
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
183
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
184
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
185
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
186
|
+
if connection is not None:
|
|
187
|
+
self._values["connection"] = connection
|
|
188
|
+
if count is not None:
|
|
189
|
+
self._values["count"] = count
|
|
190
|
+
if depends_on is not None:
|
|
191
|
+
self._values["depends_on"] = depends_on
|
|
192
|
+
if for_each is not None:
|
|
193
|
+
self._values["for_each"] = for_each
|
|
194
|
+
if lifecycle is not None:
|
|
195
|
+
self._values["lifecycle"] = lifecycle
|
|
196
|
+
if provider is not None:
|
|
197
|
+
self._values["provider"] = provider
|
|
198
|
+
if provisioners is not None:
|
|
199
|
+
self._values["provisioners"] = provisioners
|
|
200
|
+
|
|
201
|
+
@builtins.property
|
|
202
|
+
def connection(
|
|
203
|
+
self,
|
|
204
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
205
|
+
'''
|
|
206
|
+
:stability: experimental
|
|
207
|
+
'''
|
|
208
|
+
result = self._values.get("connection")
|
|
209
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
210
|
+
|
|
211
|
+
@builtins.property
|
|
212
|
+
def count(
|
|
213
|
+
self,
|
|
214
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
215
|
+
'''
|
|
216
|
+
:stability: experimental
|
|
217
|
+
'''
|
|
218
|
+
result = self._values.get("count")
|
|
219
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
220
|
+
|
|
221
|
+
@builtins.property
|
|
222
|
+
def depends_on(
|
|
223
|
+
self,
|
|
224
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
225
|
+
'''
|
|
226
|
+
:stability: experimental
|
|
227
|
+
'''
|
|
228
|
+
result = self._values.get("depends_on")
|
|
229
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
230
|
+
|
|
231
|
+
@builtins.property
|
|
232
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
233
|
+
'''
|
|
234
|
+
:stability: experimental
|
|
235
|
+
'''
|
|
236
|
+
result = self._values.get("for_each")
|
|
237
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
238
|
+
|
|
239
|
+
@builtins.property
|
|
240
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
241
|
+
'''
|
|
242
|
+
:stability: experimental
|
|
243
|
+
'''
|
|
244
|
+
result = self._values.get("lifecycle")
|
|
245
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
246
|
+
|
|
247
|
+
@builtins.property
|
|
248
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
249
|
+
'''
|
|
250
|
+
:stability: experimental
|
|
251
|
+
'''
|
|
252
|
+
result = self._values.get("provider")
|
|
253
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
254
|
+
|
|
255
|
+
@builtins.property
|
|
256
|
+
def provisioners(
|
|
257
|
+
self,
|
|
258
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
259
|
+
'''
|
|
260
|
+
:stability: experimental
|
|
261
|
+
'''
|
|
262
|
+
result = self._values.get("provisioners")
|
|
263
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
264
|
+
|
|
265
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
266
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
267
|
+
|
|
268
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
269
|
+
return not (rhs == self)
|
|
270
|
+
|
|
271
|
+
def __repr__(self) -> str:
|
|
272
|
+
return "DataUpcloudLoadBalancerDnsChallengeDomainConfig(%s)" % ", ".join(
|
|
273
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
__all__ = [
|
|
278
|
+
"DataUpcloudLoadBalancerDnsChallengeDomain",
|
|
279
|
+
"DataUpcloudLoadBalancerDnsChallengeDomainConfig",
|
|
280
|
+
]
|
|
281
|
+
|
|
282
|
+
publication.publish()
|
|
283
|
+
|
|
284
|
+
def _typecheckingstub__c37f4d0a4c511ddf65a2c369c347583e37429a216ab6c13a7f6d0627093eb17b(
|
|
285
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
286
|
+
id: builtins.str,
|
|
287
|
+
*,
|
|
288
|
+
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,
|
|
289
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
290
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
291
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
292
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
293
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
294
|
+
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,
|
|
295
|
+
) -> None:
|
|
296
|
+
"""Type checking stubs"""
|
|
297
|
+
pass
|
|
298
|
+
|
|
299
|
+
def _typecheckingstub__f8f40685cf78699ec0bfc08a5cb5e3560a23916129a435f4a9ca0b073e14818f(
|
|
300
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
301
|
+
import_to_id: builtins.str,
|
|
302
|
+
import_from_id: builtins.str,
|
|
303
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
304
|
+
) -> None:
|
|
305
|
+
"""Type checking stubs"""
|
|
306
|
+
pass
|
|
307
|
+
|
|
308
|
+
def _typecheckingstub__82ba9b2f4eeffdb3cf480b47e8989595b8bae2af667094e3dbfb83f0219b3264(
|
|
309
|
+
*,
|
|
310
|
+
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,
|
|
311
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
312
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
313
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
314
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
315
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
316
|
+
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,
|
|
317
|
+
) -> None:
|
|
318
|
+
"""Type checking stubs"""
|
|
319
|
+
pass
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_managed_database_mysql_sessions`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_mysql_sessions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_mysql_sessions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions).
|
|
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 DataUpcloudManagedDatabaseMysqlSessions(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseMysqlSessions.DataUpcloudManagedDatabaseMysqlSessions",
|
|
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.0/docs/data-sources/managed_database_mysql_sessions upcloud_managed_database_mysql_sessions}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -50,16 +65,16 @@ class DataUpcloudManagedDatabaseMysqlSessions(
|
|
|
50
65
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
51
66
|
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,
|
|
52
67
|
) -> None:
|
|
53
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
68
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions upcloud_managed_database_mysql_sessions} Data Source.
|
|
54
69
|
|
|
55
70
|
:param scope: The scope in which to define this construct.
|
|
56
71
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
57
|
-
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
58
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
59
|
-
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
61
|
-
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
+
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#service}
|
|
73
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#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.
|
|
74
|
+
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#limit}
|
|
75
|
+
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#offset}
|
|
76
|
+
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#order}
|
|
77
|
+
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#sessions}
|
|
63
78
|
:param connection:
|
|
64
79
|
:param count:
|
|
65
80
|
:param depends_on:
|
|
@@ -103,7 +118,7 @@ class DataUpcloudManagedDatabaseMysqlSessions(
|
|
|
103
118
|
|
|
104
119
|
:param scope: The scope in which to define this construct.
|
|
105
120
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudManagedDatabaseMysqlSessions to import.
|
|
106
|
-
:param import_from_id: The id of the existing DataUpcloudManagedDatabaseMysqlSessions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
121
|
+
:param import_from_id: The id of the existing DataUpcloudManagedDatabaseMysqlSessions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#import import section} in the documentation of this resource for the id to use
|
|
107
122
|
:param provider: ? Optional instance of the provider where the DataUpcloudManagedDatabaseMysqlSessions to import is found.
|
|
108
123
|
'''
|
|
109
124
|
if __debug__:
|
|
@@ -305,12 +320,12 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
305
320
|
:param lifecycle:
|
|
306
321
|
:param provider:
|
|
307
322
|
:param provisioners:
|
|
308
|
-
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
309
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
310
|
-
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
311
|
-
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
312
|
-
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
313
|
-
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
323
|
+
:param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#service}
|
|
324
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#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.
|
|
325
|
+
:param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#limit}
|
|
326
|
+
:param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#offset}
|
|
327
|
+
:param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#order}
|
|
328
|
+
:param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#sessions}
|
|
314
329
|
'''
|
|
315
330
|
if isinstance(lifecycle, dict):
|
|
316
331
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -425,7 +440,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
425
440
|
def service(self) -> builtins.str:
|
|
426
441
|
'''Service's UUID for which these sessions belongs to.
|
|
427
442
|
|
|
428
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
443
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#service DataUpcloudManagedDatabaseMysqlSessions#service}
|
|
429
444
|
'''
|
|
430
445
|
result = self._values.get("service")
|
|
431
446
|
assert result is not None, "Required property 'service' is missing"
|
|
@@ -433,7 +448,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
433
448
|
|
|
434
449
|
@builtins.property
|
|
435
450
|
def id(self) -> typing.Optional[builtins.str]:
|
|
436
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
451
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#id DataUpcloudManagedDatabaseMysqlSessions#id}.
|
|
437
452
|
|
|
438
453
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
439
454
|
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.
|
|
@@ -445,7 +460,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
445
460
|
def limit(self) -> typing.Optional[jsii.Number]:
|
|
446
461
|
'''Number of entries to receive at most.
|
|
447
462
|
|
|
448
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
463
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#limit DataUpcloudManagedDatabaseMysqlSessions#limit}
|
|
449
464
|
'''
|
|
450
465
|
result = self._values.get("limit")
|
|
451
466
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -454,7 +469,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
454
469
|
def offset(self) -> typing.Optional[jsii.Number]:
|
|
455
470
|
'''Offset for retrieved results based on sort order.
|
|
456
471
|
|
|
457
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
472
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#offset DataUpcloudManagedDatabaseMysqlSessions#offset}
|
|
458
473
|
'''
|
|
459
474
|
result = self._values.get("offset")
|
|
460
475
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -463,7 +478,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
463
478
|
def order(self) -> typing.Optional[builtins.str]:
|
|
464
479
|
'''Order by session field and sort retrieved results. Limited variables can be used for ordering.
|
|
465
480
|
|
|
466
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
481
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#order DataUpcloudManagedDatabaseMysqlSessions#order}
|
|
467
482
|
'''
|
|
468
483
|
result = self._values.get("order")
|
|
469
484
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -474,7 +489,7 @@ class DataUpcloudManagedDatabaseMysqlSessionsConfig(
|
|
|
474
489
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]]:
|
|
475
490
|
'''sessions block.
|
|
476
491
|
|
|
477
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
492
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_mysql_sessions#sessions DataUpcloudManagedDatabaseMysqlSessions#sessions}
|
|
478
493
|
'''
|
|
479
494
|
result = self._values.get("sessions")
|
|
480
495
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseMysqlSessionsSessions"]]], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_managed_database_opensearch_indices`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_opensearch_indices`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_opensearch_indices`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices).
|
|
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 DataUpcloudManagedDatabaseOpensearchIndices(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseOpensearchIndices.DataUpcloudManagedDatabaseOpensearchIndices",
|
|
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.0/docs/data-sources/managed_database_opensearch_indices upcloud_managed_database_opensearch_indices}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -47,13 +62,13 @@ class DataUpcloudManagedDatabaseOpensearchIndices(
|
|
|
47
62
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
48
63
|
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,
|
|
49
64
|
) -> None:
|
|
50
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices upcloud_managed_database_opensearch_indices} Data Source.
|
|
51
66
|
|
|
52
67
|
:param scope: The scope in which to define this construct.
|
|
53
68
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
-
:param service: Service's UUID for which these indices belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
56
|
-
:param indices: indices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
69
|
+
:param service: Service's UUID for which these indices belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#service DataUpcloudManagedDatabaseOpensearchIndices#service}
|
|
70
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#id DataUpcloudManagedDatabaseOpensearchIndices#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.
|
|
71
|
+
:param indices: indices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#indices DataUpcloudManagedDatabaseOpensearchIndices#indices}
|
|
57
72
|
:param connection:
|
|
58
73
|
:param count:
|
|
59
74
|
:param depends_on:
|
|
@@ -94,7 +109,7 @@ class DataUpcloudManagedDatabaseOpensearchIndices(
|
|
|
94
109
|
|
|
95
110
|
:param scope: The scope in which to define this construct.
|
|
96
111
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudManagedDatabaseOpensearchIndices to import.
|
|
97
|
-
:param import_from_id: The id of the existing DataUpcloudManagedDatabaseOpensearchIndices that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
112
|
+
:param import_from_id: The id of the existing DataUpcloudManagedDatabaseOpensearchIndices that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#import import section} in the documentation of this resource for the id to use
|
|
98
113
|
:param provider: ? Optional instance of the provider where the DataUpcloudManagedDatabaseOpensearchIndices to import is found.
|
|
99
114
|
'''
|
|
100
115
|
if __debug__:
|
|
@@ -227,9 +242,9 @@ class DataUpcloudManagedDatabaseOpensearchIndicesConfig(
|
|
|
227
242
|
:param lifecycle:
|
|
228
243
|
:param provider:
|
|
229
244
|
:param provisioners:
|
|
230
|
-
:param service: Service's UUID for which these indices belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
231
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
232
|
-
:param indices: indices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
245
|
+
:param service: Service's UUID for which these indices belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#service DataUpcloudManagedDatabaseOpensearchIndices#service}
|
|
246
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#id DataUpcloudManagedDatabaseOpensearchIndices#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.
|
|
247
|
+
:param indices: indices block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#indices DataUpcloudManagedDatabaseOpensearchIndices#indices}
|
|
233
248
|
'''
|
|
234
249
|
if isinstance(lifecycle, dict):
|
|
235
250
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -335,7 +350,7 @@ class DataUpcloudManagedDatabaseOpensearchIndicesConfig(
|
|
|
335
350
|
def service(self) -> builtins.str:
|
|
336
351
|
'''Service's UUID for which these indices belongs to.
|
|
337
352
|
|
|
338
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#service DataUpcloudManagedDatabaseOpensearchIndices#service}
|
|
339
354
|
'''
|
|
340
355
|
result = self._values.get("service")
|
|
341
356
|
assert result is not None, "Required property 'service' is missing"
|
|
@@ -343,7 +358,7 @@ class DataUpcloudManagedDatabaseOpensearchIndicesConfig(
|
|
|
343
358
|
|
|
344
359
|
@builtins.property
|
|
345
360
|
def id(self) -> typing.Optional[builtins.str]:
|
|
346
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
361
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#id DataUpcloudManagedDatabaseOpensearchIndices#id}.
|
|
347
362
|
|
|
348
363
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
349
364
|
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.
|
|
@@ -357,7 +372,7 @@ class DataUpcloudManagedDatabaseOpensearchIndicesConfig(
|
|
|
357
372
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseOpensearchIndicesIndices"]]]:
|
|
358
373
|
'''indices block.
|
|
359
374
|
|
|
360
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
375
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/data-sources/managed_database_opensearch_indices#indices DataUpcloudManagedDatabaseOpensearchIndices#indices}
|
|
361
376
|
'''
|
|
362
377
|
result = self._values.get("indices")
|
|
363
378
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseOpensearchIndicesIndices"]]], result)
|