cdktf-cdktf-provider-upcloud 14.8.0__py3-none-any.whl → 14.8.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.8.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +336 -336
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +300 -300
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.8.1.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.8.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.8.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `provider`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class UpcloudProvider(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.provider.UpcloudProvider",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs upcloud}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -44,17 +44,17 @@ class UpcloudProvider(
|
|
|
44
44
|
retry_wait_min_sec: typing.Optional[jsii.Number] = None,
|
|
45
45
|
username: typing.Optional[builtins.str] = None,
|
|
46
46
|
) -> None:
|
|
47
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
47
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs upcloud} Resource.
|
|
48
48
|
|
|
49
49
|
:param scope: The scope in which to define this construct.
|
|
50
50
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
51
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
52
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
53
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
54
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
55
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
56
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
57
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
51
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#alias UpcloudProvider#alias}
|
|
52
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#password UpcloudProvider#password}
|
|
53
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
54
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_max UpcloudProvider#retry_max}
|
|
55
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
56
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
57
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#username UpcloudProvider#username}
|
|
58
58
|
'''
|
|
59
59
|
if __debug__:
|
|
60
60
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -85,7 +85,7 @@ class UpcloudProvider(
|
|
|
85
85
|
|
|
86
86
|
:param scope: The scope in which to define this construct.
|
|
87
87
|
:param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
|
|
88
|
-
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
88
|
+
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#import import section} in the documentation of this resource for the id to use
|
|
89
89
|
:param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
|
|
90
90
|
'''
|
|
91
91
|
if __debug__:
|
|
@@ -283,13 +283,13 @@ class UpcloudProviderConfig:
|
|
|
283
283
|
username: typing.Optional[builtins.str] = None,
|
|
284
284
|
) -> None:
|
|
285
285
|
'''
|
|
286
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
287
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
288
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
289
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
290
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
291
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
292
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
286
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#alias UpcloudProvider#alias}
|
|
287
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#password UpcloudProvider#password}
|
|
288
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
289
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_max UpcloudProvider#retry_max}
|
|
290
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
291
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
292
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#username UpcloudProvider#username}
|
|
293
293
|
'''
|
|
294
294
|
if __debug__:
|
|
295
295
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -320,7 +320,7 @@ class UpcloudProviderConfig:
|
|
|
320
320
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
321
321
|
'''Alias name.
|
|
322
322
|
|
|
323
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#alias UpcloudProvider#alias}
|
|
324
324
|
'''
|
|
325
325
|
result = self._values.get("alias")
|
|
326
326
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -329,7 +329,7 @@ class UpcloudProviderConfig:
|
|
|
329
329
|
def password(self) -> typing.Optional[builtins.str]:
|
|
330
330
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
331
331
|
|
|
332
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
332
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#password UpcloudProvider#password}
|
|
333
333
|
'''
|
|
334
334
|
result = self._values.get("password")
|
|
335
335
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -340,7 +340,7 @@ class UpcloudProviderConfig:
|
|
|
340
340
|
|
|
341
341
|
Defaults to 120 seconds
|
|
342
342
|
|
|
343
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
344
344
|
'''
|
|
345
345
|
result = self._values.get("request_timeout_sec")
|
|
346
346
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -349,7 +349,7 @@ class UpcloudProviderConfig:
|
|
|
349
349
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
350
350
|
'''Maximum number of retries.
|
|
351
351
|
|
|
352
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
352
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_max UpcloudProvider#retry_max}
|
|
353
353
|
'''
|
|
354
354
|
result = self._values.get("retry_max")
|
|
355
355
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -358,7 +358,7 @@ class UpcloudProviderConfig:
|
|
|
358
358
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
359
359
|
'''Maximum time to wait between retries.
|
|
360
360
|
|
|
361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
362
362
|
'''
|
|
363
363
|
result = self._values.get("retry_wait_max_sec")
|
|
364
364
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -367,7 +367,7 @@ class UpcloudProviderConfig:
|
|
|
367
367
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
368
368
|
'''Minimum time to wait between retries.
|
|
369
369
|
|
|
370
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
371
371
|
'''
|
|
372
372
|
result = self._values.get("retry_wait_min_sec")
|
|
373
373
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -376,7 +376,7 @@ class UpcloudProviderConfig:
|
|
|
376
376
|
def username(self) -> typing.Optional[builtins.str]:
|
|
377
377
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
378
378
|
|
|
379
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs#username UpcloudProvider#username}
|
|
380
380
|
'''
|
|
381
381
|
result = self._values.get("username")
|
|
382
382
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -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.8.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.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.8.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.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.8.
|
|
50
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.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.8.
|
|
55
|
-
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
56
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
54
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.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.8.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.8.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.8.
|
|
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.8.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__:
|
|
@@ -242,9 +242,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
242
242
|
:param lifecycle:
|
|
243
243
|
:param provider:
|
|
244
244
|
:param provisioners:
|
|
245
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
246
|
-
:param labels: Key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
247
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
245
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/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.8.1/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.8.1/docs/resources/router#static_route Router#static_route}
|
|
248
248
|
'''
|
|
249
249
|
if isinstance(lifecycle, dict):
|
|
250
250
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -350,7 +350,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
350
350
|
def name(self) -> builtins.str:
|
|
351
351
|
'''Name of the router.
|
|
352
352
|
|
|
353
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
353
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#name Router#name}
|
|
354
354
|
'''
|
|
355
355
|
result = self._values.get("name")
|
|
356
356
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -360,7 +360,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
360
360
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
361
361
|
'''Key-value pairs to classify the router.
|
|
362
362
|
|
|
363
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
363
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#labels Router#labels}
|
|
364
364
|
'''
|
|
365
365
|
result = self._values.get("labels")
|
|
366
366
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -371,7 +371,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
371
371
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
372
372
|
'''static_route block.
|
|
373
373
|
|
|
374
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
374
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#static_route Router#static_route}
|
|
375
375
|
'''
|
|
376
376
|
result = self._values.get("static_route")
|
|
377
377
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -402,9 +402,9 @@ class RouterStaticRoute:
|
|
|
402
402
|
name: typing.Optional[builtins.str] = None,
|
|
403
403
|
) -> None:
|
|
404
404
|
'''
|
|
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.8.
|
|
406
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
407
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
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.8.1/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.8.1/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.8.1/docs/resources/router#name Router#name}
|
|
408
408
|
'''
|
|
409
409
|
if __debug__:
|
|
410
410
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -424,7 +424,7 @@ class RouterStaticRoute:
|
|
|
424
424
|
|
|
425
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.
|
|
426
426
|
|
|
427
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
427
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#nexthop Router#nexthop}
|
|
428
428
|
'''
|
|
429
429
|
result = self._values.get("nexthop")
|
|
430
430
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -434,7 +434,7 @@ class RouterStaticRoute:
|
|
|
434
434
|
def route(self) -> builtins.str:
|
|
435
435
|
'''Destination prefix of the route.
|
|
436
436
|
|
|
437
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
437
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#route Router#route}
|
|
438
438
|
'''
|
|
439
439
|
result = self._values.get("route")
|
|
440
440
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -444,7 +444,7 @@ class RouterStaticRoute:
|
|
|
444
444
|
def name(self) -> typing.Optional[builtins.str]:
|
|
445
445
|
'''Name or description of the route.
|
|
446
446
|
|
|
447
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.
|
|
447
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.1/docs/resources/router#name Router#name}
|
|
448
448
|
'''
|
|
449
449
|
result = self._values.get("name")
|
|
450
450
|
return typing.cast(typing.Optional[builtins.str], result)
|