cdktf-cdktf-provider-upcloud 11.0.3__py3-none-any.whl → 12.0.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@12.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +26 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +17 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +34 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +26 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +17 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +29 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +11 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +14 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +14 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +45 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +51 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +40 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +68 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +43 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +169 -165
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +20 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +35 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +32 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +179 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +77 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +296 -292
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +104 -100
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +54 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +77 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/network/__init__.py +44 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +34 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +29 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +145 -141
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +23 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +59 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +20 -16
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/LICENSE +1 -1
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-12.0.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.3.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_loadbalancer_static_backend_member`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_loadbalancer_static_backend_member`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class LoadbalancerStaticBackendMember(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.loadbalancerStaticBackendMember.LoadbalancerStaticBackendMember",
|
|
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_static_backend_member upcloud_loadbalancer_static_backend_member}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -49,18 +49,18 @@ class LoadbalancerStaticBackendMember(
|
|
|
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_static_backend_member upcloud_loadbalancer_static_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 ip: Server IP address in the customer private network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
58
|
-
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
59
|
-
: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.
|
|
60
|
-
:param port: Server port. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
61
|
-
: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.
|
|
62
|
-
: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.
|
|
63
|
-
:param id: 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_static_backend_member#backend LoadbalancerStaticBackendMember#backend}
|
|
57
|
+
:param ip: Server IP address in the customer private network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#ip LoadbalancerStaticBackendMember#ip}
|
|
58
|
+
: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_static_backend_member#max_sessions LoadbalancerStaticBackendMember#max_sessions}
|
|
59
|
+
: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_static_backend_member#name LoadbalancerStaticBackendMember#name}
|
|
60
|
+
:param port: Server port. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#port LoadbalancerStaticBackendMember#port}
|
|
61
|
+
: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_static_backend_member#weight LoadbalancerStaticBackendMember#weight}
|
|
62
|
+
: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_static_backend_member#enabled LoadbalancerStaticBackendMember#enabled}
|
|
63
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#id LoadbalancerStaticBackendMember#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.
|
|
64
64
|
:param connection:
|
|
65
65
|
:param count:
|
|
66
66
|
:param depends_on:
|
|
@@ -106,7 +106,7 @@ class LoadbalancerStaticBackendMember(
|
|
|
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 LoadbalancerStaticBackendMember to import.
|
|
109
|
-
:param import_from_id: The id of the existing LoadbalancerStaticBackendMember 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 LoadbalancerStaticBackendMember that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_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 LoadbalancerStaticBackendMember to import is found.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
@@ -129,6 +129,10 @@ class LoadbalancerStaticBackendMember(
|
|
|
129
129
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
130
130
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
131
131
|
|
|
132
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
133
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
134
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
135
|
+
|
|
132
136
|
@jsii.python.classproperty
|
|
133
137
|
@jsii.member(jsii_name="tfResourceType")
|
|
134
138
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -325,14 +329,14 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
325
329
|
:param lifecycle:
|
|
326
330
|
:param provider:
|
|
327
331
|
:param provisioners:
|
|
328
|
-
: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.
|
|
329
|
-
:param ip: Server IP address in the customer private network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
330
|
-
:param max_sessions: Maximum number of sessions before queueing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
331
|
-
: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.
|
|
332
|
-
:param port: Server port. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
333
|
-
: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.
|
|
334
|
-
: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.
|
|
335
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
332
|
+
: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_static_backend_member#backend LoadbalancerStaticBackendMember#backend}
|
|
333
|
+
:param ip: Server IP address in the customer private network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#ip LoadbalancerStaticBackendMember#ip}
|
|
334
|
+
: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_static_backend_member#max_sessions LoadbalancerStaticBackendMember#max_sessions}
|
|
335
|
+
: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_static_backend_member#name LoadbalancerStaticBackendMember#name}
|
|
336
|
+
:param port: Server port. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#port LoadbalancerStaticBackendMember#port}
|
|
337
|
+
: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_static_backend_member#weight LoadbalancerStaticBackendMember#weight}
|
|
338
|
+
: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_static_backend_member#enabled LoadbalancerStaticBackendMember#enabled}
|
|
339
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#id LoadbalancerStaticBackendMember#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.
|
|
336
340
|
'''
|
|
337
341
|
if isinstance(lifecycle, dict):
|
|
338
342
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -448,7 +452,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
448
452
|
def backend(self) -> builtins.str:
|
|
449
453
|
'''ID of the load balancer backend to which the member is connected.
|
|
450
454
|
|
|
451
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
455
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#backend LoadbalancerStaticBackendMember#backend}
|
|
452
456
|
'''
|
|
453
457
|
result = self._values.get("backend")
|
|
454
458
|
assert result is not None, "Required property 'backend' is missing"
|
|
@@ -458,7 +462,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
458
462
|
def ip(self) -> builtins.str:
|
|
459
463
|
'''Server IP address in the customer private network.
|
|
460
464
|
|
|
461
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
465
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#ip LoadbalancerStaticBackendMember#ip}
|
|
462
466
|
'''
|
|
463
467
|
result = self._values.get("ip")
|
|
464
468
|
assert result is not None, "Required property 'ip' is missing"
|
|
@@ -468,7 +472,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
468
472
|
def max_sessions(self) -> jsii.Number:
|
|
469
473
|
'''Maximum number of sessions before queueing.
|
|
470
474
|
|
|
471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
475
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#max_sessions LoadbalancerStaticBackendMember#max_sessions}
|
|
472
476
|
'''
|
|
473
477
|
result = self._values.get("max_sessions")
|
|
474
478
|
assert result is not None, "Required property 'max_sessions' is missing"
|
|
@@ -478,7 +482,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
478
482
|
def name(self) -> builtins.str:
|
|
479
483
|
'''The name of the member must be unique within the load balancer backend service.
|
|
480
484
|
|
|
481
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
485
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#name LoadbalancerStaticBackendMember#name}
|
|
482
486
|
'''
|
|
483
487
|
result = self._values.get("name")
|
|
484
488
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -488,7 +492,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
488
492
|
def port(self) -> jsii.Number:
|
|
489
493
|
'''Server port.
|
|
490
494
|
|
|
491
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
495
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#port LoadbalancerStaticBackendMember#port}
|
|
492
496
|
'''
|
|
493
497
|
result = self._values.get("port")
|
|
494
498
|
assert result is not None, "Required property 'port' is missing"
|
|
@@ -501,7 +505,7 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
501
505
|
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.
|
|
502
506
|
A value of 0 means the server will not participate in load balancing but will still accept persistent connections.
|
|
503
507
|
|
|
504
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
508
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#weight LoadbalancerStaticBackendMember#weight}
|
|
505
509
|
'''
|
|
506
510
|
result = self._values.get("weight")
|
|
507
511
|
assert result is not None, "Required property 'weight' is missing"
|
|
@@ -513,14 +517,14 @@ class LoadbalancerStaticBackendMemberConfig(_cdktf_9a9027ec.TerraformMetaArgumen
|
|
|
513
517
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
514
518
|
'''Indicates if the member is enabled. Disabled members are excluded from load balancing.
|
|
515
519
|
|
|
516
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
520
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#enabled LoadbalancerStaticBackendMember#enabled}
|
|
517
521
|
'''
|
|
518
522
|
result = self._values.get("enabled")
|
|
519
523
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
520
524
|
|
|
521
525
|
@builtins.property
|
|
522
526
|
def id(self) -> typing.Optional[builtins.str]:
|
|
523
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
527
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/loadbalancer_static_backend_member#id LoadbalancerStaticBackendMember#id}.
|
|
524
528
|
|
|
525
529
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
526
530
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_managed_database_logical_database`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_database_logical_database`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class ManagedDatabaseLogicalDatabase(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.managedDatabaseLogicalDatabase.ManagedDatabaseLogicalDatabase",
|
|
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/managed_database_logical_database upcloud_managed_database_logical_database}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class ManagedDatabaseLogicalDatabase(
|
|
|
46
46
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
47
|
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,
|
|
48
48
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database upcloud_managed_database_logical_database} Resource.
|
|
50
50
|
|
|
51
51
|
:param scope: The scope in which to define this construct.
|
|
52
52
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param name: Name of the logical database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
54
|
-
:param service: Service's UUID for which this user belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
55
|
-
:param character_set: Default character set for the database (LC_CTYPE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
56
|
-
:param collation: Default collation for the database (LC_COLLATE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
57
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
53
|
+
:param name: Name of the logical database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#name ManagedDatabaseLogicalDatabase#name}
|
|
54
|
+
:param service: Service's UUID for which this user belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#service ManagedDatabaseLogicalDatabase#service}
|
|
55
|
+
:param character_set: Default character set for the database (LC_CTYPE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#character_set ManagedDatabaseLogicalDatabase#character_set}
|
|
56
|
+
:param collation: Default collation for the database (LC_COLLATE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#collation ManagedDatabaseLogicalDatabase#collation}
|
|
57
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#id ManagedDatabaseLogicalDatabase#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.
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class ManagedDatabaseLogicalDatabase(
|
|
|
97
97
|
|
|
98
98
|
:param scope: The scope in which to define this construct.
|
|
99
99
|
:param import_to_id: The construct id used in the generated config for the ManagedDatabaseLogicalDatabase to import.
|
|
100
|
-
:param import_from_id: The id of the existing ManagedDatabaseLogicalDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
100
|
+
:param import_from_id: The id of the existing ManagedDatabaseLogicalDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#import import section} in the documentation of this resource for the id to use
|
|
101
101
|
:param provider: ? Optional instance of the provider where the ManagedDatabaseLogicalDatabase to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -124,6 +124,10 @@ class ManagedDatabaseLogicalDatabase(
|
|
|
124
124
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
125
125
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
126
126
|
|
|
127
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
128
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
129
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
130
|
+
|
|
127
131
|
@jsii.python.classproperty
|
|
128
132
|
@jsii.member(jsii_name="tfResourceType")
|
|
129
133
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -258,11 +262,11 @@ class ManagedDatabaseLogicalDatabaseConfig(_cdktf_9a9027ec.TerraformMetaArgument
|
|
|
258
262
|
:param lifecycle:
|
|
259
263
|
:param provider:
|
|
260
264
|
:param provisioners:
|
|
261
|
-
:param name: Name of the logical database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
262
|
-
:param service: Service's UUID for which this user belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
263
|
-
:param character_set: Default character set for the database (LC_CTYPE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
264
|
-
:param collation: Default collation for the database (LC_COLLATE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
265
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
265
|
+
:param name: Name of the logical database. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#name ManagedDatabaseLogicalDatabase#name}
|
|
266
|
+
:param service: Service's UUID for which this user belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#service ManagedDatabaseLogicalDatabase#service}
|
|
267
|
+
:param character_set: Default character set for the database (LC_CTYPE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#character_set ManagedDatabaseLogicalDatabase#character_set}
|
|
268
|
+
:param collation: Default collation for the database (LC_COLLATE). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#collation ManagedDatabaseLogicalDatabase#collation}
|
|
269
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#id ManagedDatabaseLogicalDatabase#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.
|
|
266
270
|
'''
|
|
267
271
|
if isinstance(lifecycle, dict):
|
|
268
272
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -373,7 +377,7 @@ class ManagedDatabaseLogicalDatabaseConfig(_cdktf_9a9027ec.TerraformMetaArgument
|
|
|
373
377
|
def name(self) -> builtins.str:
|
|
374
378
|
'''Name of the logical database.
|
|
375
379
|
|
|
376
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
380
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#name ManagedDatabaseLogicalDatabase#name}
|
|
377
381
|
'''
|
|
378
382
|
result = self._values.get("name")
|
|
379
383
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -383,7 +387,7 @@ class ManagedDatabaseLogicalDatabaseConfig(_cdktf_9a9027ec.TerraformMetaArgument
|
|
|
383
387
|
def service(self) -> builtins.str:
|
|
384
388
|
'''Service's UUID for which this user belongs to.
|
|
385
389
|
|
|
386
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#service ManagedDatabaseLogicalDatabase#service}
|
|
387
391
|
'''
|
|
388
392
|
result = self._values.get("service")
|
|
389
393
|
assert result is not None, "Required property 'service' is missing"
|
|
@@ -393,7 +397,7 @@ class ManagedDatabaseLogicalDatabaseConfig(_cdktf_9a9027ec.TerraformMetaArgument
|
|
|
393
397
|
def character_set(self) -> typing.Optional[builtins.str]:
|
|
394
398
|
'''Default character set for the database (LC_CTYPE).
|
|
395
399
|
|
|
396
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
400
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#character_set ManagedDatabaseLogicalDatabase#character_set}
|
|
397
401
|
'''
|
|
398
402
|
result = self._values.get("character_set")
|
|
399
403
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -402,14 +406,14 @@ class ManagedDatabaseLogicalDatabaseConfig(_cdktf_9a9027ec.TerraformMetaArgument
|
|
|
402
406
|
def collation(self) -> typing.Optional[builtins.str]:
|
|
403
407
|
'''Default collation for the database (LC_COLLATE).
|
|
404
408
|
|
|
405
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
409
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#collation ManagedDatabaseLogicalDatabase#collation}
|
|
406
410
|
'''
|
|
407
411
|
result = self._values.get("collation")
|
|
408
412
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
409
413
|
|
|
410
414
|
@builtins.property
|
|
411
415
|
def id(self) -> typing.Optional[builtins.str]:
|
|
412
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
416
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/managed_database_logical_database#id ManagedDatabaseLogicalDatabase#id}.
|
|
413
417
|
|
|
414
418
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
415
419
|
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.
|