cdktf-cdktf-provider-upcloud 13.0.0__py3-none-any.whl → 13.1.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@13.1.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_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +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 +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +77 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +134 -36
- 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 +175 -175
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +286 -286
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +103 -103
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
- 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 +148 -148
- 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-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-13.1.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.0.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-13.0.0.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_managed_object_storage_user_access_key`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_managed_object_storage_user_access_key`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_object_storage_user_access_key`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class ManagedObjectStorageUserAccessKey(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.managedObjectStorageUserAccessKey.ManagedObjectStorageUserAccessKey",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key upcloud_managed_object_storage_user_access_key}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class ManagedObjectStorageUserAccessKey(
|
|
|
46
46
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
47
|
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,
|
|
48
48
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key upcloud_managed_object_storage_user_access_key} Resource.
|
|
50
50
|
|
|
51
51
|
:param scope: The scope in which to define this construct.
|
|
52
52
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param enabled: Enabled or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
54
|
-
:param name: Access key name. Must be unique within the user. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
55
|
-
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
56
|
-
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
57
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
53
|
+
:param enabled: Enabled or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#enabled ManagedObjectStorageUserAccessKey#enabled}
|
|
54
|
+
:param name: Access key name. Must be unique within the user. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#name ManagedObjectStorageUserAccessKey#name}
|
|
55
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
56
|
+
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
57
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#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.
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class ManagedObjectStorageUserAccessKey(
|
|
|
97
97
|
|
|
98
98
|
:param scope: The scope in which to define this construct.
|
|
99
99
|
:param import_to_id: The construct id used in the generated config for the ManagedObjectStorageUserAccessKey to import.
|
|
100
|
-
:param import_from_id: The id of the existing ManagedObjectStorageUserAccessKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
100
|
+
:param import_from_id: The id of the existing ManagedObjectStorageUserAccessKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#import import section} in the documentation of this resource for the id to use
|
|
101
101
|
:param provider: ? Optional instance of the provider where the ManagedObjectStorageUserAccessKey to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -284,11 +284,11 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
284
284
|
:param lifecycle:
|
|
285
285
|
:param provider:
|
|
286
286
|
:param provisioners:
|
|
287
|
-
:param enabled: Enabled or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
288
|
-
:param name: Access key name. Must be unique within the user. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
289
|
-
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
290
|
-
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
291
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
287
|
+
:param enabled: Enabled or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#enabled ManagedObjectStorageUserAccessKey#enabled}
|
|
288
|
+
:param name: Access key name. Must be unique within the user. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#name ManagedObjectStorageUserAccessKey#name}
|
|
289
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
290
|
+
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
291
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#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.
|
|
292
292
|
'''
|
|
293
293
|
if isinstance(lifecycle, dict):
|
|
294
294
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -397,7 +397,7 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
397
397
|
def enabled(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
398
398
|
'''Enabled or not.
|
|
399
399
|
|
|
400
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
400
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#enabled ManagedObjectStorageUserAccessKey#enabled}
|
|
401
401
|
'''
|
|
402
402
|
result = self._values.get("enabled")
|
|
403
403
|
assert result is not None, "Required property 'enabled' is missing"
|
|
@@ -407,7 +407,7 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
407
407
|
def name(self) -> builtins.str:
|
|
408
408
|
'''Access key name. Must be unique within the user.
|
|
409
409
|
|
|
410
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
410
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#name ManagedObjectStorageUserAccessKey#name}
|
|
411
411
|
'''
|
|
412
412
|
result = self._values.get("name")
|
|
413
413
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -417,7 +417,7 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
417
417
|
def service_uuid(self) -> builtins.str:
|
|
418
418
|
'''Managed Object Storage service UUID.
|
|
419
419
|
|
|
420
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
420
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
421
421
|
'''
|
|
422
422
|
result = self._values.get("service_uuid")
|
|
423
423
|
assert result is not None, "Required property 'service_uuid' is missing"
|
|
@@ -427,7 +427,7 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
427
427
|
def username(self) -> builtins.str:
|
|
428
428
|
'''Username.
|
|
429
429
|
|
|
430
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
430
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
431
431
|
'''
|
|
432
432
|
result = self._values.get("username")
|
|
433
433
|
assert result is not None, "Required property 'username' is missing"
|
|
@@ -435,7 +435,7 @@ class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArgum
|
|
|
435
435
|
|
|
436
436
|
@builtins.property
|
|
437
437
|
def id(self) -> typing.Optional[builtins.str]:
|
|
438
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
438
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#id}.
|
|
439
439
|
|
|
440
440
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
441
441
|
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
|
# `upcloud_network`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Network(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.network.Network",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network upcloud_network}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class Network(
|
|
|
46
46
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
47
|
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,
|
|
48
48
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network upcloud_network} Resource.
|
|
50
50
|
|
|
51
51
|
:param scope: The scope in which to define this construct.
|
|
52
52
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
54
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
55
|
-
:param zone: The zone the network is in, 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/4.
|
|
56
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
57
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
53
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#ip_network Network#ip_network}
|
|
54
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#name Network#name}
|
|
55
|
+
:param zone: The zone the network is in, 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/4.1.0/docs/resources/network#zone Network#zone}
|
|
56
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#id Network#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.
|
|
57
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#router Network#router}
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class Network(
|
|
|
97
97
|
|
|
98
98
|
:param scope: The scope in which to define this construct.
|
|
99
99
|
:param import_to_id: The construct id used in the generated config for the Network to import.
|
|
100
|
-
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
100
|
+
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#import import section} in the documentation of this resource for the id to use
|
|
101
101
|
:param provider: ? Optional instance of the provider where the Network to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -121,13 +121,13 @@ class Network(
|
|
|
121
121
|
gateway: typing.Optional[builtins.str] = None,
|
|
122
122
|
) -> None:
|
|
123
123
|
'''
|
|
124
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
125
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
126
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
127
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
128
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
129
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
130
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
124
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#address Network#address}
|
|
125
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp Network#dhcp}
|
|
126
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#family Network#family}
|
|
127
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
128
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
129
|
+
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
130
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#gateway Network#gateway}
|
|
131
131
|
'''
|
|
132
132
|
value = NetworkIpNetwork(
|
|
133
133
|
address=address,
|
|
@@ -289,11 +289,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
289
289
|
:param lifecycle:
|
|
290
290
|
:param provider:
|
|
291
291
|
:param provisioners:
|
|
292
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
293
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
294
|
-
:param zone: The zone the network is in, 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/4.
|
|
295
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
296
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
292
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#ip_network Network#ip_network}
|
|
293
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#name Network#name}
|
|
294
|
+
:param zone: The zone the network is in, 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/4.1.0/docs/resources/network#zone Network#zone}
|
|
295
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#id Network#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.
|
|
296
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#router Network#router}
|
|
297
297
|
'''
|
|
298
298
|
if isinstance(lifecycle, dict):
|
|
299
299
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -405,7 +405,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
405
405
|
def ip_network(self) -> "NetworkIpNetwork":
|
|
406
406
|
'''ip_network block.
|
|
407
407
|
|
|
408
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
408
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#ip_network Network#ip_network}
|
|
409
409
|
'''
|
|
410
410
|
result = self._values.get("ip_network")
|
|
411
411
|
assert result is not None, "Required property 'ip_network' is missing"
|
|
@@ -415,7 +415,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
415
415
|
def name(self) -> builtins.str:
|
|
416
416
|
'''A valid name for the network.
|
|
417
417
|
|
|
418
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
418
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#name Network#name}
|
|
419
419
|
'''
|
|
420
420
|
result = self._values.get("name")
|
|
421
421
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -425,7 +425,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
425
425
|
def zone(self) -> builtins.str:
|
|
426
426
|
'''The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
427
427
|
|
|
428
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
428
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#zone Network#zone}
|
|
429
429
|
'''
|
|
430
430
|
result = self._values.get("zone")
|
|
431
431
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -433,7 +433,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
433
433
|
|
|
434
434
|
@builtins.property
|
|
435
435
|
def id(self) -> typing.Optional[builtins.str]:
|
|
436
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
436
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#id Network#id}.
|
|
437
437
|
|
|
438
438
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
439
439
|
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.
|
|
@@ -445,7 +445,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
445
445
|
def router(self) -> typing.Optional[builtins.str]:
|
|
446
446
|
'''The UUID of a router.
|
|
447
447
|
|
|
448
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
448
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#router Network#router}
|
|
449
449
|
'''
|
|
450
450
|
result = self._values.get("router")
|
|
451
451
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -488,13 +488,13 @@ class NetworkIpNetwork:
|
|
|
488
488
|
gateway: typing.Optional[builtins.str] = None,
|
|
489
489
|
) -> None:
|
|
490
490
|
'''
|
|
491
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
492
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
493
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
494
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
495
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
496
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
497
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
491
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#address Network#address}
|
|
492
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp Network#dhcp}
|
|
493
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#family Network#family}
|
|
494
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
495
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
496
|
+
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
497
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#gateway Network#gateway}
|
|
498
498
|
'''
|
|
499
499
|
if __debug__:
|
|
500
500
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -523,7 +523,7 @@ class NetworkIpNetwork:
|
|
|
523
523
|
def address(self) -> builtins.str:
|
|
524
524
|
'''The CIDR range of the subnet.
|
|
525
525
|
|
|
526
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
526
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#address Network#address}
|
|
527
527
|
'''
|
|
528
528
|
result = self._values.get("address")
|
|
529
529
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -533,7 +533,7 @@ class NetworkIpNetwork:
|
|
|
533
533
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
534
534
|
'''Is DHCP enabled?
|
|
535
535
|
|
|
536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
536
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp Network#dhcp}
|
|
537
537
|
'''
|
|
538
538
|
result = self._values.get("dhcp")
|
|
539
539
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -543,7 +543,7 @@ class NetworkIpNetwork:
|
|
|
543
543
|
def family(self) -> builtins.str:
|
|
544
544
|
'''IP address family.
|
|
545
545
|
|
|
546
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
546
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#family Network#family}
|
|
547
547
|
'''
|
|
548
548
|
result = self._values.get("family")
|
|
549
549
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -555,7 +555,7 @@ class NetworkIpNetwork:
|
|
|
555
555
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
556
556
|
'''Is the gateway the DHCP default route?
|
|
557
557
|
|
|
558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
558
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
559
559
|
'''
|
|
560
560
|
result = self._values.get("dhcp_default_route")
|
|
561
561
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -564,7 +564,7 @@ class NetworkIpNetwork:
|
|
|
564
564
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
565
565
|
'''The DNS servers given by DHCP.
|
|
566
566
|
|
|
567
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
567
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
568
568
|
'''
|
|
569
569
|
result = self._values.get("dhcp_dns")
|
|
570
570
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -573,7 +573,7 @@ class NetworkIpNetwork:
|
|
|
573
573
|
def dhcp_routes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
574
574
|
'''The additional DHCP classless static routes given by DHCP.
|
|
575
575
|
|
|
576
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
576
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
577
577
|
'''
|
|
578
578
|
result = self._values.get("dhcp_routes")
|
|
579
579
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -582,7 +582,7 @@ class NetworkIpNetwork:
|
|
|
582
582
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
583
583
|
'''Gateway address given by DHCP.
|
|
584
584
|
|
|
585
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
585
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/network#gateway Network#gateway}
|
|
586
586
|
'''
|
|
587
587
|
result = self._values.get("gateway")
|
|
588
588
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -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/4.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class ObjectStorage(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage upcloud_object_storage}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -49,18 +49,18 @@ class ObjectStorage(
|
|
|
49
49
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
50
|
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,
|
|
51
51
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
52
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
53
53
|
|
|
54
54
|
:param scope: The scope in which to define this construct.
|
|
55
55
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
56
|
-
: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/4.
|
|
57
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
58
|
-
: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/4.
|
|
59
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
60
|
-
: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/4.
|
|
61
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
62
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
63
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
56
|
+
: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/4.1.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
57
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
58
|
+
: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/4.1.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
59
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
60
|
+
: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/4.1.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
61
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
62
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
63
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
|
|
64
64
|
:param connection:
|
|
65
65
|
:param count:
|
|
66
66
|
:param depends_on:
|
|
@@ -106,7 +106,7 @@ class ObjectStorage(
|
|
|
106
106
|
|
|
107
107
|
:param scope: The scope in which to define this construct.
|
|
108
108
|
:param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
|
|
109
|
-
: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/4.
|
|
109
|
+
: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/4.1.0/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
|
|
110
110
|
:param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
@@ -315,7 +315,7 @@ class ObjectStorage(
|
|
|
315
315
|
class ObjectStorageBucket:
|
|
316
316
|
def __init__(self, *, name: builtins.str) -> None:
|
|
317
317
|
'''
|
|
318
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
318
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
319
319
|
'''
|
|
320
320
|
if __debug__:
|
|
321
321
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -328,7 +328,7 @@ class ObjectStorageBucket:
|
|
|
328
328
|
def name(self) -> builtins.str:
|
|
329
329
|
'''The name of the bucket.
|
|
330
330
|
|
|
331
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
331
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
332
332
|
'''
|
|
333
333
|
result = self._values.get("name")
|
|
334
334
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -546,14 +546,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
546
546
|
:param lifecycle:
|
|
547
547
|
:param provider:
|
|
548
548
|
:param provisioners:
|
|
549
|
-
: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/4.
|
|
550
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
551
|
-
: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/4.
|
|
552
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
553
|
-
: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/4.
|
|
554
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
555
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
556
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
549
|
+
: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/4.1.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
550
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
551
|
+
: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/4.1.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
552
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
553
|
+
: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/4.1.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
554
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
555
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
556
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
|
|
557
557
|
'''
|
|
558
558
|
if isinstance(lifecycle, dict):
|
|
559
559
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -676,7 +676,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
676
676
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
677
677
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
678
678
|
|
|
679
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
679
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
680
680
|
'''
|
|
681
681
|
result = self._values.get("access_key")
|
|
682
682
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -686,7 +686,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
686
686
|
def name(self) -> builtins.str:
|
|
687
687
|
'''The name of the object storage instance to be created.
|
|
688
688
|
|
|
689
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
689
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#name ObjectStorage#name}
|
|
690
690
|
'''
|
|
691
691
|
result = self._values.get("name")
|
|
692
692
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -702,7 +702,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
702
702
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
703
703
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
704
704
|
|
|
705
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
705
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
706
706
|
'''
|
|
707
707
|
result = self._values.get("secret_key")
|
|
708
708
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -712,7 +712,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
712
712
|
def size(self) -> jsii.Number:
|
|
713
713
|
'''The size of the object storage instance in gigabytes.
|
|
714
714
|
|
|
715
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
715
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#size ObjectStorage#size}
|
|
716
716
|
'''
|
|
717
717
|
result = self._values.get("size")
|
|
718
718
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -722,7 +722,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
722
722
|
def zone(self) -> builtins.str:
|
|
723
723
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
724
724
|
|
|
725
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
725
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
726
726
|
'''
|
|
727
727
|
result = self._values.get("zone")
|
|
728
728
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -734,7 +734,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
734
734
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
735
735
|
'''bucket block.
|
|
736
736
|
|
|
737
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
737
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
738
738
|
'''
|
|
739
739
|
result = self._values.get("bucket")
|
|
740
740
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -743,14 +743,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
743
743
|
def description(self) -> typing.Optional[builtins.str]:
|
|
744
744
|
'''The description of the object storage instance to be created.
|
|
745
745
|
|
|
746
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
746
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#description ObjectStorage#description}
|
|
747
747
|
'''
|
|
748
748
|
result = self._values.get("description")
|
|
749
749
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
750
750
|
|
|
751
751
|
@builtins.property
|
|
752
752
|
def id(self) -> typing.Optional[builtins.str]:
|
|
753
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.
|
|
753
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/object_storage#id ObjectStorage#id}.
|
|
754
754
|
|
|
755
755
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
756
756
|
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.
|