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