cdktf-cdktf-provider-upcloud 14.10.1__py3-none-any.whl → 14.11.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 +23 -4
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +18 -3
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +38 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +131 -54
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +26 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +23 -8
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +57 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +53 -38
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +50 -35
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +77 -62
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +74 -59
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +58 -43
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +245 -175
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +209 -194
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +47 -32
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +44 -29
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +211 -196
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +457 -442
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +325 -310
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +139 -124
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +66 -51
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +32 -17
- cdktf_cdktf_provider_upcloud/network/__init__.py +49 -34
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +39 -24
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +46 -31
- cdktf_cdktf_provider_upcloud/provider/__init__.py +41 -26
- cdktf_cdktf_provider_upcloud/router/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/server/__init__.py +169 -154
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +35 -20
- cdktf_cdktf_provider_upcloud/storage/__init__.py +70 -53
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +29 -14
- cdktf_cdktf_provider_upcloud/tag/__init__.py +32 -17
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/METADATA +6 -6
- cdktf_cdktf_provider_upcloud-14.11.0.dist-info/RECORD +64 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.10.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.10.1.dist-info/RECORD +0 -62
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_gateway`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_gateway`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_gateway`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class Gateway(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.gateway.Gateway",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway upcloud_gateway}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -53,19 +68,19 @@ class Gateway(
|
|
|
53
68
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
54
69
|
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,
|
|
55
70
|
) -> None:
|
|
56
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
71
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway upcloud_gateway} Resource.
|
|
57
72
|
|
|
58
73
|
:param scope: The scope in which to define this construct.
|
|
59
74
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
60
|
-
:param features: Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
61
|
-
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
-
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
64
|
-
:param address: address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
65
|
-
: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/5.
|
|
66
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
-
:param labels: User defined key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
68
|
-
:param plan: Gateway pricing plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
75
|
+
:param features: Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#features Gateway#features}
|
|
76
|
+
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
77
|
+
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#router Gateway#router}
|
|
78
|
+
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#zone Gateway#zone}
|
|
79
|
+
:param address: address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#address Gateway#address}
|
|
80
|
+
: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/5.11.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
81
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#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.
|
|
82
|
+
:param labels: User defined key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#labels Gateway#labels}
|
|
83
|
+
:param plan: Gateway pricing plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#plan Gateway#plan}
|
|
69
84
|
:param connection:
|
|
70
85
|
:param count:
|
|
71
86
|
:param depends_on:
|
|
@@ -112,7 +127,7 @@ class Gateway(
|
|
|
112
127
|
|
|
113
128
|
:param scope: The scope in which to define this construct.
|
|
114
129
|
:param import_to_id: The construct id used in the generated config for the Gateway to import.
|
|
115
|
-
:param import_from_id: The id of the existing Gateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
130
|
+
:param import_from_id: The id of the existing Gateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#import import section} in the documentation of this resource for the id to use
|
|
116
131
|
:param provider: ? Optional instance of the provider where the Gateway to import is found.
|
|
117
132
|
'''
|
|
118
133
|
if __debug__:
|
|
@@ -126,7 +141,7 @@ class Gateway(
|
|
|
126
141
|
@jsii.member(jsii_name="putAddress")
|
|
127
142
|
def put_address(self, *, name: typing.Optional[builtins.str] = None) -> None:
|
|
128
143
|
'''
|
|
129
|
-
:param name: Name of the IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
144
|
+
:param name: Name of the IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
130
145
|
'''
|
|
131
146
|
value = GatewayAddress(name=name)
|
|
132
147
|
|
|
@@ -135,7 +150,7 @@ class Gateway(
|
|
|
135
150
|
@jsii.member(jsii_name="putRouter")
|
|
136
151
|
def put_router(self, *, id: builtins.str) -> None:
|
|
137
152
|
'''
|
|
138
|
-
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
153
|
+
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#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.
|
|
139
154
|
'''
|
|
140
155
|
value = GatewayRouter(id=id)
|
|
141
156
|
|
|
@@ -339,7 +354,7 @@ class Gateway(
|
|
|
339
354
|
class GatewayAddress:
|
|
340
355
|
def __init__(self, *, name: typing.Optional[builtins.str] = None) -> None:
|
|
341
356
|
'''
|
|
342
|
-
:param name: Name of the IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
357
|
+
:param name: Name of the IP address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
343
358
|
'''
|
|
344
359
|
if __debug__:
|
|
345
360
|
type_hints = typing.get_type_hints(_typecheckingstub__771f5bc182e7c8b4585492ead620a0562968d48a1a3c37c3e8d87c925e630939)
|
|
@@ -352,7 +367,7 @@ class GatewayAddress:
|
|
|
352
367
|
def name(self) -> typing.Optional[builtins.str]:
|
|
353
368
|
'''Name of the IP address.
|
|
354
369
|
|
|
355
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
356
371
|
'''
|
|
357
372
|
result = self._values.get("name")
|
|
358
373
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -622,15 +637,15 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
622
637
|
:param lifecycle:
|
|
623
638
|
:param provider:
|
|
624
639
|
:param provisioners:
|
|
625
|
-
:param features: Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
626
|
-
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
627
|
-
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
628
|
-
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
629
|
-
:param address: address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
630
|
-
: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/5.
|
|
631
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
632
|
-
:param labels: User defined key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
633
|
-
:param plan: Gateway pricing plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
640
|
+
:param features: Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#features Gateway#features}
|
|
641
|
+
:param name: Gateway name. Needs to be unique within the account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
642
|
+
:param router: router block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#router Gateway#router}
|
|
643
|
+
:param zone: Zone in which the gateway will be hosted, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#zone Gateway#zone}
|
|
644
|
+
:param address: address block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#address Gateway#address}
|
|
645
|
+
: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/5.11.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
646
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#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.
|
|
647
|
+
:param labels: User defined key-value pairs to classify the network gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#labels Gateway#labels}
|
|
648
|
+
:param plan: Gateway pricing plan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#plan Gateway#plan}
|
|
634
649
|
'''
|
|
635
650
|
if isinstance(lifecycle, dict):
|
|
636
651
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -755,7 +770,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
755
770
|
def features(self) -> typing.List[builtins.str]:
|
|
756
771
|
'''Features enabled for the gateway. Note that VPN feature is currently in beta, for more details see https://upcloud.com/resources/docs/networking#nat-and-vpn-gateways.
|
|
757
772
|
|
|
758
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
773
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#features Gateway#features}
|
|
759
774
|
'''
|
|
760
775
|
result = self._values.get("features")
|
|
761
776
|
assert result is not None, "Required property 'features' is missing"
|
|
@@ -765,7 +780,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
765
780
|
def name(self) -> builtins.str:
|
|
766
781
|
'''Gateway name. Needs to be unique within the account.
|
|
767
782
|
|
|
768
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
783
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#name Gateway#name}
|
|
769
784
|
'''
|
|
770
785
|
result = self._values.get("name")
|
|
771
786
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -775,7 +790,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
775
790
|
def router(self) -> "GatewayRouter":
|
|
776
791
|
'''router block.
|
|
777
792
|
|
|
778
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
793
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#router Gateway#router}
|
|
779
794
|
'''
|
|
780
795
|
result = self._values.get("router")
|
|
781
796
|
assert result is not None, "Required property 'router' is missing"
|
|
@@ -785,7 +800,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
785
800
|
def zone(self) -> builtins.str:
|
|
786
801
|
'''Zone in which the gateway will be hosted, e.g. ``de-fra1``.
|
|
787
802
|
|
|
788
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
803
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#zone Gateway#zone}
|
|
789
804
|
'''
|
|
790
805
|
result = self._values.get("zone")
|
|
791
806
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -795,7 +810,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
795
810
|
def address(self) -> typing.Optional[GatewayAddress]:
|
|
796
811
|
'''address block.
|
|
797
812
|
|
|
798
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
813
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#address Gateway#address}
|
|
799
814
|
'''
|
|
800
815
|
result = self._values.get("address")
|
|
801
816
|
return typing.cast(typing.Optional[GatewayAddress], result)
|
|
@@ -804,14 +819,14 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
804
819
|
def configured_status(self) -> typing.Optional[builtins.str]:
|
|
805
820
|
'''The service configured status indicates the service's current intended status. Managed by the customer.
|
|
806
821
|
|
|
807
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
822
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#configured_status Gateway#configured_status}
|
|
808
823
|
'''
|
|
809
824
|
result = self._values.get("configured_status")
|
|
810
825
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
811
826
|
|
|
812
827
|
@builtins.property
|
|
813
828
|
def id(self) -> typing.Optional[builtins.str]:
|
|
814
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
829
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#id}.
|
|
815
830
|
|
|
816
831
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
817
832
|
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.
|
|
@@ -823,7 +838,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
823
838
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
824
839
|
'''User defined key-value pairs to classify the network gateway.
|
|
825
840
|
|
|
826
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
841
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#labels Gateway#labels}
|
|
827
842
|
'''
|
|
828
843
|
result = self._values.get("labels")
|
|
829
844
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -832,7 +847,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
832
847
|
def plan(self) -> typing.Optional[builtins.str]:
|
|
833
848
|
'''Gateway pricing plan.
|
|
834
849
|
|
|
835
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
850
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#plan Gateway#plan}
|
|
836
851
|
'''
|
|
837
852
|
result = self._values.get("plan")
|
|
838
853
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -857,7 +872,7 @@ class GatewayConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
857
872
|
class GatewayRouter:
|
|
858
873
|
def __init__(self, *, id: builtins.str) -> None:
|
|
859
874
|
'''
|
|
860
|
-
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
875
|
+
:param id: ID of the router attached to the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#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.
|
|
861
876
|
'''
|
|
862
877
|
if __debug__:
|
|
863
878
|
type_hints = typing.get_type_hints(_typecheckingstub__ec6d5ccf3e805f30e341a3cd9f4f396b1b94f09fded4ca2733934ac1d447f38b)
|
|
@@ -870,7 +885,7 @@ class GatewayRouter:
|
|
|
870
885
|
def id(self) -> builtins.str:
|
|
871
886
|
'''ID of the router attached to the gateway.
|
|
872
887
|
|
|
873
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
888
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway#id Gateway#id}
|
|
874
889
|
|
|
875
890
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
876
891
|
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
|
r'''
|
|
2
2
|
# `upcloud_gateway_connection`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_gateway_connection`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_gateway_connection`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -16,7 +16,22 @@ import jsii
|
|
|
16
16
|
import publication
|
|
17
17
|
import typing_extensions
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
import typeguard
|
|
20
|
+
from importlib.metadata import version as _metadata_package_version
|
|
21
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
22
|
+
|
|
23
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
24
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
25
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
26
|
+
else:
|
|
27
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
28
|
+
pass
|
|
29
|
+
else:
|
|
30
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
31
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
33
|
+
else:
|
|
34
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
20
35
|
|
|
21
36
|
from .._jsii import *
|
|
22
37
|
|
|
@@ -29,7 +44,7 @@ class GatewayConnection(
|
|
|
29
44
|
metaclass=jsii.JSIIMeta,
|
|
30
45
|
jsii_type="@cdktf/provider-upcloud.gatewayConnection.GatewayConnection",
|
|
31
46
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection upcloud_gateway_connection}.'''
|
|
33
48
|
|
|
34
49
|
def __init__(
|
|
35
50
|
self,
|
|
@@ -50,16 +65,16 @@ class GatewayConnection(
|
|
|
50
65
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
51
66
|
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,
|
|
52
67
|
) -> None:
|
|
53
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
68
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection upcloud_gateway_connection} Resource.
|
|
54
69
|
|
|
55
70
|
:param scope: The scope in which to define this construct.
|
|
56
71
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
57
|
-
:param gateway: The ID of the upcloud_gateway resource to which the connection belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
58
|
-
:param name: The name of the connection, should be unique within the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
59
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param local_route: local_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
61
|
-
:param remote_route: remote_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param type: The type of the connection; currently the only supported type is 'ipsec'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
+
:param gateway: The ID of the upcloud_gateway resource to which the connection belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#gateway GatewayConnection#gateway}
|
|
73
|
+
:param name: The name of the connection, should be unique within the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
74
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#id GatewayConnection#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.
|
|
75
|
+
:param local_route: local_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#local_route GatewayConnection#local_route}
|
|
76
|
+
:param remote_route: remote_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#remote_route GatewayConnection#remote_route}
|
|
77
|
+
:param type: The type of the connection; currently the only supported type is 'ipsec'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
63
78
|
:param connection:
|
|
64
79
|
:param count:
|
|
65
80
|
:param depends_on:
|
|
@@ -103,7 +118,7 @@ class GatewayConnection(
|
|
|
103
118
|
|
|
104
119
|
:param scope: The scope in which to define this construct.
|
|
105
120
|
:param import_to_id: The construct id used in the generated config for the GatewayConnection to import.
|
|
106
|
-
:param import_from_id: The id of the existing GatewayConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
121
|
+
:param import_from_id: The id of the existing GatewayConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#import import section} in the documentation of this resource for the id to use
|
|
107
122
|
:param provider: ? Optional instance of the provider where the GatewayConnection to import is found.
|
|
108
123
|
'''
|
|
109
124
|
if __debug__:
|
|
@@ -317,12 +332,12 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
317
332
|
:param lifecycle:
|
|
318
333
|
:param provider:
|
|
319
334
|
:param provisioners:
|
|
320
|
-
:param gateway: The ID of the upcloud_gateway resource to which the connection belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
321
|
-
:param name: The name of the connection, should be unique within the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
322
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
323
|
-
:param local_route: local_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
324
|
-
:param remote_route: remote_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
325
|
-
:param type: The type of the connection; currently the only supported type is 'ipsec'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
335
|
+
:param gateway: The ID of the upcloud_gateway resource to which the connection belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#gateway GatewayConnection#gateway}
|
|
336
|
+
:param name: The name of the connection, should be unique within the gateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
337
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#id GatewayConnection#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.
|
|
338
|
+
:param local_route: local_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#local_route GatewayConnection#local_route}
|
|
339
|
+
:param remote_route: remote_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#remote_route GatewayConnection#remote_route}
|
|
340
|
+
:param type: The type of the connection; currently the only supported type is 'ipsec'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
326
341
|
'''
|
|
327
342
|
if isinstance(lifecycle, dict):
|
|
328
343
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -436,7 +451,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
436
451
|
def gateway(self) -> builtins.str:
|
|
437
452
|
'''The ID of the upcloud_gateway resource to which the connection belongs.
|
|
438
453
|
|
|
439
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
454
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#gateway GatewayConnection#gateway}
|
|
440
455
|
'''
|
|
441
456
|
result = self._values.get("gateway")
|
|
442
457
|
assert result is not None, "Required property 'gateway' is missing"
|
|
@@ -446,7 +461,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
446
461
|
def name(self) -> builtins.str:
|
|
447
462
|
'''The name of the connection, should be unique within the gateway.
|
|
448
463
|
|
|
449
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
464
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
450
465
|
'''
|
|
451
466
|
result = self._values.get("name")
|
|
452
467
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -454,7 +469,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
454
469
|
|
|
455
470
|
@builtins.property
|
|
456
471
|
def id(self) -> typing.Optional[builtins.str]:
|
|
457
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
472
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#id GatewayConnection#id}.
|
|
458
473
|
|
|
459
474
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
460
475
|
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.
|
|
@@ -468,7 +483,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
468
483
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["GatewayConnectionLocalRoute"]]]:
|
|
469
484
|
'''local_route block.
|
|
470
485
|
|
|
471
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
486
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#local_route GatewayConnection#local_route}
|
|
472
487
|
'''
|
|
473
488
|
result = self._values.get("local_route")
|
|
474
489
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["GatewayConnectionLocalRoute"]]], result)
|
|
@@ -479,7 +494,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
479
494
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["GatewayConnectionRemoteRoute"]]]:
|
|
480
495
|
'''remote_route block.
|
|
481
496
|
|
|
482
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
497
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#remote_route GatewayConnection#remote_route}
|
|
483
498
|
'''
|
|
484
499
|
result = self._values.get("remote_route")
|
|
485
500
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["GatewayConnectionRemoteRoute"]]], result)
|
|
@@ -488,7 +503,7 @@ class GatewayConnectionConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
488
503
|
def type(self) -> typing.Optional[builtins.str]:
|
|
489
504
|
'''The type of the connection; currently the only supported type is 'ipsec'.
|
|
490
505
|
|
|
491
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
506
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
492
507
|
'''
|
|
493
508
|
result = self._values.get("type")
|
|
494
509
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -519,9 +534,9 @@ class GatewayConnectionLocalRoute:
|
|
|
519
534
|
type: typing.Optional[builtins.str] = None,
|
|
520
535
|
) -> None:
|
|
521
536
|
'''
|
|
522
|
-
:param name: Name of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
523
|
-
:param static_network: Destination prefix of the route; needs to be a valid IPv4 prefix. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
524
|
-
:param type: Type of route; currently the only supported type is 'static'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
537
|
+
:param name: Name of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
538
|
+
:param static_network: Destination prefix of the route; needs to be a valid IPv4 prefix. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#static_network GatewayConnection#static_network}
|
|
539
|
+
:param type: Type of route; currently the only supported type is 'static'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
525
540
|
'''
|
|
526
541
|
if __debug__:
|
|
527
542
|
type_hints = typing.get_type_hints(_typecheckingstub__e9bdbc304645ef903521fb56e820f8a47e2974b0281c6e16487c6d0125d32895)
|
|
@@ -539,7 +554,7 @@ class GatewayConnectionLocalRoute:
|
|
|
539
554
|
def name(self) -> builtins.str:
|
|
540
555
|
'''Name of the route.
|
|
541
556
|
|
|
542
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
557
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
543
558
|
'''
|
|
544
559
|
result = self._values.get("name")
|
|
545
560
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -549,7 +564,7 @@ class GatewayConnectionLocalRoute:
|
|
|
549
564
|
def static_network(self) -> builtins.str:
|
|
550
565
|
'''Destination prefix of the route; needs to be a valid IPv4 prefix.
|
|
551
566
|
|
|
552
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
567
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#static_network GatewayConnection#static_network}
|
|
553
568
|
'''
|
|
554
569
|
result = self._values.get("static_network")
|
|
555
570
|
assert result is not None, "Required property 'static_network' is missing"
|
|
@@ -559,7 +574,7 @@ class GatewayConnectionLocalRoute:
|
|
|
559
574
|
def type(self) -> typing.Optional[builtins.str]:
|
|
560
575
|
'''Type of route; currently the only supported type is 'static'.
|
|
561
576
|
|
|
562
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
577
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
563
578
|
'''
|
|
564
579
|
result = self._values.get("type")
|
|
565
580
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -779,9 +794,9 @@ class GatewayConnectionRemoteRoute:
|
|
|
779
794
|
type: typing.Optional[builtins.str] = None,
|
|
780
795
|
) -> None:
|
|
781
796
|
'''
|
|
782
|
-
:param name: Name of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
783
|
-
:param static_network: Destination prefix of the route; needs to be a valid IPv4 prefix. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
784
|
-
:param type: Type of route; currently the only supported type is 'static'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
797
|
+
:param name: Name of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
798
|
+
:param static_network: Destination prefix of the route; needs to be a valid IPv4 prefix. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#static_network GatewayConnection#static_network}
|
|
799
|
+
:param type: Type of route; currently the only supported type is 'static'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
785
800
|
'''
|
|
786
801
|
if __debug__:
|
|
787
802
|
type_hints = typing.get_type_hints(_typecheckingstub__bb241e4f5e51f66fa76e319bae9793b11f7a4bca837d9a67cbe02422b2b6e95f)
|
|
@@ -799,7 +814,7 @@ class GatewayConnectionRemoteRoute:
|
|
|
799
814
|
def name(self) -> builtins.str:
|
|
800
815
|
'''Name of the route.
|
|
801
816
|
|
|
802
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
817
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#name GatewayConnection#name}
|
|
803
818
|
'''
|
|
804
819
|
result = self._values.get("name")
|
|
805
820
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -809,7 +824,7 @@ class GatewayConnectionRemoteRoute:
|
|
|
809
824
|
def static_network(self) -> builtins.str:
|
|
810
825
|
'''Destination prefix of the route; needs to be a valid IPv4 prefix.
|
|
811
826
|
|
|
812
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
827
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#static_network GatewayConnection#static_network}
|
|
813
828
|
'''
|
|
814
829
|
result = self._values.get("static_network")
|
|
815
830
|
assert result is not None, "Required property 'static_network' is missing"
|
|
@@ -819,7 +834,7 @@ class GatewayConnectionRemoteRoute:
|
|
|
819
834
|
def type(self) -> typing.Optional[builtins.str]:
|
|
820
835
|
'''Type of route; currently the only supported type is 'static'.
|
|
821
836
|
|
|
822
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
837
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.0/docs/resources/gateway_connection#type GatewayConnection#type}
|
|
823
838
|
'''
|
|
824
839
|
result = self._values.get("type")
|
|
825
840
|
return typing.cast(typing.Optional[builtins.str], result)
|