cdktf-cdktf-provider-upcloud 11.0.3__py3-none-any.whl → 12.0.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@12.0.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +11 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +11 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +11 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +26 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +17 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +34 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +26 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +11 -7
  12. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +17 -13
  13. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +29 -25
  14. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +11 -7
  15. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +14 -10
  16. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +14 -10
  17. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +45 -41
  18. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +23 -19
  19. cdktf_cdktf_provider_upcloud/gateway/__init__.py +32 -28
  20. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +32 -28
  21. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +51 -47
  22. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +40 -36
  23. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +68 -64
  24. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +20 -16
  25. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +32 -28
  26. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +20 -16
  27. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +43 -39
  28. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +169 -165
  29. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +20 -16
  30. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +23 -19
  31. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +35 -31
  32. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +32 -28
  33. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +23 -19
  34. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +179 -175
  35. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +77 -73
  36. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +296 -292
  37. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +104 -100
  38. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +54 -50
  39. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +77 -30
  40. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +23 -19
  41. cdktf_cdktf_provider_upcloud/network/__init__.py +44 -40
  42. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +34 -30
  43. cdktf_cdktf_provider_upcloud/provider/__init__.py +29 -25
  44. cdktf_cdktf_provider_upcloud/router/__init__.py +23 -19
  45. cdktf_cdktf_provider_upcloud/server/__init__.py +145 -141
  46. cdktf_cdktf_provider_upcloud/server_group/__init__.py +23 -19
  47. cdktf_cdktf_provider_upcloud/storage/__init__.py +59 -55
  48. cdktf_cdktf_provider_upcloud/tag/__init__.py +20 -16
  49. {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/LICENSE +1 -1
  50. {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/METADATA +5 -5
  51. cdktf_cdktf_provider_upcloud-12.0.0.dist-info/RECORD +54 -0
  52. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@11.0.3.jsii.tgz +0 -0
  53. cdktf_cdktf_provider_upcloud-11.0.3.dist-info/RECORD +0 -54
  54. {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.0.dist-info}/WHEEL +0 -0
  55. {cdktf_cdktf_provider_upcloud-11.0.3.dist-info → cdktf_cdktf_provider_upcloud-12.0.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.2.0/docs/resources/server_group).
4
+ Refer to the Terraform Registry 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.2.0/docs/resources/server_group upcloud_server_group}.'''
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.2.0/docs/resources/server_group upcloud_server_group} Resource.
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.2.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.2.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.2.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.2.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.2.0/docs/resources/server_group#members ServerGroup#members}
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.2.0/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
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__:
@@ -128,6 +128,10 @@ class ServerGroup(
128
128
  def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
129
129
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
130
130
 
131
+ @jsii.member(jsii_name="synthesizeHclAttributes")
132
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
133
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
134
+
131
135
  @jsii.python.classproperty
132
136
  @jsii.member(jsii_name="tfResourceType")
133
137
  def TF_RESOURCE_TYPE(cls) -> builtins.str:
@@ -264,11 +268,11 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
264
268
  :param lifecycle:
265
269
  :param provider:
266
270
  :param provisioners:
267
- :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.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.2.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.2.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.2.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.2.0/docs/resources/server_group#members ServerGroup#members}
271
+ :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}
272
+ :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}
273
+ :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.
274
+ :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}
275
+ :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
276
  '''
273
277
  if isinstance(lifecycle, dict):
274
278
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -380,7 +384,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
380
384
  def title(self) -> builtins.str:
381
385
  '''Title of your server group.
382
386
 
383
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/server_group#title ServerGroup#title}
387
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#title ServerGroup#title}
384
388
  '''
385
389
  result = self._values.get("title")
386
390
  assert result is not None, "Required property 'title' is missing"
@@ -404,14 +408,14 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
404
408
  policies in server group are not met, you need to manually restart the servers in said group,
405
409
  for example via API, UpCloud Control Panel or upctl (UpCloud CLI)
406
410
 
407
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
411
+ 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
412
  '''
409
413
  result = self._values.get("anti_affinity_policy")
410
414
  return typing.cast(typing.Optional[builtins.str], result)
411
415
 
412
416
  @builtins.property
413
417
  def id(self) -> typing.Optional[builtins.str]:
414
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/server_group#id ServerGroup#id}.
418
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#id ServerGroup#id}.
415
419
 
416
420
  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
421
  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 +427,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
423
427
  def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
424
428
  '''Key-value pairs to classify the server group.
425
429
 
426
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/server_group#labels ServerGroup#labels}
430
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#labels ServerGroup#labels}
427
431
  '''
428
432
  result = self._values.get("labels")
429
433
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
@@ -432,7 +436,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
432
436
  def members(self) -> typing.Optional[typing.List[builtins.str]]:
433
437
  '''UUIDs of the servers that are members of this group.
434
438
 
435
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/server_group#members ServerGroup#members}
439
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/server_group#members ServerGroup#members}
436
440
  '''
437
441
  result = self._values.get("members")
438
442
  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.2.0/docs/resources/storage).
4
+ Refer to the Terraform Registry 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.2.0/docs/resources/storage upcloud_storage}.'''
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.2.0/docs/resources/storage upcloud_storage} Resource.
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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.0/docs/resources/storage#tier Storage#tier}
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.2.0/docs/resources/storage#import import section} in the documentation of this resource for the id to use
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.2.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.2.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.2.0/docs/resources/storage#time Storage#time}
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.2.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.
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.2.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.2.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.2.0/docs/resources/storage#source_hash Storage#source_hash}
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
@@ -200,6 +200,10 @@ class Storage(
200
200
  def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
201
201
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
202
202
 
203
+ @jsii.member(jsii_name="synthesizeHclAttributes")
204
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
205
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
206
+
203
207
  @jsii.python.classproperty
204
208
  @jsii.member(jsii_name="tfResourceType")
205
209
  def TF_RESOURCE_TYPE(cls) -> builtins.str:
@@ -383,9 +387,9 @@ class StorageBackupRule:
383
387
  time: builtins.str,
384
388
  ) -> None:
385
389
  '''
386
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.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.2.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.2.0/docs/resources/storage#time Storage#time}
390
+ :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}
391
+ :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}
392
+ :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
393
  '''
390
394
  if __debug__:
391
395
  type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
@@ -402,7 +406,7 @@ class StorageBackupRule:
402
406
  def interval(self) -> builtins.str:
403
407
  '''The weekday when the backup is created.
404
408
 
405
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#interval Storage#interval}
409
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#interval Storage#interval}
406
410
  '''
407
411
  result = self._values.get("interval")
408
412
  assert result is not None, "Required property 'interval' is missing"
@@ -412,7 +416,7 @@ class StorageBackupRule:
412
416
  def retention(self) -> jsii.Number:
413
417
  '''The number of days before a backup is automatically deleted.
414
418
 
415
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#retention Storage#retention}
419
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#retention Storage#retention}
416
420
  '''
417
421
  result = self._values.get("retention")
418
422
  assert result is not None, "Required property 'retention' is missing"
@@ -422,7 +426,7 @@ class StorageBackupRule:
422
426
  def time(self) -> builtins.str:
423
427
  '''The time of day when the backup is created.
424
428
 
425
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#time Storage#time}
429
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#time Storage#time}
426
430
  '''
427
431
  result = self._values.get("time")
428
432
  assert result is not None, "Required property 'time' is missing"
@@ -532,7 +536,7 @@ class StorageBackupRuleOutputReference(
532
536
  class StorageClone:
533
537
  def __init__(self, *, id: builtins.str) -> None:
534
538
  '''
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.2.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.
539
+ :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
540
  '''
537
541
  if __debug__:
538
542
  type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
@@ -545,7 +549,7 @@ class StorageClone:
545
549
  def id(self) -> builtins.str:
546
550
  '''The unique identifier of the storage/template to clone.
547
551
 
548
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#id Storage#id}
552
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#id Storage#id}
549
553
 
550
554
  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
555
  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 +673,16 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
669
673
  :param lifecycle:
670
674
  :param provider:
671
675
  :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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.0/docs/resources/storage#tier Storage#tier}
676
+ :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}
677
+ :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}
678
+ :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}
679
+ :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}
680
+ :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}
681
+ :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}
682
+ :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}
683
+ :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.
684
+ :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}
685
+ :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
686
  '''
683
687
  if isinstance(lifecycle, dict):
684
688
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -809,7 +813,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
809
813
  def size(self) -> jsii.Number:
810
814
  '''The size of the storage in gigabytes.
811
815
 
812
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#size Storage#size}
816
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#size Storage#size}
813
817
  '''
814
818
  result = self._values.get("size")
815
819
  assert result is not None, "Required property 'size' is missing"
@@ -819,7 +823,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
819
823
  def title(self) -> builtins.str:
820
824
  '''A short, informative description.
821
825
 
822
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#title Storage#title}
826
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#title Storage#title}
823
827
  '''
824
828
  result = self._values.get("title")
825
829
  assert result is not None, "Required property 'title' is missing"
@@ -829,7 +833,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
829
833
  def zone(self) -> builtins.str:
830
834
  '''The zone in which the storage will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
831
835
 
832
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#zone Storage#zone}
836
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#zone Storage#zone}
833
837
  '''
834
838
  result = self._values.get("zone")
835
839
  assert result is not None, "Required property 'zone' is missing"
@@ -839,7 +843,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
839
843
  def backup_rule(self) -> typing.Optional[StorageBackupRule]:
840
844
  '''backup_rule block.
841
845
 
842
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#backup_rule Storage#backup_rule}
846
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#backup_rule Storage#backup_rule}
843
847
  '''
844
848
  result = self._values.get("backup_rule")
845
849
  return typing.cast(typing.Optional[StorageBackupRule], result)
@@ -848,7 +852,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
848
852
  def clone(self) -> typing.Optional[StorageClone]:
849
853
  '''clone block.
850
854
 
851
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#clone Storage#clone}
855
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#clone Storage#clone}
852
856
  '''
853
857
  result = self._values.get("clone")
854
858
  return typing.cast(typing.Optional[StorageClone], result)
@@ -859,7 +863,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
859
863
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
860
864
  '''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
861
865
 
862
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
866
+ 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
867
  '''
864
868
  result = self._values.get("delete_autoresize_backup")
865
869
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -874,14 +878,14 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
874
878
  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
879
  Taking and keeping backups incure costs.
876
880
 
877
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
881
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
878
882
  '''
879
883
  result = self._values.get("filesystem_autoresize")
880
884
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
881
885
 
882
886
  @builtins.property
883
887
  def id(self) -> typing.Optional[builtins.str]:
884
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#id Storage#id}.
888
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#id Storage#id}.
885
889
 
886
890
  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
891
  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 +897,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
893
897
  def import_(self) -> typing.Optional["StorageImport"]:
894
898
  '''import block.
895
899
 
896
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#import Storage#import}
900
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#import Storage#import}
897
901
  '''
898
902
  result = self._values.get("import_")
899
903
  return typing.cast(typing.Optional["StorageImport"], result)
@@ -902,7 +906,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
902
906
  def tier(self) -> typing.Optional[builtins.str]:
903
907
  '''The storage tier to use.
904
908
 
905
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#tier Storage#tier}
909
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#tier Storage#tier}
906
910
  '''
907
911
  result = self._values.get("tier")
908
912
  return typing.cast(typing.Optional[builtins.str], result)
@@ -937,9 +941,9 @@ class StorageImport:
937
941
  source_hash: typing.Optional[builtins.str] = None,
938
942
  ) -> None:
939
943
  '''
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.2.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.2.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.2.0/docs/resources/storage#source_hash Storage#source_hash}
944
+ :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}
945
+ :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}
946
+ :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
947
  '''
944
948
  if __debug__:
945
949
  type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
@@ -957,7 +961,7 @@ class StorageImport:
957
961
  def source(self) -> builtins.str:
958
962
  '''The mode of the import task. One of ``http_import`` or ``direct_upload``.
959
963
 
960
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#source Storage#source}
964
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source Storage#source}
961
965
  '''
962
966
  result = self._values.get("source")
963
967
  assert result is not None, "Required property 'source' is missing"
@@ -967,7 +971,7 @@ class StorageImport:
967
971
  def source_location(self) -> builtins.str:
968
972
  '''The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file.
969
973
 
970
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#source_location Storage#source_location}
974
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_location Storage#source_location}
971
975
  '''
972
976
  result = self._values.get("source_location")
973
977
  assert result is not None, "Required property 'source_location' is missing"
@@ -977,7 +981,7 @@ class StorageImport:
977
981
  def source_hash(self) -> typing.Optional[builtins.str]:
978
982
  '''For ``direct_upload``; an optional hash of the file to upload.
979
983
 
980
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/storage#source_hash Storage#source_hash}
984
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/storage#source_hash Storage#source_hash}
981
985
  '''
982
986
  result = self._values.get("source_hash")
983
987
  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.2.0/docs/resources/tag).
4
+ Refer to the Terraform Registry 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.2.0/docs/resources/tag upcloud_tag}.'''
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.2.0/docs/resources/tag upcloud_tag} Resource.
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.2.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.2.0/docs/resources/tag#description Tag#description}
54
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.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.2.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/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.2.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/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__:
@@ -121,6 +121,10 @@ class Tag(
121
121
  def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
122
122
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
123
123
 
124
+ @jsii.member(jsii_name="synthesizeHclAttributes")
125
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
126
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
127
+
124
128
  @jsii.python.classproperty
125
129
  @jsii.member(jsii_name="tfResourceType")
126
130
  def TF_RESOURCE_TYPE(cls) -> builtins.str:
@@ -236,10 +240,10 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
236
240
  :param lifecycle:
237
241
  :param provider:
238
242
  :param provisioners:
239
- :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.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.2.0/docs/resources/tag#description Tag#description}
241
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.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.2.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/3.3.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/3.3.0/docs/resources/tag#description Tag#description}
245
+ :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.
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/3.3.0/docs/resources/tag#servers Tag#servers}
243
247
  '''
244
248
  if isinstance(lifecycle, dict):
245
249
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -348,7 +352,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
348
352
  def name(self) -> builtins.str:
349
353
  '''The value representing the tag.
350
354
 
351
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/tag#name Tag#name}
355
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#name Tag#name}
352
356
  '''
353
357
  result = self._values.get("name")
354
358
  assert result is not None, "Required property 'name' is missing"
@@ -358,14 +362,14 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
358
362
  def description(self) -> typing.Optional[builtins.str]:
359
363
  '''Free form text representing the meaning of the tag.
360
364
 
361
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/tag#description Tag#description}
365
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#description Tag#description}
362
366
  '''
363
367
  result = self._values.get("description")
364
368
  return typing.cast(typing.Optional[builtins.str], result)
365
369
 
366
370
  @builtins.property
367
371
  def id(self) -> typing.Optional[builtins.str]:
368
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/tag#id Tag#id}.
372
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#id Tag#id}.
369
373
 
370
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.
371
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.
@@ -377,7 +381,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
377
381
  def servers(self) -> typing.Optional[typing.List[builtins.str]]:
378
382
  '''A collection of servers that have been assigned the tag.
379
383
 
380
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.2.0/docs/resources/tag#servers Tag#servers}
384
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/3.3.0/docs/resources/tag#servers Tag#servers}
381
385
  '''
382
386
  result = self._values.get("servers")
383
387
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023 HashiCorp, Inc.
1
+ Copyright (c) 2024 HashiCorp, Inc.
2
2
 
3
3
  Mozilla Public License, version 2.0
4
4