cdktf-cdktf-provider-upcloud 15.6.0__py3-none-any.whl → 15.6.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.6.1.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 +19 -19
- 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 +46 -46
- 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 +213 -213
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +603 -603
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +369 -369
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +135 -135
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +138 -138
- 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 +50 -50
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- 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.6.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-15.6.1.dist-info/RECORD +67 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.6.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-15.6.0.dist-info/RECORD +0 -67
- {cdktf_cdktf_provider_upcloud-15.6.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-15.6.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-15.6.0.dist-info → cdktf_cdktf_provider_upcloud-15.6.1.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_server_group`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class ServerGroup(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.serverGroup.ServerGroup",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group upcloud_server_group}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -64,15 +64,15 @@ class ServerGroup(
|
|
|
64
64
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
65
65
|
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,
|
|
66
66
|
) -> None:
|
|
67
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
67
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group upcloud_server_group} Resource.
|
|
68
68
|
|
|
69
69
|
:param scope: The scope in which to define this construct.
|
|
70
70
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
71
|
-
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
72
|
-
:param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
73
|
-
:param labels: User defined key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
74
|
-
:param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
75
|
-
:param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
71
|
+
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#title ServerGroup#title}
|
|
72
|
+
:param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
73
|
+
:param labels: User defined key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#labels ServerGroup#labels}
|
|
74
|
+
:param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#members ServerGroup#members}
|
|
75
|
+
:param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#track_members ServerGroup#track_members}
|
|
76
76
|
:param connection:
|
|
77
77
|
:param count:
|
|
78
78
|
:param depends_on:
|
|
@@ -115,7 +115,7 @@ class ServerGroup(
|
|
|
115
115
|
|
|
116
116
|
:param scope: The scope in which to define this construct.
|
|
117
117
|
:param import_to_id: The construct id used in the generated config for the ServerGroup to import.
|
|
118
|
-
:param import_from_id: The id of the existing ServerGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
118
|
+
:param import_from_id: The id of the existing ServerGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
|
|
119
119
|
:param provider: ? Optional instance of the provider where the ServerGroup to import is found.
|
|
120
120
|
'''
|
|
121
121
|
if __debug__:
|
|
@@ -296,11 +296,11 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
296
296
|
:param lifecycle:
|
|
297
297
|
:param provider:
|
|
298
298
|
:param provisioners:
|
|
299
|
-
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
300
|
-
:param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
301
|
-
:param labels: User defined key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
302
|
-
:param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
303
|
-
:param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
299
|
+
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#title ServerGroup#title}
|
|
300
|
+
:param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
301
|
+
:param labels: User defined key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#labels ServerGroup#labels}
|
|
302
|
+
:param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#members ServerGroup#members}
|
|
303
|
+
:param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#track_members ServerGroup#track_members}
|
|
304
304
|
'''
|
|
305
305
|
if isinstance(lifecycle, dict):
|
|
306
306
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -412,7 +412,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
412
412
|
def title(self) -> builtins.str:
|
|
413
413
|
'''Title of your server group.
|
|
414
414
|
|
|
415
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
415
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#title ServerGroup#title}
|
|
416
416
|
'''
|
|
417
417
|
result = self._values.get("title")
|
|
418
418
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -436,7 +436,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
436
436
|
policies in server group are not met, you need to manually restart the servers in said group,
|
|
437
437
|
for example via API, UpCloud Control Panel or upctl (UpCloud CLI)
|
|
438
438
|
|
|
439
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
439
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
440
440
|
'''
|
|
441
441
|
result = self._values.get("anti_affinity_policy")
|
|
442
442
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -445,7 +445,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
445
445
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
446
446
|
'''User defined key-value pairs to classify the server group.
|
|
447
447
|
|
|
448
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
448
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#labels ServerGroup#labels}
|
|
449
449
|
'''
|
|
450
450
|
result = self._values.get("labels")
|
|
451
451
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -456,7 +456,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
456
456
|
|
|
457
457
|
Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property.
|
|
458
458
|
|
|
459
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
459
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#members ServerGroup#members}
|
|
460
460
|
'''
|
|
461
461
|
result = self._values.get("members")
|
|
462
462
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -469,7 +469,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
469
469
|
|
|
470
470
|
Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates.
|
|
471
471
|
|
|
472
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
472
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/server_group#track_members ServerGroup#track_members}
|
|
473
473
|
'''
|
|
474
474
|
result = self._values.get("track_members")
|
|
475
475
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_storage`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class Storage(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.storage.Storage",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage upcloud_storage}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -70,21 +70,21 @@ class Storage(
|
|
|
70
70
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
71
71
|
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,
|
|
72
72
|
) -> None:
|
|
73
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
73
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage upcloud_storage} Resource.
|
|
74
74
|
|
|
75
75
|
:param scope: The scope in which to define this construct.
|
|
76
76
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
77
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
78
|
-
:param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
79
|
-
:param zone: The zone the storage 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/5.29.
|
|
80
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
81
|
-
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
82
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
83
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
84
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless ``delete_autoresize_backup`` option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
85
|
-
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
86
|
-
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
87
|
-
:param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
77
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#size Storage#size}
|
|
78
|
+
:param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#title Storage#title}
|
|
79
|
+
:param zone: The zone the storage 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/5.29.1/docs/resources/storage#zone Storage#zone}
|
|
80
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
81
|
+
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#clone Storage#clone}
|
|
82
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
83
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#encrypt Storage#encrypt}
|
|
84
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless ``delete_autoresize_backup`` option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
85
|
+
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#import Storage#import}
|
|
86
|
+
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#labels Storage#labels}
|
|
87
|
+
:param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#tier Storage#tier}
|
|
88
88
|
:param connection:
|
|
89
89
|
:param count:
|
|
90
90
|
:param depends_on:
|
|
@@ -133,7 +133,7 @@ class Storage(
|
|
|
133
133
|
|
|
134
134
|
:param scope: The scope in which to define this construct.
|
|
135
135
|
:param import_to_id: The construct id used in the generated config for the Storage to import.
|
|
136
|
-
:param import_from_id: The id of the existing Storage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
136
|
+
:param import_from_id: The id of the existing Storage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#import import section} in the documentation of this resource for the id to use
|
|
137
137
|
:param provider: ? Optional instance of the provider where the Storage to import is found.
|
|
138
138
|
'''
|
|
139
139
|
if __debug__:
|
|
@@ -451,9 +451,9 @@ class StorageBackupRule:
|
|
|
451
451
|
time: builtins.str,
|
|
452
452
|
) -> None:
|
|
453
453
|
'''
|
|
454
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
455
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
456
|
-
:param time: The time of day (UTC) when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
454
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#interval Storage#interval}
|
|
455
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#retention Storage#retention}
|
|
456
|
+
:param time: The time of day (UTC) when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#time Storage#time}
|
|
457
457
|
'''
|
|
458
458
|
if __debug__:
|
|
459
459
|
type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
|
|
@@ -470,7 +470,7 @@ class StorageBackupRule:
|
|
|
470
470
|
def interval(self) -> builtins.str:
|
|
471
471
|
'''The weekday when the backup is created.
|
|
472
472
|
|
|
473
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
473
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#interval Storage#interval}
|
|
474
474
|
'''
|
|
475
475
|
result = self._values.get("interval")
|
|
476
476
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -480,7 +480,7 @@ class StorageBackupRule:
|
|
|
480
480
|
def retention(self) -> jsii.Number:
|
|
481
481
|
'''The number of days before a backup is automatically deleted.
|
|
482
482
|
|
|
483
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
483
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#retention Storage#retention}
|
|
484
484
|
'''
|
|
485
485
|
result = self._values.get("retention")
|
|
486
486
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -490,7 +490,7 @@ class StorageBackupRule:
|
|
|
490
490
|
def time(self) -> builtins.str:
|
|
491
491
|
'''The time of day (UTC) when the backup is created.
|
|
492
492
|
|
|
493
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
493
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#time Storage#time}
|
|
494
494
|
'''
|
|
495
495
|
result = self._values.get("time")
|
|
496
496
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -701,7 +701,7 @@ class StorageBackupRuleOutputReference(
|
|
|
701
701
|
class StorageClone:
|
|
702
702
|
def __init__(self, *, id: builtins.str) -> None:
|
|
703
703
|
'''
|
|
704
|
-
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
704
|
+
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#id Storage#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.
|
|
705
705
|
'''
|
|
706
706
|
if __debug__:
|
|
707
707
|
type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
|
|
@@ -714,7 +714,7 @@ class StorageClone:
|
|
|
714
714
|
def id(self) -> builtins.str:
|
|
715
715
|
'''The unique identifier of the storage/template to clone.
|
|
716
716
|
|
|
717
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
717
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#id Storage#id}
|
|
718
718
|
|
|
719
719
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
720
720
|
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.
|
|
@@ -941,17 +941,17 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
941
941
|
:param lifecycle:
|
|
942
942
|
:param provider:
|
|
943
943
|
:param provisioners:
|
|
944
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
945
|
-
:param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
946
|
-
:param zone: The zone the storage 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/5.29.
|
|
947
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
948
|
-
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
949
|
-
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
950
|
-
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
951
|
-
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless ``delete_autoresize_backup`` option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
952
|
-
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
953
|
-
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
954
|
-
:param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
944
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#size Storage#size}
|
|
945
|
+
:param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#title Storage#title}
|
|
946
|
+
:param zone: The zone the storage 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/5.29.1/docs/resources/storage#zone Storage#zone}
|
|
947
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
948
|
+
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#clone Storage#clone}
|
|
949
|
+
:param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
950
|
+
:param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#encrypt Storage#encrypt}
|
|
951
|
+
:param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless ``delete_autoresize_backup`` option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
952
|
+
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#import Storage#import}
|
|
953
|
+
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#labels Storage#labels}
|
|
954
|
+
:param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#tier Storage#tier}
|
|
955
955
|
'''
|
|
956
956
|
if isinstance(lifecycle, dict):
|
|
957
957
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -1079,7 +1079,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1079
1079
|
def size(self) -> jsii.Number:
|
|
1080
1080
|
'''The size of the storage in gigabytes.
|
|
1081
1081
|
|
|
1082
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1082
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#size Storage#size}
|
|
1083
1083
|
'''
|
|
1084
1084
|
result = self._values.get("size")
|
|
1085
1085
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -1089,7 +1089,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1089
1089
|
def title(self) -> builtins.str:
|
|
1090
1090
|
'''The title of the storage.
|
|
1091
1091
|
|
|
1092
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1092
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#title Storage#title}
|
|
1093
1093
|
'''
|
|
1094
1094
|
result = self._values.get("title")
|
|
1095
1095
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -1099,7 +1099,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1099
1099
|
def zone(self) -> builtins.str:
|
|
1100
1100
|
'''The zone the storage is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
1101
1101
|
|
|
1102
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1102
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#zone Storage#zone}
|
|
1103
1103
|
'''
|
|
1104
1104
|
result = self._values.get("zone")
|
|
1105
1105
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -1111,7 +1111,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1111
1111
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]]:
|
|
1112
1112
|
'''backup_rule block.
|
|
1113
1113
|
|
|
1114
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1114
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
1115
1115
|
'''
|
|
1116
1116
|
result = self._values.get("backup_rule")
|
|
1117
1117
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]], result)
|
|
@@ -1122,7 +1122,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1122
1122
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]]:
|
|
1123
1123
|
'''clone block.
|
|
1124
1124
|
|
|
1125
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1125
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#clone Storage#clone}
|
|
1126
1126
|
'''
|
|
1127
1127
|
result = self._values.get("clone")
|
|
1128
1128
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]], result)
|
|
@@ -1133,7 +1133,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1133
1133
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1134
1134
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
1135
1135
|
|
|
1136
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1136
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
1137
1137
|
'''
|
|
1138
1138
|
result = self._values.get("delete_autoresize_backup")
|
|
1139
1139
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1144,7 +1144,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1144
1144
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
1145
1145
|
'''Sets if the storage is encrypted at rest.
|
|
1146
1146
|
|
|
1147
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1147
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#encrypt Storage#encrypt}
|
|
1148
1148
|
'''
|
|
1149
1149
|
result = self._values.get("encrypt")
|
|
1150
1150
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1158,7 +1158,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1158
1158
|
Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless ``delete_autoresize_backup`` option is set to true).
|
|
1159
1159
|
Taking and keeping backups incure costs.
|
|
1160
1160
|
|
|
1161
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1161
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
1162
1162
|
'''
|
|
1163
1163
|
result = self._values.get("filesystem_autoresize")
|
|
1164
1164
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -1169,7 +1169,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1169
1169
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]]:
|
|
1170
1170
|
'''import block.
|
|
1171
1171
|
|
|
1172
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1172
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#import Storage#import}
|
|
1173
1173
|
'''
|
|
1174
1174
|
result = self._values.get("import_")
|
|
1175
1175
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]], result)
|
|
@@ -1178,7 +1178,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1178
1178
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
1179
1179
|
'''User defined key-value pairs to classify the storage.
|
|
1180
1180
|
|
|
1181
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1181
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#labels Storage#labels}
|
|
1182
1182
|
'''
|
|
1183
1183
|
result = self._values.get("labels")
|
|
1184
1184
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -1187,7 +1187,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
1187
1187
|
def tier(self) -> typing.Optional[builtins.str]:
|
|
1188
1188
|
'''The tier of the storage.
|
|
1189
1189
|
|
|
1190
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1190
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#tier Storage#tier}
|
|
1191
1191
|
'''
|
|
1192
1192
|
result = self._values.get("tier")
|
|
1193
1193
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1222,9 +1222,9 @@ class StorageImport:
|
|
|
1222
1222
|
source_hash: typing.Optional[builtins.str] = None,
|
|
1223
1223
|
) -> None:
|
|
1224
1224
|
'''
|
|
1225
|
-
:param source: The mode of the import task. One of ``http_import`` or ``direct_upload``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1226
|
-
:param source_location: The location of the file to import. For ``http_import`` an accessible URL. For ``direct_upload`` a local file. When direct uploading a compressed image, ``Content-Type`` header of the PUT request is set automatically based on the file extension (``.gz`` or ``.xz``, case-insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1227
|
-
:param source_hash: SHA256 hash of the source content. This hash is used to verify the integrity of the imported data by comparing it to ``sha256sum`` after the import has completed. Possible filename is automatically removed from the hash before comparison. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1225
|
+
:param source: The mode of the import task. One of ``http_import`` or ``direct_upload``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source Storage#source}
|
|
1226
|
+
:param source_location: The location of the file to import. For ``http_import`` an accessible URL. For ``direct_upload`` a local file. When direct uploading a compressed image, ``Content-Type`` header of the PUT request is set automatically based on the file extension (``.gz`` or ``.xz``, case-insensitive). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source_location Storage#source_location}
|
|
1227
|
+
:param source_hash: SHA256 hash of the source content. This hash is used to verify the integrity of the imported data by comparing it to ``sha256sum`` after the import has completed. Possible filename is automatically removed from the hash before comparison. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source_hash Storage#source_hash}
|
|
1228
1228
|
'''
|
|
1229
1229
|
if __debug__:
|
|
1230
1230
|
type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
|
|
@@ -1242,7 +1242,7 @@ class StorageImport:
|
|
|
1242
1242
|
def source(self) -> builtins.str:
|
|
1243
1243
|
'''The mode of the import task. One of ``http_import`` or ``direct_upload``.
|
|
1244
1244
|
|
|
1245
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1245
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source Storage#source}
|
|
1246
1246
|
'''
|
|
1247
1247
|
result = self._values.get("source")
|
|
1248
1248
|
assert result is not None, "Required property 'source' is missing"
|
|
@@ -1254,7 +1254,7 @@ class StorageImport:
|
|
|
1254
1254
|
|
|
1255
1255
|
For ``http_import`` an accessible URL. For ``direct_upload`` a local file. When direct uploading a compressed image, ``Content-Type`` header of the PUT request is set automatically based on the file extension (``.gz`` or ``.xz``, case-insensitive).
|
|
1256
1256
|
|
|
1257
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1257
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source_location Storage#source_location}
|
|
1258
1258
|
'''
|
|
1259
1259
|
result = self._values.get("source_location")
|
|
1260
1260
|
assert result is not None, "Required property 'source_location' is missing"
|
|
@@ -1266,7 +1266,7 @@ class StorageImport:
|
|
|
1266
1266
|
|
|
1267
1267
|
This hash is used to verify the integrity of the imported data by comparing it to ``sha256sum`` after the import has completed. Possible filename is automatically removed from the hash before comparison.
|
|
1268
1268
|
|
|
1269
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
1269
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage#source_hash Storage#source_hash}
|
|
1270
1270
|
'''
|
|
1271
1271
|
result = self._values.get("source_hash")
|
|
1272
1272
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `upcloud_storage_backup`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_storage_backup`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_storage_backup`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -44,7 +44,7 @@ class StorageBackup(
|
|
|
44
44
|
metaclass=jsii.JSIIMeta,
|
|
45
45
|
jsii_type="@cdktf/provider-upcloud.storageBackup.StorageBackup",
|
|
46
46
|
):
|
|
47
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup upcloud_storage_backup}.'''
|
|
48
48
|
|
|
49
49
|
def __init__(
|
|
50
50
|
self,
|
|
@@ -62,13 +62,13 @@ class StorageBackup(
|
|
|
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.29.
|
|
65
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup upcloud_storage_backup} 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 source_storage: The UUID of the storage to back up. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
70
|
-
:param title: Title of the backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
71
|
-
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
69
|
+
:param source_storage: The UUID of the storage to back up. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#source_storage StorageBackup#source_storage}
|
|
70
|
+
:param title: Title of the backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#title StorageBackup#title}
|
|
71
|
+
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#labels StorageBackup#labels}
|
|
72
72
|
:param connection:
|
|
73
73
|
:param count:
|
|
74
74
|
:param depends_on:
|
|
@@ -109,7 +109,7 @@ class StorageBackup(
|
|
|
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 StorageBackup to import.
|
|
112
|
-
:param import_from_id: The id of the existing StorageBackup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
112
|
+
:param import_from_id: The id of the existing StorageBackup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#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 StorageBackup to import is found.
|
|
114
114
|
'''
|
|
115
115
|
if __debug__:
|
|
@@ -270,9 +270,9 @@ class StorageBackupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
270
270
|
:param lifecycle:
|
|
271
271
|
:param provider:
|
|
272
272
|
:param provisioners:
|
|
273
|
-
:param source_storage: The UUID of the storage to back up. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
274
|
-
:param title: Title of the backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
275
|
-
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
273
|
+
:param source_storage: The UUID of the storage to back up. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#source_storage StorageBackup#source_storage}
|
|
274
|
+
:param title: Title of the backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#title StorageBackup#title}
|
|
275
|
+
:param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#labels StorageBackup#labels}
|
|
276
276
|
'''
|
|
277
277
|
if isinstance(lifecycle, dict):
|
|
278
278
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -377,7 +377,7 @@ class StorageBackupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
377
377
|
def source_storage(self) -> builtins.str:
|
|
378
378
|
'''The UUID of the storage to back up.
|
|
379
379
|
|
|
380
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
380
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#source_storage StorageBackup#source_storage}
|
|
381
381
|
'''
|
|
382
382
|
result = self._values.get("source_storage")
|
|
383
383
|
assert result is not None, "Required property 'source_storage' is missing"
|
|
@@ -387,7 +387,7 @@ class StorageBackupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
387
387
|
def title(self) -> builtins.str:
|
|
388
388
|
'''Title of the backup.
|
|
389
389
|
|
|
390
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
390
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#title StorageBackup#title}
|
|
391
391
|
'''
|
|
392
392
|
result = self._values.get("title")
|
|
393
393
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -397,7 +397,7 @@ class StorageBackupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
397
397
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
398
398
|
'''User defined key-value pairs to classify the storage.
|
|
399
399
|
|
|
400
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.
|
|
400
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.29.1/docs/resources/storage_backup#labels StorageBackup#labels}
|
|
401
401
|
'''
|
|
402
402
|
result = self._values.get("labels")
|
|
403
403
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|