cdktf-cdktf-provider-upcloud 14.11.3__py3-none-any.whl → 14.12.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.12.0.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_load_balancer_dns_challenge_domain/__init__.py +4 -4
- 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 +28 -28
- 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 +58 -58
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +46 -46
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +218 -171
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +195 -195
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +441 -441
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +309 -309
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +123 -123
- 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_custom_domain/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +16 -16
- 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 +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.11.3.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.12.0.dist-info/RECORD +64 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.11.3.dist-info/RECORD +0 -64
- {cdktf_cdktf_provider_upcloud-14.11.3.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.11.3.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.11.3.dist-info → cdktf_cdktf_provider_upcloud-14.12.0.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.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class UpcloudProvider(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.provider.UpcloudProvider",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs upcloud}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -59,17 +59,17 @@ class UpcloudProvider(
|
|
|
59
59
|
retry_wait_min_sec: typing.Optional[jsii.Number] = None,
|
|
60
60
|
username: typing.Optional[builtins.str] = None,
|
|
61
61
|
) -> None:
|
|
62
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs upcloud} Resource.
|
|
63
63
|
|
|
64
64
|
:param scope: The scope in which to define this construct.
|
|
65
65
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
66
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
67
|
-
: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.
|
|
68
|
-
: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.
|
|
69
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
70
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
71
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
72
|
-
: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.
|
|
66
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#alias UpcloudProvider#alias}
|
|
67
|
+
: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.12.0/docs#password UpcloudProvider#password}
|
|
68
|
+
: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.12.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
69
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_max UpcloudProvider#retry_max}
|
|
70
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
71
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
72
|
+
: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.12.0/docs#username UpcloudProvider#username}
|
|
73
73
|
'''
|
|
74
74
|
if __debug__:
|
|
75
75
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -100,7 +100,7 @@ class UpcloudProvider(
|
|
|
100
100
|
|
|
101
101
|
:param scope: The scope in which to define this construct.
|
|
102
102
|
:param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
|
|
103
|
-
: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.
|
|
103
|
+
: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.12.0/docs#import import section} in the documentation of this resource for the id to use
|
|
104
104
|
:param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
|
|
105
105
|
'''
|
|
106
106
|
if __debug__:
|
|
@@ -298,13 +298,13 @@ class UpcloudProviderConfig:
|
|
|
298
298
|
username: typing.Optional[builtins.str] = None,
|
|
299
299
|
) -> None:
|
|
300
300
|
'''
|
|
301
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
302
|
-
: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.
|
|
303
|
-
: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.
|
|
304
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
305
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
306
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
307
|
-
: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.
|
|
301
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#alias UpcloudProvider#alias}
|
|
302
|
+
: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.12.0/docs#password UpcloudProvider#password}
|
|
303
|
+
: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.12.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
304
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_max UpcloudProvider#retry_max}
|
|
305
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
306
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
307
|
+
: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.12.0/docs#username UpcloudProvider#username}
|
|
308
308
|
'''
|
|
309
309
|
if __debug__:
|
|
310
310
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -335,7 +335,7 @@ class UpcloudProviderConfig:
|
|
|
335
335
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
336
336
|
'''Alias name.
|
|
337
337
|
|
|
338
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
338
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#alias UpcloudProvider#alias}
|
|
339
339
|
'''
|
|
340
340
|
result = self._values.get("alias")
|
|
341
341
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -344,7 +344,7 @@ class UpcloudProviderConfig:
|
|
|
344
344
|
def password(self) -> typing.Optional[builtins.str]:
|
|
345
345
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
346
346
|
|
|
347
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
347
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#password UpcloudProvider#password}
|
|
348
348
|
'''
|
|
349
349
|
result = self._values.get("password")
|
|
350
350
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -355,7 +355,7 @@ class UpcloudProviderConfig:
|
|
|
355
355
|
|
|
356
356
|
Defaults to 120 seconds
|
|
357
357
|
|
|
358
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
358
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
359
359
|
'''
|
|
360
360
|
result = self._values.get("request_timeout_sec")
|
|
361
361
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -364,7 +364,7 @@ class UpcloudProviderConfig:
|
|
|
364
364
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
365
365
|
'''Maximum number of retries.
|
|
366
366
|
|
|
367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
367
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_max UpcloudProvider#retry_max}
|
|
368
368
|
'''
|
|
369
369
|
result = self._values.get("retry_max")
|
|
370
370
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -373,7 +373,7 @@ class UpcloudProviderConfig:
|
|
|
373
373
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
374
374
|
'''Maximum time to wait between retries.
|
|
375
375
|
|
|
376
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
376
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
377
377
|
'''
|
|
378
378
|
result = self._values.get("retry_wait_max_sec")
|
|
379
379
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -382,7 +382,7 @@ class UpcloudProviderConfig:
|
|
|
382
382
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
383
383
|
'''Minimum time to wait between retries.
|
|
384
384
|
|
|
385
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
385
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
386
386
|
'''
|
|
387
387
|
result = self._values.get("retry_wait_min_sec")
|
|
388
388
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -391,7 +391,7 @@ class UpcloudProviderConfig:
|
|
|
391
391
|
def username(self) -> typing.Optional[builtins.str]:
|
|
392
392
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
393
393
|
|
|
394
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
394
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs#username UpcloudProvider#username}
|
|
395
395
|
'''
|
|
396
396
|
result = self._values.get("username")
|
|
397
397
|
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.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class Router(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.router.Router",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router upcloud_router}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -62,13 +62,13 @@ class Router(
|
|
|
62
62
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
63
63
|
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,
|
|
64
64
|
) -> None:
|
|
65
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router upcloud_router} Resource.
|
|
66
66
|
|
|
67
67
|
:param scope: The scope in which to define this construct.
|
|
68
68
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
69
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
70
|
-
:param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
71
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
69
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#name Router#name}
|
|
70
|
+
:param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#labels Router#labels}
|
|
71
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#static_route Router#static_route}
|
|
72
72
|
:param connection:
|
|
73
73
|
:param count:
|
|
74
74
|
:param depends_on:
|
|
@@ -109,7 +109,7 @@ class Router(
|
|
|
109
109
|
|
|
110
110
|
:param scope: The scope in which to define this construct.
|
|
111
111
|
:param import_to_id: The construct id used in the generated config for the Router to import.
|
|
112
|
-
: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.
|
|
112
|
+
: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.12.0/docs/resources/router#import import section} in the documentation of this resource for the id to use
|
|
113
113
|
:param provider: ? Optional instance of the provider where the Router to import is found.
|
|
114
114
|
'''
|
|
115
115
|
if __debug__:
|
|
@@ -262,9 +262,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
262
262
|
:param lifecycle:
|
|
263
263
|
:param provider:
|
|
264
264
|
:param provisioners:
|
|
265
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
266
|
-
:param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
267
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
265
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#name Router#name}
|
|
266
|
+
:param labels: User defined key-value pairs to classify the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#labels Router#labels}
|
|
267
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#static_route Router#static_route}
|
|
268
268
|
'''
|
|
269
269
|
if isinstance(lifecycle, dict):
|
|
270
270
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -370,7 +370,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
370
370
|
def name(self) -> builtins.str:
|
|
371
371
|
'''Name of the router.
|
|
372
372
|
|
|
373
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
373
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#name Router#name}
|
|
374
374
|
'''
|
|
375
375
|
result = self._values.get("name")
|
|
376
376
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -380,7 +380,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
380
380
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
381
381
|
'''User defined key-value pairs to classify the router.
|
|
382
382
|
|
|
383
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
383
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#labels Router#labels}
|
|
384
384
|
'''
|
|
385
385
|
result = self._values.get("labels")
|
|
386
386
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -391,7 +391,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
391
391
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
392
392
|
'''static_route block.
|
|
393
393
|
|
|
394
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
394
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#static_route Router#static_route}
|
|
395
395
|
'''
|
|
396
396
|
result = self._values.get("static_route")
|
|
397
397
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -422,9 +422,9 @@ class RouterStaticRoute:
|
|
|
422
422
|
name: typing.Optional[builtins.str] = None,
|
|
423
423
|
) -> None:
|
|
424
424
|
'''
|
|
425
|
-
: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.
|
|
426
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
427
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
425
|
+
: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.12.0/docs/resources/router#nexthop Router#nexthop}
|
|
426
|
+
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#route Router#route}
|
|
427
|
+
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#name Router#name}
|
|
428
428
|
'''
|
|
429
429
|
if __debug__:
|
|
430
430
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -444,7 +444,7 @@ class RouterStaticRoute:
|
|
|
444
444
|
|
|
445
445
|
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.
|
|
446
446
|
|
|
447
|
-
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.12.0/docs/resources/router#nexthop Router#nexthop}
|
|
448
448
|
'''
|
|
449
449
|
result = self._values.get("nexthop")
|
|
450
450
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -454,7 +454,7 @@ class RouterStaticRoute:
|
|
|
454
454
|
def route(self) -> builtins.str:
|
|
455
455
|
'''Destination prefix of the route.
|
|
456
456
|
|
|
457
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
457
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#route Router#route}
|
|
458
458
|
'''
|
|
459
459
|
result = self._values.get("route")
|
|
460
460
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -464,7 +464,7 @@ class RouterStaticRoute:
|
|
|
464
464
|
def name(self) -> typing.Optional[builtins.str]:
|
|
465
465
|
'''Name or description of the route.
|
|
466
466
|
|
|
467
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
467
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.12.0/docs/resources/router#name Router#name}
|
|
468
468
|
'''
|
|
469
469
|
result = self._values.get("name")
|
|
470
470
|
return typing.cast(typing.Optional[builtins.str], result)
|