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,2113 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_loadbalancer`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer).
|
|
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 Loadbalancer(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.Loadbalancer",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer upcloud_loadbalancer}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
name: builtins.str,
|
|
55
|
+
plan: builtins.str,
|
|
56
|
+
zone: builtins.str,
|
|
57
|
+
configured_status: typing.Optional[builtins.str] = None,
|
|
58
|
+
ip_addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerIpAddresses", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
59
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
60
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
61
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
62
|
+
network: typing.Optional[builtins.str] = None,
|
|
63
|
+
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
64
|
+
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,
|
|
65
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
66
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
67
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
68
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
69
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
70
|
+
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,
|
|
71
|
+
) -> None:
|
|
72
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer upcloud_loadbalancer} Resource.
|
|
73
|
+
|
|
74
|
+
:param scope: The scope in which to define this construct.
|
|
75
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
76
|
+
:param name: The name of the service. Must be unique within customer account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
77
|
+
:param plan: Plan which the service will have. You can list available load balancer plans with ``upctl loadbalancer plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
78
|
+
:param zone: Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
79
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
80
|
+
:param ip_addresses: Floating IP addresses connected to the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#ip_addresses Loadbalancer#ip_addresses}
|
|
81
|
+
:param labels: User defined key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
82
|
+
:param maintenance_dow: The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values ``monday|tuesday|wednesday|thursday|friday|saturday|sunday``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
83
|
+
:param maintenance_time: The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example ``20:01:01Z``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
84
|
+
:param network: Private network UUID where traffic will be routed. Must reside in load balancer zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
85
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
86
|
+
:param connection:
|
|
87
|
+
:param count:
|
|
88
|
+
:param depends_on:
|
|
89
|
+
:param for_each:
|
|
90
|
+
:param lifecycle:
|
|
91
|
+
:param provider:
|
|
92
|
+
:param provisioners:
|
|
93
|
+
'''
|
|
94
|
+
if __debug__:
|
|
95
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e082db6bc1d4641fe4f5a8395ca7b260d01349823ad7c840d9b912e178bbf3cd)
|
|
96
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
97
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
98
|
+
config = LoadbalancerConfig(
|
|
99
|
+
name=name,
|
|
100
|
+
plan=plan,
|
|
101
|
+
zone=zone,
|
|
102
|
+
configured_status=configured_status,
|
|
103
|
+
ip_addresses=ip_addresses,
|
|
104
|
+
labels=labels,
|
|
105
|
+
maintenance_dow=maintenance_dow,
|
|
106
|
+
maintenance_time=maintenance_time,
|
|
107
|
+
network=network,
|
|
108
|
+
networks=networks,
|
|
109
|
+
connection=connection,
|
|
110
|
+
count=count,
|
|
111
|
+
depends_on=depends_on,
|
|
112
|
+
for_each=for_each,
|
|
113
|
+
lifecycle=lifecycle,
|
|
114
|
+
provider=provider,
|
|
115
|
+
provisioners=provisioners,
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
119
|
+
|
|
120
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
121
|
+
@builtins.classmethod
|
|
122
|
+
def generate_config_for_import(
|
|
123
|
+
cls,
|
|
124
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
125
|
+
import_to_id: builtins.str,
|
|
126
|
+
import_from_id: builtins.str,
|
|
127
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
128
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
129
|
+
'''Generates CDKTF code for importing a Loadbalancer resource upon running "cdktf plan ".
|
|
130
|
+
|
|
131
|
+
:param scope: The scope in which to define this construct.
|
|
132
|
+
:param import_to_id: The construct id used in the generated config for the Loadbalancer to import.
|
|
133
|
+
:param import_from_id: The id of the existing Loadbalancer that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#import import section} in the documentation of this resource for the id to use
|
|
134
|
+
:param provider: ? Optional instance of the provider where the Loadbalancer to import is found.
|
|
135
|
+
'''
|
|
136
|
+
if __debug__:
|
|
137
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a06fcb82995d3acc7574b59e5d513376cd60f2da3a90ef6d1363913a4d73ead4)
|
|
138
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
139
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
140
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
141
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
142
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
143
|
+
|
|
144
|
+
@jsii.member(jsii_name="putIpAddresses")
|
|
145
|
+
def put_ip_addresses(
|
|
146
|
+
self,
|
|
147
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerIpAddresses", typing.Dict[builtins.str, typing.Any]]]],
|
|
148
|
+
) -> None:
|
|
149
|
+
'''
|
|
150
|
+
:param value: -
|
|
151
|
+
'''
|
|
152
|
+
if __debug__:
|
|
153
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15183ab3718e8b7643cad5b4cfb95ef70693eb9465cb728984c231199de93f4b)
|
|
154
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
155
|
+
return typing.cast(None, jsii.invoke(self, "putIpAddresses", [value]))
|
|
156
|
+
|
|
157
|
+
@jsii.member(jsii_name="putNetworks")
|
|
158
|
+
def put_networks(
|
|
159
|
+
self,
|
|
160
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerNetworks", typing.Dict[builtins.str, typing.Any]]]],
|
|
161
|
+
) -> None:
|
|
162
|
+
'''
|
|
163
|
+
:param value: -
|
|
164
|
+
'''
|
|
165
|
+
if __debug__:
|
|
166
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ca67cf47cacc4ff22593553aebd9e6a0d0ede15d0f9f321237571ad1163bb77)
|
|
167
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
168
|
+
return typing.cast(None, jsii.invoke(self, "putNetworks", [value]))
|
|
169
|
+
|
|
170
|
+
@jsii.member(jsii_name="resetConfiguredStatus")
|
|
171
|
+
def reset_configured_status(self) -> None:
|
|
172
|
+
return typing.cast(None, jsii.invoke(self, "resetConfiguredStatus", []))
|
|
173
|
+
|
|
174
|
+
@jsii.member(jsii_name="resetIpAddresses")
|
|
175
|
+
def reset_ip_addresses(self) -> None:
|
|
176
|
+
return typing.cast(None, jsii.invoke(self, "resetIpAddresses", []))
|
|
177
|
+
|
|
178
|
+
@jsii.member(jsii_name="resetLabels")
|
|
179
|
+
def reset_labels(self) -> None:
|
|
180
|
+
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
181
|
+
|
|
182
|
+
@jsii.member(jsii_name="resetMaintenanceDow")
|
|
183
|
+
def reset_maintenance_dow(self) -> None:
|
|
184
|
+
return typing.cast(None, jsii.invoke(self, "resetMaintenanceDow", []))
|
|
185
|
+
|
|
186
|
+
@jsii.member(jsii_name="resetMaintenanceTime")
|
|
187
|
+
def reset_maintenance_time(self) -> None:
|
|
188
|
+
return typing.cast(None, jsii.invoke(self, "resetMaintenanceTime", []))
|
|
189
|
+
|
|
190
|
+
@jsii.member(jsii_name="resetNetwork")
|
|
191
|
+
def reset_network(self) -> None:
|
|
192
|
+
return typing.cast(None, jsii.invoke(self, "resetNetwork", []))
|
|
193
|
+
|
|
194
|
+
@jsii.member(jsii_name="resetNetworks")
|
|
195
|
+
def reset_networks(self) -> None:
|
|
196
|
+
return typing.cast(None, jsii.invoke(self, "resetNetworks", []))
|
|
197
|
+
|
|
198
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
199
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
200
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
201
|
+
|
|
202
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
203
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
204
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
205
|
+
|
|
206
|
+
@jsii.python.classproperty
|
|
207
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
208
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
209
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
210
|
+
|
|
211
|
+
@builtins.property
|
|
212
|
+
@jsii.member(jsii_name="backends")
|
|
213
|
+
def backends(self) -> typing.List[builtins.str]:
|
|
214
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "backends"))
|
|
215
|
+
|
|
216
|
+
@builtins.property
|
|
217
|
+
@jsii.member(jsii_name="dnsName")
|
|
218
|
+
def dns_name(self) -> builtins.str:
|
|
219
|
+
return typing.cast(builtins.str, jsii.get(self, "dnsName"))
|
|
220
|
+
|
|
221
|
+
@builtins.property
|
|
222
|
+
@jsii.member(jsii_name="frontends")
|
|
223
|
+
def frontends(self) -> typing.List[builtins.str]:
|
|
224
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "frontends"))
|
|
225
|
+
|
|
226
|
+
@builtins.property
|
|
227
|
+
@jsii.member(jsii_name="id")
|
|
228
|
+
def id(self) -> builtins.str:
|
|
229
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
230
|
+
|
|
231
|
+
@builtins.property
|
|
232
|
+
@jsii.member(jsii_name="ipAddresses")
|
|
233
|
+
def ip_addresses(self) -> "LoadbalancerIpAddressesList":
|
|
234
|
+
return typing.cast("LoadbalancerIpAddressesList", jsii.get(self, "ipAddresses"))
|
|
235
|
+
|
|
236
|
+
@builtins.property
|
|
237
|
+
@jsii.member(jsii_name="networks")
|
|
238
|
+
def networks(self) -> "LoadbalancerNetworksList":
|
|
239
|
+
return typing.cast("LoadbalancerNetworksList", jsii.get(self, "networks"))
|
|
240
|
+
|
|
241
|
+
@builtins.property
|
|
242
|
+
@jsii.member(jsii_name="nodes")
|
|
243
|
+
def nodes(self) -> "LoadbalancerNodesList":
|
|
244
|
+
return typing.cast("LoadbalancerNodesList", jsii.get(self, "nodes"))
|
|
245
|
+
|
|
246
|
+
@builtins.property
|
|
247
|
+
@jsii.member(jsii_name="operationalState")
|
|
248
|
+
def operational_state(self) -> builtins.str:
|
|
249
|
+
return typing.cast(builtins.str, jsii.get(self, "operationalState"))
|
|
250
|
+
|
|
251
|
+
@builtins.property
|
|
252
|
+
@jsii.member(jsii_name="resolvers")
|
|
253
|
+
def resolvers(self) -> typing.List[builtins.str]:
|
|
254
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "resolvers"))
|
|
255
|
+
|
|
256
|
+
@builtins.property
|
|
257
|
+
@jsii.member(jsii_name="configuredStatusInput")
|
|
258
|
+
def configured_status_input(self) -> typing.Optional[builtins.str]:
|
|
259
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "configuredStatusInput"))
|
|
260
|
+
|
|
261
|
+
@builtins.property
|
|
262
|
+
@jsii.member(jsii_name="ipAddressesInput")
|
|
263
|
+
def ip_addresses_input(
|
|
264
|
+
self,
|
|
265
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerIpAddresses"]]]:
|
|
266
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerIpAddresses"]]], jsii.get(self, "ipAddressesInput"))
|
|
267
|
+
|
|
268
|
+
@builtins.property
|
|
269
|
+
@jsii.member(jsii_name="labelsInput")
|
|
270
|
+
def labels_input(
|
|
271
|
+
self,
|
|
272
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
273
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
274
|
+
|
|
275
|
+
@builtins.property
|
|
276
|
+
@jsii.member(jsii_name="maintenanceDowInput")
|
|
277
|
+
def maintenance_dow_input(self) -> typing.Optional[builtins.str]:
|
|
278
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceDowInput"))
|
|
279
|
+
|
|
280
|
+
@builtins.property
|
|
281
|
+
@jsii.member(jsii_name="maintenanceTimeInput")
|
|
282
|
+
def maintenance_time_input(self) -> typing.Optional[builtins.str]:
|
|
283
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceTimeInput"))
|
|
284
|
+
|
|
285
|
+
@builtins.property
|
|
286
|
+
@jsii.member(jsii_name="nameInput")
|
|
287
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
288
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
289
|
+
|
|
290
|
+
@builtins.property
|
|
291
|
+
@jsii.member(jsii_name="networkInput")
|
|
292
|
+
def network_input(self) -> typing.Optional[builtins.str]:
|
|
293
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkInput"))
|
|
294
|
+
|
|
295
|
+
@builtins.property
|
|
296
|
+
@jsii.member(jsii_name="networksInput")
|
|
297
|
+
def networks_input(
|
|
298
|
+
self,
|
|
299
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]]:
|
|
300
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]], jsii.get(self, "networksInput"))
|
|
301
|
+
|
|
302
|
+
@builtins.property
|
|
303
|
+
@jsii.member(jsii_name="planInput")
|
|
304
|
+
def plan_input(self) -> typing.Optional[builtins.str]:
|
|
305
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "planInput"))
|
|
306
|
+
|
|
307
|
+
@builtins.property
|
|
308
|
+
@jsii.member(jsii_name="zoneInput")
|
|
309
|
+
def zone_input(self) -> typing.Optional[builtins.str]:
|
|
310
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "zoneInput"))
|
|
311
|
+
|
|
312
|
+
@builtins.property
|
|
313
|
+
@jsii.member(jsii_name="configuredStatus")
|
|
314
|
+
def configured_status(self) -> builtins.str:
|
|
315
|
+
return typing.cast(builtins.str, jsii.get(self, "configuredStatus"))
|
|
316
|
+
|
|
317
|
+
@configured_status.setter
|
|
318
|
+
def configured_status(self, value: builtins.str) -> None:
|
|
319
|
+
if __debug__:
|
|
320
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cac297cc6127c6857ead70f55b94c946baef2db017d351dab8e481611478b8ff)
|
|
321
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
322
|
+
jsii.set(self, "configuredStatus", value) # pyright: ignore[reportArgumentType]
|
|
323
|
+
|
|
324
|
+
@builtins.property
|
|
325
|
+
@jsii.member(jsii_name="labels")
|
|
326
|
+
def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
|
|
327
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
|
|
328
|
+
|
|
329
|
+
@labels.setter
|
|
330
|
+
def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
|
331
|
+
if __debug__:
|
|
332
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bbbff3ae1f2c1edf762145bd6bf1563504ea39b7abbeb2e11e743f32c787aca0)
|
|
333
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
334
|
+
jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
|
|
335
|
+
|
|
336
|
+
@builtins.property
|
|
337
|
+
@jsii.member(jsii_name="maintenanceDow")
|
|
338
|
+
def maintenance_dow(self) -> builtins.str:
|
|
339
|
+
return typing.cast(builtins.str, jsii.get(self, "maintenanceDow"))
|
|
340
|
+
|
|
341
|
+
@maintenance_dow.setter
|
|
342
|
+
def maintenance_dow(self, value: builtins.str) -> None:
|
|
343
|
+
if __debug__:
|
|
344
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c1c172f4d3ecc0a3e00cc223550a20f38dc1fca823bfab5e22d9d46d5451fa1d)
|
|
345
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
346
|
+
jsii.set(self, "maintenanceDow", value) # pyright: ignore[reportArgumentType]
|
|
347
|
+
|
|
348
|
+
@builtins.property
|
|
349
|
+
@jsii.member(jsii_name="maintenanceTime")
|
|
350
|
+
def maintenance_time(self) -> builtins.str:
|
|
351
|
+
return typing.cast(builtins.str, jsii.get(self, "maintenanceTime"))
|
|
352
|
+
|
|
353
|
+
@maintenance_time.setter
|
|
354
|
+
def maintenance_time(self, value: builtins.str) -> None:
|
|
355
|
+
if __debug__:
|
|
356
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b4e3d2b55c8c105d3febe7dd34482dc24ca57eaa871619acb5e5ac9f7858a85)
|
|
357
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
358
|
+
jsii.set(self, "maintenanceTime", value) # pyright: ignore[reportArgumentType]
|
|
359
|
+
|
|
360
|
+
@builtins.property
|
|
361
|
+
@jsii.member(jsii_name="name")
|
|
362
|
+
def name(self) -> builtins.str:
|
|
363
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
364
|
+
|
|
365
|
+
@name.setter
|
|
366
|
+
def name(self, value: builtins.str) -> None:
|
|
367
|
+
if __debug__:
|
|
368
|
+
type_hints = typing.get_type_hints(_typecheckingstub__36deb33fad5f5d16508c93e2fa76d019c0b115fe9ae9041544dfeaafd965f8c6)
|
|
369
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
370
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
371
|
+
|
|
372
|
+
@builtins.property
|
|
373
|
+
@jsii.member(jsii_name="network")
|
|
374
|
+
def network(self) -> builtins.str:
|
|
375
|
+
return typing.cast(builtins.str, jsii.get(self, "network"))
|
|
376
|
+
|
|
377
|
+
@network.setter
|
|
378
|
+
def network(self, value: builtins.str) -> None:
|
|
379
|
+
if __debug__:
|
|
380
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f8bbaadf718f00aca50e75307b962be48e7b7bba69c0c326bae40373d2d94d1)
|
|
381
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
382
|
+
jsii.set(self, "network", value) # pyright: ignore[reportArgumentType]
|
|
383
|
+
|
|
384
|
+
@builtins.property
|
|
385
|
+
@jsii.member(jsii_name="plan")
|
|
386
|
+
def plan(self) -> builtins.str:
|
|
387
|
+
return typing.cast(builtins.str, jsii.get(self, "plan"))
|
|
388
|
+
|
|
389
|
+
@plan.setter
|
|
390
|
+
def plan(self, value: builtins.str) -> None:
|
|
391
|
+
if __debug__:
|
|
392
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bd2b0d5fa5ffdff4f7bcbeffff81fcc2645b283f7a838d75bc0d6a54b1191b70)
|
|
393
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
394
|
+
jsii.set(self, "plan", value) # pyright: ignore[reportArgumentType]
|
|
395
|
+
|
|
396
|
+
@builtins.property
|
|
397
|
+
@jsii.member(jsii_name="zone")
|
|
398
|
+
def zone(self) -> builtins.str:
|
|
399
|
+
return typing.cast(builtins.str, jsii.get(self, "zone"))
|
|
400
|
+
|
|
401
|
+
@zone.setter
|
|
402
|
+
def zone(self, value: builtins.str) -> None:
|
|
403
|
+
if __debug__:
|
|
404
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae3ac3fe11bc3b1efa594ea7185bab1d0dae41ef9fc7d626591e61185104be88)
|
|
405
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
406
|
+
jsii.set(self, "zone", value) # pyright: ignore[reportArgumentType]
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
@jsii.data_type(
|
|
410
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerConfig",
|
|
411
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
412
|
+
name_mapping={
|
|
413
|
+
"connection": "connection",
|
|
414
|
+
"count": "count",
|
|
415
|
+
"depends_on": "dependsOn",
|
|
416
|
+
"for_each": "forEach",
|
|
417
|
+
"lifecycle": "lifecycle",
|
|
418
|
+
"provider": "provider",
|
|
419
|
+
"provisioners": "provisioners",
|
|
420
|
+
"name": "name",
|
|
421
|
+
"plan": "plan",
|
|
422
|
+
"zone": "zone",
|
|
423
|
+
"configured_status": "configuredStatus",
|
|
424
|
+
"ip_addresses": "ipAddresses",
|
|
425
|
+
"labels": "labels",
|
|
426
|
+
"maintenance_dow": "maintenanceDow",
|
|
427
|
+
"maintenance_time": "maintenanceTime",
|
|
428
|
+
"network": "network",
|
|
429
|
+
"networks": "networks",
|
|
430
|
+
},
|
|
431
|
+
)
|
|
432
|
+
class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
433
|
+
def __init__(
|
|
434
|
+
self,
|
|
435
|
+
*,
|
|
436
|
+
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,
|
|
437
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
438
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
439
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
440
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
441
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
442
|
+
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,
|
|
443
|
+
name: builtins.str,
|
|
444
|
+
plan: builtins.str,
|
|
445
|
+
zone: builtins.str,
|
|
446
|
+
configured_status: typing.Optional[builtins.str] = None,
|
|
447
|
+
ip_addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerIpAddresses", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
448
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
449
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
450
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
451
|
+
network: typing.Optional[builtins.str] = None,
|
|
452
|
+
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
453
|
+
) -> None:
|
|
454
|
+
'''
|
|
455
|
+
:param connection:
|
|
456
|
+
:param count:
|
|
457
|
+
:param depends_on:
|
|
458
|
+
:param for_each:
|
|
459
|
+
:param lifecycle:
|
|
460
|
+
:param provider:
|
|
461
|
+
:param provisioners:
|
|
462
|
+
:param name: The name of the service. Must be unique within customer account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
463
|
+
:param plan: Plan which the service will have. You can list available load balancer plans with ``upctl loadbalancer plans``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
464
|
+
:param zone: Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
465
|
+
:param configured_status: The service configured status indicates the service's current intended status. Managed by the customer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
466
|
+
:param ip_addresses: Floating IP addresses connected to the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#ip_addresses Loadbalancer#ip_addresses}
|
|
467
|
+
:param labels: User defined key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
468
|
+
:param maintenance_dow: The day of the week on which maintenance will be performed. If not provided, we will randomly select a weekend day. Valid values ``monday|tuesday|wednesday|thursday|friday|saturday|sunday``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
469
|
+
:param maintenance_time: The time at which the maintenance will begin in UTC. A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example ``20:01:01Z``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
470
|
+
:param network: Private network UUID where traffic will be routed. Must reside in load balancer zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
471
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
472
|
+
'''
|
|
473
|
+
if isinstance(lifecycle, dict):
|
|
474
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
475
|
+
if __debug__:
|
|
476
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6ad78abeb447854e5bbf7e2b28bbd5ad83ea1471fcd2bfe5ce445ca293e03f74)
|
|
477
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
478
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
479
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
480
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
481
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
482
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
483
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
484
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
485
|
+
check_type(argname="argument plan", value=plan, expected_type=type_hints["plan"])
|
|
486
|
+
check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
|
|
487
|
+
check_type(argname="argument configured_status", value=configured_status, expected_type=type_hints["configured_status"])
|
|
488
|
+
check_type(argname="argument ip_addresses", value=ip_addresses, expected_type=type_hints["ip_addresses"])
|
|
489
|
+
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
490
|
+
check_type(argname="argument maintenance_dow", value=maintenance_dow, expected_type=type_hints["maintenance_dow"])
|
|
491
|
+
check_type(argname="argument maintenance_time", value=maintenance_time, expected_type=type_hints["maintenance_time"])
|
|
492
|
+
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
493
|
+
check_type(argname="argument networks", value=networks, expected_type=type_hints["networks"])
|
|
494
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
495
|
+
"name": name,
|
|
496
|
+
"plan": plan,
|
|
497
|
+
"zone": zone,
|
|
498
|
+
}
|
|
499
|
+
if connection is not None:
|
|
500
|
+
self._values["connection"] = connection
|
|
501
|
+
if count is not None:
|
|
502
|
+
self._values["count"] = count
|
|
503
|
+
if depends_on is not None:
|
|
504
|
+
self._values["depends_on"] = depends_on
|
|
505
|
+
if for_each is not None:
|
|
506
|
+
self._values["for_each"] = for_each
|
|
507
|
+
if lifecycle is not None:
|
|
508
|
+
self._values["lifecycle"] = lifecycle
|
|
509
|
+
if provider is not None:
|
|
510
|
+
self._values["provider"] = provider
|
|
511
|
+
if provisioners is not None:
|
|
512
|
+
self._values["provisioners"] = provisioners
|
|
513
|
+
if configured_status is not None:
|
|
514
|
+
self._values["configured_status"] = configured_status
|
|
515
|
+
if ip_addresses is not None:
|
|
516
|
+
self._values["ip_addresses"] = ip_addresses
|
|
517
|
+
if labels is not None:
|
|
518
|
+
self._values["labels"] = labels
|
|
519
|
+
if maintenance_dow is not None:
|
|
520
|
+
self._values["maintenance_dow"] = maintenance_dow
|
|
521
|
+
if maintenance_time is not None:
|
|
522
|
+
self._values["maintenance_time"] = maintenance_time
|
|
523
|
+
if network is not None:
|
|
524
|
+
self._values["network"] = network
|
|
525
|
+
if networks is not None:
|
|
526
|
+
self._values["networks"] = networks
|
|
527
|
+
|
|
528
|
+
@builtins.property
|
|
529
|
+
def connection(
|
|
530
|
+
self,
|
|
531
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
532
|
+
'''
|
|
533
|
+
:stability: experimental
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("connection")
|
|
536
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
537
|
+
|
|
538
|
+
@builtins.property
|
|
539
|
+
def count(
|
|
540
|
+
self,
|
|
541
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
542
|
+
'''
|
|
543
|
+
:stability: experimental
|
|
544
|
+
'''
|
|
545
|
+
result = self._values.get("count")
|
|
546
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
547
|
+
|
|
548
|
+
@builtins.property
|
|
549
|
+
def depends_on(
|
|
550
|
+
self,
|
|
551
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
552
|
+
'''
|
|
553
|
+
:stability: experimental
|
|
554
|
+
'''
|
|
555
|
+
result = self._values.get("depends_on")
|
|
556
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
557
|
+
|
|
558
|
+
@builtins.property
|
|
559
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
560
|
+
'''
|
|
561
|
+
:stability: experimental
|
|
562
|
+
'''
|
|
563
|
+
result = self._values.get("for_each")
|
|
564
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
565
|
+
|
|
566
|
+
@builtins.property
|
|
567
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
568
|
+
'''
|
|
569
|
+
:stability: experimental
|
|
570
|
+
'''
|
|
571
|
+
result = self._values.get("lifecycle")
|
|
572
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
573
|
+
|
|
574
|
+
@builtins.property
|
|
575
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
576
|
+
'''
|
|
577
|
+
:stability: experimental
|
|
578
|
+
'''
|
|
579
|
+
result = self._values.get("provider")
|
|
580
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
581
|
+
|
|
582
|
+
@builtins.property
|
|
583
|
+
def provisioners(
|
|
584
|
+
self,
|
|
585
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
586
|
+
'''
|
|
587
|
+
:stability: experimental
|
|
588
|
+
'''
|
|
589
|
+
result = self._values.get("provisioners")
|
|
590
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
591
|
+
|
|
592
|
+
@builtins.property
|
|
593
|
+
def name(self) -> builtins.str:
|
|
594
|
+
'''The name of the service. Must be unique within customer account.
|
|
595
|
+
|
|
596
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
597
|
+
'''
|
|
598
|
+
result = self._values.get("name")
|
|
599
|
+
assert result is not None, "Required property 'name' is missing"
|
|
600
|
+
return typing.cast(builtins.str, result)
|
|
601
|
+
|
|
602
|
+
@builtins.property
|
|
603
|
+
def plan(self) -> builtins.str:
|
|
604
|
+
'''Plan which the service will have. You can list available load balancer plans with ``upctl loadbalancer plans``.
|
|
605
|
+
|
|
606
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
607
|
+
'''
|
|
608
|
+
result = self._values.get("plan")
|
|
609
|
+
assert result is not None, "Required property 'plan' is missing"
|
|
610
|
+
return typing.cast(builtins.str, result)
|
|
611
|
+
|
|
612
|
+
@builtins.property
|
|
613
|
+
def zone(self) -> builtins.str:
|
|
614
|
+
'''Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``.
|
|
615
|
+
|
|
616
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
617
|
+
'''
|
|
618
|
+
result = self._values.get("zone")
|
|
619
|
+
assert result is not None, "Required property 'zone' is missing"
|
|
620
|
+
return typing.cast(builtins.str, result)
|
|
621
|
+
|
|
622
|
+
@builtins.property
|
|
623
|
+
def configured_status(self) -> typing.Optional[builtins.str]:
|
|
624
|
+
'''The service configured status indicates the service's current intended status. Managed by the customer.
|
|
625
|
+
|
|
626
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
627
|
+
'''
|
|
628
|
+
result = self._values.get("configured_status")
|
|
629
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
630
|
+
|
|
631
|
+
@builtins.property
|
|
632
|
+
def ip_addresses(
|
|
633
|
+
self,
|
|
634
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerIpAddresses"]]]:
|
|
635
|
+
'''Floating IP addresses connected to the load balancer.
|
|
636
|
+
|
|
637
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#ip_addresses Loadbalancer#ip_addresses}
|
|
638
|
+
'''
|
|
639
|
+
result = self._values.get("ip_addresses")
|
|
640
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerIpAddresses"]]], result)
|
|
641
|
+
|
|
642
|
+
@builtins.property
|
|
643
|
+
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
644
|
+
'''User defined key-value pairs to classify the load balancer.
|
|
645
|
+
|
|
646
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
647
|
+
'''
|
|
648
|
+
result = self._values.get("labels")
|
|
649
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
650
|
+
|
|
651
|
+
@builtins.property
|
|
652
|
+
def maintenance_dow(self) -> typing.Optional[builtins.str]:
|
|
653
|
+
'''The day of the week on which maintenance will be performed.
|
|
654
|
+
|
|
655
|
+
If not provided, we will randomly select a weekend day. Valid values ``monday|tuesday|wednesday|thursday|friday|saturday|sunday``.
|
|
656
|
+
|
|
657
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
658
|
+
'''
|
|
659
|
+
result = self._values.get("maintenance_dow")
|
|
660
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
661
|
+
|
|
662
|
+
@builtins.property
|
|
663
|
+
def maintenance_time(self) -> typing.Optional[builtins.str]:
|
|
664
|
+
'''The time at which the maintenance will begin in UTC.
|
|
665
|
+
|
|
666
|
+
A 2-hour timeframe has been allocated for maintenance. During this period, the multi-node production plans will not experience any downtime, while the one-node plans will have a downtime of 1-2 minutes. If not provided, we will randomly select an off-peak time. Needs to be a valid time format in UTC HH:MM:SSZ, for example ``20:01:01Z``.
|
|
667
|
+
|
|
668
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
669
|
+
'''
|
|
670
|
+
result = self._values.get("maintenance_time")
|
|
671
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
672
|
+
|
|
673
|
+
@builtins.property
|
|
674
|
+
def network(self) -> typing.Optional[builtins.str]:
|
|
675
|
+
'''Private network UUID where traffic will be routed. Must reside in load balancer zone.
|
|
676
|
+
|
|
677
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
678
|
+
'''
|
|
679
|
+
result = self._values.get("network")
|
|
680
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
681
|
+
|
|
682
|
+
@builtins.property
|
|
683
|
+
def networks(
|
|
684
|
+
self,
|
|
685
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]]:
|
|
686
|
+
'''networks block.
|
|
687
|
+
|
|
688
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
689
|
+
'''
|
|
690
|
+
result = self._values.get("networks")
|
|
691
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]], result)
|
|
692
|
+
|
|
693
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
694
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
695
|
+
|
|
696
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
697
|
+
return not (rhs == self)
|
|
698
|
+
|
|
699
|
+
def __repr__(self) -> str:
|
|
700
|
+
return "LoadbalancerConfig(%s)" % ", ".join(
|
|
701
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
702
|
+
)
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
@jsii.data_type(
|
|
706
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerIpAddresses",
|
|
707
|
+
jsii_struct_bases=[],
|
|
708
|
+
name_mapping={"address": "address", "network_name": "networkName"},
|
|
709
|
+
)
|
|
710
|
+
class LoadbalancerIpAddresses:
|
|
711
|
+
def __init__(self, *, address: builtins.str, network_name: builtins.str) -> None:
|
|
712
|
+
'''
|
|
713
|
+
:param address: Floating IP address to attach to the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#address Loadbalancer#address}
|
|
714
|
+
:param network_name: Name of the network where to attach the IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network_name Loadbalancer#network_name}
|
|
715
|
+
'''
|
|
716
|
+
if __debug__:
|
|
717
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce75b402b9b445bf208d353f67271a9c8b0a5b6d262366abe7b2128c091c8484)
|
|
718
|
+
check_type(argname="argument address", value=address, expected_type=type_hints["address"])
|
|
719
|
+
check_type(argname="argument network_name", value=network_name, expected_type=type_hints["network_name"])
|
|
720
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
721
|
+
"address": address,
|
|
722
|
+
"network_name": network_name,
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
@builtins.property
|
|
726
|
+
def address(self) -> builtins.str:
|
|
727
|
+
'''Floating IP address to attach to the load balancer.
|
|
728
|
+
|
|
729
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#address Loadbalancer#address}
|
|
730
|
+
'''
|
|
731
|
+
result = self._values.get("address")
|
|
732
|
+
assert result is not None, "Required property 'address' is missing"
|
|
733
|
+
return typing.cast(builtins.str, result)
|
|
734
|
+
|
|
735
|
+
@builtins.property
|
|
736
|
+
def network_name(self) -> builtins.str:
|
|
737
|
+
'''Name of the network where to attach the IP address.
|
|
738
|
+
|
|
739
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network_name Loadbalancer#network_name}
|
|
740
|
+
'''
|
|
741
|
+
result = self._values.get("network_name")
|
|
742
|
+
assert result is not None, "Required property 'network_name' is missing"
|
|
743
|
+
return typing.cast(builtins.str, result)
|
|
744
|
+
|
|
745
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
746
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
747
|
+
|
|
748
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
749
|
+
return not (rhs == self)
|
|
750
|
+
|
|
751
|
+
def __repr__(self) -> str:
|
|
752
|
+
return "LoadbalancerIpAddresses(%s)" % ", ".join(
|
|
753
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class LoadbalancerIpAddressesList(
|
|
758
|
+
_cdktf_9a9027ec.ComplexList,
|
|
759
|
+
metaclass=jsii.JSIIMeta,
|
|
760
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerIpAddressesList",
|
|
761
|
+
):
|
|
762
|
+
def __init__(
|
|
763
|
+
self,
|
|
764
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
765
|
+
terraform_attribute: builtins.str,
|
|
766
|
+
wraps_set: builtins.bool,
|
|
767
|
+
) -> None:
|
|
768
|
+
'''
|
|
769
|
+
:param terraform_resource: The parent resource.
|
|
770
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
771
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
772
|
+
'''
|
|
773
|
+
if __debug__:
|
|
774
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f02af0b454439c0c9d5dc21d84e6300bc87a531f60cfb4c82bbecb09d2d977e9)
|
|
775
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
776
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
777
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
778
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
779
|
+
|
|
780
|
+
@jsii.member(jsii_name="get")
|
|
781
|
+
def get(self, index: jsii.Number) -> "LoadbalancerIpAddressesOutputReference":
|
|
782
|
+
'''
|
|
783
|
+
:param index: the index of the item to return.
|
|
784
|
+
'''
|
|
785
|
+
if __debug__:
|
|
786
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2d9524384ac26faecd34939defe9ce0e85e80861c29684ea2ce5c67450a9f3ec)
|
|
787
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
788
|
+
return typing.cast("LoadbalancerIpAddressesOutputReference", jsii.invoke(self, "get", [index]))
|
|
789
|
+
|
|
790
|
+
@builtins.property
|
|
791
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
792
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
793
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
794
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
795
|
+
|
|
796
|
+
@_terraform_attribute.setter
|
|
797
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
798
|
+
if __debug__:
|
|
799
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d086bd51cc1912b29ed32c8f058ec769fed8ff8031af3f2951a130318bf194f)
|
|
800
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
801
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
802
|
+
|
|
803
|
+
@builtins.property
|
|
804
|
+
@jsii.member(jsii_name="terraformResource")
|
|
805
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
806
|
+
'''The parent resource.'''
|
|
807
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
808
|
+
|
|
809
|
+
@_terraform_resource.setter
|
|
810
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
811
|
+
if __debug__:
|
|
812
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4a1afc83cc3f256ab317cae59f6ea76a50de98128ce23b691dc9488cea01e98)
|
|
813
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
814
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
815
|
+
|
|
816
|
+
@builtins.property
|
|
817
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
818
|
+
def _wraps_set(self) -> builtins.bool:
|
|
819
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
820
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
821
|
+
|
|
822
|
+
@_wraps_set.setter
|
|
823
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
824
|
+
if __debug__:
|
|
825
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6f1a9d964249420a1551ef1d4e41b7cd4eaea86ea2d89c54265473e3da03b662)
|
|
826
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
827
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
828
|
+
|
|
829
|
+
@builtins.property
|
|
830
|
+
@jsii.member(jsii_name="internalValue")
|
|
831
|
+
def internal_value(
|
|
832
|
+
self,
|
|
833
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerIpAddresses]]]:
|
|
834
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerIpAddresses]]], jsii.get(self, "internalValue"))
|
|
835
|
+
|
|
836
|
+
@internal_value.setter
|
|
837
|
+
def internal_value(
|
|
838
|
+
self,
|
|
839
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerIpAddresses]]],
|
|
840
|
+
) -> None:
|
|
841
|
+
if __debug__:
|
|
842
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7f43c3005f9a58d9f6eebf02d9c867242db10f1b27c199fad87a3a0b97c67363)
|
|
843
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
844
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
class LoadbalancerIpAddressesOutputReference(
|
|
848
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
849
|
+
metaclass=jsii.JSIIMeta,
|
|
850
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerIpAddressesOutputReference",
|
|
851
|
+
):
|
|
852
|
+
def __init__(
|
|
853
|
+
self,
|
|
854
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
855
|
+
terraform_attribute: builtins.str,
|
|
856
|
+
complex_object_index: jsii.Number,
|
|
857
|
+
complex_object_is_from_set: builtins.bool,
|
|
858
|
+
) -> None:
|
|
859
|
+
'''
|
|
860
|
+
:param terraform_resource: The parent resource.
|
|
861
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
862
|
+
:param complex_object_index: the index of this item in the list.
|
|
863
|
+
: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).
|
|
864
|
+
'''
|
|
865
|
+
if __debug__:
|
|
866
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3c765a7717fcf849730a03a5a582308e630407d00a928026e5a7cb461a750cb7)
|
|
867
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
868
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
869
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
870
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
871
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
872
|
+
|
|
873
|
+
@builtins.property
|
|
874
|
+
@jsii.member(jsii_name="addressInput")
|
|
875
|
+
def address_input(self) -> typing.Optional[builtins.str]:
|
|
876
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "addressInput"))
|
|
877
|
+
|
|
878
|
+
@builtins.property
|
|
879
|
+
@jsii.member(jsii_name="networkNameInput")
|
|
880
|
+
def network_name_input(self) -> typing.Optional[builtins.str]:
|
|
881
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkNameInput"))
|
|
882
|
+
|
|
883
|
+
@builtins.property
|
|
884
|
+
@jsii.member(jsii_name="address")
|
|
885
|
+
def address(self) -> builtins.str:
|
|
886
|
+
return typing.cast(builtins.str, jsii.get(self, "address"))
|
|
887
|
+
|
|
888
|
+
@address.setter
|
|
889
|
+
def address(self, value: builtins.str) -> None:
|
|
890
|
+
if __debug__:
|
|
891
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c4aa11035f1f5ff1f8a07413c95bcf0a2977ee12aec55bf533ef2635a1491ed8)
|
|
892
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
893
|
+
jsii.set(self, "address", value) # pyright: ignore[reportArgumentType]
|
|
894
|
+
|
|
895
|
+
@builtins.property
|
|
896
|
+
@jsii.member(jsii_name="networkName")
|
|
897
|
+
def network_name(self) -> builtins.str:
|
|
898
|
+
return typing.cast(builtins.str, jsii.get(self, "networkName"))
|
|
899
|
+
|
|
900
|
+
@network_name.setter
|
|
901
|
+
def network_name(self, value: builtins.str) -> None:
|
|
902
|
+
if __debug__:
|
|
903
|
+
type_hints = typing.get_type_hints(_typecheckingstub__390c5d6b38a2fa66e43b947f09e1a5db505af26586f714a73c6de31ff58d4d66)
|
|
904
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
905
|
+
jsii.set(self, "networkName", value) # pyright: ignore[reportArgumentType]
|
|
906
|
+
|
|
907
|
+
@builtins.property
|
|
908
|
+
@jsii.member(jsii_name="internalValue")
|
|
909
|
+
def internal_value(
|
|
910
|
+
self,
|
|
911
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerIpAddresses]]:
|
|
912
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerIpAddresses]], jsii.get(self, "internalValue"))
|
|
913
|
+
|
|
914
|
+
@internal_value.setter
|
|
915
|
+
def internal_value(
|
|
916
|
+
self,
|
|
917
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerIpAddresses]],
|
|
918
|
+
) -> None:
|
|
919
|
+
if __debug__:
|
|
920
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0079fce14c5d632978d9fc85a39b38951590a039ca99d93b8b8f873c37132c2a)
|
|
921
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
922
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
@jsii.data_type(
|
|
926
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNetworks",
|
|
927
|
+
jsii_struct_bases=[],
|
|
928
|
+
name_mapping={
|
|
929
|
+
"family": "family",
|
|
930
|
+
"name": "name",
|
|
931
|
+
"type": "type",
|
|
932
|
+
"network": "network",
|
|
933
|
+
},
|
|
934
|
+
)
|
|
935
|
+
class LoadbalancerNetworks:
|
|
936
|
+
def __init__(
|
|
937
|
+
self,
|
|
938
|
+
*,
|
|
939
|
+
family: builtins.str,
|
|
940
|
+
name: builtins.str,
|
|
941
|
+
type: builtins.str,
|
|
942
|
+
network: typing.Optional[builtins.str] = None,
|
|
943
|
+
) -> None:
|
|
944
|
+
'''
|
|
945
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#family Loadbalancer#family}
|
|
946
|
+
:param name: The name of the network. Must be unique within the service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
947
|
+
:param type: The type of the network. Only one public network can be attached and at least one private network must be attached. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#type Loadbalancer#type}
|
|
948
|
+
:param network: Private network UUID. Required for private networks and must reside in loadbalancer zone. For public network the field should be omitted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
949
|
+
'''
|
|
950
|
+
if __debug__:
|
|
951
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f7bc3b31db01be8fcdb6dd15ccf511434856f0866752f9ec14fbf89082bb48ed)
|
|
952
|
+
check_type(argname="argument family", value=family, expected_type=type_hints["family"])
|
|
953
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
954
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
955
|
+
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
956
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
957
|
+
"family": family,
|
|
958
|
+
"name": name,
|
|
959
|
+
"type": type,
|
|
960
|
+
}
|
|
961
|
+
if network is not None:
|
|
962
|
+
self._values["network"] = network
|
|
963
|
+
|
|
964
|
+
@builtins.property
|
|
965
|
+
def family(self) -> builtins.str:
|
|
966
|
+
'''Network family. Currently only ``IPv4`` is supported.
|
|
967
|
+
|
|
968
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#family Loadbalancer#family}
|
|
969
|
+
'''
|
|
970
|
+
result = self._values.get("family")
|
|
971
|
+
assert result is not None, "Required property 'family' is missing"
|
|
972
|
+
return typing.cast(builtins.str, result)
|
|
973
|
+
|
|
974
|
+
@builtins.property
|
|
975
|
+
def name(self) -> builtins.str:
|
|
976
|
+
'''The name of the network. Must be unique within the service.
|
|
977
|
+
|
|
978
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
979
|
+
'''
|
|
980
|
+
result = self._values.get("name")
|
|
981
|
+
assert result is not None, "Required property 'name' is missing"
|
|
982
|
+
return typing.cast(builtins.str, result)
|
|
983
|
+
|
|
984
|
+
@builtins.property
|
|
985
|
+
def type(self) -> builtins.str:
|
|
986
|
+
'''The type of the network.
|
|
987
|
+
|
|
988
|
+
Only one public network can be attached and at least one private network must be attached.
|
|
989
|
+
|
|
990
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#type Loadbalancer#type}
|
|
991
|
+
'''
|
|
992
|
+
result = self._values.get("type")
|
|
993
|
+
assert result is not None, "Required property 'type' is missing"
|
|
994
|
+
return typing.cast(builtins.str, result)
|
|
995
|
+
|
|
996
|
+
@builtins.property
|
|
997
|
+
def network(self) -> typing.Optional[builtins.str]:
|
|
998
|
+
'''Private network UUID.
|
|
999
|
+
|
|
1000
|
+
Required for private networks and must reside in loadbalancer zone. For public network the field should be omitted.
|
|
1001
|
+
|
|
1002
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
1003
|
+
'''
|
|
1004
|
+
result = self._values.get("network")
|
|
1005
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1006
|
+
|
|
1007
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1008
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1009
|
+
|
|
1010
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1011
|
+
return not (rhs == self)
|
|
1012
|
+
|
|
1013
|
+
def __repr__(self) -> str:
|
|
1014
|
+
return "LoadbalancerNetworks(%s)" % ", ".join(
|
|
1015
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
class LoadbalancerNetworksList(
|
|
1020
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1021
|
+
metaclass=jsii.JSIIMeta,
|
|
1022
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNetworksList",
|
|
1023
|
+
):
|
|
1024
|
+
def __init__(
|
|
1025
|
+
self,
|
|
1026
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1027
|
+
terraform_attribute: builtins.str,
|
|
1028
|
+
wraps_set: builtins.bool,
|
|
1029
|
+
) -> None:
|
|
1030
|
+
'''
|
|
1031
|
+
:param terraform_resource: The parent resource.
|
|
1032
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1033
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1034
|
+
'''
|
|
1035
|
+
if __debug__:
|
|
1036
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c2e24926870431729ebd1f4eab59aaa9079d172b45aa57b18f836bbf3f206ce0)
|
|
1037
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1038
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1039
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1040
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1041
|
+
|
|
1042
|
+
@jsii.member(jsii_name="get")
|
|
1043
|
+
def get(self, index: jsii.Number) -> "LoadbalancerNetworksOutputReference":
|
|
1044
|
+
'''
|
|
1045
|
+
:param index: the index of the item to return.
|
|
1046
|
+
'''
|
|
1047
|
+
if __debug__:
|
|
1048
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c26491321f5eba1561cbf24c8c860f169d3781cb90b23654a63f45ff4bcf34a2)
|
|
1049
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1050
|
+
return typing.cast("LoadbalancerNetworksOutputReference", jsii.invoke(self, "get", [index]))
|
|
1051
|
+
|
|
1052
|
+
@builtins.property
|
|
1053
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1054
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1055
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1056
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1057
|
+
|
|
1058
|
+
@_terraform_attribute.setter
|
|
1059
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1060
|
+
if __debug__:
|
|
1061
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ae06c341bf2904121aa578cea993140a4b7cb36064848cf4ca8ac65ec5f183cc)
|
|
1062
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1063
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1064
|
+
|
|
1065
|
+
@builtins.property
|
|
1066
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1067
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1068
|
+
'''The parent resource.'''
|
|
1069
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1070
|
+
|
|
1071
|
+
@_terraform_resource.setter
|
|
1072
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1073
|
+
if __debug__:
|
|
1074
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f1a9777a971e346428f181b2e941b84d7f0aef60fc2b188a37f9870c2b30944)
|
|
1075
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1076
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1077
|
+
|
|
1078
|
+
@builtins.property
|
|
1079
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1080
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1081
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1082
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1083
|
+
|
|
1084
|
+
@_wraps_set.setter
|
|
1085
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1086
|
+
if __debug__:
|
|
1087
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de05d153cd78c157b2bd5fd1e716fa2ef2a05195baf8b9b445332ed2840aca24)
|
|
1088
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1089
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1090
|
+
|
|
1091
|
+
@builtins.property
|
|
1092
|
+
@jsii.member(jsii_name="internalValue")
|
|
1093
|
+
def internal_value(
|
|
1094
|
+
self,
|
|
1095
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerNetworks]]]:
|
|
1096
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerNetworks]]], jsii.get(self, "internalValue"))
|
|
1097
|
+
|
|
1098
|
+
@internal_value.setter
|
|
1099
|
+
def internal_value(
|
|
1100
|
+
self,
|
|
1101
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerNetworks]]],
|
|
1102
|
+
) -> None:
|
|
1103
|
+
if __debug__:
|
|
1104
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eed6b258e99225ed0f3a333b97e231b7b4028e60d3ca488b893523a44eaa4116)
|
|
1105
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1106
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
class LoadbalancerNetworksOutputReference(
|
|
1110
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1111
|
+
metaclass=jsii.JSIIMeta,
|
|
1112
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNetworksOutputReference",
|
|
1113
|
+
):
|
|
1114
|
+
def __init__(
|
|
1115
|
+
self,
|
|
1116
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1117
|
+
terraform_attribute: builtins.str,
|
|
1118
|
+
complex_object_index: jsii.Number,
|
|
1119
|
+
complex_object_is_from_set: builtins.bool,
|
|
1120
|
+
) -> None:
|
|
1121
|
+
'''
|
|
1122
|
+
:param terraform_resource: The parent resource.
|
|
1123
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1124
|
+
:param complex_object_index: the index of this item in the list.
|
|
1125
|
+
: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).
|
|
1126
|
+
'''
|
|
1127
|
+
if __debug__:
|
|
1128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf1fc3a73a3eaae62caa5fef396d7982ec3db1abd4ea005f4181fa353e830339)
|
|
1129
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1130
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1131
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1132
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1133
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1134
|
+
|
|
1135
|
+
@jsii.member(jsii_name="resetNetwork")
|
|
1136
|
+
def reset_network(self) -> None:
|
|
1137
|
+
return typing.cast(None, jsii.invoke(self, "resetNetwork", []))
|
|
1138
|
+
|
|
1139
|
+
@builtins.property
|
|
1140
|
+
@jsii.member(jsii_name="dnsName")
|
|
1141
|
+
def dns_name(self) -> builtins.str:
|
|
1142
|
+
return typing.cast(builtins.str, jsii.get(self, "dnsName"))
|
|
1143
|
+
|
|
1144
|
+
@builtins.property
|
|
1145
|
+
@jsii.member(jsii_name="id")
|
|
1146
|
+
def id(self) -> builtins.str:
|
|
1147
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
1148
|
+
|
|
1149
|
+
@builtins.property
|
|
1150
|
+
@jsii.member(jsii_name="familyInput")
|
|
1151
|
+
def family_input(self) -> typing.Optional[builtins.str]:
|
|
1152
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "familyInput"))
|
|
1153
|
+
|
|
1154
|
+
@builtins.property
|
|
1155
|
+
@jsii.member(jsii_name="nameInput")
|
|
1156
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
1157
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
1158
|
+
|
|
1159
|
+
@builtins.property
|
|
1160
|
+
@jsii.member(jsii_name="networkInput")
|
|
1161
|
+
def network_input(self) -> typing.Optional[builtins.str]:
|
|
1162
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkInput"))
|
|
1163
|
+
|
|
1164
|
+
@builtins.property
|
|
1165
|
+
@jsii.member(jsii_name="typeInput")
|
|
1166
|
+
def type_input(self) -> typing.Optional[builtins.str]:
|
|
1167
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "typeInput"))
|
|
1168
|
+
|
|
1169
|
+
@builtins.property
|
|
1170
|
+
@jsii.member(jsii_name="family")
|
|
1171
|
+
def family(self) -> builtins.str:
|
|
1172
|
+
return typing.cast(builtins.str, jsii.get(self, "family"))
|
|
1173
|
+
|
|
1174
|
+
@family.setter
|
|
1175
|
+
def family(self, value: builtins.str) -> None:
|
|
1176
|
+
if __debug__:
|
|
1177
|
+
type_hints = typing.get_type_hints(_typecheckingstub__635bd933976b88c2d50455372550651a43ea4553d95295b5746829a1ae9b2240)
|
|
1178
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1179
|
+
jsii.set(self, "family", value) # pyright: ignore[reportArgumentType]
|
|
1180
|
+
|
|
1181
|
+
@builtins.property
|
|
1182
|
+
@jsii.member(jsii_name="name")
|
|
1183
|
+
def name(self) -> builtins.str:
|
|
1184
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1185
|
+
|
|
1186
|
+
@name.setter
|
|
1187
|
+
def name(self, value: builtins.str) -> None:
|
|
1188
|
+
if __debug__:
|
|
1189
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b33512dfe93bead3624d97b01704676e399044f4cd9af3eb687fb022c7a22459)
|
|
1190
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1191
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
1192
|
+
|
|
1193
|
+
@builtins.property
|
|
1194
|
+
@jsii.member(jsii_name="network")
|
|
1195
|
+
def network(self) -> builtins.str:
|
|
1196
|
+
return typing.cast(builtins.str, jsii.get(self, "network"))
|
|
1197
|
+
|
|
1198
|
+
@network.setter
|
|
1199
|
+
def network(self, value: builtins.str) -> None:
|
|
1200
|
+
if __debug__:
|
|
1201
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7732a1998fa55248248734e92238cd1a7b9d70c6bc6f96bc4280b410a48b8277)
|
|
1202
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1203
|
+
jsii.set(self, "network", value) # pyright: ignore[reportArgumentType]
|
|
1204
|
+
|
|
1205
|
+
@builtins.property
|
|
1206
|
+
@jsii.member(jsii_name="type")
|
|
1207
|
+
def type(self) -> builtins.str:
|
|
1208
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
1209
|
+
|
|
1210
|
+
@type.setter
|
|
1211
|
+
def type(self, value: builtins.str) -> None:
|
|
1212
|
+
if __debug__:
|
|
1213
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b5ea5397a777374ce7d5527fd05d41bd716166846a752e4ec1403dd812b74aa8)
|
|
1214
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1215
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
1216
|
+
|
|
1217
|
+
@builtins.property
|
|
1218
|
+
@jsii.member(jsii_name="internalValue")
|
|
1219
|
+
def internal_value(
|
|
1220
|
+
self,
|
|
1221
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerNetworks]]:
|
|
1222
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerNetworks]], jsii.get(self, "internalValue"))
|
|
1223
|
+
|
|
1224
|
+
@internal_value.setter
|
|
1225
|
+
def internal_value(
|
|
1226
|
+
self,
|
|
1227
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerNetworks]],
|
|
1228
|
+
) -> None:
|
|
1229
|
+
if __debug__:
|
|
1230
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9dd12a48c92d6732d0cf306fc61633e91a41c2810d46a04ec5d2f6061ea788c)
|
|
1231
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1232
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
@jsii.data_type(
|
|
1236
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodes",
|
|
1237
|
+
jsii_struct_bases=[],
|
|
1238
|
+
name_mapping={},
|
|
1239
|
+
)
|
|
1240
|
+
class LoadbalancerNodes:
|
|
1241
|
+
def __init__(self) -> None:
|
|
1242
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1243
|
+
|
|
1244
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1245
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1246
|
+
|
|
1247
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1248
|
+
return not (rhs == self)
|
|
1249
|
+
|
|
1250
|
+
def __repr__(self) -> str:
|
|
1251
|
+
return "LoadbalancerNodes(%s)" % ", ".join(
|
|
1252
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1253
|
+
)
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
class LoadbalancerNodesList(
|
|
1257
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1258
|
+
metaclass=jsii.JSIIMeta,
|
|
1259
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesList",
|
|
1260
|
+
):
|
|
1261
|
+
def __init__(
|
|
1262
|
+
self,
|
|
1263
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1264
|
+
terraform_attribute: builtins.str,
|
|
1265
|
+
wraps_set: builtins.bool,
|
|
1266
|
+
) -> None:
|
|
1267
|
+
'''
|
|
1268
|
+
:param terraform_resource: The parent resource.
|
|
1269
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1270
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1271
|
+
'''
|
|
1272
|
+
if __debug__:
|
|
1273
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2cf1e8db35e643247f6c267497bcf23c48a27385cb161e9d15f16e35b8a8352d)
|
|
1274
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1275
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1276
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1277
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1278
|
+
|
|
1279
|
+
@jsii.member(jsii_name="get")
|
|
1280
|
+
def get(self, index: jsii.Number) -> "LoadbalancerNodesOutputReference":
|
|
1281
|
+
'''
|
|
1282
|
+
:param index: the index of the item to return.
|
|
1283
|
+
'''
|
|
1284
|
+
if __debug__:
|
|
1285
|
+
type_hints = typing.get_type_hints(_typecheckingstub__046257b073ed2cee38789c57c1ddad515c8554e85f57f85a2ccbf6ca49ccf7cf)
|
|
1286
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1287
|
+
return typing.cast("LoadbalancerNodesOutputReference", jsii.invoke(self, "get", [index]))
|
|
1288
|
+
|
|
1289
|
+
@builtins.property
|
|
1290
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1291
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1292
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1293
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1294
|
+
|
|
1295
|
+
@_terraform_attribute.setter
|
|
1296
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1297
|
+
if __debug__:
|
|
1298
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cfa110504e6609013afd9524c8df8b768056469ef9bb766787616ff007b0e495)
|
|
1299
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1300
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1301
|
+
|
|
1302
|
+
@builtins.property
|
|
1303
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1304
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1305
|
+
'''The parent resource.'''
|
|
1306
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1307
|
+
|
|
1308
|
+
@_terraform_resource.setter
|
|
1309
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1310
|
+
if __debug__:
|
|
1311
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ca3a85dcf459c8a49b619bc66eddd508dd9bd2f7e571b9f9514acd70cf1a422)
|
|
1312
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1313
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1314
|
+
|
|
1315
|
+
@builtins.property
|
|
1316
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1317
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1318
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1319
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1320
|
+
|
|
1321
|
+
@_wraps_set.setter
|
|
1322
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1323
|
+
if __debug__:
|
|
1324
|
+
type_hints = typing.get_type_hints(_typecheckingstub__24f19e1881c65a17428db440be54a55772971377da46408935d597fa5e281143)
|
|
1325
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1326
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
@jsii.data_type(
|
|
1330
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworks",
|
|
1331
|
+
jsii_struct_bases=[],
|
|
1332
|
+
name_mapping={},
|
|
1333
|
+
)
|
|
1334
|
+
class LoadbalancerNodesNetworks:
|
|
1335
|
+
def __init__(self) -> None:
|
|
1336
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1337
|
+
|
|
1338
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1339
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1340
|
+
|
|
1341
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1342
|
+
return not (rhs == self)
|
|
1343
|
+
|
|
1344
|
+
def __repr__(self) -> str:
|
|
1345
|
+
return "LoadbalancerNodesNetworks(%s)" % ", ".join(
|
|
1346
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1347
|
+
)
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
@jsii.data_type(
|
|
1351
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworksIpAddresses",
|
|
1352
|
+
jsii_struct_bases=[],
|
|
1353
|
+
name_mapping={},
|
|
1354
|
+
)
|
|
1355
|
+
class LoadbalancerNodesNetworksIpAddresses:
|
|
1356
|
+
def __init__(self) -> None:
|
|
1357
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1358
|
+
|
|
1359
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1360
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1361
|
+
|
|
1362
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1363
|
+
return not (rhs == self)
|
|
1364
|
+
|
|
1365
|
+
def __repr__(self) -> str:
|
|
1366
|
+
return "LoadbalancerNodesNetworksIpAddresses(%s)" % ", ".join(
|
|
1367
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1368
|
+
)
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
class LoadbalancerNodesNetworksIpAddressesList(
|
|
1372
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1373
|
+
metaclass=jsii.JSIIMeta,
|
|
1374
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworksIpAddressesList",
|
|
1375
|
+
):
|
|
1376
|
+
def __init__(
|
|
1377
|
+
self,
|
|
1378
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1379
|
+
terraform_attribute: builtins.str,
|
|
1380
|
+
wraps_set: builtins.bool,
|
|
1381
|
+
) -> None:
|
|
1382
|
+
'''
|
|
1383
|
+
:param terraform_resource: The parent resource.
|
|
1384
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1385
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1386
|
+
'''
|
|
1387
|
+
if __debug__:
|
|
1388
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dd2e515c3ae4492d26fc090c17d8ca867433e797045e282b23f4a4e67fc92050)
|
|
1389
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1390
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1391
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1392
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1393
|
+
|
|
1394
|
+
@jsii.member(jsii_name="get")
|
|
1395
|
+
def get(
|
|
1396
|
+
self,
|
|
1397
|
+
index: jsii.Number,
|
|
1398
|
+
) -> "LoadbalancerNodesNetworksIpAddressesOutputReference":
|
|
1399
|
+
'''
|
|
1400
|
+
:param index: the index of the item to return.
|
|
1401
|
+
'''
|
|
1402
|
+
if __debug__:
|
|
1403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__80a3e8d9ca1f89b3d230d8430e3b54737f3d21babef9d4f1bd000c4133df9b08)
|
|
1404
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1405
|
+
return typing.cast("LoadbalancerNodesNetworksIpAddressesOutputReference", jsii.invoke(self, "get", [index]))
|
|
1406
|
+
|
|
1407
|
+
@builtins.property
|
|
1408
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1409
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1410
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1411
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1412
|
+
|
|
1413
|
+
@_terraform_attribute.setter
|
|
1414
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1415
|
+
if __debug__:
|
|
1416
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fea65de7654947492b2a828620eb5ebd1586d75ca342571fb2733d3222bb57de)
|
|
1417
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1418
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1419
|
+
|
|
1420
|
+
@builtins.property
|
|
1421
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1422
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1423
|
+
'''The parent resource.'''
|
|
1424
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1425
|
+
|
|
1426
|
+
@_terraform_resource.setter
|
|
1427
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1428
|
+
if __debug__:
|
|
1429
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ebdc2eeb370ffbea84cd12f655a5872dd44919ff919781b0429025bbb31570bf)
|
|
1430
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1431
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1432
|
+
|
|
1433
|
+
@builtins.property
|
|
1434
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1435
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1436
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1437
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1438
|
+
|
|
1439
|
+
@_wraps_set.setter
|
|
1440
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1441
|
+
if __debug__:
|
|
1442
|
+
type_hints = typing.get_type_hints(_typecheckingstub__64e7a2feb909b392174ce61ce5b34f84cb93b8938418eff4b85c40ec55ec04e3)
|
|
1443
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1444
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
class LoadbalancerNodesNetworksIpAddressesOutputReference(
|
|
1448
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1449
|
+
metaclass=jsii.JSIIMeta,
|
|
1450
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworksIpAddressesOutputReference",
|
|
1451
|
+
):
|
|
1452
|
+
def __init__(
|
|
1453
|
+
self,
|
|
1454
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1455
|
+
terraform_attribute: builtins.str,
|
|
1456
|
+
complex_object_index: jsii.Number,
|
|
1457
|
+
complex_object_is_from_set: builtins.bool,
|
|
1458
|
+
) -> None:
|
|
1459
|
+
'''
|
|
1460
|
+
:param terraform_resource: The parent resource.
|
|
1461
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1462
|
+
:param complex_object_index: the index of this item in the list.
|
|
1463
|
+
: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).
|
|
1464
|
+
'''
|
|
1465
|
+
if __debug__:
|
|
1466
|
+
type_hints = typing.get_type_hints(_typecheckingstub__050f0a3d343aefc85ace4cd64ee3eb2d6f8c2ef344383ac24e313f9f0dc7f0f6)
|
|
1467
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1468
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1469
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1470
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1471
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1472
|
+
|
|
1473
|
+
@builtins.property
|
|
1474
|
+
@jsii.member(jsii_name="address")
|
|
1475
|
+
def address(self) -> builtins.str:
|
|
1476
|
+
return typing.cast(builtins.str, jsii.get(self, "address"))
|
|
1477
|
+
|
|
1478
|
+
@builtins.property
|
|
1479
|
+
@jsii.member(jsii_name="listen")
|
|
1480
|
+
def listen(self) -> _cdktf_9a9027ec.IResolvable:
|
|
1481
|
+
return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "listen"))
|
|
1482
|
+
|
|
1483
|
+
@builtins.property
|
|
1484
|
+
@jsii.member(jsii_name="internalValue")
|
|
1485
|
+
def internal_value(self) -> typing.Optional[LoadbalancerNodesNetworksIpAddresses]:
|
|
1486
|
+
return typing.cast(typing.Optional[LoadbalancerNodesNetworksIpAddresses], jsii.get(self, "internalValue"))
|
|
1487
|
+
|
|
1488
|
+
@internal_value.setter
|
|
1489
|
+
def internal_value(
|
|
1490
|
+
self,
|
|
1491
|
+
value: typing.Optional[LoadbalancerNodesNetworksIpAddresses],
|
|
1492
|
+
) -> None:
|
|
1493
|
+
if __debug__:
|
|
1494
|
+
type_hints = typing.get_type_hints(_typecheckingstub__369e414e56e4992aa831b9260c031be844155095f9eb802a2be991bc6c3d175c)
|
|
1495
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1496
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
class LoadbalancerNodesNetworksList(
|
|
1500
|
+
_cdktf_9a9027ec.ComplexList,
|
|
1501
|
+
metaclass=jsii.JSIIMeta,
|
|
1502
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworksList",
|
|
1503
|
+
):
|
|
1504
|
+
def __init__(
|
|
1505
|
+
self,
|
|
1506
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1507
|
+
terraform_attribute: builtins.str,
|
|
1508
|
+
wraps_set: builtins.bool,
|
|
1509
|
+
) -> None:
|
|
1510
|
+
'''
|
|
1511
|
+
:param terraform_resource: The parent resource.
|
|
1512
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1513
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
1514
|
+
'''
|
|
1515
|
+
if __debug__:
|
|
1516
|
+
type_hints = typing.get_type_hints(_typecheckingstub__11f2af55df8262771a1adcd95360489817a54040faeb26f4641ffdbf562631ab)
|
|
1517
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1518
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1519
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
1520
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
1521
|
+
|
|
1522
|
+
@jsii.member(jsii_name="get")
|
|
1523
|
+
def get(self, index: jsii.Number) -> "LoadbalancerNodesNetworksOutputReference":
|
|
1524
|
+
'''
|
|
1525
|
+
:param index: the index of the item to return.
|
|
1526
|
+
'''
|
|
1527
|
+
if __debug__:
|
|
1528
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7901cc14649a5c6a1d333a1b2fbfb0076d76e1c300adde6c38228d9274bf4dab)
|
|
1529
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
1530
|
+
return typing.cast("LoadbalancerNodesNetworksOutputReference", jsii.invoke(self, "get", [index]))
|
|
1531
|
+
|
|
1532
|
+
@builtins.property
|
|
1533
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
1534
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
1535
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
1536
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
1537
|
+
|
|
1538
|
+
@_terraform_attribute.setter
|
|
1539
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
1540
|
+
if __debug__:
|
|
1541
|
+
type_hints = typing.get_type_hints(_typecheckingstub__96afb46c67cecf9f8c1e21ed810ac63029d224074c787bd6ae3af92826c90b8a)
|
|
1542
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1543
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
1544
|
+
|
|
1545
|
+
@builtins.property
|
|
1546
|
+
@jsii.member(jsii_name="terraformResource")
|
|
1547
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
1548
|
+
'''The parent resource.'''
|
|
1549
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
1550
|
+
|
|
1551
|
+
@_terraform_resource.setter
|
|
1552
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
1553
|
+
if __debug__:
|
|
1554
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6332567c2711241f056e5c3a4d525610c10d57650e7c31c448b6c9eeac8000e7)
|
|
1555
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1556
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
1557
|
+
|
|
1558
|
+
@builtins.property
|
|
1559
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
1560
|
+
def _wraps_set(self) -> builtins.bool:
|
|
1561
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
1562
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
1563
|
+
|
|
1564
|
+
@_wraps_set.setter
|
|
1565
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
1566
|
+
if __debug__:
|
|
1567
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f6caf5fd1f9223d699a198757c5ab2f21e865303d7b15c4e11786faf78ff324f)
|
|
1568
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1569
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
class LoadbalancerNodesNetworksOutputReference(
|
|
1573
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1574
|
+
metaclass=jsii.JSIIMeta,
|
|
1575
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesNetworksOutputReference",
|
|
1576
|
+
):
|
|
1577
|
+
def __init__(
|
|
1578
|
+
self,
|
|
1579
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1580
|
+
terraform_attribute: builtins.str,
|
|
1581
|
+
complex_object_index: jsii.Number,
|
|
1582
|
+
complex_object_is_from_set: builtins.bool,
|
|
1583
|
+
) -> None:
|
|
1584
|
+
'''
|
|
1585
|
+
:param terraform_resource: The parent resource.
|
|
1586
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1587
|
+
:param complex_object_index: the index of this item in the list.
|
|
1588
|
+
: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).
|
|
1589
|
+
'''
|
|
1590
|
+
if __debug__:
|
|
1591
|
+
type_hints = typing.get_type_hints(_typecheckingstub__274438494cd307f7763989f9bf1f03ce3def7bbc8adbb525804d3582256b2648)
|
|
1592
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1593
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1594
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1595
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1596
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1597
|
+
|
|
1598
|
+
@builtins.property
|
|
1599
|
+
@jsii.member(jsii_name="ipAddresses")
|
|
1600
|
+
def ip_addresses(self) -> LoadbalancerNodesNetworksIpAddressesList:
|
|
1601
|
+
return typing.cast(LoadbalancerNodesNetworksIpAddressesList, jsii.get(self, "ipAddresses"))
|
|
1602
|
+
|
|
1603
|
+
@builtins.property
|
|
1604
|
+
@jsii.member(jsii_name="name")
|
|
1605
|
+
def name(self) -> builtins.str:
|
|
1606
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1607
|
+
|
|
1608
|
+
@builtins.property
|
|
1609
|
+
@jsii.member(jsii_name="type")
|
|
1610
|
+
def type(self) -> builtins.str:
|
|
1611
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
1612
|
+
|
|
1613
|
+
@builtins.property
|
|
1614
|
+
@jsii.member(jsii_name="internalValue")
|
|
1615
|
+
def internal_value(self) -> typing.Optional[LoadbalancerNodesNetworks]:
|
|
1616
|
+
return typing.cast(typing.Optional[LoadbalancerNodesNetworks], jsii.get(self, "internalValue"))
|
|
1617
|
+
|
|
1618
|
+
@internal_value.setter
|
|
1619
|
+
def internal_value(self, value: typing.Optional[LoadbalancerNodesNetworks]) -> None:
|
|
1620
|
+
if __debug__:
|
|
1621
|
+
type_hints = typing.get_type_hints(_typecheckingstub__262e7a253318311924384096b26384e3d8f779be2e721072596a0ddd8169d73a)
|
|
1622
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1623
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
class LoadbalancerNodesOutputReference(
|
|
1627
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
1628
|
+
metaclass=jsii.JSIIMeta,
|
|
1629
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancer.LoadbalancerNodesOutputReference",
|
|
1630
|
+
):
|
|
1631
|
+
def __init__(
|
|
1632
|
+
self,
|
|
1633
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1634
|
+
terraform_attribute: builtins.str,
|
|
1635
|
+
complex_object_index: jsii.Number,
|
|
1636
|
+
complex_object_is_from_set: builtins.bool,
|
|
1637
|
+
) -> None:
|
|
1638
|
+
'''
|
|
1639
|
+
:param terraform_resource: The parent resource.
|
|
1640
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
1641
|
+
:param complex_object_index: the index of this item in the list.
|
|
1642
|
+
: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).
|
|
1643
|
+
'''
|
|
1644
|
+
if __debug__:
|
|
1645
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8122e4ee00f7d62813dfe3e84435e3a633d77172e51359c71eb5d86590f81c4c)
|
|
1646
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
1647
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
1648
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
1649
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
1650
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
1651
|
+
|
|
1652
|
+
@builtins.property
|
|
1653
|
+
@jsii.member(jsii_name="networks")
|
|
1654
|
+
def networks(self) -> LoadbalancerNodesNetworksList:
|
|
1655
|
+
return typing.cast(LoadbalancerNodesNetworksList, jsii.get(self, "networks"))
|
|
1656
|
+
|
|
1657
|
+
@builtins.property
|
|
1658
|
+
@jsii.member(jsii_name="operationalState")
|
|
1659
|
+
def operational_state(self) -> builtins.str:
|
|
1660
|
+
return typing.cast(builtins.str, jsii.get(self, "operationalState"))
|
|
1661
|
+
|
|
1662
|
+
@builtins.property
|
|
1663
|
+
@jsii.member(jsii_name="internalValue")
|
|
1664
|
+
def internal_value(self) -> typing.Optional[LoadbalancerNodes]:
|
|
1665
|
+
return typing.cast(typing.Optional[LoadbalancerNodes], jsii.get(self, "internalValue"))
|
|
1666
|
+
|
|
1667
|
+
@internal_value.setter
|
|
1668
|
+
def internal_value(self, value: typing.Optional[LoadbalancerNodes]) -> None:
|
|
1669
|
+
if __debug__:
|
|
1670
|
+
type_hints = typing.get_type_hints(_typecheckingstub__33696fc1251fc7c589953a7ea2c9d2e98af35ecfd2acf5a20cc06c18b2aba3a8)
|
|
1671
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1672
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
__all__ = [
|
|
1676
|
+
"Loadbalancer",
|
|
1677
|
+
"LoadbalancerConfig",
|
|
1678
|
+
"LoadbalancerIpAddresses",
|
|
1679
|
+
"LoadbalancerIpAddressesList",
|
|
1680
|
+
"LoadbalancerIpAddressesOutputReference",
|
|
1681
|
+
"LoadbalancerNetworks",
|
|
1682
|
+
"LoadbalancerNetworksList",
|
|
1683
|
+
"LoadbalancerNetworksOutputReference",
|
|
1684
|
+
"LoadbalancerNodes",
|
|
1685
|
+
"LoadbalancerNodesList",
|
|
1686
|
+
"LoadbalancerNodesNetworks",
|
|
1687
|
+
"LoadbalancerNodesNetworksIpAddresses",
|
|
1688
|
+
"LoadbalancerNodesNetworksIpAddressesList",
|
|
1689
|
+
"LoadbalancerNodesNetworksIpAddressesOutputReference",
|
|
1690
|
+
"LoadbalancerNodesNetworksList",
|
|
1691
|
+
"LoadbalancerNodesNetworksOutputReference",
|
|
1692
|
+
"LoadbalancerNodesOutputReference",
|
|
1693
|
+
]
|
|
1694
|
+
|
|
1695
|
+
publication.publish()
|
|
1696
|
+
|
|
1697
|
+
def _typecheckingstub__e082db6bc1d4641fe4f5a8395ca7b260d01349823ad7c840d9b912e178bbf3cd(
|
|
1698
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1699
|
+
id: builtins.str,
|
|
1700
|
+
*,
|
|
1701
|
+
name: builtins.str,
|
|
1702
|
+
plan: builtins.str,
|
|
1703
|
+
zone: builtins.str,
|
|
1704
|
+
configured_status: typing.Optional[builtins.str] = None,
|
|
1705
|
+
ip_addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerIpAddresses, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1706
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1707
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
1708
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
1709
|
+
network: typing.Optional[builtins.str] = None,
|
|
1710
|
+
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1711
|
+
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,
|
|
1712
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1713
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1714
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1715
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1716
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1717
|
+
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,
|
|
1718
|
+
) -> None:
|
|
1719
|
+
"""Type checking stubs"""
|
|
1720
|
+
pass
|
|
1721
|
+
|
|
1722
|
+
def _typecheckingstub__a06fcb82995d3acc7574b59e5d513376cd60f2da3a90ef6d1363913a4d73ead4(
|
|
1723
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1724
|
+
import_to_id: builtins.str,
|
|
1725
|
+
import_from_id: builtins.str,
|
|
1726
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1727
|
+
) -> None:
|
|
1728
|
+
"""Type checking stubs"""
|
|
1729
|
+
pass
|
|
1730
|
+
|
|
1731
|
+
def _typecheckingstub__15183ab3718e8b7643cad5b4cfb95ef70693eb9465cb728984c231199de93f4b(
|
|
1732
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerIpAddresses, typing.Dict[builtins.str, typing.Any]]]],
|
|
1733
|
+
) -> None:
|
|
1734
|
+
"""Type checking stubs"""
|
|
1735
|
+
pass
|
|
1736
|
+
|
|
1737
|
+
def _typecheckingstub__7ca67cf47cacc4ff22593553aebd9e6a0d0ede15d0f9f321237571ad1163bb77(
|
|
1738
|
+
value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerNetworks, typing.Dict[builtins.str, typing.Any]]]],
|
|
1739
|
+
) -> None:
|
|
1740
|
+
"""Type checking stubs"""
|
|
1741
|
+
pass
|
|
1742
|
+
|
|
1743
|
+
def _typecheckingstub__cac297cc6127c6857ead70f55b94c946baef2db017d351dab8e481611478b8ff(
|
|
1744
|
+
value: builtins.str,
|
|
1745
|
+
) -> None:
|
|
1746
|
+
"""Type checking stubs"""
|
|
1747
|
+
pass
|
|
1748
|
+
|
|
1749
|
+
def _typecheckingstub__bbbff3ae1f2c1edf762145bd6bf1563504ea39b7abbeb2e11e743f32c787aca0(
|
|
1750
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
|
1751
|
+
) -> None:
|
|
1752
|
+
"""Type checking stubs"""
|
|
1753
|
+
pass
|
|
1754
|
+
|
|
1755
|
+
def _typecheckingstub__c1c172f4d3ecc0a3e00cc223550a20f38dc1fca823bfab5e22d9d46d5451fa1d(
|
|
1756
|
+
value: builtins.str,
|
|
1757
|
+
) -> None:
|
|
1758
|
+
"""Type checking stubs"""
|
|
1759
|
+
pass
|
|
1760
|
+
|
|
1761
|
+
def _typecheckingstub__8b4e3d2b55c8c105d3febe7dd34482dc24ca57eaa871619acb5e5ac9f7858a85(
|
|
1762
|
+
value: builtins.str,
|
|
1763
|
+
) -> None:
|
|
1764
|
+
"""Type checking stubs"""
|
|
1765
|
+
pass
|
|
1766
|
+
|
|
1767
|
+
def _typecheckingstub__36deb33fad5f5d16508c93e2fa76d019c0b115fe9ae9041544dfeaafd965f8c6(
|
|
1768
|
+
value: builtins.str,
|
|
1769
|
+
) -> None:
|
|
1770
|
+
"""Type checking stubs"""
|
|
1771
|
+
pass
|
|
1772
|
+
|
|
1773
|
+
def _typecheckingstub__0f8bbaadf718f00aca50e75307b962be48e7b7bba69c0c326bae40373d2d94d1(
|
|
1774
|
+
value: builtins.str,
|
|
1775
|
+
) -> None:
|
|
1776
|
+
"""Type checking stubs"""
|
|
1777
|
+
pass
|
|
1778
|
+
|
|
1779
|
+
def _typecheckingstub__bd2b0d5fa5ffdff4f7bcbeffff81fcc2645b283f7a838d75bc0d6a54b1191b70(
|
|
1780
|
+
value: builtins.str,
|
|
1781
|
+
) -> None:
|
|
1782
|
+
"""Type checking stubs"""
|
|
1783
|
+
pass
|
|
1784
|
+
|
|
1785
|
+
def _typecheckingstub__ae3ac3fe11bc3b1efa594ea7185bab1d0dae41ef9fc7d626591e61185104be88(
|
|
1786
|
+
value: builtins.str,
|
|
1787
|
+
) -> None:
|
|
1788
|
+
"""Type checking stubs"""
|
|
1789
|
+
pass
|
|
1790
|
+
|
|
1791
|
+
def _typecheckingstub__6ad78abeb447854e5bbf7e2b28bbd5ad83ea1471fcd2bfe5ce445ca293e03f74(
|
|
1792
|
+
*,
|
|
1793
|
+
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,
|
|
1794
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
1795
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
1796
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
1797
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1798
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
1799
|
+
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,
|
|
1800
|
+
name: builtins.str,
|
|
1801
|
+
plan: builtins.str,
|
|
1802
|
+
zone: builtins.str,
|
|
1803
|
+
configured_status: typing.Optional[builtins.str] = None,
|
|
1804
|
+
ip_addresses: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerIpAddresses, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1805
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1806
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
1807
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
1808
|
+
network: typing.Optional[builtins.str] = None,
|
|
1809
|
+
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1810
|
+
) -> None:
|
|
1811
|
+
"""Type checking stubs"""
|
|
1812
|
+
pass
|
|
1813
|
+
|
|
1814
|
+
def _typecheckingstub__ce75b402b9b445bf208d353f67271a9c8b0a5b6d262366abe7b2128c091c8484(
|
|
1815
|
+
*,
|
|
1816
|
+
address: builtins.str,
|
|
1817
|
+
network_name: builtins.str,
|
|
1818
|
+
) -> None:
|
|
1819
|
+
"""Type checking stubs"""
|
|
1820
|
+
pass
|
|
1821
|
+
|
|
1822
|
+
def _typecheckingstub__f02af0b454439c0c9d5dc21d84e6300bc87a531f60cfb4c82bbecb09d2d977e9(
|
|
1823
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1824
|
+
terraform_attribute: builtins.str,
|
|
1825
|
+
wraps_set: builtins.bool,
|
|
1826
|
+
) -> None:
|
|
1827
|
+
"""Type checking stubs"""
|
|
1828
|
+
pass
|
|
1829
|
+
|
|
1830
|
+
def _typecheckingstub__2d9524384ac26faecd34939defe9ce0e85e80861c29684ea2ce5c67450a9f3ec(
|
|
1831
|
+
index: jsii.Number,
|
|
1832
|
+
) -> None:
|
|
1833
|
+
"""Type checking stubs"""
|
|
1834
|
+
pass
|
|
1835
|
+
|
|
1836
|
+
def _typecheckingstub__0d086bd51cc1912b29ed32c8f058ec769fed8ff8031af3f2951a130318bf194f(
|
|
1837
|
+
value: builtins.str,
|
|
1838
|
+
) -> None:
|
|
1839
|
+
"""Type checking stubs"""
|
|
1840
|
+
pass
|
|
1841
|
+
|
|
1842
|
+
def _typecheckingstub__e4a1afc83cc3f256ab317cae59f6ea76a50de98128ce23b691dc9488cea01e98(
|
|
1843
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1844
|
+
) -> None:
|
|
1845
|
+
"""Type checking stubs"""
|
|
1846
|
+
pass
|
|
1847
|
+
|
|
1848
|
+
def _typecheckingstub__6f1a9d964249420a1551ef1d4e41b7cd4eaea86ea2d89c54265473e3da03b662(
|
|
1849
|
+
value: builtins.bool,
|
|
1850
|
+
) -> None:
|
|
1851
|
+
"""Type checking stubs"""
|
|
1852
|
+
pass
|
|
1853
|
+
|
|
1854
|
+
def _typecheckingstub__7f43c3005f9a58d9f6eebf02d9c867242db10f1b27c199fad87a3a0b97c67363(
|
|
1855
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerIpAddresses]]],
|
|
1856
|
+
) -> None:
|
|
1857
|
+
"""Type checking stubs"""
|
|
1858
|
+
pass
|
|
1859
|
+
|
|
1860
|
+
def _typecheckingstub__3c765a7717fcf849730a03a5a582308e630407d00a928026e5a7cb461a750cb7(
|
|
1861
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1862
|
+
terraform_attribute: builtins.str,
|
|
1863
|
+
complex_object_index: jsii.Number,
|
|
1864
|
+
complex_object_is_from_set: builtins.bool,
|
|
1865
|
+
) -> None:
|
|
1866
|
+
"""Type checking stubs"""
|
|
1867
|
+
pass
|
|
1868
|
+
|
|
1869
|
+
def _typecheckingstub__c4aa11035f1f5ff1f8a07413c95bcf0a2977ee12aec55bf533ef2635a1491ed8(
|
|
1870
|
+
value: builtins.str,
|
|
1871
|
+
) -> None:
|
|
1872
|
+
"""Type checking stubs"""
|
|
1873
|
+
pass
|
|
1874
|
+
|
|
1875
|
+
def _typecheckingstub__390c5d6b38a2fa66e43b947f09e1a5db505af26586f714a73c6de31ff58d4d66(
|
|
1876
|
+
value: builtins.str,
|
|
1877
|
+
) -> None:
|
|
1878
|
+
"""Type checking stubs"""
|
|
1879
|
+
pass
|
|
1880
|
+
|
|
1881
|
+
def _typecheckingstub__0079fce14c5d632978d9fc85a39b38951590a039ca99d93b8b8f873c37132c2a(
|
|
1882
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerIpAddresses]],
|
|
1883
|
+
) -> None:
|
|
1884
|
+
"""Type checking stubs"""
|
|
1885
|
+
pass
|
|
1886
|
+
|
|
1887
|
+
def _typecheckingstub__f7bc3b31db01be8fcdb6dd15ccf511434856f0866752f9ec14fbf89082bb48ed(
|
|
1888
|
+
*,
|
|
1889
|
+
family: builtins.str,
|
|
1890
|
+
name: builtins.str,
|
|
1891
|
+
type: builtins.str,
|
|
1892
|
+
network: typing.Optional[builtins.str] = None,
|
|
1893
|
+
) -> None:
|
|
1894
|
+
"""Type checking stubs"""
|
|
1895
|
+
pass
|
|
1896
|
+
|
|
1897
|
+
def _typecheckingstub__c2e24926870431729ebd1f4eab59aaa9079d172b45aa57b18f836bbf3f206ce0(
|
|
1898
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1899
|
+
terraform_attribute: builtins.str,
|
|
1900
|
+
wraps_set: builtins.bool,
|
|
1901
|
+
) -> None:
|
|
1902
|
+
"""Type checking stubs"""
|
|
1903
|
+
pass
|
|
1904
|
+
|
|
1905
|
+
def _typecheckingstub__c26491321f5eba1561cbf24c8c860f169d3781cb90b23654a63f45ff4bcf34a2(
|
|
1906
|
+
index: jsii.Number,
|
|
1907
|
+
) -> None:
|
|
1908
|
+
"""Type checking stubs"""
|
|
1909
|
+
pass
|
|
1910
|
+
|
|
1911
|
+
def _typecheckingstub__ae06c341bf2904121aa578cea993140a4b7cb36064848cf4ca8ac65ec5f183cc(
|
|
1912
|
+
value: builtins.str,
|
|
1913
|
+
) -> None:
|
|
1914
|
+
"""Type checking stubs"""
|
|
1915
|
+
pass
|
|
1916
|
+
|
|
1917
|
+
def _typecheckingstub__2f1a9777a971e346428f181b2e941b84d7f0aef60fc2b188a37f9870c2b30944(
|
|
1918
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1919
|
+
) -> None:
|
|
1920
|
+
"""Type checking stubs"""
|
|
1921
|
+
pass
|
|
1922
|
+
|
|
1923
|
+
def _typecheckingstub__de05d153cd78c157b2bd5fd1e716fa2ef2a05195baf8b9b445332ed2840aca24(
|
|
1924
|
+
value: builtins.bool,
|
|
1925
|
+
) -> None:
|
|
1926
|
+
"""Type checking stubs"""
|
|
1927
|
+
pass
|
|
1928
|
+
|
|
1929
|
+
def _typecheckingstub__eed6b258e99225ed0f3a333b97e231b7b4028e60d3ca488b893523a44eaa4116(
|
|
1930
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[LoadbalancerNetworks]]],
|
|
1931
|
+
) -> None:
|
|
1932
|
+
"""Type checking stubs"""
|
|
1933
|
+
pass
|
|
1934
|
+
|
|
1935
|
+
def _typecheckingstub__bf1fc3a73a3eaae62caa5fef396d7982ec3db1abd4ea005f4181fa353e830339(
|
|
1936
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1937
|
+
terraform_attribute: builtins.str,
|
|
1938
|
+
complex_object_index: jsii.Number,
|
|
1939
|
+
complex_object_is_from_set: builtins.bool,
|
|
1940
|
+
) -> None:
|
|
1941
|
+
"""Type checking stubs"""
|
|
1942
|
+
pass
|
|
1943
|
+
|
|
1944
|
+
def _typecheckingstub__635bd933976b88c2d50455372550651a43ea4553d95295b5746829a1ae9b2240(
|
|
1945
|
+
value: builtins.str,
|
|
1946
|
+
) -> None:
|
|
1947
|
+
"""Type checking stubs"""
|
|
1948
|
+
pass
|
|
1949
|
+
|
|
1950
|
+
def _typecheckingstub__b33512dfe93bead3624d97b01704676e399044f4cd9af3eb687fb022c7a22459(
|
|
1951
|
+
value: builtins.str,
|
|
1952
|
+
) -> None:
|
|
1953
|
+
"""Type checking stubs"""
|
|
1954
|
+
pass
|
|
1955
|
+
|
|
1956
|
+
def _typecheckingstub__7732a1998fa55248248734e92238cd1a7b9d70c6bc6f96bc4280b410a48b8277(
|
|
1957
|
+
value: builtins.str,
|
|
1958
|
+
) -> None:
|
|
1959
|
+
"""Type checking stubs"""
|
|
1960
|
+
pass
|
|
1961
|
+
|
|
1962
|
+
def _typecheckingstub__b5ea5397a777374ce7d5527fd05d41bd716166846a752e4ec1403dd812b74aa8(
|
|
1963
|
+
value: builtins.str,
|
|
1964
|
+
) -> None:
|
|
1965
|
+
"""Type checking stubs"""
|
|
1966
|
+
pass
|
|
1967
|
+
|
|
1968
|
+
def _typecheckingstub__f9dd12a48c92d6732d0cf306fc61633e91a41c2810d46a04ec5d2f6061ea788c(
|
|
1969
|
+
value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, LoadbalancerNetworks]],
|
|
1970
|
+
) -> None:
|
|
1971
|
+
"""Type checking stubs"""
|
|
1972
|
+
pass
|
|
1973
|
+
|
|
1974
|
+
def _typecheckingstub__2cf1e8db35e643247f6c267497bcf23c48a27385cb161e9d15f16e35b8a8352d(
|
|
1975
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1976
|
+
terraform_attribute: builtins.str,
|
|
1977
|
+
wraps_set: builtins.bool,
|
|
1978
|
+
) -> None:
|
|
1979
|
+
"""Type checking stubs"""
|
|
1980
|
+
pass
|
|
1981
|
+
|
|
1982
|
+
def _typecheckingstub__046257b073ed2cee38789c57c1ddad515c8554e85f57f85a2ccbf6ca49ccf7cf(
|
|
1983
|
+
index: jsii.Number,
|
|
1984
|
+
) -> None:
|
|
1985
|
+
"""Type checking stubs"""
|
|
1986
|
+
pass
|
|
1987
|
+
|
|
1988
|
+
def _typecheckingstub__cfa110504e6609013afd9524c8df8b768056469ef9bb766787616ff007b0e495(
|
|
1989
|
+
value: builtins.str,
|
|
1990
|
+
) -> None:
|
|
1991
|
+
"""Type checking stubs"""
|
|
1992
|
+
pass
|
|
1993
|
+
|
|
1994
|
+
def _typecheckingstub__7ca3a85dcf459c8a49b619bc66eddd508dd9bd2f7e571b9f9514acd70cf1a422(
|
|
1995
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1996
|
+
) -> None:
|
|
1997
|
+
"""Type checking stubs"""
|
|
1998
|
+
pass
|
|
1999
|
+
|
|
2000
|
+
def _typecheckingstub__24f19e1881c65a17428db440be54a55772971377da46408935d597fa5e281143(
|
|
2001
|
+
value: builtins.bool,
|
|
2002
|
+
) -> None:
|
|
2003
|
+
"""Type checking stubs"""
|
|
2004
|
+
pass
|
|
2005
|
+
|
|
2006
|
+
def _typecheckingstub__dd2e515c3ae4492d26fc090c17d8ca867433e797045e282b23f4a4e67fc92050(
|
|
2007
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2008
|
+
terraform_attribute: builtins.str,
|
|
2009
|
+
wraps_set: builtins.bool,
|
|
2010
|
+
) -> None:
|
|
2011
|
+
"""Type checking stubs"""
|
|
2012
|
+
pass
|
|
2013
|
+
|
|
2014
|
+
def _typecheckingstub__80a3e8d9ca1f89b3d230d8430e3b54737f3d21babef9d4f1bd000c4133df9b08(
|
|
2015
|
+
index: jsii.Number,
|
|
2016
|
+
) -> None:
|
|
2017
|
+
"""Type checking stubs"""
|
|
2018
|
+
pass
|
|
2019
|
+
|
|
2020
|
+
def _typecheckingstub__fea65de7654947492b2a828620eb5ebd1586d75ca342571fb2733d3222bb57de(
|
|
2021
|
+
value: builtins.str,
|
|
2022
|
+
) -> None:
|
|
2023
|
+
"""Type checking stubs"""
|
|
2024
|
+
pass
|
|
2025
|
+
|
|
2026
|
+
def _typecheckingstub__ebdc2eeb370ffbea84cd12f655a5872dd44919ff919781b0429025bbb31570bf(
|
|
2027
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2028
|
+
) -> None:
|
|
2029
|
+
"""Type checking stubs"""
|
|
2030
|
+
pass
|
|
2031
|
+
|
|
2032
|
+
def _typecheckingstub__64e7a2feb909b392174ce61ce5b34f84cb93b8938418eff4b85c40ec55ec04e3(
|
|
2033
|
+
value: builtins.bool,
|
|
2034
|
+
) -> None:
|
|
2035
|
+
"""Type checking stubs"""
|
|
2036
|
+
pass
|
|
2037
|
+
|
|
2038
|
+
def _typecheckingstub__050f0a3d343aefc85ace4cd64ee3eb2d6f8c2ef344383ac24e313f9f0dc7f0f6(
|
|
2039
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2040
|
+
terraform_attribute: builtins.str,
|
|
2041
|
+
complex_object_index: jsii.Number,
|
|
2042
|
+
complex_object_is_from_set: builtins.bool,
|
|
2043
|
+
) -> None:
|
|
2044
|
+
"""Type checking stubs"""
|
|
2045
|
+
pass
|
|
2046
|
+
|
|
2047
|
+
def _typecheckingstub__369e414e56e4992aa831b9260c031be844155095f9eb802a2be991bc6c3d175c(
|
|
2048
|
+
value: typing.Optional[LoadbalancerNodesNetworksIpAddresses],
|
|
2049
|
+
) -> None:
|
|
2050
|
+
"""Type checking stubs"""
|
|
2051
|
+
pass
|
|
2052
|
+
|
|
2053
|
+
def _typecheckingstub__11f2af55df8262771a1adcd95360489817a54040faeb26f4641ffdbf562631ab(
|
|
2054
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2055
|
+
terraform_attribute: builtins.str,
|
|
2056
|
+
wraps_set: builtins.bool,
|
|
2057
|
+
) -> None:
|
|
2058
|
+
"""Type checking stubs"""
|
|
2059
|
+
pass
|
|
2060
|
+
|
|
2061
|
+
def _typecheckingstub__7901cc14649a5c6a1d333a1b2fbfb0076d76e1c300adde6c38228d9274bf4dab(
|
|
2062
|
+
index: jsii.Number,
|
|
2063
|
+
) -> None:
|
|
2064
|
+
"""Type checking stubs"""
|
|
2065
|
+
pass
|
|
2066
|
+
|
|
2067
|
+
def _typecheckingstub__96afb46c67cecf9f8c1e21ed810ac63029d224074c787bd6ae3af92826c90b8a(
|
|
2068
|
+
value: builtins.str,
|
|
2069
|
+
) -> None:
|
|
2070
|
+
"""Type checking stubs"""
|
|
2071
|
+
pass
|
|
2072
|
+
|
|
2073
|
+
def _typecheckingstub__6332567c2711241f056e5c3a4d525610c10d57650e7c31c448b6c9eeac8000e7(
|
|
2074
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2075
|
+
) -> None:
|
|
2076
|
+
"""Type checking stubs"""
|
|
2077
|
+
pass
|
|
2078
|
+
|
|
2079
|
+
def _typecheckingstub__f6caf5fd1f9223d699a198757c5ab2f21e865303d7b15c4e11786faf78ff324f(
|
|
2080
|
+
value: builtins.bool,
|
|
2081
|
+
) -> None:
|
|
2082
|
+
"""Type checking stubs"""
|
|
2083
|
+
pass
|
|
2084
|
+
|
|
2085
|
+
def _typecheckingstub__274438494cd307f7763989f9bf1f03ce3def7bbc8adbb525804d3582256b2648(
|
|
2086
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2087
|
+
terraform_attribute: builtins.str,
|
|
2088
|
+
complex_object_index: jsii.Number,
|
|
2089
|
+
complex_object_is_from_set: builtins.bool,
|
|
2090
|
+
) -> None:
|
|
2091
|
+
"""Type checking stubs"""
|
|
2092
|
+
pass
|
|
2093
|
+
|
|
2094
|
+
def _typecheckingstub__262e7a253318311924384096b26384e3d8f779be2e721072596a0ddd8169d73a(
|
|
2095
|
+
value: typing.Optional[LoadbalancerNodesNetworks],
|
|
2096
|
+
) -> None:
|
|
2097
|
+
"""Type checking stubs"""
|
|
2098
|
+
pass
|
|
2099
|
+
|
|
2100
|
+
def _typecheckingstub__8122e4ee00f7d62813dfe3e84435e3a633d77172e51359c71eb5d86590f81c4c(
|
|
2101
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
2102
|
+
terraform_attribute: builtins.str,
|
|
2103
|
+
complex_object_index: jsii.Number,
|
|
2104
|
+
complex_object_is_from_set: builtins.bool,
|
|
2105
|
+
) -> None:
|
|
2106
|
+
"""Type checking stubs"""
|
|
2107
|
+
pass
|
|
2108
|
+
|
|
2109
|
+
def _typecheckingstub__33696fc1251fc7c589953a7ea2c9d2e98af35ecfd2acf5a20cc06c18b2aba3a8(
|
|
2110
|
+
value: typing.Optional[LoadbalancerNodes],
|
|
2111
|
+
) -> None:
|
|
2112
|
+
"""Type checking stubs"""
|
|
2113
|
+
pass
|