cdktf-cdktf-provider-upcloud 13.0.0__py3-none-any.whl → 13.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.

Files changed (55) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +3 -3
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.1.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
  12. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
  13. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
  14. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
  15. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
  16. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +10 -10
  17. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
  18. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +19 -19
  19. cdktf_cdktf_provider_upcloud/gateway/__init__.py +28 -28
  20. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +77 -28
  21. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +47 -47
  22. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +134 -36
  23. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
  24. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
  25. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
  26. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
  27. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +39 -39
  28. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
  29. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
  30. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
  31. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
  32. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
  33. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
  34. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +175 -175
  35. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +73 -73
  36. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +286 -286
  37. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +103 -103
  38. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
  39. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -33
  40. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -19
  41. cdktf_cdktf_provider_upcloud/network/__init__.py +40 -40
  42. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
  43. cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
  44. cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
  45. cdktf_cdktf_provider_upcloud/server/__init__.py +148 -148
  46. cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
  47. cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
  48. cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
  49. {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/METADATA +4 -4
  50. cdktf_cdktf_provider_upcloud-13.1.0.dist-info/RECORD +54 -0
  51. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@13.0.0.jsii.tgz +0 -0
  52. cdktf_cdktf_provider_upcloud-13.0.0.dist-info/RECORD +0 -54
  53. {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/LICENSE +0 -0
  54. {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/WHEEL +0 -0
  55. {cdktf_cdktf_provider_upcloud-13.0.0.dist-info → cdktf_cdktf_provider_upcloud-13.1.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  # `upcloud_server_group`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group).
4
+ Refer to the Terraform Registry for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.0.0/docs/resources/server_group upcloud_server_group}.'''
29
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group upcloud_server_group}.'''
30
30
 
31
31
  def __init__(
32
32
  self,
@@ -47,16 +47,16 @@ class ServerGroup(
47
47
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
48
48
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
49
49
  ) -> None:
50
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group upcloud_server_group} Resource.
50
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group upcloud_server_group} Resource.
51
51
 
52
52
  :param scope: The scope in which to define this construct.
53
53
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
54
- :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#title ServerGroup#title}
55
- :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/4.0.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
56
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
57
- :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#labels ServerGroup#labels}
58
- :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/4.0.0/docs/resources/server_group#members ServerGroup#members}
59
- :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/4.0.0/docs/resources/server_group#track_members ServerGroup#track_members}
54
+ :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#title ServerGroup#title}
55
+ :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/4.1.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
56
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
57
+ :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#labels ServerGroup#labels}
58
+ :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/4.1.0/docs/resources/server_group#members ServerGroup#members}
59
+ :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/4.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
60
60
  :param connection:
61
61
  :param count:
62
62
  :param depends_on:
@@ -100,7 +100,7 @@ class ServerGroup(
100
100
 
101
101
  :param scope: The scope in which to define this construct.
102
102
  :param import_to_id: The construct id used in the generated config for the ServerGroup to import.
103
- :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/4.0.0/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
103
+ :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/4.1.0/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
104
104
  :param provider: ? Optional instance of the provider where the ServerGroup to import is found.
105
105
  '''
106
106
  if __debug__:
@@ -299,12 +299,12 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
299
299
  :param lifecycle:
300
300
  :param provider:
301
301
  :param provisioners:
302
- :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#title ServerGroup#title}
303
- :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/4.0.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
304
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
305
- :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#labels ServerGroup#labels}
306
- :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/4.0.0/docs/resources/server_group#members ServerGroup#members}
307
- :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/4.0.0/docs/resources/server_group#track_members ServerGroup#track_members}
302
+ :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#title ServerGroup#title}
303
+ :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/4.1.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
304
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
305
+ :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#labels ServerGroup#labels}
306
+ :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/4.1.0/docs/resources/server_group#members ServerGroup#members}
307
+ :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/4.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
308
308
  '''
309
309
  if isinstance(lifecycle, dict):
310
310
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -419,7 +419,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
419
419
  def title(self) -> builtins.str:
420
420
  '''Title of your server group.
421
421
 
422
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#title ServerGroup#title}
422
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#title ServerGroup#title}
423
423
  '''
424
424
  result = self._values.get("title")
425
425
  assert result is not None, "Required property 'title' is missing"
@@ -443,14 +443,14 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
443
443
  policies in server group are not met, you need to manually restart the servers in said group,
444
444
  for example via API, UpCloud Control Panel or upctl (UpCloud CLI)
445
445
 
446
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
446
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
447
447
  '''
448
448
  result = self._values.get("anti_affinity_policy")
449
449
  return typing.cast(typing.Optional[builtins.str], result)
450
450
 
451
451
  @builtins.property
452
452
  def id(self) -> typing.Optional[builtins.str]:
453
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#id ServerGroup#id}.
453
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#id ServerGroup#id}.
454
454
 
455
455
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
456
456
  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.
@@ -462,7 +462,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
462
462
  def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
463
463
  '''Key-value pairs to classify the server group.
464
464
 
465
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#labels ServerGroup#labels}
465
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#labels ServerGroup#labels}
466
466
  '''
467
467
  result = self._values.get("labels")
468
468
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
@@ -473,7 +473,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
473
473
 
474
474
  Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property.
475
475
 
476
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#members ServerGroup#members}
476
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#members ServerGroup#members}
477
477
  '''
478
478
  result = self._values.get("members")
479
479
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
@@ -486,7 +486,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
486
486
 
487
487
  Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates.
488
488
 
489
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/server_group#track_members ServerGroup#track_members}
489
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
490
490
  '''
491
491
  result = self._values.get("track_members")
492
492
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -1,7 +1,7 @@
1
1
  '''
2
2
  # `upcloud_storage`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage).
4
+ Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.0.0/docs/resources/storage upcloud_storage}.'''
29
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage upcloud_storage}.'''
30
30
 
31
31
  def __init__(
32
32
  self,
@@ -52,21 +52,21 @@ class Storage(
52
52
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
53
53
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
54
54
  ) -> None:
55
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage upcloud_storage} Resource.
55
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage upcloud_storage} Resource.
56
56
 
57
57
  :param scope: The scope in which to define this construct.
58
58
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
59
- :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#size Storage#size}
60
- :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#title Storage#title}
61
- :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/4.0.0/docs/resources/storage#zone Storage#zone}
62
- :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#backup_rule Storage#backup_rule}
63
- :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#clone Storage#clone}
64
- :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/4.0.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
65
- :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#encrypt Storage#encrypt}
66
- :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/4.0.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
67
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
68
- :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#import Storage#import}
69
- :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#tier Storage#tier}
59
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#size Storage#size}
60
+ :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#title Storage#title}
61
+ :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/4.1.0/docs/resources/storage#zone Storage#zone}
62
+ :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#backup_rule Storage#backup_rule}
63
+ :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#clone Storage#clone}
64
+ :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/4.1.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
65
+ :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#encrypt Storage#encrypt}
66
+ :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/4.1.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
67
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
68
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#import Storage#import}
69
+ :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#tier Storage#tier}
70
70
  :param connection:
71
71
  :param count:
72
72
  :param depends_on:
@@ -115,7 +115,7 @@ class Storage(
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 Storage to import.
118
- :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/4.0.0/docs/resources/storage#import import section} in the documentation of this resource for the id to use
118
+ :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/4.1.0/docs/resources/storage#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 Storage to import is found.
120
120
  '''
121
121
  if __debug__:
@@ -135,9 +135,9 @@ class Storage(
135
135
  time: builtins.str,
136
136
  ) -> None:
137
137
  '''
138
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#interval Storage#interval}
139
- :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#retention Storage#retention}
140
- :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#time Storage#time}
138
+ :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#interval Storage#interval}
139
+ :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#retention Storage#retention}
140
+ :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#time Storage#time}
141
141
  '''
142
142
  value = StorageBackupRule(interval=interval, retention=retention, time=time)
143
143
 
@@ -146,7 +146,7 @@ class Storage(
146
146
  @jsii.member(jsii_name="putClone")
147
147
  def put_clone(self, *, id: builtins.str) -> None:
148
148
  '''
149
- :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
149
+ :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
150
150
  '''
151
151
  value = StorageClone(id=id)
152
152
 
@@ -161,9 +161,9 @@ class Storage(
161
161
  source_hash: typing.Optional[builtins.str] = None,
162
162
  ) -> None:
163
163
  '''
164
- :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/4.0.0/docs/resources/storage#source Storage#source}
165
- :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/4.0.0/docs/resources/storage#source_location Storage#source_location}
166
- :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/4.0.0/docs/resources/storage#source_hash Storage#source_hash}
164
+ :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/4.1.0/docs/resources/storage#source Storage#source}
165
+ :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/4.1.0/docs/resources/storage#source_location Storage#source_location}
166
+ :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/4.1.0/docs/resources/storage#source_hash Storage#source_hash}
167
167
  '''
168
168
  value = StorageImport(
169
169
  source=source, source_location=source_location, source_hash=source_hash
@@ -416,9 +416,9 @@ class StorageBackupRule:
416
416
  time: builtins.str,
417
417
  ) -> None:
418
418
  '''
419
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#interval Storage#interval}
420
- :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#retention Storage#retention}
421
- :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#time Storage#time}
419
+ :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#interval Storage#interval}
420
+ :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#retention Storage#retention}
421
+ :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#time Storage#time}
422
422
  '''
423
423
  if __debug__:
424
424
  type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
@@ -435,7 +435,7 @@ class StorageBackupRule:
435
435
  def interval(self) -> builtins.str:
436
436
  '''The weekday when the backup is created.
437
437
 
438
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#interval Storage#interval}
438
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#interval Storage#interval}
439
439
  '''
440
440
  result = self._values.get("interval")
441
441
  assert result is not None, "Required property 'interval' is missing"
@@ -445,7 +445,7 @@ class StorageBackupRule:
445
445
  def retention(self) -> jsii.Number:
446
446
  '''The number of days before a backup is automatically deleted.
447
447
 
448
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#retention Storage#retention}
448
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#retention Storage#retention}
449
449
  '''
450
450
  result = self._values.get("retention")
451
451
  assert result is not None, "Required property 'retention' is missing"
@@ -455,7 +455,7 @@ class StorageBackupRule:
455
455
  def time(self) -> builtins.str:
456
456
  '''The time of day when the backup is created.
457
457
 
458
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#time Storage#time}
458
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#time Storage#time}
459
459
  '''
460
460
  result = self._values.get("time")
461
461
  assert result is not None, "Required property 'time' is missing"
@@ -565,7 +565,7 @@ class StorageBackupRuleOutputReference(
565
565
  class StorageClone:
566
566
  def __init__(self, *, id: builtins.str) -> None:
567
567
  '''
568
- :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
568
+ :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
569
569
  '''
570
570
  if __debug__:
571
571
  type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
@@ -578,7 +578,7 @@ class StorageClone:
578
578
  def id(self) -> builtins.str:
579
579
  '''The unique identifier of the storage/template to clone.
580
580
 
581
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#id Storage#id}
581
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#id Storage#id}
582
582
 
583
583
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
584
584
  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.
@@ -704,17 +704,17 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
704
704
  :param lifecycle:
705
705
  :param provider:
706
706
  :param provisioners:
707
- :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#size Storage#size}
708
- :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#title Storage#title}
709
- :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/4.0.0/docs/resources/storage#zone Storage#zone}
710
- :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#backup_rule Storage#backup_rule}
711
- :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#clone Storage#clone}
712
- :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/4.0.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
713
- :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#encrypt Storage#encrypt}
714
- :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/4.0.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
715
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
716
- :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#import Storage#import}
717
- :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#tier Storage#tier}
707
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#size Storage#size}
708
+ :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#title Storage#title}
709
+ :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/4.1.0/docs/resources/storage#zone Storage#zone}
710
+ :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#backup_rule Storage#backup_rule}
711
+ :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#clone Storage#clone}
712
+ :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/4.1.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
713
+ :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#encrypt Storage#encrypt}
714
+ :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/4.1.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
715
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
716
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#import Storage#import}
717
+ :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#tier Storage#tier}
718
718
  '''
719
719
  if isinstance(lifecycle, dict):
720
720
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -848,7 +848,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
848
848
  def size(self) -> jsii.Number:
849
849
  '''The size of the storage in gigabytes.
850
850
 
851
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#size Storage#size}
851
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#size Storage#size}
852
852
  '''
853
853
  result = self._values.get("size")
854
854
  assert result is not None, "Required property 'size' is missing"
@@ -858,7 +858,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
858
858
  def title(self) -> builtins.str:
859
859
  '''A short, informative description.
860
860
 
861
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#title Storage#title}
861
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#title Storage#title}
862
862
  '''
863
863
  result = self._values.get("title")
864
864
  assert result is not None, "Required property 'title' is missing"
@@ -868,7 +868,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
868
868
  def zone(self) -> builtins.str:
869
869
  '''The zone in which the storage will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
870
870
 
871
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#zone Storage#zone}
871
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#zone Storage#zone}
872
872
  '''
873
873
  result = self._values.get("zone")
874
874
  assert result is not None, "Required property 'zone' is missing"
@@ -878,7 +878,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
878
878
  def backup_rule(self) -> typing.Optional[StorageBackupRule]:
879
879
  '''backup_rule block.
880
880
 
881
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#backup_rule Storage#backup_rule}
881
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#backup_rule Storage#backup_rule}
882
882
  '''
883
883
  result = self._values.get("backup_rule")
884
884
  return typing.cast(typing.Optional[StorageBackupRule], result)
@@ -887,7 +887,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
887
887
  def clone(self) -> typing.Optional[StorageClone]:
888
888
  '''clone block.
889
889
 
890
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#clone Storage#clone}
890
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#clone Storage#clone}
891
891
  '''
892
892
  result = self._values.get("clone")
893
893
  return typing.cast(typing.Optional[StorageClone], result)
@@ -898,7 +898,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
898
898
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
899
899
  '''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
900
900
 
901
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
901
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
902
902
  '''
903
903
  result = self._values.get("delete_autoresize_backup")
904
904
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -909,7 +909,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
909
909
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
910
910
  '''Sets if the storage is encrypted at rest.
911
911
 
912
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#encrypt Storage#encrypt}
912
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#encrypt Storage#encrypt}
913
913
  '''
914
914
  result = self._values.get("encrypt")
915
915
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -924,14 +924,14 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
924
924
  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).
925
925
  Taking and keeping backups incure costs.
926
926
 
927
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
927
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
928
928
  '''
929
929
  result = self._values.get("filesystem_autoresize")
930
930
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
931
931
 
932
932
  @builtins.property
933
933
  def id(self) -> typing.Optional[builtins.str]:
934
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#id Storage#id}.
934
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#id Storage#id}.
935
935
 
936
936
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
937
937
  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.
@@ -943,7 +943,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
943
943
  def import_(self) -> typing.Optional["StorageImport"]:
944
944
  '''import block.
945
945
 
946
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#import Storage#import}
946
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#import Storage#import}
947
947
  '''
948
948
  result = self._values.get("import_")
949
949
  return typing.cast(typing.Optional["StorageImport"], result)
@@ -952,7 +952,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
952
952
  def tier(self) -> typing.Optional[builtins.str]:
953
953
  '''The storage tier to use.
954
954
 
955
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#tier Storage#tier}
955
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#tier Storage#tier}
956
956
  '''
957
957
  result = self._values.get("tier")
958
958
  return typing.cast(typing.Optional[builtins.str], result)
@@ -987,9 +987,9 @@ class StorageImport:
987
987
  source_hash: typing.Optional[builtins.str] = None,
988
988
  ) -> None:
989
989
  '''
990
- :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/4.0.0/docs/resources/storage#source Storage#source}
991
- :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/4.0.0/docs/resources/storage#source_location Storage#source_location}
992
- :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/4.0.0/docs/resources/storage#source_hash Storage#source_hash}
990
+ :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/4.1.0/docs/resources/storage#source Storage#source}
991
+ :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/4.1.0/docs/resources/storage#source_location Storage#source_location}
992
+ :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/4.1.0/docs/resources/storage#source_hash Storage#source_hash}
993
993
  '''
994
994
  if __debug__:
995
995
  type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
@@ -1007,7 +1007,7 @@ class StorageImport:
1007
1007
  def source(self) -> builtins.str:
1008
1008
  '''The mode of the import task. One of ``http_import`` or ``direct_upload``.
1009
1009
 
1010
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#source Storage#source}
1010
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#source Storage#source}
1011
1011
  '''
1012
1012
  result = self._values.get("source")
1013
1013
  assert result is not None, "Required property 'source' is missing"
@@ -1017,7 +1017,7 @@ class StorageImport:
1017
1017
  def source_location(self) -> builtins.str:
1018
1018
  '''The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file.
1019
1019
 
1020
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#source_location Storage#source_location}
1020
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#source_location Storage#source_location}
1021
1021
  '''
1022
1022
  result = self._values.get("source_location")
1023
1023
  assert result is not None, "Required property 'source_location' is missing"
@@ -1027,7 +1027,7 @@ class StorageImport:
1027
1027
  def source_hash(self) -> typing.Optional[builtins.str]:
1028
1028
  '''For ``direct_upload``; an optional hash of the file to upload.
1029
1029
 
1030
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/storage#source_hash Storage#source_hash}
1030
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/storage#source_hash Storage#source_hash}
1031
1031
  '''
1032
1032
  result = self._values.get("source_hash")
1033
1033
  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 Registry for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag).
4
+ Refer to the Terraform Registry for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.0.0/docs/resources/tag upcloud_tag}.'''
29
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.0.0/docs/resources/tag upcloud_tag} Resource.
48
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.0.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/4.0.0/docs/resources/tag#description Tag#description}
54
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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/4.0.0/docs/resources/tag#servers Tag#servers}
52
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.1.0/docs/resources/tag#description Tag#description}
54
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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/4.1.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/4.0.0/docs/resources/tag#import import section} in the documentation of this resource for the id to use
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/4.1.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__:
@@ -240,10 +240,10 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
240
240
  :param lifecycle:
241
241
  :param provider:
242
242
  :param provisioners:
243
- :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#name Tag#name}
244
- :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#description Tag#description}
245
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.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.
246
- :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#servers Tag#servers}
243
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#name Tag#name}
244
+ :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#description Tag#description}
245
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.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.
246
+ :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#servers Tag#servers}
247
247
  '''
248
248
  if isinstance(lifecycle, dict):
249
249
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -352,7 +352,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
352
352
  def name(self) -> builtins.str:
353
353
  '''The value representing the tag.
354
354
 
355
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#name Tag#name}
355
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#name Tag#name}
356
356
  '''
357
357
  result = self._values.get("name")
358
358
  assert result is not None, "Required property 'name' is missing"
@@ -362,14 +362,14 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
362
362
  def description(self) -> typing.Optional[builtins.str]:
363
363
  '''Free form text representing the meaning of the tag.
364
364
 
365
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#description Tag#description}
365
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#description Tag#description}
366
366
  '''
367
367
  result = self._values.get("description")
368
368
  return typing.cast(typing.Optional[builtins.str], result)
369
369
 
370
370
  @builtins.property
371
371
  def id(self) -> typing.Optional[builtins.str]:
372
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#id Tag#id}.
372
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#id Tag#id}.
373
373
 
374
374
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
375
375
  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.
@@ -381,7 +381,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
381
381
  def servers(self) -> typing.Optional[typing.List[builtins.str]]:
382
382
  '''A collection of servers that have been assigned the tag.
383
383
 
384
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.0.0/docs/resources/tag#servers Tag#servers}
384
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/4.1.0/docs/resources/tag#servers Tag#servers}
385
385
  '''
386
386
  result = self._values.get("servers")
387
387
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)