cdktf-cdktf-provider-upcloud 14.3.0__py3-none-any.whl → 14.5.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.5.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_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 +41 -29
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +39 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +66 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +78 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +403 -47
- 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 +39 -39
- 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 +330 -330
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +345 -345
- 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 +79 -30
- 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.3.0.dist-info → cdktf_cdktf_provider_upcloud-14.5.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.5.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.3.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.3.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.3.0.dist-info → cdktf_cdktf_provider_upcloud-14.5.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.3.0.dist-info → cdktf_cdktf_provider_upcloud-14.5.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.3.0.dist-info → cdktf_cdktf_provider_upcloud-14.5.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_object_storage`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class ObjectStorage(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
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.5.0/docs/resources/object_storage upcloud_object_storage}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -52,18 +52,18 @@ class ObjectStorage(
|
|
|
52
52
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
53
53
|
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,
|
|
54
54
|
) -> None:
|
|
55
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
56
56
|
|
|
57
57
|
:param scope: The scope in which to define this construct.
|
|
58
58
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
59
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
61
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
-
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
64
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
65
|
-
:param description: The description of the object storage instance to be created. 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.
|
|
59
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
60
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
61
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
62
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
63
|
+
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
64
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
65
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
66
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#id ObjectStorage#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.
|
|
67
67
|
:param connection:
|
|
68
68
|
:param count:
|
|
69
69
|
:param depends_on:
|
|
@@ -109,7 +109,7 @@ class ObjectStorage(
|
|
|
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 ObjectStorage to import.
|
|
112
|
-
:param import_from_id: The id of the existing ObjectStorage 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 ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#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 ObjectStorage to import is found.
|
|
114
114
|
'''
|
|
115
115
|
if __debug__:
|
|
@@ -318,7 +318,7 @@ class ObjectStorage(
|
|
|
318
318
|
class ObjectStorageBucket:
|
|
319
319
|
def __init__(self, *, name: builtins.str) -> None:
|
|
320
320
|
'''
|
|
321
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
321
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
322
322
|
'''
|
|
323
323
|
if __debug__:
|
|
324
324
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -331,7 +331,7 @@ class ObjectStorageBucket:
|
|
|
331
331
|
def name(self) -> builtins.str:
|
|
332
332
|
'''The name of the bucket.
|
|
333
333
|
|
|
334
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
335
335
|
'''
|
|
336
336
|
result = self._values.get("name")
|
|
337
337
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -549,14 +549,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
549
549
|
:param lifecycle:
|
|
550
550
|
:param provider:
|
|
551
551
|
:param provisioners:
|
|
552
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
553
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
554
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
555
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
556
|
-
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
557
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
558
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
559
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
552
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
553
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
554
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
555
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
556
|
+
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
557
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
558
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
559
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#id ObjectStorage#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.
|
|
560
560
|
'''
|
|
561
561
|
if isinstance(lifecycle, dict):
|
|
562
562
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -679,7 +679,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
679
679
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
680
680
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
681
681
|
|
|
682
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
683
683
|
'''
|
|
684
684
|
result = self._values.get("access_key")
|
|
685
685
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -689,7 +689,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
689
689
|
def name(self) -> builtins.str:
|
|
690
690
|
'''The name of the object storage instance to be created.
|
|
691
691
|
|
|
692
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
692
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
693
693
|
'''
|
|
694
694
|
result = self._values.get("name")
|
|
695
695
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -705,7 +705,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
705
705
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
706
706
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
707
707
|
|
|
708
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
708
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
709
709
|
'''
|
|
710
710
|
result = self._values.get("secret_key")
|
|
711
711
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -715,7 +715,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
715
715
|
def size(self) -> jsii.Number:
|
|
716
716
|
'''The size of the object storage instance in gigabytes.
|
|
717
717
|
|
|
718
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
718
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
719
719
|
'''
|
|
720
720
|
result = self._values.get("size")
|
|
721
721
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -725,7 +725,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
725
725
|
def zone(self) -> builtins.str:
|
|
726
726
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
727
727
|
|
|
728
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
728
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
729
729
|
'''
|
|
730
730
|
result = self._values.get("zone")
|
|
731
731
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -737,7 +737,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
737
737
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
738
738
|
'''bucket block.
|
|
739
739
|
|
|
740
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
740
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
741
741
|
'''
|
|
742
742
|
result = self._values.get("bucket")
|
|
743
743
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -746,14 +746,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
746
746
|
def description(self) -> typing.Optional[builtins.str]:
|
|
747
747
|
'''The description of the object storage instance to be created.
|
|
748
748
|
|
|
749
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
749
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
750
750
|
'''
|
|
751
751
|
result = self._values.get("description")
|
|
752
752
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
753
753
|
|
|
754
754
|
@builtins.property
|
|
755
755
|
def id(self) -> typing.Optional[builtins.str]:
|
|
756
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
756
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/object_storage#id ObjectStorage#id}.
|
|
757
757
|
|
|
758
758
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
759
759
|
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
|
'''
|
|
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.5.0/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.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
47
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
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.
|
|
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.
|
|
54
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
51
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.
|
|
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.5.0/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.
|
|
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.
|
|
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.
|
|
289
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.
|
|
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.
|
|
286
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.
|
|
323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
332
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
352
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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.
|
|
379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/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
|
'''
|
|
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.5.0/docs/resources/router).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class Router(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.router.Router",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router upcloud_router}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -47,13 +47,13 @@ class Router(
|
|
|
47
47
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
48
48
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
49
49
|
) -> None:
|
|
50
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
50
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router upcloud_router} Resource.
|
|
51
51
|
|
|
52
52
|
:param scope: The scope in which to define this construct.
|
|
53
53
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
56
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#name Router#name}
|
|
55
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#id Router#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.
|
|
56
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#static_route Router#static_route}
|
|
57
57
|
:param connection:
|
|
58
58
|
:param count:
|
|
59
59
|
:param depends_on:
|
|
@@ -94,7 +94,7 @@ class Router(
|
|
|
94
94
|
|
|
95
95
|
:param scope: The scope in which to define this construct.
|
|
96
96
|
:param import_to_id: The construct id used in the generated config for the Router to import.
|
|
97
|
-
:param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
97
|
+
:param import_from_id: The id of the existing Router that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.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__:
|
|
@@ -235,9 +235,9 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
235
235
|
:param lifecycle:
|
|
236
236
|
:param provider:
|
|
237
237
|
:param provisioners:
|
|
238
|
-
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
239
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
240
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
238
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#name Router#name}
|
|
239
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#id Router#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.
|
|
240
|
+
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#static_route Router#static_route}
|
|
241
241
|
'''
|
|
242
242
|
if isinstance(lifecycle, dict):
|
|
243
243
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -343,7 +343,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
343
343
|
def name(self) -> builtins.str:
|
|
344
344
|
'''Name of the router.
|
|
345
345
|
|
|
346
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
346
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#name Router#name}
|
|
347
347
|
'''
|
|
348
348
|
result = self._values.get("name")
|
|
349
349
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -351,7 +351,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
351
351
|
|
|
352
352
|
@builtins.property
|
|
353
353
|
def id(self) -> typing.Optional[builtins.str]:
|
|
354
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
354
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#id Router#id}.
|
|
355
355
|
|
|
356
356
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
357
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.
|
|
@@ -365,7 +365,7 @@ class RouterConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
365
365
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]]:
|
|
366
366
|
'''static_route block.
|
|
367
367
|
|
|
368
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
368
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#static_route Router#static_route}
|
|
369
369
|
'''
|
|
370
370
|
result = self._values.get("static_route")
|
|
371
371
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["RouterStaticRoute"]]], result)
|
|
@@ -396,9 +396,9 @@ class RouterStaticRoute:
|
|
|
396
396
|
name: typing.Optional[builtins.str] = None,
|
|
397
397
|
) -> None:
|
|
398
398
|
'''
|
|
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.
|
|
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.5.0/docs/resources/router#nexthop Router#nexthop}
|
|
400
|
+
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#route Router#route}
|
|
401
|
+
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#name Router#name}
|
|
402
402
|
'''
|
|
403
403
|
if __debug__:
|
|
404
404
|
type_hints = typing.get_type_hints(_typecheckingstub__19b50b7b811b7df94d19dfa751de09cba910b32f96dd6f76cdfde0ef1ed80121)
|
|
@@ -418,7 +418,7 @@ class RouterStaticRoute:
|
|
|
418
418
|
|
|
419
419
|
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
420
|
|
|
421
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
421
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#nexthop Router#nexthop}
|
|
422
422
|
'''
|
|
423
423
|
result = self._values.get("nexthop")
|
|
424
424
|
assert result is not None, "Required property 'nexthop' is missing"
|
|
@@ -428,7 +428,7 @@ class RouterStaticRoute:
|
|
|
428
428
|
def route(self) -> builtins.str:
|
|
429
429
|
'''Destination prefix of the route.
|
|
430
430
|
|
|
431
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
431
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#route Router#route}
|
|
432
432
|
'''
|
|
433
433
|
result = self._values.get("route")
|
|
434
434
|
assert result is not None, "Required property 'route' is missing"
|
|
@@ -438,7 +438,7 @@ class RouterStaticRoute:
|
|
|
438
438
|
def name(self) -> typing.Optional[builtins.str]:
|
|
439
439
|
'''Name or description of the route.
|
|
440
440
|
|
|
441
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
441
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.5.0/docs/resources/router#name Router#name}
|
|
442
442
|
'''
|
|
443
443
|
result = self._values.get("name")
|
|
444
444
|
return typing.cast(typing.Optional[builtins.str], result)
|