cdktf-cdktf-provider-upcloud 14.4.0__py3-none-any.whl → 14.6.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 +4 -4
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.6.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +14 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +11 -11
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +14 -14
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +26 -26
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +8 -8
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +42 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +11 -11
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +30 -73
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +38 -38
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +40 -35
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +67 -62
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +35 -35
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +66 -66
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +43 -43
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +17 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +29 -29
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +17 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +40 -40
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +194 -194
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +17 -17
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +32 -32
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +29 -29
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +190 -190
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +331 -331
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +346 -346
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +118 -118
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +20 -20
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +14 -14
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +17 -17
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +17 -17
- cdktf_cdktf_provider_upcloud/network/__init__.py +80 -31
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +24 -24
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/provider/__init__.py +26 -26
- cdktf_cdktf_provider_upcloud/router/__init__.py +60 -54
- cdktf_cdktf_provider_upcloud/server/__init__.py +154 -154
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/storage/__init__.py +59 -59
- cdktf_cdktf_provider_upcloud/tag/__init__.py +17 -17
- {cdktf_cdktf_provider_upcloud-14.4.0.dist-info → cdktf_cdktf_provider_upcloud-14.6.0.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.6.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.4.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.4.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.4.0.dist-info → cdktf_cdktf_provider_upcloud-14.6.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.4.0.dist-info → cdktf_cdktf_provider_upcloud-14.6.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.4.0.dist-info → cdktf_cdktf_provider_upcloud-14.6.0.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.6.0/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,15 +29,15 @@ 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.6.0/docs/resources/router upcloud_router}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
36
36
|
scope: _constructs_77d1e7e8.Construct,
|
|
37
|
-
|
|
37
|
+
id: builtins.str,
|
|
38
38
|
*,
|
|
39
39
|
name: builtins.str,
|
|
40
|
-
|
|
40
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
41
41
|
static_route: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["RouterStaticRoute", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
42
42
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43
43
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
@@ -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.6.0/docs/resources/router upcloud_router} Resource.
|
|
51
51
|
|
|
52
52
|
:param scope: The scope in which to define this construct.
|
|
53
|
-
:param
|
|
54
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
-
:param
|
|
56
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.6.0/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.6.0/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.6.0/docs/resources/router#static_route Router#static_route}
|
|
57
57
|
:param connection:
|
|
58
58
|
:param count:
|
|
59
59
|
:param depends_on:
|
|
@@ -65,10 +65,10 @@ class Router(
|
|
|
65
65
|
if __debug__:
|
|
66
66
|
type_hints = typing.get_type_hints(_typecheckingstub__fcbc922e8974bdea9213754a0aa8997809c48606375ca248bcb2cda4a08b7c56)
|
|
67
67
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
68
|
-
check_type(argname="argument
|
|
68
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
69
69
|
config = RouterConfig(
|
|
70
70
|
name=name,
|
|
71
|
-
|
|
71
|
+
labels=labels,
|
|
72
72
|
static_route=static_route,
|
|
73
73
|
connection=connection,
|
|
74
74
|
count=count,
|
|
@@ -79,7 +79,7 @@ class Router(
|
|
|
79
79
|
provisioners=provisioners,
|
|
80
80
|
)
|
|
81
81
|
|
|
82
|
-
jsii.create(self.__class__, self, [scope,
|
|
82
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
83
83
|
|
|
84
84
|
@jsii.member(jsii_name="generateConfigForImport")
|
|
85
85
|
@builtins.classmethod
|
|
@@ -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.6.0/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__:
|
|
@@ -118,9 +118,9 @@ class Router(
|
|
|
118
118
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
119
119
|
return typing.cast(None, jsii.invoke(self, "putStaticRoute", [value]))
|
|
120
120
|
|
|
121
|
-
@jsii.member(jsii_name="
|
|
122
|
-
def
|
|
123
|
-
return typing.cast(None, jsii.invoke(self, "
|
|
121
|
+
@jsii.member(jsii_name="resetLabels")
|
|
122
|
+
def reset_labels(self) -> None:
|
|
123
|
+
return typing.cast(None, jsii.invoke(self, "resetLabels", []))
|
|
124
124
|
|
|
125
125
|
@jsii.member(jsii_name="resetStaticRoute")
|
|
126
126
|
def reset_static_route(self) -> None:
|
|
@@ -144,6 +144,11 @@ class Router(
|
|
|
144
144
|
def attached_networks(self) -> typing.List[builtins.str]:
|
|
145
145
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attachedNetworks"))
|
|
146
146
|
|
|
147
|
+
@builtins.property
|
|
148
|
+
@jsii.member(jsii_name="id")
|
|
149
|
+
def id(self) -> builtins.str:
|
|
150
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
151
|
+
|
|
147
152
|
@builtins.property
|
|
148
153
|
@jsii.member(jsii_name="staticRoute")
|
|
149
154
|
def static_route(self) -> "RouterStaticRouteList":
|
|
@@ -155,9 +160,11 @@ class Router(
|
|
|
155
160
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
156
161
|
|
|
157
162
|
@builtins.property
|
|
158
|
-
@jsii.member(jsii_name="
|
|
159
|
-
def
|
|
160
|
-
|
|
163
|
+
@jsii.member(jsii_name="labelsInput")
|
|
164
|
+
def labels_input(
|
|
165
|
+
self,
|
|
166
|
+
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
167
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
|
|
161
168
|
|
|
162
169
|
@builtins.property
|
|
163
170
|
@jsii.member(jsii_name="nameInput")
|
|
@@ -172,16 +179,16 @@ class Router(
|
|
|
172
179
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], jsii.get(self, "staticRouteInput"))
|
|
173
180
|
|
|
174
181
|
@builtins.property
|
|
175
|
-
@jsii.member(jsii_name="
|
|
176
|
-
def
|
|
177
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
182
|
+
@jsii.member(jsii_name="labels")
|
|
183
|
+
def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
|
|
184
|
+
return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
|
|
178
185
|
|
|
179
|
-
@
|
|
180
|
-
def
|
|
186
|
+
@labels.setter
|
|
187
|
+
def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
|
|
181
188
|
if __debug__:
|
|
182
|
-
type_hints = typing.get_type_hints(
|
|
189
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa3747a3d78e5368cd4ad74ed7e0d7f94dd99ac2913c729bea9c6861d4564789)
|
|
183
190
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
184
|
-
jsii.set(self, "
|
|
191
|
+
jsii.set(self, "labels", value)
|
|
185
192
|
|
|
186
193
|
@builtins.property
|
|
187
194
|
@jsii.member(jsii_name="name")
|
|
@@ -208,7 +215,7 @@ class Router(
|
|
|
208
215
|
"provider": "provider",
|
|
209
216
|
"provisioners": "provisioners",
|
|
210
217
|
"name": "name",
|
|
211
|
-
"
|
|
218
|
+
"labels": "labels",
|
|
212
219
|
"static_route": "staticRoute",
|
|
213
220
|
},
|
|
214
221
|
)
|
|
@@ -224,7 +231,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
224
231
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
225
232
|
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,
|
|
226
233
|
name: builtins.str,
|
|
227
|
-
|
|
234
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
228
235
|
static_route: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["RouterStaticRoute", typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
229
236
|
) -> None:
|
|
230
237
|
'''
|
|
@@ -235,9 +242,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
235
242
|
:param lifecycle:
|
|
236
243
|
:param provider:
|
|
237
244
|
:param provisioners:
|
|
238
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
239
|
-
:param
|
|
240
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
245
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#name Router#name}
|
|
246
|
+
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#labels Router#labels}
|
|
247
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#static_route Router#static_route}
|
|
241
248
|
'''
|
|
242
249
|
if isinstance(lifecycle, dict):
|
|
243
250
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -251,7 +258,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
251
258
|
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
252
259
|
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
253
260
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
254
|
-
check_type(argname="argument
|
|
261
|
+
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
255
262
|
check_type(argname="argument static_route", value=static_route, expected_type=type_hints["static_route"])
|
|
256
263
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
257
264
|
"name": name,
|
|
@@ -270,8 +277,8 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
270
277
|
self._values["provider"] = provider
|
|
271
278
|
if provisioners is not None:
|
|
272
279
|
self._values["provisioners"] = provisioners
|
|
273
|
-
if
|
|
274
|
-
self._values["
|
|
280
|
+
if labels is not None:
|
|
281
|
+
self._values["labels"] = labels
|
|
275
282
|
if static_route is not None:
|
|
276
283
|
self._values["static_route"] = static_route
|
|
277
284
|
|
|
@@ -343,21 +350,20 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
343
350
|
def name(self) -> builtins.str:
|
|
344
351
|
'''Name of the router.
|
|
345
352
|
|
|
346
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#name Router#name}
|
|
347
354
|
'''
|
|
348
355
|
result = self._values.get("name")
|
|
349
356
|
assert result is not None, "Required property 'name' is missing"
|
|
350
357
|
return typing.cast(builtins.str, result)
|
|
351
358
|
|
|
352
359
|
@builtins.property
|
|
353
|
-
def
|
|
354
|
-
'''
|
|
360
|
+
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
361
|
+
'''Key-value pairs to classify the router.
|
|
355
362
|
|
|
356
|
-
|
|
357
|
-
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.
|
|
363
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#labels Router#labels}
|
|
358
364
|
'''
|
|
359
|
-
result = self._values.get("
|
|
360
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
365
|
+
result = self._values.get("labels")
|
|
366
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
361
367
|
|
|
362
368
|
@builtins.property
|
|
363
369
|
def static_route(
|
|
@@ -365,7 +371,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
365
371
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
366
372
|
'''static_route block.
|
|
367
373
|
|
|
368
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
374
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#static_route Router#static_route}
|
|
369
375
|
'''
|
|
370
376
|
result = self._values.get("static_route")
|
|
371
377
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -396,9 +402,9 @@ class RouterStaticRoute:
|
|
|
396
402
|
name: typing.Optional[builtins.str] = None,
|
|
397
403
|
) -> None:
|
|
398
404
|
'''
|
|
399
|
-
: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.
|
|
400
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
401
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.6.0/docs/resources/router#nexthop Router#nexthop}
|
|
406
|
+
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#route Router#route}
|
|
407
|
+
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#name Router#name}
|
|
402
408
|
'''
|
|
403
409
|
if __debug__:
|
|
404
410
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -418,7 +424,7 @@ class RouterStaticRoute:
|
|
|
418
424
|
|
|
419
425
|
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.
|
|
420
426
|
|
|
421
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
427
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#nexthop Router#nexthop}
|
|
422
428
|
'''
|
|
423
429
|
result = self._values.get("nexthop")
|
|
424
430
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -428,7 +434,7 @@ class RouterStaticRoute:
|
|
|
428
434
|
def route(self) -> builtins.str:
|
|
429
435
|
'''Destination prefix of the route.
|
|
430
436
|
|
|
431
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
437
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#route Router#route}
|
|
432
438
|
'''
|
|
433
439
|
result = self._values.get("route")
|
|
434
440
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -438,7 +444,7 @@ class RouterStaticRoute:
|
|
|
438
444
|
def name(self) -> typing.Optional[builtins.str]:
|
|
439
445
|
'''Name or description of the route.
|
|
440
446
|
|
|
441
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
447
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.6.0/docs/resources/router#name Router#name}
|
|
442
448
|
'''
|
|
443
449
|
result = self._values.get("name")
|
|
444
450
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -656,10 +662,10 @@ publication.publish()
|
|
|
656
662
|
|
|
657
663
|
def _typecheckingstub__fcbc922e8974bdea9213754a0aa8997809c48606375ca248bcb2cda4a08b7c56(
|
|
658
664
|
scope: _constructs_77d1e7e8.Construct,
|
|
659
|
-
|
|
665
|
+
id: builtins.str,
|
|
660
666
|
*,
|
|
661
667
|
name: builtins.str,
|
|
662
|
-
|
|
668
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
663
669
|
static_route: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[RouterStaticRoute, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
664
670
|
connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
665
671
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
@@ -687,8 +693,8 @@ def _typecheckingstub__960cdb38754a0d32ae0383c60827d88c422b9f7a82cb9d479f750ab21
|
|
|
687
693
|
"""Type checking stubs"""
|
|
688
694
|
pass
|
|
689
695
|
|
|
690
|
-
def
|
|
691
|
-
value: builtins.str,
|
|
696
|
+
def _typecheckingstub__aa3747a3d78e5368cd4ad74ed7e0d7f94dd99ac2913c729bea9c6861d4564789(
|
|
697
|
+
value: typing.Mapping[builtins.str, builtins.str],
|
|
692
698
|
) -> None:
|
|
693
699
|
"""Type checking stubs"""
|
|
694
700
|
pass
|
|
@@ -709,7 +715,7 @@ def _typecheckingstub__4a9ab8951f24f843f6ac7aa3295c3140b760a79db02562259208fc896
|
|
|
709
715
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
710
716
|
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,
|
|
711
717
|
name: builtins.str,
|
|
712
|
-
|
|
718
|
+
labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
713
719
|
static_route: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[RouterStaticRoute, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
714
720
|
) -> None:
|
|
715
721
|
"""Type checking stubs"""
|