cdktf-cdktf-provider-upcloud 11.0.3__py3-none-any.whl → 11.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@11.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 +28 -28
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +36 -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 +165 -165
- 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 +292 -292
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +100 -100
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +73 -30
- 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 +141 -141
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/storage/__init__.py +55 -55
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-11.1.0.dist-info/RECORD +54 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.3.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-11.0.3.dist-info/RECORD +0 -54
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-11.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_server_group`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class ServerGroup(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.serverGroup.ServerGroup",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group upcloud_server_group}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -46,15 +46,15 @@ class ServerGroup(
|
|
|
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/3.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group upcloud_server_group} 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 title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
54
|
-
: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/3.
|
|
55
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
56
|
-
:param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
57
|
-
:param members: UUIDs of the servers that are members of this group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
53
|
+
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#title ServerGroup#title}
|
|
54
|
+
: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/3.3.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
55
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#id ServerGroup#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
56
|
+
:param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#labels ServerGroup#labels}
|
|
57
|
+
:param members: UUIDs of the servers that are members of this group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#members ServerGroup#members}
|
|
58
58
|
:param connection:
|
|
59
59
|
:param count:
|
|
60
60
|
:param depends_on:
|
|
@@ -97,7 +97,7 @@ class ServerGroup(
|
|
|
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 ServerGroup to import.
|
|
100
|
-
: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/3.
|
|
100
|
+
: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/3.3.0/docs/resources/server_group#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 ServerGroup to import is found.
|
|
102
102
|
'''
|
|
103
103
|
if __debug__:
|
|
@@ -264,11 +264,11 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
264
264
|
:param lifecycle:
|
|
265
265
|
:param provider:
|
|
266
266
|
:param provisioners:
|
|
267
|
-
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
268
|
-
: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/3.
|
|
269
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
270
|
-
:param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
271
|
-
:param members: UUIDs of the servers that are members of this group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
267
|
+
:param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#title ServerGroup#title}
|
|
268
|
+
: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/3.3.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
269
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#id ServerGroup#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.
|
|
270
|
+
:param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#labels ServerGroup#labels}
|
|
271
|
+
:param members: UUIDs of the servers that are members of this group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#members ServerGroup#members}
|
|
272
272
|
'''
|
|
273
273
|
if isinstance(lifecycle, dict):
|
|
274
274
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -380,7 +380,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
380
380
|
def title(self) -> builtins.str:
|
|
381
381
|
'''Title of your server group.
|
|
382
382
|
|
|
383
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
383
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#title ServerGroup#title}
|
|
384
384
|
'''
|
|
385
385
|
result = self._values.get("title")
|
|
386
386
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -404,14 +404,14 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
404
404
|
policies in server group are not met, you need to manually restart the servers in said group,
|
|
405
405
|
for example via API, UpCloud Control Panel or upctl (UpCloud CLI)
|
|
406
406
|
|
|
407
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
407
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
|
|
408
408
|
'''
|
|
409
409
|
result = self._values.get("anti_affinity_policy")
|
|
410
410
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
411
411
|
|
|
412
412
|
@builtins.property
|
|
413
413
|
def id(self) -> typing.Optional[builtins.str]:
|
|
414
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
414
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#id ServerGroup#id}.
|
|
415
415
|
|
|
416
416
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
417
417
|
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.
|
|
@@ -423,7 +423,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
423
423
|
def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
424
424
|
'''Key-value pairs to classify the server group.
|
|
425
425
|
|
|
426
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
426
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#labels ServerGroup#labels}
|
|
427
427
|
'''
|
|
428
428
|
result = self._values.get("labels")
|
|
429
429
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
@@ -432,7 +432,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
432
432
|
def members(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
433
433
|
'''UUIDs of the servers that are members of this group.
|
|
434
434
|
|
|
435
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
435
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#members ServerGroup#members}
|
|
436
436
|
'''
|
|
437
437
|
result = self._values.get("members")
|
|
438
438
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_storage`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Storage(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.storage.Storage",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage upcloud_storage}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -51,20 +51,20 @@ class Storage(
|
|
|
51
51
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
52
52
|
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,
|
|
53
53
|
) -> None:
|
|
54
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
54
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage upcloud_storage} Resource.
|
|
55
55
|
|
|
56
56
|
:param scope: The scope in which to define this construct.
|
|
57
57
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
58
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
59
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
60
|
-
:param zone: The zone in which the storage 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/3.
|
|
61
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
62
|
-
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
63
|
-
: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/3.
|
|
64
|
-
: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/3.
|
|
65
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
66
|
-
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
67
|
-
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
58
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#size Storage#size}
|
|
59
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#title Storage#title}
|
|
60
|
+
:param zone: The zone in which the storage 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/3.3.0/docs/resources/storage#zone Storage#zone}
|
|
61
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
62
|
+
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#clone Storage#clone}
|
|
63
|
+
: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/3.3.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
64
|
+
: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/3.3.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
65
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
66
|
+
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#import Storage#import}
|
|
67
|
+
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#tier Storage#tier}
|
|
68
68
|
:param connection:
|
|
69
69
|
:param count:
|
|
70
70
|
:param depends_on:
|
|
@@ -112,7 +112,7 @@ class Storage(
|
|
|
112
112
|
|
|
113
113
|
:param scope: The scope in which to define this construct.
|
|
114
114
|
:param import_to_id: The construct id used in the generated config for the Storage to import.
|
|
115
|
-
: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/3.
|
|
115
|
+
: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/3.3.0/docs/resources/storage#import import section} in the documentation of this resource for the id to use
|
|
116
116
|
:param provider: ? Optional instance of the provider where the Storage to import is found.
|
|
117
117
|
'''
|
|
118
118
|
if __debug__:
|
|
@@ -132,9 +132,9 @@ class Storage(
|
|
|
132
132
|
time: builtins.str,
|
|
133
133
|
) -> None:
|
|
134
134
|
'''
|
|
135
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
136
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
137
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
135
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#interval Storage#interval}
|
|
136
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#retention Storage#retention}
|
|
137
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#time Storage#time}
|
|
138
138
|
'''
|
|
139
139
|
value = StorageBackupRule(interval=interval, retention=retention, time=time)
|
|
140
140
|
|
|
@@ -143,7 +143,7 @@ class Storage(
|
|
|
143
143
|
@jsii.member(jsii_name="putClone")
|
|
144
144
|
def put_clone(self, *, id: builtins.str) -> None:
|
|
145
145
|
'''
|
|
146
|
-
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
146
|
+
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
147
147
|
'''
|
|
148
148
|
value = StorageClone(id=id)
|
|
149
149
|
|
|
@@ -158,9 +158,9 @@ class Storage(
|
|
|
158
158
|
source_hash: typing.Optional[builtins.str] = None,
|
|
159
159
|
) -> None:
|
|
160
160
|
'''
|
|
161
|
-
: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/3.
|
|
162
|
-
:param source_location: The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
163
|
-
:param source_hash: For ``direct_upload``; an optional hash of the file to upload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
161
|
+
: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/3.3.0/docs/resources/storage#source Storage#source}
|
|
162
|
+
:param source_location: The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_location Storage#source_location}
|
|
163
|
+
:param source_hash: For ``direct_upload``; an optional hash of the file to upload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_hash Storage#source_hash}
|
|
164
164
|
'''
|
|
165
165
|
value = StorageImport(
|
|
166
166
|
source=source, source_location=source_location, source_hash=source_hash
|
|
@@ -383,9 +383,9 @@ class StorageBackupRule:
|
|
|
383
383
|
time: builtins.str,
|
|
384
384
|
) -> None:
|
|
385
385
|
'''
|
|
386
|
-
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
387
|
-
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
388
|
-
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
386
|
+
:param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#interval Storage#interval}
|
|
387
|
+
:param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#retention Storage#retention}
|
|
388
|
+
:param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#time Storage#time}
|
|
389
389
|
'''
|
|
390
390
|
if __debug__:
|
|
391
391
|
type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
|
|
@@ -402,7 +402,7 @@ class StorageBackupRule:
|
|
|
402
402
|
def interval(self) -> builtins.str:
|
|
403
403
|
'''The weekday when the backup is created.
|
|
404
404
|
|
|
405
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
405
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#interval Storage#interval}
|
|
406
406
|
'''
|
|
407
407
|
result = self._values.get("interval")
|
|
408
408
|
assert result is not None, "Required property 'interval' is missing"
|
|
@@ -412,7 +412,7 @@ class StorageBackupRule:
|
|
|
412
412
|
def retention(self) -> jsii.Number:
|
|
413
413
|
'''The number of days before a backup is automatically deleted.
|
|
414
414
|
|
|
415
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
415
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#retention Storage#retention}
|
|
416
416
|
'''
|
|
417
417
|
result = self._values.get("retention")
|
|
418
418
|
assert result is not None, "Required property 'retention' is missing"
|
|
@@ -422,7 +422,7 @@ class StorageBackupRule:
|
|
|
422
422
|
def time(self) -> builtins.str:
|
|
423
423
|
'''The time of day when the backup is created.
|
|
424
424
|
|
|
425
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
425
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#time Storage#time}
|
|
426
426
|
'''
|
|
427
427
|
result = self._values.get("time")
|
|
428
428
|
assert result is not None, "Required property 'time' is missing"
|
|
@@ -532,7 +532,7 @@ class StorageBackupRuleOutputReference(
|
|
|
532
532
|
class StorageClone:
|
|
533
533
|
def __init__(self, *, id: builtins.str) -> None:
|
|
534
534
|
'''
|
|
535
|
-
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
535
|
+
:param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
536
536
|
'''
|
|
537
537
|
if __debug__:
|
|
538
538
|
type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
|
|
@@ -545,7 +545,7 @@ class StorageClone:
|
|
|
545
545
|
def id(self) -> builtins.str:
|
|
546
546
|
'''The unique identifier of the storage/template to clone.
|
|
547
547
|
|
|
548
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
548
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#id Storage#id}
|
|
549
549
|
|
|
550
550
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
551
551
|
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.
|
|
@@ -669,16 +669,16 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
669
669
|
:param lifecycle:
|
|
670
670
|
:param provider:
|
|
671
671
|
:param provisioners:
|
|
672
|
-
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
673
|
-
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
674
|
-
:param zone: The zone in which the storage 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/3.
|
|
675
|
-
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
676
|
-
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
677
|
-
: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/3.
|
|
678
|
-
: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/3.
|
|
679
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
680
|
-
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
681
|
-
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
672
|
+
:param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#size Storage#size}
|
|
673
|
+
:param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#title Storage#title}
|
|
674
|
+
:param zone: The zone in which the storage 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/3.3.0/docs/resources/storage#zone Storage#zone}
|
|
675
|
+
:param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
676
|
+
:param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#clone Storage#clone}
|
|
677
|
+
: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/3.3.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
678
|
+
: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/3.3.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
679
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/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.
|
|
680
|
+
:param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#import Storage#import}
|
|
681
|
+
:param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#tier Storage#tier}
|
|
682
682
|
'''
|
|
683
683
|
if isinstance(lifecycle, dict):
|
|
684
684
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -809,7 +809,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
809
809
|
def size(self) -> jsii.Number:
|
|
810
810
|
'''The size of the storage in gigabytes.
|
|
811
811
|
|
|
812
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
812
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#size Storage#size}
|
|
813
813
|
'''
|
|
814
814
|
result = self._values.get("size")
|
|
815
815
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -819,7 +819,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
819
819
|
def title(self) -> builtins.str:
|
|
820
820
|
'''A short, informative description.
|
|
821
821
|
|
|
822
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
822
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#title Storage#title}
|
|
823
823
|
'''
|
|
824
824
|
result = self._values.get("title")
|
|
825
825
|
assert result is not None, "Required property 'title' is missing"
|
|
@@ -829,7 +829,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
829
829
|
def zone(self) -> builtins.str:
|
|
830
830
|
'''The zone in which the storage will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
831
831
|
|
|
832
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
832
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#zone Storage#zone}
|
|
833
833
|
'''
|
|
834
834
|
result = self._values.get("zone")
|
|
835
835
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -839,7 +839,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
839
839
|
def backup_rule(self) -> typing.Optional[StorageBackupRule]:
|
|
840
840
|
'''backup_rule block.
|
|
841
841
|
|
|
842
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
842
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#backup_rule Storage#backup_rule}
|
|
843
843
|
'''
|
|
844
844
|
result = self._values.get("backup_rule")
|
|
845
845
|
return typing.cast(typing.Optional[StorageBackupRule], result)
|
|
@@ -848,7 +848,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
848
848
|
def clone(self) -> typing.Optional[StorageClone]:
|
|
849
849
|
'''clone block.
|
|
850
850
|
|
|
851
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
851
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#clone Storage#clone}
|
|
852
852
|
'''
|
|
853
853
|
result = self._values.get("clone")
|
|
854
854
|
return typing.cast(typing.Optional[StorageClone], result)
|
|
@@ -859,7 +859,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
859
859
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
860
860
|
'''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
|
|
861
861
|
|
|
862
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
862
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
|
|
863
863
|
'''
|
|
864
864
|
result = self._values.get("delete_autoresize_backup")
|
|
865
865
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -874,14 +874,14 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
874
874
|
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).
|
|
875
875
|
Taking and keeping backups incure costs.
|
|
876
876
|
|
|
877
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
877
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
|
|
878
878
|
'''
|
|
879
879
|
result = self._values.get("filesystem_autoresize")
|
|
880
880
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
881
881
|
|
|
882
882
|
@builtins.property
|
|
883
883
|
def id(self) -> typing.Optional[builtins.str]:
|
|
884
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
884
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#id Storage#id}.
|
|
885
885
|
|
|
886
886
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
887
887
|
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.
|
|
@@ -893,7 +893,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
893
893
|
def import_(self) -> typing.Optional["StorageImport"]:
|
|
894
894
|
'''import block.
|
|
895
895
|
|
|
896
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
896
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#import Storage#import}
|
|
897
897
|
'''
|
|
898
898
|
result = self._values.get("import_")
|
|
899
899
|
return typing.cast(typing.Optional["StorageImport"], result)
|
|
@@ -902,7 +902,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
902
902
|
def tier(self) -> typing.Optional[builtins.str]:
|
|
903
903
|
'''The storage tier to use.
|
|
904
904
|
|
|
905
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
905
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#tier Storage#tier}
|
|
906
906
|
'''
|
|
907
907
|
result = self._values.get("tier")
|
|
908
908
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -937,9 +937,9 @@ class StorageImport:
|
|
|
937
937
|
source_hash: typing.Optional[builtins.str] = None,
|
|
938
938
|
) -> None:
|
|
939
939
|
'''
|
|
940
|
-
: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/3.
|
|
941
|
-
:param source_location: The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
942
|
-
:param source_hash: For ``direct_upload``; an optional hash of the file to upload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
940
|
+
: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/3.3.0/docs/resources/storage#source Storage#source}
|
|
941
|
+
:param source_location: The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_location Storage#source_location}
|
|
942
|
+
:param source_hash: For ``direct_upload``; an optional hash of the file to upload. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_hash Storage#source_hash}
|
|
943
943
|
'''
|
|
944
944
|
if __debug__:
|
|
945
945
|
type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
|
|
@@ -957,7 +957,7 @@ class StorageImport:
|
|
|
957
957
|
def source(self) -> builtins.str:
|
|
958
958
|
'''The mode of the import task. One of ``http_import`` or ``direct_upload``.
|
|
959
959
|
|
|
960
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
960
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source Storage#source}
|
|
961
961
|
'''
|
|
962
962
|
result = self._values.get("source")
|
|
963
963
|
assert result is not None, "Required property 'source' is missing"
|
|
@@ -967,7 +967,7 @@ class StorageImport:
|
|
|
967
967
|
def source_location(self) -> builtins.str:
|
|
968
968
|
'''The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file.
|
|
969
969
|
|
|
970
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
970
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_location Storage#source_location}
|
|
971
971
|
'''
|
|
972
972
|
result = self._values.get("source_location")
|
|
973
973
|
assert result is not None, "Required property 'source_location' is missing"
|
|
@@ -977,7 +977,7 @@ class StorageImport:
|
|
|
977
977
|
def source_hash(self) -> typing.Optional[builtins.str]:
|
|
978
978
|
'''For ``direct_upload``; an optional hash of the file to upload.
|
|
979
979
|
|
|
980
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
980
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_hash Storage#source_hash}
|
|
981
981
|
'''
|
|
982
982
|
result = self._values.get("source_hash")
|
|
983
983
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_tag`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registory for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
4
|
+
Refer to the Terraform Registory for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag).
|
|
5
5
|
'''
|
|
6
6
|
import abc
|
|
7
7
|
import builtins
|
|
@@ -26,7 +26,7 @@ class Tag(
|
|
|
26
26
|
metaclass=jsii.JSIIMeta,
|
|
27
27
|
jsii_type="@cdktf/provider-upcloud.tag.Tag",
|
|
28
28
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
29
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag upcloud_tag}.'''
|
|
30
30
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
@@ -45,14 +45,14 @@ class Tag(
|
|
|
45
45
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
46
|
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,
|
|
47
47
|
) -> None:
|
|
48
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
48
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag upcloud_tag} Resource.
|
|
49
49
|
|
|
50
50
|
:param scope: The scope in which to define this construct.
|
|
51
51
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
-
:param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
53
|
-
:param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
54
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
55
|
-
:param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
52
|
+
:param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#name Tag#name}
|
|
53
|
+
:param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#description Tag#description}
|
|
54
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#id Tag#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.
|
|
55
|
+
:param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#servers Tag#servers}
|
|
56
56
|
:param connection:
|
|
57
57
|
:param count:
|
|
58
58
|
:param depends_on:
|
|
@@ -94,7 +94,7 @@ class Tag(
|
|
|
94
94
|
|
|
95
95
|
:param scope: The scope in which to define this construct.
|
|
96
96
|
:param import_to_id: The construct id used in the generated config for the Tag to import.
|
|
97
|
-
:param import_from_id: The id of the existing Tag that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
97
|
+
:param import_from_id: The id of the existing Tag that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#import import section} in the documentation of this resource for the id to use
|
|
98
98
|
:param provider: ? Optional instance of the provider where the Tag to import is found.
|
|
99
99
|
'''
|
|
100
100
|
if __debug__:
|
|
@@ -236,10 +236,10 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
236
236
|
:param lifecycle:
|
|
237
237
|
:param provider:
|
|
238
238
|
:param provisioners:
|
|
239
|
-
:param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
240
|
-
:param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
241
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
242
|
-
:param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
239
|
+
:param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#name Tag#name}
|
|
240
|
+
:param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#description Tag#description}
|
|
241
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#id Tag#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.
|
|
242
|
+
:param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#servers Tag#servers}
|
|
243
243
|
'''
|
|
244
244
|
if isinstance(lifecycle, dict):
|
|
245
245
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -348,7 +348,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
348
348
|
def name(self) -> builtins.str:
|
|
349
349
|
'''The value representing the tag.
|
|
350
350
|
|
|
351
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
351
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#name Tag#name}
|
|
352
352
|
'''
|
|
353
353
|
result = self._values.get("name")
|
|
354
354
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -358,14 +358,14 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
358
358
|
def description(self) -> typing.Optional[builtins.str]:
|
|
359
359
|
'''Free form text representing the meaning of the tag.
|
|
360
360
|
|
|
361
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#description Tag#description}
|
|
362
362
|
'''
|
|
363
363
|
result = self._values.get("description")
|
|
364
364
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
365
365
|
|
|
366
366
|
@builtins.property
|
|
367
367
|
def id(self) -> typing.Optional[builtins.str]:
|
|
368
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
368
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#id Tag#id}.
|
|
369
369
|
|
|
370
370
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
371
371
|
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.
|
|
@@ -377,7 +377,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
377
377
|
def servers(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
378
378
|
'''A collection of servers that have been assigned the tag.
|
|
379
379
|
|
|
380
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.
|
|
380
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#servers Tag#servers}
|
|
381
381
|
'''
|
|
382
382
|
result = self._values.get("servers")
|
|
383
383
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cdktf-cdktf-provider-upcloud
|
|
3
|
-
Version: 11.0
|
|
3
|
+
Version: 11.1.0
|
|
4
4
|
Summary: Prebuilt upcloud Provider for Terraform CDK (cdktf)
|
|
5
5
|
Home-page: https://github.com/cdktf/cdktf-provider-upcloud.git
|
|
6
6
|
Author: HashiCorp
|
|
@@ -26,9 +26,9 @@ Requires-Dist: jsii <2.0.0,>=1.93.0
|
|
|
26
26
|
Requires-Dist: publication >=0.0.3
|
|
27
27
|
Requires-Dist: typeguard ~=2.13.3
|
|
28
28
|
|
|
29
|
-
# CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 3.
|
|
29
|
+
# CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 3.3.0
|
|
30
30
|
|
|
31
|
-
This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/3.
|
|
31
|
+
This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/3.3.0/docs) bindings for [CDK for Terraform](https://cdk.tf).
|
|
32
32
|
|
|
33
33
|
## Available Packages
|
|
34
34
|
|
|
@@ -87,7 +87,7 @@ This project is explicitly not tracking the Terraform upcloud provider version 1
|
|
|
87
87
|
These are the upstream dependencies:
|
|
88
88
|
|
|
89
89
|
* [CDK for Terraform](https://cdk.tf)
|
|
90
|
-
* [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/3.
|
|
90
|
+
* [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/3.3.0)
|
|
91
91
|
* [Terraform Engine](https://terraform.io)
|
|
92
92
|
|
|
93
93
|
If there are breaking changes (backward incompatible) in any of the above, the major version of this project will be bumped.
|