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_router`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Router(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.router.Router",
|
|
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/router upcloud_router}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -44,13 +44,13 @@ class Router(
|
|
|
44
44
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
45
45
|
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,
|
|
46
46
|
) -> None:
|
|
47
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
47
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router upcloud_router} Resource.
|
|
48
48
|
|
|
49
49
|
:param scope: The scope in which to define this construct.
|
|
50
50
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
51
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
52
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
53
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
51
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#name Router#name}
|
|
52
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#id Router#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.
|
|
53
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#static_route Router#static_route}
|
|
54
54
|
:param connection:
|
|
55
55
|
:param count:
|
|
56
56
|
:param depends_on:
|
|
@@ -91,7 +91,7 @@ class Router(
|
|
|
91
91
|
|
|
92
92
|
:param scope: The scope in which to define this construct.
|
|
93
93
|
:param import_to_id: The construct id used in the generated config for the Router to import.
|
|
94
|
-
:param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
94
|
+
:param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#import import section} in the documentation of this resource for the id to use
|
|
95
95
|
:param provider: ? Optional instance of the provider where the Router to import is found.
|
|
96
96
|
'''
|
|
97
97
|
if __debug__:
|
|
@@ -127,6 +127,10 @@ class Router(
|
|
|
127
127
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
128
128
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
129
129
|
|
|
130
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
131
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
132
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
133
|
+
|
|
130
134
|
@jsii.python.classproperty
|
|
131
135
|
@jsii.member(jsii_name="tfResourceType")
|
|
132
136
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
@@ -228,9 +232,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
228
232
|
:param lifecycle:
|
|
229
233
|
:param provider:
|
|
230
234
|
:param provisioners:
|
|
231
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
232
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
233
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
235
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#name Router#name}
|
|
236
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#id Router#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.
|
|
237
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#static_route Router#static_route}
|
|
234
238
|
'''
|
|
235
239
|
if isinstance(lifecycle, dict):
|
|
236
240
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -336,7 +340,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
336
340
|
def name(self) -> builtins.str:
|
|
337
341
|
'''Name of the router.
|
|
338
342
|
|
|
339
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#name Router#name}
|
|
340
344
|
'''
|
|
341
345
|
result = self._values.get("name")
|
|
342
346
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -344,7 +348,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
344
348
|
|
|
345
349
|
@builtins.property
|
|
346
350
|
def id(self) -> typing.Optional[builtins.str]:
|
|
347
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
351
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#id Router#id}.
|
|
348
352
|
|
|
349
353
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
350
354
|
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.
|
|
@@ -358,7 +362,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
358
362
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
359
363
|
'''static_route block.
|
|
360
364
|
|
|
361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
365
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#static_route Router#static_route}
|
|
362
366
|
'''
|
|
363
367
|
result = self._values.get("static_route")
|
|
364
368
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -389,9 +393,9 @@ class RouterStaticRoute:
|
|
|
389
393
|
name: typing.Optional[builtins.str] = None,
|
|
390
394
|
) -> None:
|
|
391
395
|
'''
|
|
392
|
-
:param nexthop: Next hop address. NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
393
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
394
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
396
|
+
:param nexthop: Next hop address. NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#nexthop Router#nexthop}
|
|
397
|
+
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#route Router#route}
|
|
398
|
+
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#name Router#name}
|
|
395
399
|
'''
|
|
396
400
|
if __debug__:
|
|
397
401
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -411,7 +415,7 @@ class RouterStaticRoute:
|
|
|
411
415
|
|
|
412
416
|
NOTE: For static route to be active the next hop has to be an address of a reachable running Cloud Server in one of the Private Networks attached to the router.
|
|
413
417
|
|
|
414
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
418
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#nexthop Router#nexthop}
|
|
415
419
|
'''
|
|
416
420
|
result = self._values.get("nexthop")
|
|
417
421
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -421,7 +425,7 @@ class RouterStaticRoute:
|
|
|
421
425
|
def route(self) -> builtins.str:
|
|
422
426
|
'''Destination prefix of the route.
|
|
423
427
|
|
|
424
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
428
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#route Router#route}
|
|
425
429
|
'''
|
|
426
430
|
result = self._values.get("route")
|
|
427
431
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -431,7 +435,7 @@ class RouterStaticRoute:
|
|
|
431
435
|
def name(self) -> typing.Optional[builtins.str]:
|
|
432
436
|
'''Name or description of the route.
|
|
433
437
|
|
|
434
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
438
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/router#name Router#name}
|
|
435
439
|
'''
|
|
436
440
|
result = self._values.get("name")
|
|
437
441
|
return typing.cast(typing.Optional[builtins.str], result)
|