cdktf-cdktf-provider-upcloud 13.0.0__py3-none-any.whl → 13.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 +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.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 +77 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +134 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- 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 +39 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- 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 +175 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +286 -286
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +103 -103
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -33
- 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 +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +148 -148
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-13.1.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-13.0.0.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_loadbalancer`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Loadbalancer(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.loadbalancer.Loadbalancer",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer upcloud_loadbalancer}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -39,6 +39,8 @@ class Loadbalancer(
|
|
|
39
39
|
configured_status: typing.Optional[builtins.str] = None,
|
|
40
40
|
id: typing.Optional[builtins.str] = None,
|
|
41
41
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
42
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
43
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
42
44
|
network: typing.Optional[builtins.str] = None,
|
|
43
45
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
44
46
|
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,
|
|
@@ -49,18 +51,20 @@ class Loadbalancer(
|
|
|
49
51
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
52
|
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
53
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
54
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer upcloud_loadbalancer} Resource.
|
|
53
55
|
|
|
54
56
|
:param scope: The scope in which to define this construct.
|
|
55
57
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
56
|
-
: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/4.
|
|
57
|
-
: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/4.
|
|
58
|
-
: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/4.
|
|
59
|
-
: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/4.
|
|
60
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
61
|
-
:param labels: Key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
62
|
-
:param
|
|
63
|
-
:param
|
|
58
|
+
: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/4.1.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
59
|
+
: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/4.1.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
60
|
+
: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/4.1.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
61
|
+
: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/4.1.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
62
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#id Loadbalancer#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.
|
|
63
|
+
:param labels: Key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
64
|
+
: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/4.1.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
65
|
+
: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/4.1.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
66
|
+
: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/4.1.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
67
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
64
68
|
:param connection:
|
|
65
69
|
:param count:
|
|
66
70
|
:param depends_on:
|
|
@@ -80,6 +84,8 @@ class Loadbalancer(
|
|
|
80
84
|
configured_status=configured_status,
|
|
81
85
|
id=id,
|
|
82
86
|
labels=labels,
|
|
87
|
+
maintenance_dow=maintenance_dow,
|
|
88
|
+
maintenance_time=maintenance_time,
|
|
83
89
|
network=network,
|
|
84
90
|
networks=networks,
|
|
85
91
|
connection=connection,
|
|
@@ -106,7 +112,7 @@ class Loadbalancer(
|
|
|
106
112
|
|
|
107
113
|
:param scope: The scope in which to define this construct.
|
|
108
114
|
:param import_to_id: The construct id used in the generated config for the Loadbalancer to import.
|
|
109
|
-
: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/4.
|
|
115
|
+
: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/4.1.0/docs/resources/loadbalancer#import import section} in the documentation of this resource for the id to use
|
|
110
116
|
:param provider: ? Optional instance of the provider where the Loadbalancer to import is found.
|
|
111
117
|
'''
|
|
112
118
|
if __debug__:
|
|
@@ -142,6 +148,14 @@ class Loadbalancer(
|
|
|
142
148
|
def reset_labels(self) -> None:
|
|
143
149
|
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
144
150
|
|
|
151
|
+
@jsii.member(jsii_name="resetMaintenanceDow")
|
|
152
|
+
def reset_maintenance_dow(self) -> None:
|
|
153
|
+
return typing.cast(None, jsii.invoke(self, "resetMaintenanceDow", []))
|
|
154
|
+
|
|
155
|
+
@jsii.member(jsii_name="resetMaintenanceTime")
|
|
156
|
+
def reset_maintenance_time(self) -> None:
|
|
157
|
+
return typing.cast(None, jsii.invoke(self, "resetMaintenanceTime", []))
|
|
158
|
+
|
|
145
159
|
@jsii.member(jsii_name="resetNetwork")
|
|
146
160
|
def reset_network(self) -> None:
|
|
147
161
|
return typing.cast(None, jsii.invoke(self, "resetNetwork", []))
|
|
@@ -215,6 +229,16 @@ class Loadbalancer(
|
|
|
215
229
|
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
216
230
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
217
231
|
|
|
232
|
+
@builtins.property
|
|
233
|
+
@jsii.member(jsii_name="maintenanceDowInput")
|
|
234
|
+
def maintenance_dow_input(self) -> typing.Optional[builtins.str]:
|
|
235
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceDowInput"))
|
|
236
|
+
|
|
237
|
+
@builtins.property
|
|
238
|
+
@jsii.member(jsii_name="maintenanceTimeInput")
|
|
239
|
+
def maintenance_time_input(self) -> typing.Optional[builtins.str]:
|
|
240
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceTimeInput"))
|
|
241
|
+
|
|
218
242
|
@builtins.property
|
|
219
243
|
@jsii.member(jsii_name="nameInput")
|
|
220
244
|
def name_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -278,6 +302,30 @@ class Loadbalancer(
|
|
|
278
302
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
279
303
|
jsii.set(self, "labels", value)
|
|
280
304
|
|
|
305
|
+
@builtins.property
|
|
306
|
+
@jsii.member(jsii_name="maintenanceDow")
|
|
307
|
+
def maintenance_dow(self) -> builtins.str:
|
|
308
|
+
return typing.cast(builtins.str, jsii.get(self, "maintenanceDow"))
|
|
309
|
+
|
|
310
|
+
@maintenance_dow.setter
|
|
311
|
+
def maintenance_dow(self, value: builtins.str) -> None:
|
|
312
|
+
if __debug__:
|
|
313
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c1c172f4d3ecc0a3e00cc223550a20f38dc1fca823bfab5e22d9d46d5451fa1d)
|
|
314
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
315
|
+
jsii.set(self, "maintenanceDow", value)
|
|
316
|
+
|
|
317
|
+
@builtins.property
|
|
318
|
+
@jsii.member(jsii_name="maintenanceTime")
|
|
319
|
+
def maintenance_time(self) -> builtins.str:
|
|
320
|
+
return typing.cast(builtins.str, jsii.get(self, "maintenanceTime"))
|
|
321
|
+
|
|
322
|
+
@maintenance_time.setter
|
|
323
|
+
def maintenance_time(self, value: builtins.str) -> None:
|
|
324
|
+
if __debug__:
|
|
325
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b4e3d2b55c8c105d3febe7dd34482dc24ca57eaa871619acb5e5ac9f7858a85)
|
|
326
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
327
|
+
jsii.set(self, "maintenanceTime", value)
|
|
328
|
+
|
|
281
329
|
@builtins.property
|
|
282
330
|
@jsii.member(jsii_name="name")
|
|
283
331
|
def name(self) -> builtins.str:
|
|
@@ -344,6 +392,8 @@ class Loadbalancer(
|
|
|
344
392
|
"configured_status": "configuredStatus",
|
|
345
393
|
"id": "id",
|
|
346
394
|
"labels": "labels",
|
|
395
|
+
"maintenance_dow": "maintenanceDow",
|
|
396
|
+
"maintenance_time": "maintenanceTime",
|
|
347
397
|
"network": "network",
|
|
348
398
|
"networks": "networks",
|
|
349
399
|
},
|
|
@@ -365,6 +415,8 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
365
415
|
configured_status: typing.Optional[builtins.str] = None,
|
|
366
416
|
id: typing.Optional[builtins.str] = None,
|
|
367
417
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
418
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
419
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
368
420
|
network: typing.Optional[builtins.str] = None,
|
|
369
421
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["LoadbalancerNetworks", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
370
422
|
) -> None:
|
|
@@ -376,14 +428,16 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
376
428
|
:param lifecycle:
|
|
377
429
|
:param provider:
|
|
378
430
|
:param provisioners:
|
|
379
|
-
: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/4.
|
|
380
|
-
: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/4.
|
|
381
|
-
: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/4.
|
|
382
|
-
: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/4.
|
|
383
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
384
|
-
:param labels: Key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
385
|
-
:param
|
|
386
|
-
:param
|
|
431
|
+
: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/4.1.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
432
|
+
: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/4.1.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
433
|
+
: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/4.1.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
434
|
+
: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/4.1.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
435
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#id Loadbalancer#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.
|
|
436
|
+
:param labels: Key-value pairs to classify the load balancer. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
437
|
+
: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/4.1.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
438
|
+
: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/4.1.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
439
|
+
: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/4.1.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
440
|
+
:param networks: networks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
387
441
|
'''
|
|
388
442
|
if isinstance(lifecycle, dict):
|
|
389
443
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -402,6 +456,8 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
402
456
|
check_type(argname="argument configured_status", value=configured_status, expected_type=type_hints["configured_status"])
|
|
403
457
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
404
458
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
459
|
+
check_type(argname="argument maintenance_dow", value=maintenance_dow, expected_type=type_hints["maintenance_dow"])
|
|
460
|
+
check_type(argname="argument maintenance_time", value=maintenance_time, expected_type=type_hints["maintenance_time"])
|
|
405
461
|
check_type(argname="argument network", value=network, expected_type=type_hints["network"])
|
|
406
462
|
check_type(argname="argument networks", value=networks, expected_type=type_hints["networks"])
|
|
407
463
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -429,6 +485,10 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
429
485
|
self._values["id"] = id
|
|
430
486
|
if labels is not None:
|
|
431
487
|
self._values["labels"] = labels
|
|
488
|
+
if maintenance_dow is not None:
|
|
489
|
+
self._values["maintenance_dow"] = maintenance_dow
|
|
490
|
+
if maintenance_time is not None:
|
|
491
|
+
self._values["maintenance_time"] = maintenance_time
|
|
432
492
|
if network is not None:
|
|
433
493
|
self._values["network"] = network
|
|
434
494
|
if networks is not None:
|
|
@@ -502,7 +562,7 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
502
562
|
def name(self) -> builtins.str:
|
|
503
563
|
'''The name of the service must be unique within customer account.
|
|
504
564
|
|
|
505
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
565
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
506
566
|
'''
|
|
507
567
|
result = self._values.get("name")
|
|
508
568
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -512,7 +572,7 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
512
572
|
def plan(self) -> builtins.str:
|
|
513
573
|
'''Plan which the service will have. You can list available load balancer plans with ``upctl loadbalancer plans``.
|
|
514
574
|
|
|
515
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
575
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#plan Loadbalancer#plan}
|
|
516
576
|
'''
|
|
517
577
|
result = self._values.get("plan")
|
|
518
578
|
assert result is not None, "Required property 'plan' is missing"
|
|
@@ -522,7 +582,7 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
522
582
|
def zone(self) -> builtins.str:
|
|
523
583
|
'''Zone in which the service will be hosted, e.g. ``fi-hel1``. You can list available zones with ``upctl zone list``.
|
|
524
584
|
|
|
525
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
585
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#zone Loadbalancer#zone}
|
|
526
586
|
'''
|
|
527
587
|
result = self._values.get("zone")
|
|
528
588
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -532,14 +592,14 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
532
592
|
def configured_status(self) -> typing.Optional[builtins.str]:
|
|
533
593
|
'''The service configured status indicates the service's current intended status. Managed by the customer.
|
|
534
594
|
|
|
535
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
595
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#configured_status Loadbalancer#configured_status}
|
|
536
596
|
'''
|
|
537
597
|
result = self._values.get("configured_status")
|
|
538
598
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
539
599
|
|
|
540
600
|
@builtins.property
|
|
541
601
|
def id(self) -> typing.Optional[builtins.str]:
|
|
542
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
602
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#id Loadbalancer#id}.
|
|
543
603
|
|
|
544
604
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
545
605
|
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.
|
|
@@ -551,16 +611,38 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
551
611
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
552
612
|
'''Key-value pairs to classify the load balancer.
|
|
553
613
|
|
|
554
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
614
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#labels Loadbalancer#labels}
|
|
555
615
|
'''
|
|
556
616
|
result = self._values.get("labels")
|
|
557
617
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
558
618
|
|
|
619
|
+
@builtins.property
|
|
620
|
+
def maintenance_dow(self) -> typing.Optional[builtins.str]:
|
|
621
|
+
'''The day of the week on which maintenance will be performed.
|
|
622
|
+
|
|
623
|
+
If not provided, we will randomly select a weekend day. Valid values ``monday|tuesday|wednesday|thursday|friday|saturday|sunday``.
|
|
624
|
+
|
|
625
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#maintenance_dow Loadbalancer#maintenance_dow}
|
|
626
|
+
'''
|
|
627
|
+
result = self._values.get("maintenance_dow")
|
|
628
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
629
|
+
|
|
630
|
+
@builtins.property
|
|
631
|
+
def maintenance_time(self) -> typing.Optional[builtins.str]:
|
|
632
|
+
'''The time at which the maintenance will begin in UTC.
|
|
633
|
+
|
|
634
|
+
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``.
|
|
635
|
+
|
|
636
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#maintenance_time Loadbalancer#maintenance_time}
|
|
637
|
+
'''
|
|
638
|
+
result = self._values.get("maintenance_time")
|
|
639
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
640
|
+
|
|
559
641
|
@builtins.property
|
|
560
642
|
def network(self) -> typing.Optional[builtins.str]:
|
|
561
643
|
'''Private network UUID where traffic will be routed. Must reside in load balancer zone.
|
|
562
644
|
|
|
563
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
645
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
564
646
|
'''
|
|
565
647
|
result = self._values.get("network")
|
|
566
648
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -571,7 +653,7 @@ class LoadbalancerConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
571
653
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]]:
|
|
572
654
|
'''networks block.
|
|
573
655
|
|
|
574
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
656
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#networks Loadbalancer#networks}
|
|
575
657
|
'''
|
|
576
658
|
result = self._values.get("networks")
|
|
577
659
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["LoadbalancerNetworks"]]], result)
|
|
@@ -608,10 +690,10 @@ class LoadbalancerNetworks:
|
|
|
608
690
|
network: typing.Optional[builtins.str] = None,
|
|
609
691
|
) -> None:
|
|
610
692
|
'''
|
|
611
|
-
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
612
|
-
: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/4.
|
|
613
|
-
: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/4.
|
|
614
|
-
: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/4.
|
|
693
|
+
:param family: Network family. Currently only ``IPv4`` is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#family Loadbalancer#family}
|
|
694
|
+
: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/4.1.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
695
|
+
: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/4.1.0/docs/resources/loadbalancer#type Loadbalancer#type}
|
|
696
|
+
: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/4.1.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
615
697
|
'''
|
|
616
698
|
if __debug__:
|
|
617
699
|
type_hints = typing.get_type_hints(_typecheckingstub__f7bc3b31db01be8fcdb6dd15ccf511434856f0866752f9ec14fbf89082bb48ed)
|
|
@@ -631,7 +713,7 @@ class LoadbalancerNetworks:
|
|
|
631
713
|
def family(self) -> builtins.str:
|
|
632
714
|
'''Network family. Currently only ``IPv4`` is supported.
|
|
633
715
|
|
|
634
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
716
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#family Loadbalancer#family}
|
|
635
717
|
'''
|
|
636
718
|
result = self._values.get("family")
|
|
637
719
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -641,7 +723,7 @@ class LoadbalancerNetworks:
|
|
|
641
723
|
def name(self) -> builtins.str:
|
|
642
724
|
'''The name of the network must be unique within the service.
|
|
643
725
|
|
|
644
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
726
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#name Loadbalancer#name}
|
|
645
727
|
'''
|
|
646
728
|
result = self._values.get("name")
|
|
647
729
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -653,7 +735,7 @@ class LoadbalancerNetworks:
|
|
|
653
735
|
|
|
654
736
|
Only one public network can be attached and at least one private network must be attached.
|
|
655
737
|
|
|
656
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
738
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#type Loadbalancer#type}
|
|
657
739
|
'''
|
|
658
740
|
result = self._values.get("type")
|
|
659
741
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -665,7 +747,7 @@ class LoadbalancerNetworks:
|
|
|
665
747
|
|
|
666
748
|
Required for private networks and must reside in loadbalancer zone. For public network the field should be omitted.
|
|
667
749
|
|
|
668
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
750
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/loadbalancer#network Loadbalancer#network}
|
|
669
751
|
'''
|
|
670
752
|
result = self._values.get("network")
|
|
671
753
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1367,6 +1449,8 @@ def _typecheckingstub__e082db6bc1d4641fe4f5a8395ca7b260d01349823ad7c840d9b912e17
|
|
|
1367
1449
|
configured_status: typing.Optional[builtins.str] = None,
|
|
1368
1450
|
id: typing.Optional[builtins.str] = None,
|
|
1369
1451
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1452
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
1453
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
1370
1454
|
network: typing.Optional[builtins.str] = None,
|
|
1371
1455
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1372
1456
|
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,
|
|
@@ -1413,6 +1497,18 @@ def _typecheckingstub__bbbff3ae1f2c1edf762145bd6bf1563504ea39b7abbeb2e11e743f32c
|
|
|
1413
1497
|
"""Type checking stubs"""
|
|
1414
1498
|
pass
|
|
1415
1499
|
|
|
1500
|
+
def _typecheckingstub__c1c172f4d3ecc0a3e00cc223550a20f38dc1fca823bfab5e22d9d46d5451fa1d(
|
|
1501
|
+
value: builtins.str,
|
|
1502
|
+
) -> None:
|
|
1503
|
+
"""Type checking stubs"""
|
|
1504
|
+
pass
|
|
1505
|
+
|
|
1506
|
+
def _typecheckingstub__8b4e3d2b55c8c105d3febe7dd34482dc24ca57eaa871619acb5e5ac9f7858a85(
|
|
1507
|
+
value: builtins.str,
|
|
1508
|
+
) -> None:
|
|
1509
|
+
"""Type checking stubs"""
|
|
1510
|
+
pass
|
|
1511
|
+
|
|
1416
1512
|
def _typecheckingstub__36deb33fad5f5d16508c93e2fa76d019c0b115fe9ae9041544dfeaafd965f8c6(
|
|
1417
1513
|
value: builtins.str,
|
|
1418
1514
|
) -> None:
|
|
@@ -1452,6 +1548,8 @@ def _typecheckingstub__6ad78abeb447854e5bbf7e2b28bbd5ad83ea1471fcd2bfe5ce445ca29
|
|
|
1452
1548
|
configured_status: typing.Optional[builtins.str] = None,
|
|
1453
1549
|
id: typing.Optional[builtins.str] = None,
|
|
1454
1550
|
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1551
|
+
maintenance_dow: typing.Optional[builtins.str] = None,
|
|
1552
|
+
maintenance_time: typing.Optional[builtins.str] = None,
|
|
1455
1553
|
network: typing.Optional[builtins.str] = None,
|
|
1456
1554
|
networks: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[LoadbalancerNetworks, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
1457
1555
|
) -> None:
|