cdktf-cdktf-provider-upcloud 15.2.0__py3-none-any.whl → 15.2.2__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@15.2.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +9 -9
- 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_database_valkey_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 +38 -38
- 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 +34 -34
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +72 -72
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +39 -39
- 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 +228 -228
- 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 +210 -210
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +594 -594
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +366 -366
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +132 -132
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +135 -135
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +10 -10
- 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 +28 -28
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +139 -139
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +51 -51
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-15.2.0.dist-info → cdktf_cdktf_provider_upcloud-15.2.2.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-15.2.2.dist-info/RECORD +68 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.2.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-15.2.0.dist-info/RECORD +0 -68
- {cdktf_cdktf_provider_upcloud-15.2.0.dist-info → cdktf_cdktf_provider_upcloud-15.2.2.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.2.0.dist-info → cdktf_cdktf_provider_upcloud-15.2.2.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.2.0.dist-info → cdktf_cdktf_provider_upcloud-15.2.2.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
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.24.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class ObjectStorage(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage upcloud_object_storage}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -67,18 +67,18 @@ class ObjectStorage(
|
|
|
67
67
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
68
68
|
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,
|
|
69
69
|
) -> None:
|
|
70
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
70
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
71
71
|
|
|
72
72
|
:param scope: The scope in which to define this construct.
|
|
73
73
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
74
|
-
: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.24.
|
|
75
|
-
: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.24.
|
|
76
|
-
: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.24.
|
|
77
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
78
|
-
: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.24.
|
|
79
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
80
|
-
: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.24.
|
|
81
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
74
|
+
: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.24.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
75
|
+
: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.24.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
76
|
+
: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.24.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
77
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
78
|
+
: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.24.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
79
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
80
|
+
: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.24.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
81
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.
|
|
82
82
|
:param connection:
|
|
83
83
|
:param count:
|
|
84
84
|
:param depends_on:
|
|
@@ -124,7 +124,7 @@ class ObjectStorage(
|
|
|
124
124
|
|
|
125
125
|
:param scope: The scope in which to define this construct.
|
|
126
126
|
:param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
|
|
127
|
-
: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.24.
|
|
127
|
+
: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.24.2/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
|
|
128
128
|
:param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
|
|
129
129
|
'''
|
|
130
130
|
if __debug__:
|
|
@@ -333,7 +333,7 @@ class ObjectStorage(
|
|
|
333
333
|
class ObjectStorageBucket:
|
|
334
334
|
def __init__(self, *, name: builtins.str) -> None:
|
|
335
335
|
'''
|
|
336
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
336
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
337
337
|
'''
|
|
338
338
|
if __debug__:
|
|
339
339
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -346,7 +346,7 @@ class ObjectStorageBucket:
|
|
|
346
346
|
def name(self) -> builtins.str:
|
|
347
347
|
'''The name of the bucket.
|
|
348
348
|
|
|
349
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
349
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
350
350
|
'''
|
|
351
351
|
result = self._values.get("name")
|
|
352
352
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -564,14 +564,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
564
564
|
:param lifecycle:
|
|
565
565
|
:param provider:
|
|
566
566
|
:param provisioners:
|
|
567
|
-
: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.24.
|
|
568
|
-
: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.24.
|
|
569
|
-
: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.24.
|
|
570
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
571
|
-
: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.24.
|
|
572
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
573
|
-
: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.24.
|
|
574
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
567
|
+
: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.24.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
568
|
+
: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.24.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
569
|
+
: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.24.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
570
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
571
|
+
: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.24.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
572
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
573
|
+
: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.24.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
574
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.
|
|
575
575
|
'''
|
|
576
576
|
if isinstance(lifecycle, dict):
|
|
577
577
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -694,7 +694,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
694
694
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
695
695
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
696
696
|
|
|
697
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
697
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
698
698
|
'''
|
|
699
699
|
result = self._values.get("access_key")
|
|
700
700
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -704,7 +704,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
704
704
|
def name(self) -> builtins.str:
|
|
705
705
|
'''The name of the object storage instance to be created.
|
|
706
706
|
|
|
707
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
707
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
708
708
|
'''
|
|
709
709
|
result = self._values.get("name")
|
|
710
710
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -720,7 +720,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
720
720
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
721
721
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
722
722
|
|
|
723
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
723
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
724
724
|
'''
|
|
725
725
|
result = self._values.get("secret_key")
|
|
726
726
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -730,7 +730,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
730
730
|
def size(self) -> jsii.Number:
|
|
731
731
|
'''The size of the object storage instance in gigabytes.
|
|
732
732
|
|
|
733
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
733
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
734
734
|
'''
|
|
735
735
|
result = self._values.get("size")
|
|
736
736
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -740,7 +740,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
740
740
|
def zone(self) -> builtins.str:
|
|
741
741
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
742
742
|
|
|
743
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
743
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
744
744
|
'''
|
|
745
745
|
result = self._values.get("zone")
|
|
746
746
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -752,7 +752,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
752
752
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
753
753
|
'''bucket block.
|
|
754
754
|
|
|
755
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
755
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
756
756
|
'''
|
|
757
757
|
result = self._values.get("bucket")
|
|
758
758
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -761,14 +761,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
761
761
|
def description(self) -> typing.Optional[builtins.str]:
|
|
762
762
|
'''The description of the object storage instance to be created.
|
|
763
763
|
|
|
764
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
764
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
765
765
|
'''
|
|
766
766
|
result = self._values.get("description")
|
|
767
767
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
768
768
|
|
|
769
769
|
@builtins.property
|
|
770
770
|
def id(self) -> typing.Optional[builtins.str]:
|
|
771
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
771
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs/resources/object_storage#id ObjectStorage#id}.
|
|
772
772
|
|
|
773
773
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
774
774
|
If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `provider`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs upcloud}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -60,18 +60,18 @@ class UpcloudProvider(
|
|
|
60
60
|
token: typing.Optional[builtins.str] = None,
|
|
61
61
|
username: typing.Optional[builtins.str] = None,
|
|
62
62
|
) -> None:
|
|
63
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
63
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs upcloud} Resource.
|
|
64
64
|
|
|
65
65
|
:param scope: The scope in which to define this construct.
|
|
66
66
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
67
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
68
|
-
: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.24.
|
|
69
|
-
: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.24.
|
|
70
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
71
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
72
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
73
|
-
:param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable or using the system keyring. Use ``upctl account login`` command to save a token to the system keyring. (EXPERIMENTAL) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
74
|
-
: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.24.
|
|
67
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#alias UpcloudProvider#alias}
|
|
68
|
+
: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.24.2/docs#password UpcloudProvider#password}
|
|
69
|
+
: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.24.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
70
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_max UpcloudProvider#retry_max}
|
|
71
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
72
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
73
|
+
:param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable or using the system keyring. Use ``upctl account login`` command to save a token to the system keyring. (EXPERIMENTAL) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#token UpcloudProvider#token}
|
|
74
|
+
: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.24.2/docs#username UpcloudProvider#username}
|
|
75
75
|
'''
|
|
76
76
|
if __debug__:
|
|
77
77
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -103,7 +103,7 @@ class UpcloudProvider(
|
|
|
103
103
|
|
|
104
104
|
:param scope: The scope in which to define this construct.
|
|
105
105
|
:param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
|
|
106
|
-
: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.24.
|
|
106
|
+
: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.24.2/docs#import import section} in the documentation of this resource for the id to use
|
|
107
107
|
:param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
|
|
108
108
|
'''
|
|
109
109
|
if __debug__:
|
|
@@ -324,14 +324,14 @@ class UpcloudProviderConfig:
|
|
|
324
324
|
username: typing.Optional[builtins.str] = None,
|
|
325
325
|
) -> None:
|
|
326
326
|
'''
|
|
327
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
328
|
-
: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.24.
|
|
329
|
-
: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.24.
|
|
330
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
331
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
332
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
333
|
-
:param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable or using the system keyring. Use ``upctl account login`` command to save a token to the system keyring. (EXPERIMENTAL) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
334
|
-
: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.24.
|
|
327
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#alias UpcloudProvider#alias}
|
|
328
|
+
: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.24.2/docs#password UpcloudProvider#password}
|
|
329
|
+
: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.24.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
330
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_max UpcloudProvider#retry_max}
|
|
331
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
332
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
333
|
+
:param token: Token for authenticating to UpCloud API. Can also be configured using the ``UPCLOUD_TOKEN`` environment variable or using the system keyring. Use ``upctl account login`` command to save a token to the system keyring. (EXPERIMENTAL) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#token UpcloudProvider#token}
|
|
334
|
+
: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.24.2/docs#username UpcloudProvider#username}
|
|
335
335
|
'''
|
|
336
336
|
if __debug__:
|
|
337
337
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -365,7 +365,7 @@ class UpcloudProviderConfig:
|
|
|
365
365
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
366
366
|
'''Alias name.
|
|
367
367
|
|
|
368
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
368
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#alias UpcloudProvider#alias}
|
|
369
369
|
'''
|
|
370
370
|
result = self._values.get("alias")
|
|
371
371
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -374,7 +374,7 @@ class UpcloudProviderConfig:
|
|
|
374
374
|
def password(self) -> typing.Optional[builtins.str]:
|
|
375
375
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
376
376
|
|
|
377
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
377
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#password UpcloudProvider#password}
|
|
378
378
|
'''
|
|
379
379
|
result = self._values.get("password")
|
|
380
380
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -385,7 +385,7 @@ class UpcloudProviderConfig:
|
|
|
385
385
|
|
|
386
386
|
Defaults to 120 seconds
|
|
387
387
|
|
|
388
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
388
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
389
389
|
'''
|
|
390
390
|
result = self._values.get("request_timeout_sec")
|
|
391
391
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -394,7 +394,7 @@ class UpcloudProviderConfig:
|
|
|
394
394
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
395
395
|
'''Maximum number of retries.
|
|
396
396
|
|
|
397
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
397
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_max UpcloudProvider#retry_max}
|
|
398
398
|
'''
|
|
399
399
|
result = self._values.get("retry_max")
|
|
400
400
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -403,7 +403,7 @@ class UpcloudProviderConfig:
|
|
|
403
403
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
404
404
|
'''Maximum time to wait between retries.
|
|
405
405
|
|
|
406
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
406
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
407
407
|
'''
|
|
408
408
|
result = self._values.get("retry_wait_max_sec")
|
|
409
409
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -412,7 +412,7 @@ class UpcloudProviderConfig:
|
|
|
412
412
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
413
413
|
'''Minimum time to wait between retries.
|
|
414
414
|
|
|
415
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
415
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
416
416
|
'''
|
|
417
417
|
result = self._values.get("retry_wait_min_sec")
|
|
418
418
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -423,7 +423,7 @@ class UpcloudProviderConfig:
|
|
|
423
423
|
|
|
424
424
|
Can also be configured using the ``UPCLOUD_TOKEN`` environment variable or using the system keyring. Use ``upctl account login`` command to save a token to the system keyring. (EXPERIMENTAL)
|
|
425
425
|
|
|
426
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
426
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#token UpcloudProvider#token}
|
|
427
427
|
'''
|
|
428
428
|
result = self._values.get("token")
|
|
429
429
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -432,7 +432,7 @@ class UpcloudProviderConfig:
|
|
|
432
432
|
def username(self) -> typing.Optional[builtins.str]:
|
|
433
433
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
434
434
|
|
|
435
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
435
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/docs#username UpcloudProvider#username}
|
|
436
436
|
'''
|
|
437
437
|
result = self._values.get("username")
|
|
438
438
|
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.24.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_router`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
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.24.
|
|
71
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
69
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.2/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.24.2/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.24.
|
|
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.24.2/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.24.
|
|
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.24.
|
|
267
|
-
:param static_route: static_route block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
265
|
+
:param name: Name of the router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.2/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.24.2/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.24.
|
|
373
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
383
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
394
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
426
|
-
:param route: Destination prefix of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
427
|
-
:param name: Name or description of the route. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.
|
|
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.24.2/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.24.2/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.24.2/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.24.
|
|
447
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
457
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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.24.
|
|
467
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.24.2/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)
|