cdktf-cdktf-provider-upcloud 14.8.1__py3-none-any.whl → 14.9.1__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@14.9.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +44 -44
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +12 -12
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +62 -62
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +52 -52
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +54 -54
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +80 -80
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +95 -95
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +72 -72
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +84 -84
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +52 -52
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +351 -351
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +24 -24
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +36 -36
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +24 -24
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +359 -264
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +509 -460
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +555 -412
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +263 -168
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +70 -70
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +48 -48
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +24 -24
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/network/__init__.py +49 -49
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +38 -38
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +43 -43
- cdktf_cdktf_provider_upcloud/provider/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/router/__init__.py +242 -29
- cdktf_cdktf_provider_upcloud/server/__init__.py +219 -219
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +34 -77
- cdktf_cdktf_provider_upcloud/storage/__init__.py +76 -76
- cdktf_cdktf_provider_upcloud/tag/__init__.py +20 -20
- {cdktf_cdktf_provider_upcloud-14.8.1.dist-info → cdktf_cdktf_provider_upcloud-14.9.1.dist-info}/METADATA +9 -9
- cdktf_cdktf_provider_upcloud-14.9.1.dist-info/RECORD +61 -0
- {cdktf_cdktf_provider_upcloud-14.8.1.dist-info → cdktf_cdktf_provider_upcloud-14.9.1.dist-info}/WHEEL +1 -1
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.8.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.8.1.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.8.1.dist-info → cdktf_cdktf_provider_upcloud-14.9.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.8.1.dist-info → cdktf_cdktf_provider_upcloud-14.9.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_router`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class Router(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.router.Router",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router upcloud_router}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -47,13 +47,13 @@ class Router(
|
|
|
47
47
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
48
48
|
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,
|
|
49
49
|
) -> None:
|
|
50
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
50
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router upcloud_router} Resource.
|
|
51
51
|
|
|
52
52
|
:param scope: The scope in which to define this construct.
|
|
53
53
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
-
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
56
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#name Router#name}
|
|
55
|
+
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#labels Router#labels}
|
|
56
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#static_route Router#static_route}
|
|
57
57
|
:param connection:
|
|
58
58
|
:param count:
|
|
59
59
|
:param depends_on:
|
|
@@ -94,7 +94,7 @@ class Router(
|
|
|
94
94
|
|
|
95
95
|
:param scope: The scope in which to define this construct.
|
|
96
96
|
:param import_to_id: The construct id used in the generated config for the Router to import.
|
|
97
|
-
: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/5.
|
|
97
|
+
: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/5.9.1/docs/resources/router#import import section} in the documentation of this resource for the id to use
|
|
98
98
|
:param provider: ? Optional instance of the provider where the Router to import is found.
|
|
99
99
|
'''
|
|
100
100
|
if __debug__:
|
|
@@ -154,6 +154,11 @@ class Router(
|
|
|
154
154
|
def static_route(self) -> "RouterStaticRouteList":
|
|
155
155
|
return typing.cast("RouterStaticRouteList", jsii.get(self, "staticRoute"))
|
|
156
156
|
|
|
157
|
+
@builtins.property
|
|
158
|
+
@jsii.member(jsii_name="staticRoutes")
|
|
159
|
+
def static_routes(self) -> "RouterStaticRoutesList":
|
|
160
|
+
return typing.cast("RouterStaticRoutesList", jsii.get(self, "staticRoutes"))
|
|
161
|
+
|
|
157
162
|
@builtins.property
|
|
158
163
|
@jsii.member(jsii_name="type")
|
|
159
164
|
def type(self) -> builtins.str:
|
|
@@ -188,7 +193,7 @@ class Router(
|
|
|
188
193
|
if __debug__:
|
|
189
194
|
type_hints = typing.get_type_hints(_typecheckingstub__aa3747a3d78e5368cd4ad74ed7e0d7f94dd99ac2913c729bea9c6861d4564789)
|
|
190
195
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
191
|
-
jsii.set(self, "labels", value)
|
|
196
|
+
jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
|
|
192
197
|
|
|
193
198
|
@builtins.property
|
|
194
199
|
@jsii.member(jsii_name="name")
|
|
@@ -200,7 +205,7 @@ class Router(
|
|
|
200
205
|
if __debug__:
|
|
201
206
|
type_hints = typing.get_type_hints(_typecheckingstub__bf1ff546e26877dfe75feb1a16a4a12a959c48a991ddbf5b854def4ab5f6cb90)
|
|
202
207
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
203
|
-
jsii.set(self, "name", value)
|
|
208
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
204
209
|
|
|
205
210
|
|
|
206
211
|
@jsii.data_type(
|
|
@@ -242,9 +247,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
242
247
|
:param lifecycle:
|
|
243
248
|
:param provider:
|
|
244
249
|
:param provisioners:
|
|
245
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
246
|
-
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
247
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
250
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#name Router#name}
|
|
251
|
+
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#labels Router#labels}
|
|
252
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#static_route Router#static_route}
|
|
248
253
|
'''
|
|
249
254
|
if isinstance(lifecycle, dict):
|
|
250
255
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -350,7 +355,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
350
355
|
def name(self) -> builtins.str:
|
|
351
356
|
'''Name of the router.
|
|
352
357
|
|
|
353
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
358
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#name Router#name}
|
|
354
359
|
'''
|
|
355
360
|
result = self._values.get("name")
|
|
356
361
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -360,7 +365,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
360
365
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
361
366
|
'''Key-value pairs to classify the router.
|
|
362
367
|
|
|
363
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
368
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#labels Router#labels}
|
|
364
369
|
'''
|
|
365
370
|
result = self._values.get("labels")
|
|
366
371
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -371,7 +376,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
371
376
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
372
377
|
'''static_route block.
|
|
373
378
|
|
|
374
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#static_route Router#static_route}
|
|
375
380
|
'''
|
|
376
381
|
result = self._values.get("static_route")
|
|
377
382
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -402,9 +407,9 @@ class RouterStaticRoute:
|
|
|
402
407
|
name: typing.Optional[builtins.str] = None,
|
|
403
408
|
) -> None:
|
|
404
409
|
'''
|
|
405
|
-
: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/5.
|
|
406
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
407
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
410
|
+
: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/5.9.1/docs/resources/router#nexthop Router#nexthop}
|
|
411
|
+
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#route Router#route}
|
|
412
|
+
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#name Router#name}
|
|
408
413
|
'''
|
|
409
414
|
if __debug__:
|
|
410
415
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -424,7 +429,7 @@ class RouterStaticRoute:
|
|
|
424
429
|
|
|
425
430
|
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.
|
|
426
431
|
|
|
427
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
432
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#nexthop Router#nexthop}
|
|
428
433
|
'''
|
|
429
434
|
result = self._values.get("nexthop")
|
|
430
435
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -434,7 +439,7 @@ class RouterStaticRoute:
|
|
|
434
439
|
def route(self) -> builtins.str:
|
|
435
440
|
'''Destination prefix of the route.
|
|
436
441
|
|
|
437
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
442
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#route Router#route}
|
|
438
443
|
'''
|
|
439
444
|
result = self._values.get("route")
|
|
440
445
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -444,7 +449,7 @@ class RouterStaticRoute:
|
|
|
444
449
|
def name(self) -> typing.Optional[builtins.str]:
|
|
445
450
|
'''Name or description of the route.
|
|
446
451
|
|
|
447
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
452
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/router#name Router#name}
|
|
448
453
|
'''
|
|
449
454
|
result = self._values.get("name")
|
|
450
455
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -505,7 +510,7 @@ class RouterStaticRouteList(
|
|
|
505
510
|
if __debug__:
|
|
506
511
|
type_hints = typing.get_type_hints(_typecheckingstub__444415ae8ef20fa398ab68de55df664705bb5f798e2c016becd6cc0fa07abd8e)
|
|
507
512
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
508
|
-
jsii.set(self, "terraformAttribute", value)
|
|
513
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
509
514
|
|
|
510
515
|
@builtins.property
|
|
511
516
|
@jsii.member(jsii_name="terraformResource")
|
|
@@ -518,7 +523,7 @@ class RouterStaticRouteList(
|
|
|
518
523
|
if __debug__:
|
|
519
524
|
type_hints = typing.get_type_hints(_typecheckingstub__de83d9ccce70beb4d4101ccabd551c2cb6f710397462adf2db9dc4d03d5fd4bc)
|
|
520
525
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
521
|
-
jsii.set(self, "terraformResource", value)
|
|
526
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
522
527
|
|
|
523
528
|
@builtins.property
|
|
524
529
|
@jsii.member(jsii_name="wrapsSet")
|
|
@@ -531,7 +536,7 @@ class RouterStaticRouteList(
|
|
|
531
536
|
if __debug__:
|
|
532
537
|
type_hints = typing.get_type_hints(_typecheckingstub__def4378fc48832f0bd2370f056df4e2a7383698bc8af8b9ba7f493d8b4268efb)
|
|
533
538
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
534
|
-
jsii.set(self, "wrapsSet", value)
|
|
539
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
535
540
|
|
|
536
541
|
@builtins.property
|
|
537
542
|
@jsii.member(jsii_name="internalValue")
|
|
@@ -548,7 +553,7 @@ class RouterStaticRouteList(
|
|
|
548
553
|
if __debug__:
|
|
549
554
|
type_hints = typing.get_type_hints(_typecheckingstub__46a1ec10d6a3502e5f87475a12f052406a99383a3e88ea17f230a5e20674dd43)
|
|
550
555
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
551
|
-
jsii.set(self, "internalValue", value)
|
|
556
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
552
557
|
|
|
553
558
|
|
|
554
559
|
class RouterStaticRouteOutputReference(
|
|
@@ -581,6 +586,11 @@ class RouterStaticRouteOutputReference(
|
|
|
581
586
|
def reset_name(self) -> None:
|
|
582
587
|
return typing.cast(None, jsii.invoke(self, "resetName", []))
|
|
583
588
|
|
|
589
|
+
@builtins.property
|
|
590
|
+
@jsii.member(jsii_name="type")
|
|
591
|
+
def type(self) -> builtins.str:
|
|
592
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
593
|
+
|
|
584
594
|
@builtins.property
|
|
585
595
|
@jsii.member(jsii_name="nameInput")
|
|
586
596
|
def name_input(self) -> typing.Optional[builtins.str]:
|
|
@@ -606,7 +616,7 @@ class RouterStaticRouteOutputReference(
|
|
|
606
616
|
if __debug__:
|
|
607
617
|
type_hints = typing.get_type_hints(_typecheckingstub__e75a9d60361fee4e477d37352a49977c71b56886000022f34c76c4fa8e2e6d15)
|
|
608
618
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
609
|
-
jsii.set(self, "name", value)
|
|
619
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
610
620
|
|
|
611
621
|
@builtins.property
|
|
612
622
|
@jsii.member(jsii_name="nexthop")
|
|
@@ -618,7 +628,7 @@ class RouterStaticRouteOutputReference(
|
|
|
618
628
|
if __debug__:
|
|
619
629
|
type_hints = typing.get_type_hints(_typecheckingstub__77ce156d73f4d76365611feaed75ba8cb91fe8c3976b0312ae6cdc67e0d64009)
|
|
620
630
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
621
|
-
jsii.set(self, "nexthop", value)
|
|
631
|
+
jsii.set(self, "nexthop", value) # pyright: ignore[reportArgumentType]
|
|
622
632
|
|
|
623
633
|
@builtins.property
|
|
624
634
|
@jsii.member(jsii_name="route")
|
|
@@ -630,7 +640,7 @@ class RouterStaticRouteOutputReference(
|
|
|
630
640
|
if __debug__:
|
|
631
641
|
type_hints = typing.get_type_hints(_typecheckingstub__251242a60a5f0cdde9b57b2ca563798600c7398d114281c7c4980145f69762ea)
|
|
632
642
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
633
|
-
jsii.set(self, "route", value)
|
|
643
|
+
jsii.set(self, "route", value) # pyright: ignore[reportArgumentType]
|
|
634
644
|
|
|
635
645
|
@builtins.property
|
|
636
646
|
@jsii.member(jsii_name="internalValue")
|
|
@@ -647,7 +657,160 @@ class RouterStaticRouteOutputReference(
|
|
|
647
657
|
if __debug__:
|
|
648
658
|
type_hints = typing.get_type_hints(_typecheckingstub__8316b5465e8e47cf60c6f5c3862798064ee68a61bc316d39a44bb7c5b63bc391)
|
|
649
659
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
650
|
-
jsii.set(self, "internalValue", value)
|
|
660
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
@jsii.data_type(
|
|
664
|
+
jsii_type="@cdktf/provider-upcloud.router.RouterStaticRoutes",
|
|
665
|
+
jsii_struct_bases=[],
|
|
666
|
+
name_mapping={},
|
|
667
|
+
)
|
|
668
|
+
class RouterStaticRoutes:
|
|
669
|
+
def __init__(self) -> None:
|
|
670
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
671
|
+
|
|
672
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
673
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
674
|
+
|
|
675
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
676
|
+
return not (rhs == self)
|
|
677
|
+
|
|
678
|
+
def __repr__(self) -> str:
|
|
679
|
+
return "RouterStaticRoutes(%s)" % ", ".join(
|
|
680
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
681
|
+
)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class RouterStaticRoutesList(
|
|
685
|
+
_cdktf_9a9027ec.ComplexList,
|
|
686
|
+
metaclass=jsii.JSIIMeta,
|
|
687
|
+
jsii_type="@cdktf/provider-upcloud.router.RouterStaticRoutesList",
|
|
688
|
+
):
|
|
689
|
+
def __init__(
|
|
690
|
+
self,
|
|
691
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
692
|
+
terraform_attribute: builtins.str,
|
|
693
|
+
wraps_set: builtins.bool,
|
|
694
|
+
) -> None:
|
|
695
|
+
'''
|
|
696
|
+
:param terraform_resource: The parent resource.
|
|
697
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
698
|
+
:param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
699
|
+
'''
|
|
700
|
+
if __debug__:
|
|
701
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ab499dc0aa47db395d5ae3bc84765b9f4c0ffb4f2a842dbe1e1aa4e9287c88d5)
|
|
702
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
703
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
704
|
+
check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
|
|
705
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
|
|
706
|
+
|
|
707
|
+
@jsii.member(jsii_name="get")
|
|
708
|
+
def get(self, index: jsii.Number) -> "RouterStaticRoutesOutputReference":
|
|
709
|
+
'''
|
|
710
|
+
:param index: the index of the item to return.
|
|
711
|
+
'''
|
|
712
|
+
if __debug__:
|
|
713
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a83daad6c382917ba4d61f18eb7d5d9ddebff883509806e28bd0d6955fe1655)
|
|
714
|
+
check_type(argname="argument index", value=index, expected_type=type_hints["index"])
|
|
715
|
+
return typing.cast("RouterStaticRoutesOutputReference", jsii.invoke(self, "get", [index]))
|
|
716
|
+
|
|
717
|
+
@builtins.property
|
|
718
|
+
@jsii.member(jsii_name="terraformAttribute")
|
|
719
|
+
def _terraform_attribute(self) -> builtins.str:
|
|
720
|
+
'''The attribute on the parent resource this class is referencing.'''
|
|
721
|
+
return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
|
|
722
|
+
|
|
723
|
+
@_terraform_attribute.setter
|
|
724
|
+
def _terraform_attribute(self, value: builtins.str) -> None:
|
|
725
|
+
if __debug__:
|
|
726
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d23437c8568b7529d5fed7b4162bb335f72f2577bf41fa94ced0234d5c3a1c36)
|
|
727
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
728
|
+
jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
|
|
729
|
+
|
|
730
|
+
@builtins.property
|
|
731
|
+
@jsii.member(jsii_name="terraformResource")
|
|
732
|
+
def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
|
|
733
|
+
'''The parent resource.'''
|
|
734
|
+
return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
|
|
735
|
+
|
|
736
|
+
@_terraform_resource.setter
|
|
737
|
+
def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
|
|
738
|
+
if __debug__:
|
|
739
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9fb4be083f72125e926b75c844044393907d7283469c8f6e720496b265fbed1f)
|
|
740
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
741
|
+
jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
|
|
742
|
+
|
|
743
|
+
@builtins.property
|
|
744
|
+
@jsii.member(jsii_name="wrapsSet")
|
|
745
|
+
def _wraps_set(self) -> builtins.bool:
|
|
746
|
+
'''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
|
|
747
|
+
return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
|
|
748
|
+
|
|
749
|
+
@_wraps_set.setter
|
|
750
|
+
def _wraps_set(self, value: builtins.bool) -> None:
|
|
751
|
+
if __debug__:
|
|
752
|
+
type_hints = typing.get_type_hints(_typecheckingstub__96d7e7e56aa23c11cb51fd76392d60b115fb42d68a2bbe6d09747c3f563b38aa)
|
|
753
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
754
|
+
jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class RouterStaticRoutesOutputReference(
|
|
758
|
+
_cdktf_9a9027ec.ComplexObject,
|
|
759
|
+
metaclass=jsii.JSIIMeta,
|
|
760
|
+
jsii_type="@cdktf/provider-upcloud.router.RouterStaticRoutesOutputReference",
|
|
761
|
+
):
|
|
762
|
+
def __init__(
|
|
763
|
+
self,
|
|
764
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
765
|
+
terraform_attribute: builtins.str,
|
|
766
|
+
complex_object_index: jsii.Number,
|
|
767
|
+
complex_object_is_from_set: builtins.bool,
|
|
768
|
+
) -> None:
|
|
769
|
+
'''
|
|
770
|
+
:param terraform_resource: The parent resource.
|
|
771
|
+
:param terraform_attribute: The attribute on the parent resource this class is referencing.
|
|
772
|
+
:param complex_object_index: the index of this item in the list.
|
|
773
|
+
:param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
|
|
774
|
+
'''
|
|
775
|
+
if __debug__:
|
|
776
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b96ac2e7140084f3bc461e86f48bb8c49f22f744a63d7a142e1c83d84551b89)
|
|
777
|
+
check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
|
|
778
|
+
check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
|
|
779
|
+
check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
|
|
780
|
+
check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
|
|
781
|
+
jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
|
|
782
|
+
|
|
783
|
+
@builtins.property
|
|
784
|
+
@jsii.member(jsii_name="name")
|
|
785
|
+
def name(self) -> builtins.str:
|
|
786
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
787
|
+
|
|
788
|
+
@builtins.property
|
|
789
|
+
@jsii.member(jsii_name="nexthop")
|
|
790
|
+
def nexthop(self) -> builtins.str:
|
|
791
|
+
return typing.cast(builtins.str, jsii.get(self, "nexthop"))
|
|
792
|
+
|
|
793
|
+
@builtins.property
|
|
794
|
+
@jsii.member(jsii_name="route")
|
|
795
|
+
def route(self) -> builtins.str:
|
|
796
|
+
return typing.cast(builtins.str, jsii.get(self, "route"))
|
|
797
|
+
|
|
798
|
+
@builtins.property
|
|
799
|
+
@jsii.member(jsii_name="type")
|
|
800
|
+
def type(self) -> builtins.str:
|
|
801
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
802
|
+
|
|
803
|
+
@builtins.property
|
|
804
|
+
@jsii.member(jsii_name="internalValue")
|
|
805
|
+
def internal_value(self) -> typing.Optional[RouterStaticRoutes]:
|
|
806
|
+
return typing.cast(typing.Optional[RouterStaticRoutes], jsii.get(self, "internalValue"))
|
|
807
|
+
|
|
808
|
+
@internal_value.setter
|
|
809
|
+
def internal_value(self, value: typing.Optional[RouterStaticRoutes]) -> None:
|
|
810
|
+
if __debug__:
|
|
811
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b67533cce2986109bac7670d8ffc2e281ea0386aa18577bd131445707e0ec5e7)
|
|
812
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
813
|
+
jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
|
|
651
814
|
|
|
652
815
|
|
|
653
816
|
__all__ = [
|
|
@@ -656,6 +819,9 @@ __all__ = [
|
|
|
656
819
|
"RouterStaticRoute",
|
|
657
820
|
"RouterStaticRouteList",
|
|
658
821
|
"RouterStaticRouteOutputReference",
|
|
822
|
+
"RouterStaticRoutes",
|
|
823
|
+
"RouterStaticRoutesList",
|
|
824
|
+
"RouterStaticRoutesOutputReference",
|
|
659
825
|
]
|
|
660
826
|
|
|
661
827
|
publication.publish()
|
|
@@ -800,3 +966,50 @@ def _typecheckingstub__8316b5465e8e47cf60c6f5c3862798064ee68a61bc316d39a44bb7c5b
|
|
|
800
966
|
) -> None:
|
|
801
967
|
"""Type checking stubs"""
|
|
802
968
|
pass
|
|
969
|
+
|
|
970
|
+
def _typecheckingstub__ab499dc0aa47db395d5ae3bc84765b9f4c0ffb4f2a842dbe1e1aa4e9287c88d5(
|
|
971
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
972
|
+
terraform_attribute: builtins.str,
|
|
973
|
+
wraps_set: builtins.bool,
|
|
974
|
+
) -> None:
|
|
975
|
+
"""Type checking stubs"""
|
|
976
|
+
pass
|
|
977
|
+
|
|
978
|
+
def _typecheckingstub__6a83daad6c382917ba4d61f18eb7d5d9ddebff883509806e28bd0d6955fe1655(
|
|
979
|
+
index: jsii.Number,
|
|
980
|
+
) -> None:
|
|
981
|
+
"""Type checking stubs"""
|
|
982
|
+
pass
|
|
983
|
+
|
|
984
|
+
def _typecheckingstub__d23437c8568b7529d5fed7b4162bb335f72f2577bf41fa94ced0234d5c3a1c36(
|
|
985
|
+
value: builtins.str,
|
|
986
|
+
) -> None:
|
|
987
|
+
"""Type checking stubs"""
|
|
988
|
+
pass
|
|
989
|
+
|
|
990
|
+
def _typecheckingstub__9fb4be083f72125e926b75c844044393907d7283469c8f6e720496b265fbed1f(
|
|
991
|
+
value: _cdktf_9a9027ec.IInterpolatingParent,
|
|
992
|
+
) -> None:
|
|
993
|
+
"""Type checking stubs"""
|
|
994
|
+
pass
|
|
995
|
+
|
|
996
|
+
def _typecheckingstub__96d7e7e56aa23c11cb51fd76392d60b115fb42d68a2bbe6d09747c3f563b38aa(
|
|
997
|
+
value: builtins.bool,
|
|
998
|
+
) -> None:
|
|
999
|
+
"""Type checking stubs"""
|
|
1000
|
+
pass
|
|
1001
|
+
|
|
1002
|
+
def _typecheckingstub__0b96ac2e7140084f3bc461e86f48bb8c49f22f744a63d7a142e1c83d84551b89(
|
|
1003
|
+
terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
|
|
1004
|
+
terraform_attribute: builtins.str,
|
|
1005
|
+
complex_object_index: jsii.Number,
|
|
1006
|
+
complex_object_is_from_set: builtins.bool,
|
|
1007
|
+
) -> None:
|
|
1008
|
+
"""Type checking stubs"""
|
|
1009
|
+
pass
|
|
1010
|
+
|
|
1011
|
+
def _typecheckingstub__b67533cce2986109bac7670d8ffc2e281ea0386aa18577bd131445707e0ec5e7(
|
|
1012
|
+
value: typing.Optional[RouterStaticRoutes],
|
|
1013
|
+
) -> None:
|
|
1014
|
+
"""Type checking stubs"""
|
|
1015
|
+
pass
|