cdktf-cdktf-provider-upcloud 11.0.2__py3-none-any.whl → 11.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +13 -15
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.1.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +280 -52
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +463 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +89 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +165 -165
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +225 -172
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +342 -289
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +150 -97
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +73 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +71 -22
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +282 -138
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +55 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-11.0.2.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/METADATA +14 -18
- cdktf_cdktf_provider_upcloud-11.1.0.dist-info/RECORD +54 -0
- {cdktf_cdktf_provider_upcloud-11.0.2.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.2.dist-info/RECORD +0 -53
- {cdktf_cdktf_provider_upcloud-11.0.2.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.2.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
'''
|
|
2
|
+
# `upcloud_loadbalancer_backend_tls_config`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_loadbalancer_backend_tls_config`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config).
|
|
5
|
+
'''
|
|
6
|
+
import abc
|
|
7
|
+
import builtins
|
|
8
|
+
import datetime
|
|
9
|
+
import enum
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
import jsii
|
|
13
|
+
import publication
|
|
14
|
+
import typing_extensions
|
|
15
|
+
|
|
16
|
+
from typeguard import check_type
|
|
17
|
+
|
|
18
|
+
from .._jsii import *
|
|
19
|
+
|
|
20
|
+
import cdktf as _cdktf_9a9027ec
|
|
21
|
+
import constructs as _constructs_77d1e7e8
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class LoadbalancerBackendTlsConfig(
|
|
25
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
26
|
+
metaclass=jsii.JSIIMeta,
|
|
27
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancerBackendTlsConfig.LoadbalancerBackendTlsConfig",
|
|
28
|
+
):
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config upcloud_loadbalancer_backend_tls_config}.'''
|
|
30
|
+
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
34
|
+
id_: builtins.str,
|
|
35
|
+
*,
|
|
36
|
+
backend: builtins.str,
|
|
37
|
+
certificate_bundle: builtins.str,
|
|
38
|
+
name: builtins.str,
|
|
39
|
+
id: typing.Optional[builtins.str] = None,
|
|
40
|
+
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,
|
|
41
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
42
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
43
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
44
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
|
+
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
47
|
+
) -> None:
|
|
48
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config upcloud_loadbalancer_backend_tls_config} Resource.
|
|
49
|
+
|
|
50
|
+
:param scope: The scope in which to define this construct.
|
|
51
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
+
:param backend: ID of the load balancer backend to which the TLS config is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#backend LoadbalancerBackendTlsConfig#backend}
|
|
53
|
+
:param certificate_bundle: Reference to certificate bundle ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#certificate_bundle LoadbalancerBackendTlsConfig#certificate_bundle}
|
|
54
|
+
:param name: The name of the TLS config must be unique within service backend. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#name LoadbalancerBackendTlsConfig#name}
|
|
55
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#id LoadbalancerBackendTlsConfig#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
56
|
+
:param connection:
|
|
57
|
+
:param count:
|
|
58
|
+
:param depends_on:
|
|
59
|
+
:param for_each:
|
|
60
|
+
:param lifecycle:
|
|
61
|
+
:param provider:
|
|
62
|
+
:param provisioners:
|
|
63
|
+
'''
|
|
64
|
+
if __debug__:
|
|
65
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3d96c92083db198ebd100f7c2446806611498beeca1184629335c6f025a42e7d)
|
|
66
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
67
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
|
68
|
+
config = LoadbalancerBackendTlsConfigConfig(
|
|
69
|
+
backend=backend,
|
|
70
|
+
certificate_bundle=certificate_bundle,
|
|
71
|
+
name=name,
|
|
72
|
+
id=id,
|
|
73
|
+
connection=connection,
|
|
74
|
+
count=count,
|
|
75
|
+
depends_on=depends_on,
|
|
76
|
+
for_each=for_each,
|
|
77
|
+
lifecycle=lifecycle,
|
|
78
|
+
provider=provider,
|
|
79
|
+
provisioners=provisioners,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
|
83
|
+
|
|
84
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
85
|
+
@builtins.classmethod
|
|
86
|
+
def generate_config_for_import(
|
|
87
|
+
cls,
|
|
88
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
89
|
+
import_to_id: builtins.str,
|
|
90
|
+
import_from_id: builtins.str,
|
|
91
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
92
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
93
|
+
'''Generates CDKTF code for importing a LoadbalancerBackendTlsConfig resource upon running "cdktf plan ".
|
|
94
|
+
|
|
95
|
+
:param scope: The scope in which to define this construct.
|
|
96
|
+
:param import_to_id: The construct id used in the generated config for the LoadbalancerBackendTlsConfig to import.
|
|
97
|
+
:param import_from_id: The id of the existing LoadbalancerBackendTlsConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#import import section} in the documentation of this resource for the id to use
|
|
98
|
+
:param provider: ? Optional instance of the provider where the LoadbalancerBackendTlsConfig to import is found.
|
|
99
|
+
'''
|
|
100
|
+
if __debug__:
|
|
101
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c0b3b9bb16ffaabc57b4b364fd3fe377153b61ea5027e1c6d7dc250bc21faaeb)
|
|
102
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
103
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
104
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
105
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
106
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
107
|
+
|
|
108
|
+
@jsii.member(jsii_name="resetId")
|
|
109
|
+
def reset_id(self) -> None:
|
|
110
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
111
|
+
|
|
112
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
113
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
114
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
115
|
+
|
|
116
|
+
@jsii.python.classproperty
|
|
117
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
118
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
119
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
120
|
+
|
|
121
|
+
@builtins.property
|
|
122
|
+
@jsii.member(jsii_name="backendInput")
|
|
123
|
+
def backend_input(self) -> typing.Optional[builtins.str]:
|
|
124
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "backendInput"))
|
|
125
|
+
|
|
126
|
+
@builtins.property
|
|
127
|
+
@jsii.member(jsii_name="certificateBundleInput")
|
|
128
|
+
def certificate_bundle_input(self) -> typing.Optional[builtins.str]:
|
|
129
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "certificateBundleInput"))
|
|
130
|
+
|
|
131
|
+
@builtins.property
|
|
132
|
+
@jsii.member(jsii_name="idInput")
|
|
133
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
134
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
135
|
+
|
|
136
|
+
@builtins.property
|
|
137
|
+
@jsii.member(jsii_name="nameInput")
|
|
138
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
139
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
140
|
+
|
|
141
|
+
@builtins.property
|
|
142
|
+
@jsii.member(jsii_name="backend")
|
|
143
|
+
def backend(self) -> builtins.str:
|
|
144
|
+
return typing.cast(builtins.str, jsii.get(self, "backend"))
|
|
145
|
+
|
|
146
|
+
@backend.setter
|
|
147
|
+
def backend(self, value: builtins.str) -> None:
|
|
148
|
+
if __debug__:
|
|
149
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4fbea50b7b566b3e389da9797856acdc9090ee8b47644d6c8314d871aaa6f4e5)
|
|
150
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
151
|
+
jsii.set(self, "backend", value)
|
|
152
|
+
|
|
153
|
+
@builtins.property
|
|
154
|
+
@jsii.member(jsii_name="certificateBundle")
|
|
155
|
+
def certificate_bundle(self) -> builtins.str:
|
|
156
|
+
return typing.cast(builtins.str, jsii.get(self, "certificateBundle"))
|
|
157
|
+
|
|
158
|
+
@certificate_bundle.setter
|
|
159
|
+
def certificate_bundle(self, value: builtins.str) -> None:
|
|
160
|
+
if __debug__:
|
|
161
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3d11372f2999ed6c8e1782e6ee18de8f4070691da020c6b1928828afe7bcfcec)
|
|
162
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
163
|
+
jsii.set(self, "certificateBundle", value)
|
|
164
|
+
|
|
165
|
+
@builtins.property
|
|
166
|
+
@jsii.member(jsii_name="id")
|
|
167
|
+
def id(self) -> builtins.str:
|
|
168
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
169
|
+
|
|
170
|
+
@id.setter
|
|
171
|
+
def id(self, value: builtins.str) -> None:
|
|
172
|
+
if __debug__:
|
|
173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b82812345c7ba7f14f6254a0cf420f36a02b4d6c440ec73057c67c13ab525bd4)
|
|
174
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
175
|
+
jsii.set(self, "id", value)
|
|
176
|
+
|
|
177
|
+
@builtins.property
|
|
178
|
+
@jsii.member(jsii_name="name")
|
|
179
|
+
def name(self) -> builtins.str:
|
|
180
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
181
|
+
|
|
182
|
+
@name.setter
|
|
183
|
+
def name(self, value: builtins.str) -> None:
|
|
184
|
+
if __debug__:
|
|
185
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4e1fb569400cf70a3017adc22d8ea1d63edb075417f7ef9be9d5324b29b5ccb0)
|
|
186
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
187
|
+
jsii.set(self, "name", value)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
@jsii.data_type(
|
|
191
|
+
jsii_type="@cdktf/provider-upcloud.loadbalancerBackendTlsConfig.LoadbalancerBackendTlsConfigConfig",
|
|
192
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
193
|
+
name_mapping={
|
|
194
|
+
"connection": "connection",
|
|
195
|
+
"count": "count",
|
|
196
|
+
"depends_on": "dependsOn",
|
|
197
|
+
"for_each": "forEach",
|
|
198
|
+
"lifecycle": "lifecycle",
|
|
199
|
+
"provider": "provider",
|
|
200
|
+
"provisioners": "provisioners",
|
|
201
|
+
"backend": "backend",
|
|
202
|
+
"certificate_bundle": "certificateBundle",
|
|
203
|
+
"name": "name",
|
|
204
|
+
"id": "id",
|
|
205
|
+
},
|
|
206
|
+
)
|
|
207
|
+
class LoadbalancerBackendTlsConfigConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
208
|
+
def __init__(
|
|
209
|
+
self,
|
|
210
|
+
*,
|
|
211
|
+
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,
|
|
212
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
213
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
214
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
215
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
216
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
217
|
+
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,
|
|
218
|
+
backend: builtins.str,
|
|
219
|
+
certificate_bundle: builtins.str,
|
|
220
|
+
name: builtins.str,
|
|
221
|
+
id: typing.Optional[builtins.str] = None,
|
|
222
|
+
) -> None:
|
|
223
|
+
'''
|
|
224
|
+
:param connection:
|
|
225
|
+
:param count:
|
|
226
|
+
:param depends_on:
|
|
227
|
+
:param for_each:
|
|
228
|
+
:param lifecycle:
|
|
229
|
+
:param provider:
|
|
230
|
+
:param provisioners:
|
|
231
|
+
:param backend: ID of the load balancer backend to which the TLS config is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#backend LoadbalancerBackendTlsConfig#backend}
|
|
232
|
+
:param certificate_bundle: Reference to certificate bundle ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#certificate_bundle LoadbalancerBackendTlsConfig#certificate_bundle}
|
|
233
|
+
:param name: The name of the TLS config must be unique within service backend. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#name LoadbalancerBackendTlsConfig#name}
|
|
234
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#id LoadbalancerBackendTlsConfig#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
235
|
+
'''
|
|
236
|
+
if isinstance(lifecycle, dict):
|
|
237
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
238
|
+
if __debug__:
|
|
239
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b6a57f42bcde485030383192ea3d675982617870d8a33aa37f4bbf14a34c7800)
|
|
240
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
241
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
242
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
243
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
244
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
245
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
246
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
247
|
+
check_type(argname="argument backend", value=backend, expected_type=type_hints["backend"])
|
|
248
|
+
check_type(argname="argument certificate_bundle", value=certificate_bundle, expected_type=type_hints["certificate_bundle"])
|
|
249
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
250
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
251
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
252
|
+
"backend": backend,
|
|
253
|
+
"certificate_bundle": certificate_bundle,
|
|
254
|
+
"name": name,
|
|
255
|
+
}
|
|
256
|
+
if connection is not None:
|
|
257
|
+
self._values["connection"] = connection
|
|
258
|
+
if count is not None:
|
|
259
|
+
self._values["count"] = count
|
|
260
|
+
if depends_on is not None:
|
|
261
|
+
self._values["depends_on"] = depends_on
|
|
262
|
+
if for_each is not None:
|
|
263
|
+
self._values["for_each"] = for_each
|
|
264
|
+
if lifecycle is not None:
|
|
265
|
+
self._values["lifecycle"] = lifecycle
|
|
266
|
+
if provider is not None:
|
|
267
|
+
self._values["provider"] = provider
|
|
268
|
+
if provisioners is not None:
|
|
269
|
+
self._values["provisioners"] = provisioners
|
|
270
|
+
if id is not None:
|
|
271
|
+
self._values["id"] = id
|
|
272
|
+
|
|
273
|
+
@builtins.property
|
|
274
|
+
def connection(
|
|
275
|
+
self,
|
|
276
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
277
|
+
'''
|
|
278
|
+
:stability: experimental
|
|
279
|
+
'''
|
|
280
|
+
result = self._values.get("connection")
|
|
281
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
282
|
+
|
|
283
|
+
@builtins.property
|
|
284
|
+
def count(
|
|
285
|
+
self,
|
|
286
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
287
|
+
'''
|
|
288
|
+
:stability: experimental
|
|
289
|
+
'''
|
|
290
|
+
result = self._values.get("count")
|
|
291
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
292
|
+
|
|
293
|
+
@builtins.property
|
|
294
|
+
def depends_on(
|
|
295
|
+
self,
|
|
296
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
297
|
+
'''
|
|
298
|
+
:stability: experimental
|
|
299
|
+
'''
|
|
300
|
+
result = self._values.get("depends_on")
|
|
301
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
302
|
+
|
|
303
|
+
@builtins.property
|
|
304
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
305
|
+
'''
|
|
306
|
+
:stability: experimental
|
|
307
|
+
'''
|
|
308
|
+
result = self._values.get("for_each")
|
|
309
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
310
|
+
|
|
311
|
+
@builtins.property
|
|
312
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
313
|
+
'''
|
|
314
|
+
:stability: experimental
|
|
315
|
+
'''
|
|
316
|
+
result = self._values.get("lifecycle")
|
|
317
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
318
|
+
|
|
319
|
+
@builtins.property
|
|
320
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
321
|
+
'''
|
|
322
|
+
:stability: experimental
|
|
323
|
+
'''
|
|
324
|
+
result = self._values.get("provider")
|
|
325
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
326
|
+
|
|
327
|
+
@builtins.property
|
|
328
|
+
def provisioners(
|
|
329
|
+
self,
|
|
330
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
331
|
+
'''
|
|
332
|
+
:stability: experimental
|
|
333
|
+
'''
|
|
334
|
+
result = self._values.get("provisioners")
|
|
335
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
336
|
+
|
|
337
|
+
@builtins.property
|
|
338
|
+
def backend(self) -> builtins.str:
|
|
339
|
+
'''ID of the load balancer backend to which the TLS config is connected.
|
|
340
|
+
|
|
341
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#backend LoadbalancerBackendTlsConfig#backend}
|
|
342
|
+
'''
|
|
343
|
+
result = self._values.get("backend")
|
|
344
|
+
assert result is not None, "Required property 'backend' is missing"
|
|
345
|
+
return typing.cast(builtins.str, result)
|
|
346
|
+
|
|
347
|
+
@builtins.property
|
|
348
|
+
def certificate_bundle(self) -> builtins.str:
|
|
349
|
+
'''Reference to certificate bundle ID.
|
|
350
|
+
|
|
351
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#certificate_bundle LoadbalancerBackendTlsConfig#certificate_bundle}
|
|
352
|
+
'''
|
|
353
|
+
result = self._values.get("certificate_bundle")
|
|
354
|
+
assert result is not None, "Required property 'certificate_bundle' is missing"
|
|
355
|
+
return typing.cast(builtins.str, result)
|
|
356
|
+
|
|
357
|
+
@builtins.property
|
|
358
|
+
def name(self) -> builtins.str:
|
|
359
|
+
'''The name of the TLS config must be unique within service backend.
|
|
360
|
+
|
|
361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#name LoadbalancerBackendTlsConfig#name}
|
|
362
|
+
'''
|
|
363
|
+
result = self._values.get("name")
|
|
364
|
+
assert result is not None, "Required property 'name' is missing"
|
|
365
|
+
return typing.cast(builtins.str, result)
|
|
366
|
+
|
|
367
|
+
@builtins.property
|
|
368
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
369
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_backend_tls_config#id LoadbalancerBackendTlsConfig#id}.
|
|
370
|
+
|
|
371
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
372
|
+
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
373
|
+
'''
|
|
374
|
+
result = self._values.get("id")
|
|
375
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
376
|
+
|
|
377
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
378
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
379
|
+
|
|
380
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
381
|
+
return not (rhs == self)
|
|
382
|
+
|
|
383
|
+
def __repr__(self) -> str:
|
|
384
|
+
return "LoadbalancerBackendTlsConfigConfig(%s)" % ", ".join(
|
|
385
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
386
|
+
)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
__all__ = [
|
|
390
|
+
"LoadbalancerBackendTlsConfig",
|
|
391
|
+
"LoadbalancerBackendTlsConfigConfig",
|
|
392
|
+
]
|
|
393
|
+
|
|
394
|
+
publication.publish()
|
|
395
|
+
|
|
396
|
+
def _typecheckingstub__3d96c92083db198ebd100f7c2446806611498beeca1184629335c6f025a42e7d(
|
|
397
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
398
|
+
id_: builtins.str,
|
|
399
|
+
*,
|
|
400
|
+
backend: builtins.str,
|
|
401
|
+
certificate_bundle: builtins.str,
|
|
402
|
+
name: builtins.str,
|
|
403
|
+
id: typing.Optional[builtins.str] = None,
|
|
404
|
+
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,
|
|
405
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
406
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
407
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
408
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
409
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
410
|
+
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,
|
|
411
|
+
) -> None:
|
|
412
|
+
"""Type checking stubs"""
|
|
413
|
+
pass
|
|
414
|
+
|
|
415
|
+
def _typecheckingstub__c0b3b9bb16ffaabc57b4b364fd3fe377153b61ea5027e1c6d7dc250bc21faaeb(
|
|
416
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
417
|
+
import_to_id: builtins.str,
|
|
418
|
+
import_from_id: builtins.str,
|
|
419
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
420
|
+
) -> None:
|
|
421
|
+
"""Type checking stubs"""
|
|
422
|
+
pass
|
|
423
|
+
|
|
424
|
+
def _typecheckingstub__4fbea50b7b566b3e389da9797856acdc9090ee8b47644d6c8314d871aaa6f4e5(
|
|
425
|
+
value: builtins.str,
|
|
426
|
+
) -> None:
|
|
427
|
+
"""Type checking stubs"""
|
|
428
|
+
pass
|
|
429
|
+
|
|
430
|
+
def _typecheckingstub__3d11372f2999ed6c8e1782e6ee18de8f4070691da020c6b1928828afe7bcfcec(
|
|
431
|
+
value: builtins.str,
|
|
432
|
+
) -> None:
|
|
433
|
+
"""Type checking stubs"""
|
|
434
|
+
pass
|
|
435
|
+
|
|
436
|
+
def _typecheckingstub__b82812345c7ba7f14f6254a0cf420f36a02b4d6c440ec73057c67c13ab525bd4(
|
|
437
|
+
value: builtins.str,
|
|
438
|
+
) -> None:
|
|
439
|
+
"""Type checking stubs"""
|
|
440
|
+
pass
|
|
441
|
+
|
|
442
|
+
def _typecheckingstub__4e1fb569400cf70a3017adc22d8ea1d63edb075417f7ef9be9d5324b29b5ccb0(
|
|
443
|
+
value: builtins.str,
|
|
444
|
+
) -> None:
|
|
445
|
+
"""Type checking stubs"""
|
|
446
|
+
pass
|
|
447
|
+
|
|
448
|
+
def _typecheckingstub__b6a57f42bcde485030383192ea3d675982617870d8a33aa37f4bbf14a34c7800(
|
|
449
|
+
*,
|
|
450
|
+
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,
|
|
451
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
452
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
453
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
454
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
455
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
456
|
+
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,
|
|
457
|
+
backend: builtins.str,
|
|
458
|
+
certificate_bundle: builtins.str,
|
|
459
|
+
name: builtins.str,
|
|
460
|
+
id: typing.Optional[builtins.str] = None,
|
|
461
|
+
) -> None:
|
|
462
|
+
"""Type checking stubs"""
|
|
463
|
+
pass
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_loadbalancer_dynamic_backend_member`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_loadbalancer_dynamic_backend_member`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_loadbalancer_dynamic_backend_member`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class LoadbalancerDynamicBackendMember(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.loadbalancerDynamicBackendMember.LoadbalancerDynamicBackendMember",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member upcloud_loadbalancer_dynamic_backend_member}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -49,18 +49,18 @@ class LoadbalancerDynamicBackendMember(
|
|
|
49
49
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
50
|
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,
|
|
51
51
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
52
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member upcloud_loadbalancer_dynamic_backend_member} Resource.
|
|
53
53
|
|
|
54
54
|
:param scope: The scope in which to define this construct.
|
|
55
55
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
56
|
-
:param backend: ID of the load balancer backend to which the member is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
57
|
-
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
58
|
-
:param name: The name of the member must be unique within the load balancer backend service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
59
|
-
:param weight: Used to adjust the server's weight relative to other servers. All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. A value of 0 means the server will not participate in load balancing but will still accept persistent connections. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
60
|
-
:param enabled: Indicates if the member is enabled. Disabled members are excluded from load balancing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
61
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
62
|
-
:param ip: Optional fallback IP address in case of failure on DNS resolving. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
63
|
-
:param port: Server port. Port is optional and can be specified in DNS SRV record. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
56
|
+
:param backend: ID of the load balancer backend to which the member is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#backend LoadbalancerDynamicBackendMember#backend}
|
|
57
|
+
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#max_sessions LoadbalancerDynamicBackendMember#max_sessions}
|
|
58
|
+
:param name: The name of the member must be unique within the load balancer backend service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#name LoadbalancerDynamicBackendMember#name}
|
|
59
|
+
:param weight: Used to adjust the server's weight relative to other servers. All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. A value of 0 means the server will not participate in load balancing but will still accept persistent connections. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#weight LoadbalancerDynamicBackendMember#weight}
|
|
60
|
+
:param enabled: Indicates if the member is enabled. Disabled members are excluded from load balancing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#enabled LoadbalancerDynamicBackendMember#enabled}
|
|
61
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#id LoadbalancerDynamicBackendMember#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
62
|
+
:param ip: Optional fallback IP address in case of failure on DNS resolving. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#ip LoadbalancerDynamicBackendMember#ip}
|
|
63
|
+
:param port: Server port. Port is optional and can be specified in DNS SRV record. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#port LoadbalancerDynamicBackendMember#port}
|
|
64
64
|
:param connection:
|
|
65
65
|
:param count:
|
|
66
66
|
:param depends_on:
|
|
@@ -106,7 +106,7 @@ class LoadbalancerDynamicBackendMember(
|
|
|
106
106
|
|
|
107
107
|
:param scope: The scope in which to define this construct.
|
|
108
108
|
:param import_to_id: The construct id used in the generated config for the LoadbalancerDynamicBackendMember to import.
|
|
109
|
-
:param import_from_id: The id of the existing LoadbalancerDynamicBackendMember that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
109
|
+
:param import_from_id: The id of the existing LoadbalancerDynamicBackendMember that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#import import section} in the documentation of this resource for the id to use
|
|
110
110
|
:param provider: ? Optional instance of the provider where the LoadbalancerDynamicBackendMember to import is found.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
@@ -333,14 +333,14 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
333
333
|
:param lifecycle:
|
|
334
334
|
:param provider:
|
|
335
335
|
:param provisioners:
|
|
336
|
-
:param backend: ID of the load balancer backend to which the member is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
337
|
-
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
338
|
-
:param name: The name of the member must be unique within the load balancer backend service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
339
|
-
:param weight: Used to adjust the server's weight relative to other servers. All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. A value of 0 means the server will not participate in load balancing but will still accept persistent connections. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
340
|
-
:param enabled: Indicates if the member is enabled. Disabled members are excluded from load balancing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
341
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
342
|
-
:param ip: Optional fallback IP address in case of failure on DNS resolving. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
343
|
-
:param port: Server port. Port is optional and can be specified in DNS SRV record. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
336
|
+
:param backend: ID of the load balancer backend to which the member is connected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#backend LoadbalancerDynamicBackendMember#backend}
|
|
337
|
+
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#max_sessions LoadbalancerDynamicBackendMember#max_sessions}
|
|
338
|
+
:param name: The name of the member must be unique within the load balancer backend service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#name LoadbalancerDynamicBackendMember#name}
|
|
339
|
+
:param weight: Used to adjust the server's weight relative to other servers. All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load. A value of 0 means the server will not participate in load balancing but will still accept persistent connections. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#weight LoadbalancerDynamicBackendMember#weight}
|
|
340
|
+
:param enabled: Indicates if the member is enabled. Disabled members are excluded from load balancing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#enabled LoadbalancerDynamicBackendMember#enabled}
|
|
341
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#id LoadbalancerDynamicBackendMember#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
342
|
+
:param ip: Optional fallback IP address in case of failure on DNS resolving. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#ip LoadbalancerDynamicBackendMember#ip}
|
|
343
|
+
:param port: Server port. Port is optional and can be specified in DNS SRV record. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#port LoadbalancerDynamicBackendMember#port}
|
|
344
344
|
'''
|
|
345
345
|
if isinstance(lifecycle, dict):
|
|
346
346
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -458,7 +458,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
458
458
|
def backend(self) -> builtins.str:
|
|
459
459
|
'''ID of the load balancer backend to which the member is connected.
|
|
460
460
|
|
|
461
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
461
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#backend LoadbalancerDynamicBackendMember#backend}
|
|
462
462
|
'''
|
|
463
463
|
result = self._values.get("backend")
|
|
464
464
|
assert result is not None, "Required property 'backend' is missing"
|
|
@@ -468,7 +468,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
468
468
|
def max_sessions(self) -> jsii.Number:
|
|
469
469
|
'''Maximum number of sessions before queueing.
|
|
470
470
|
|
|
471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
471
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#max_sessions LoadbalancerDynamicBackendMember#max_sessions}
|
|
472
472
|
'''
|
|
473
473
|
result = self._values.get("max_sessions")
|
|
474
474
|
assert result is not None, "Required property 'max_sessions' is missing"
|
|
@@ -478,7 +478,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
478
478
|
def name(self) -> builtins.str:
|
|
479
479
|
'''The name of the member must be unique within the load balancer backend service.
|
|
480
480
|
|
|
481
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
481
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#name LoadbalancerDynamicBackendMember#name}
|
|
482
482
|
'''
|
|
483
483
|
result = self._values.get("name")
|
|
484
484
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -491,7 +491,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
491
491
|
All servers will receive a load proportional to their weight relative to the sum of all weights, so the higher the weight, the higher the load.
|
|
492
492
|
A value of 0 means the server will not participate in load balancing but will still accept persistent connections.
|
|
493
493
|
|
|
494
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
494
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#weight LoadbalancerDynamicBackendMember#weight}
|
|
495
495
|
'''
|
|
496
496
|
result = self._values.get("weight")
|
|
497
497
|
assert result is not None, "Required property 'weight' is missing"
|
|
@@ -503,14 +503,14 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
503
503
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
504
504
|
'''Indicates if the member is enabled. Disabled members are excluded from load balancing.
|
|
505
505
|
|
|
506
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
506
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#enabled LoadbalancerDynamicBackendMember#enabled}
|
|
507
507
|
'''
|
|
508
508
|
result = self._values.get("enabled")
|
|
509
509
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
510
510
|
|
|
511
511
|
@builtins.property
|
|
512
512
|
def id(self) -> typing.Optional[builtins.str]:
|
|
513
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
513
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#id LoadbalancerDynamicBackendMember#id}.
|
|
514
514
|
|
|
515
515
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
516
516
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -522,7 +522,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
522
522
|
def ip(self) -> typing.Optional[builtins.str]:
|
|
523
523
|
'''Optional fallback IP address in case of failure on DNS resolving.
|
|
524
524
|
|
|
525
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
525
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#ip LoadbalancerDynamicBackendMember#ip}
|
|
526
526
|
'''
|
|
527
527
|
result = self._values.get("ip")
|
|
528
528
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -531,7 +531,7 @@ class LoadbalancerDynamicBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgume
|
|
|
531
531
|
def port(self) -> typing.Optional[jsii.Number]:
|
|
532
532
|
'''Server port. Port is optional and can be specified in DNS SRV record.
|
|
533
533
|
|
|
534
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
534
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_dynamic_backend_member#port LoadbalancerDynamicBackendMember#port}
|
|
535
535
|
'''
|
|
536
536
|
result = self._values.get("port")
|
|
537
537
|
return typing.cast(typing.Optional[jsii.Number], result)
|