cdktf-cdktf-provider-upcloud 14.1.0__py3-none-any.whl → 14.2.1__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (61) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +10 -3
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +5 -2
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.1.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +10 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +10 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +10 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +25 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +16 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +33 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +25 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +13 -10
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +10 -7
  13. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +16 -13
  14. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -25
  15. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +10 -7
  16. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +13 -10
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +13 -10
  18. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +44 -41
  19. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +22 -19
  20. cdktf_cdktf_provider_upcloud/gateway/__init__.py +254 -29
  21. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1279 -0
  22. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1337 -0
  23. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +34 -31
  24. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +50 -47
  25. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +45 -42
  26. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +67 -64
  27. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +19 -16
  28. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +31 -28
  29. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +19 -16
  30. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +42 -39
  31. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +196 -193
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +19 -16
  33. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +22 -19
  34. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +34 -31
  35. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +31 -28
  36. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +22 -19
  37. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +259 -205
  38. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +5227 -660
  39. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +1240 -338
  40. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +176 -127
  41. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +53 -50
  42. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -30
  43. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +22 -19
  44. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +16 -13
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -16
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +19 -16
  47. cdktf_cdktf_provider_upcloud/network/__init__.py +43 -40
  48. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +33 -30
  49. cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -25
  50. cdktf_cdktf_provider_upcloud/router/__init__.py +22 -19
  51. cdktf_cdktf_provider_upcloud/server/__init__.py +150 -147
  52. cdktf_cdktf_provider_upcloud/server_group/__init__.py +25 -22
  53. cdktf_cdktf_provider_upcloud/storage/__init__.py +61 -58
  54. cdktf_cdktf_provider_upcloud/tag/__init__.py +19 -16
  55. {cdktf_cdktf_provider_upcloud-14.1.0.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/METADATA +5 -5
  56. cdktf_cdktf_provider_upcloud-14.2.1.dist-info/RECORD +60 -0
  57. {cdktf_cdktf_provider_upcloud-14.1.0.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/WHEEL +1 -1
  58. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.1.0.jsii.tgz +0 -0
  59. cdktf_cdktf_provider_upcloud-14.1.0.dist-info/RECORD +0 -58
  60. {cdktf_cdktf_provider_upcloud-14.1.0.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/LICENSE +0 -0
  61. {cdktf_cdktf_provider_upcloud-14.1.0.dist-info → cdktf_cdktf_provider_upcloud-14.2.1.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,11 @@
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/5.1.0/docs/resources/server_group).
4
+ Refer to the Terraform Registry for docs: [`upcloud_server_group`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group).
5
5
  '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
6
9
  import abc
7
10
  import builtins
8
11
  import datetime
@@ -26,7 +29,7 @@ class ServerGroup(
26
29
  metaclass=jsii.JSIIMeta,
27
30
  jsii_type="@cdktf/provider-upcloud.serverGroup.ServerGroup",
28
31
  ):
29
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group upcloud_server_group}.'''
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group upcloud_server_group}.'''
30
33
 
31
34
  def __init__(
32
35
  self,
@@ -47,16 +50,16 @@ class ServerGroup(
47
50
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
48
51
  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
52
  ) -> None:
50
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group upcloud_server_group} Resource.
53
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group upcloud_server_group} Resource.
51
54
 
52
55
  :param scope: The scope in which to define this construct.
53
56
  :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/5.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/5.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/5.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/5.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/5.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/5.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
57
+ :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#title ServerGroup#title}
58
+ :param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
59
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/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.
60
+ :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#labels ServerGroup#labels}
61
+ :param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#members ServerGroup#members}
62
+ :param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#track_members ServerGroup#track_members}
60
63
  :param connection:
61
64
  :param count:
62
65
  :param depends_on:
@@ -100,7 +103,7 @@ class ServerGroup(
100
103
 
101
104
  :param scope: The scope in which to define this construct.
102
105
  :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/5.1.0/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
106
+ :param import_from_id: The id of the existing ServerGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#import import section} in the documentation of this resource for the id to use
104
107
  :param provider: ? Optional instance of the provider where the ServerGroup to import is found.
105
108
  '''
106
109
  if __debug__:
@@ -299,12 +302,12 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
299
302
  :param lifecycle:
300
303
  :param provider:
301
304
  :param provisioners:
302
- :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.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/5.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/5.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/5.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/5.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
305
+ :param title: Title of your server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#title ServerGroup#title}
306
+ :param anti_affinity_policy: Defines if a server group is an anti-affinity group. Setting this to ``strict`` or ``yes`` will result in all servers in the group being placed on separate compute hosts. The value can be ``strict``, ``yes``, or ``no``:: * `strict` policy doesn't allow servers in the same server group to be on the same host * `yes` refers to best-effort policy and tries to put servers on different hosts, but this is not guaranteed * `no` refers to having no policy and thus no effect on server host affinity To verify if the anti-affinity policies are met by requesting a server group details from API. For more information please see UpCloud API documentation on server groups. Plese also note that anti-affinity policies are only applied on server start. This means that if anti-affinity policies in server group are not met, you need to manually restart the servers in said group, for example via API, UpCloud Control Panel or upctl (UpCloud CLI) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
307
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/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.
308
+ :param labels: Key-value pairs to classify the server group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#labels ServerGroup#labels}
309
+ :param members: UUIDs of the servers that are members of this group. Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#members ServerGroup#members}
310
+ :param track_members: Controls if members of the server group are being tracked in this resource. Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#track_members ServerGroup#track_members}
308
311
  '''
309
312
  if isinstance(lifecycle, dict):
310
313
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -419,7 +422,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
419
422
  def title(self) -> builtins.str:
420
423
  '''Title of your server group.
421
424
 
422
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#title ServerGroup#title}
425
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#title ServerGroup#title}
423
426
  '''
424
427
  result = self._values.get("title")
425
428
  assert result is not None, "Required property 'title' is missing"
@@ -443,14 +446,14 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
443
446
  policies in server group are not met, you need to manually restart the servers in said group,
444
447
  for example via API, UpCloud Control Panel or upctl (UpCloud CLI)
445
448
 
446
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
449
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#anti_affinity_policy ServerGroup#anti_affinity_policy}
447
450
  '''
448
451
  result = self._values.get("anti_affinity_policy")
449
452
  return typing.cast(typing.Optional[builtins.str], result)
450
453
 
451
454
  @builtins.property
452
455
  def id(self) -> typing.Optional[builtins.str]:
453
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#id ServerGroup#id}.
456
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#id ServerGroup#id}.
454
457
 
455
458
  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
459
  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 +465,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
462
465
  def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
463
466
  '''Key-value pairs to classify the server group.
464
467
 
465
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#labels ServerGroup#labels}
468
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#labels ServerGroup#labels}
466
469
  '''
467
470
  result = self._values.get("labels")
468
471
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
@@ -473,7 +476,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
473
476
 
474
477
  Servers can also be attached to the server group via ``server_group`` property of ``upcloud_server``. See also ``track_members`` property.
475
478
 
476
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#members ServerGroup#members}
479
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#members ServerGroup#members}
477
480
  '''
478
481
  result = self._values.get("members")
479
482
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
@@ -486,7 +489,7 @@ class ServerGroupConfig(_cdktf_9a9027ec.TerraformMetaArguments):
486
489
 
487
490
  Set to ``false`` when using ``server_group`` property of ``upcloud_server`` to attach servers to the server group to avoid delayed state updates.
488
491
 
489
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/server_group#track_members ServerGroup#track_members}
492
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/server_group#track_members ServerGroup#track_members}
490
493
  '''
491
494
  result = self._values.get("track_members")
492
495
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -1,8 +1,11 @@
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/5.1.0/docs/resources/storage).
4
+ Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage).
5
5
  '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
6
9
  import abc
7
10
  import builtins
8
11
  import datetime
@@ -26,7 +29,7 @@ class Storage(
26
29
  metaclass=jsii.JSIIMeta,
27
30
  jsii_type="@cdktf/provider-upcloud.storage.Storage",
28
31
  ):
29
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage upcloud_storage}.'''
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage upcloud_storage}.'''
30
33
 
31
34
  def __init__(
32
35
  self,
@@ -52,21 +55,21 @@ class Storage(
52
55
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
53
56
  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
57
  ) -> None:
55
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage upcloud_storage} Resource.
58
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage upcloud_storage} Resource.
56
59
 
57
60
  :param scope: The scope in which to define this construct.
58
61
  :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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.1.0/docs/resources/storage#tier Storage#tier}
62
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#size Storage#size}
63
+ :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#title Storage#title}
64
+ :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/5.2.1/docs/resources/storage#zone Storage#zone}
65
+ :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#backup_rule Storage#backup_rule}
66
+ :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#clone Storage#clone}
67
+ :param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
68
+ :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#encrypt Storage#encrypt}
69
+ :param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
70
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
71
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#import Storage#import}
72
+ :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#tier Storage#tier}
70
73
  :param connection:
71
74
  :param count:
72
75
  :param depends_on:
@@ -115,7 +118,7 @@ class Storage(
115
118
 
116
119
  :param scope: The scope in which to define this construct.
117
120
  :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/5.1.0/docs/resources/storage#import import section} in the documentation of this resource for the id to use
121
+ :param import_from_id: The id of the existing Storage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#import import section} in the documentation of this resource for the id to use
119
122
  :param provider: ? Optional instance of the provider where the Storage to import is found.
120
123
  '''
121
124
  if __debug__:
@@ -135,9 +138,9 @@ class Storage(
135
138
  time: builtins.str,
136
139
  ) -> None:
137
140
  '''
138
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.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/5.1.0/docs/resources/storage#time Storage#time}
141
+ :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#interval Storage#interval}
142
+ :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#retention Storage#retention}
143
+ :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#time Storage#time}
141
144
  '''
142
145
  value = StorageBackupRule(interval=interval, retention=retention, time=time)
143
146
 
@@ -146,7 +149,7 @@ class Storage(
146
149
  @jsii.member(jsii_name="putClone")
147
150
  def put_clone(self, *, id: builtins.str) -> None:
148
151
  '''
149
- :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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.
152
+ :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
150
153
  '''
151
154
  value = StorageClone(id=id)
152
155
 
@@ -161,9 +164,9 @@ class Storage(
161
164
  source_hash: typing.Optional[builtins.str] = None,
162
165
  ) -> None:
163
166
  '''
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/5.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/5.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/5.1.0/docs/resources/storage#source_hash Storage#source_hash}
167
+ :param source: The mode of the import task. One of ``http_import`` or ``direct_upload``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#source Storage#source}
168
+ :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/5.2.1/docs/resources/storage#source_location Storage#source_location}
169
+ :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/5.2.1/docs/resources/storage#source_hash Storage#source_hash}
167
170
  '''
168
171
  value = StorageImport(
169
172
  source=source, source_location=source_location, source_hash=source_hash
@@ -416,9 +419,9 @@ class StorageBackupRule:
416
419
  time: builtins.str,
417
420
  ) -> None:
418
421
  '''
419
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.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/5.1.0/docs/resources/storage#time Storage#time}
422
+ :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#interval Storage#interval}
423
+ :param retention: The number of days before a backup is automatically deleted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#retention Storage#retention}
424
+ :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#time Storage#time}
422
425
  '''
423
426
  if __debug__:
424
427
  type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
@@ -435,7 +438,7 @@ class StorageBackupRule:
435
438
  def interval(self) -> builtins.str:
436
439
  '''The weekday when the backup is created.
437
440
 
438
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#interval Storage#interval}
441
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#interval Storage#interval}
439
442
  '''
440
443
  result = self._values.get("interval")
441
444
  assert result is not None, "Required property 'interval' is missing"
@@ -445,7 +448,7 @@ class StorageBackupRule:
445
448
  def retention(self) -> jsii.Number:
446
449
  '''The number of days before a backup is automatically deleted.
447
450
 
448
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#retention Storage#retention}
451
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#retention Storage#retention}
449
452
  '''
450
453
  result = self._values.get("retention")
451
454
  assert result is not None, "Required property 'retention' is missing"
@@ -455,7 +458,7 @@ class StorageBackupRule:
455
458
  def time(self) -> builtins.str:
456
459
  '''The time of day when the backup is created.
457
460
 
458
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#time Storage#time}
461
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#time Storage#time}
459
462
  '''
460
463
  result = self._values.get("time")
461
464
  assert result is not None, "Required property 'time' is missing"
@@ -565,7 +568,7 @@ class StorageBackupRuleOutputReference(
565
568
  class StorageClone:
566
569
  def __init__(self, *, id: builtins.str) -> None:
567
570
  '''
568
- :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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.
571
+ :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
569
572
  '''
570
573
  if __debug__:
571
574
  type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
@@ -578,7 +581,7 @@ class StorageClone:
578
581
  def id(self) -> builtins.str:
579
582
  '''The unique identifier of the storage/template to clone.
580
583
 
581
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#id Storage#id}
584
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id}
582
585
 
583
586
  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
587
  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 +707,17 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
704
707
  :param lifecycle:
705
708
  :param provider:
706
709
  :param provisioners:
707
- :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.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/5.1.0/docs/resources/storage#tier Storage#tier}
710
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#size Storage#size}
711
+ :param title: A short, informative description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#title Storage#title}
712
+ :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/5.2.1/docs/resources/storage#zone Storage#zone}
713
+ :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#backup_rule Storage#backup_rule}
714
+ :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#clone Storage#clone}
715
+ :param delete_autoresize_backup: If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
716
+ :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#encrypt Storage#encrypt}
717
+ :param filesystem_autoresize: If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes. Please note that before the resize attempt is made, backup of the storage will be taken. If the resize attempt fails, the backup will be used to restore the storage and then deleted. If the resize attempt succeeds, backup will be kept (unless delete_autoresize_backup option is set to true). Taking and keeping backups incure costs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
718
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
719
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#import Storage#import}
720
+ :param tier: The storage tier to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#tier Storage#tier}
718
721
  '''
719
722
  if isinstance(lifecycle, dict):
720
723
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -848,7 +851,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
848
851
  def size(self) -> jsii.Number:
849
852
  '''The size of the storage in gigabytes.
850
853
 
851
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#size Storage#size}
854
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#size Storage#size}
852
855
  '''
853
856
  result = self._values.get("size")
854
857
  assert result is not None, "Required property 'size' is missing"
@@ -858,7 +861,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
858
861
  def title(self) -> builtins.str:
859
862
  '''A short, informative description.
860
863
 
861
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#title Storage#title}
864
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#title Storage#title}
862
865
  '''
863
866
  result = self._values.get("title")
864
867
  assert result is not None, "Required property 'title' is missing"
@@ -868,7 +871,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
868
871
  def zone(self) -> builtins.str:
869
872
  '''The zone in which the storage will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
870
873
 
871
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#zone Storage#zone}
874
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#zone Storage#zone}
872
875
  '''
873
876
  result = self._values.get("zone")
874
877
  assert result is not None, "Required property 'zone' is missing"
@@ -878,7 +881,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
878
881
  def backup_rule(self) -> typing.Optional[StorageBackupRule]:
879
882
  '''backup_rule block.
880
883
 
881
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#backup_rule Storage#backup_rule}
884
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#backup_rule Storage#backup_rule}
882
885
  '''
883
886
  result = self._values.get("backup_rule")
884
887
  return typing.cast(typing.Optional[StorageBackupRule], result)
@@ -887,7 +890,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
887
890
  def clone(self) -> typing.Optional[StorageClone]:
888
891
  '''clone block.
889
892
 
890
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#clone Storage#clone}
893
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#clone Storage#clone}
891
894
  '''
892
895
  result = self._values.get("clone")
893
896
  return typing.cast(typing.Optional[StorageClone], result)
@@ -898,7 +901,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
898
901
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
899
902
  '''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
900
903
 
901
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
904
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
902
905
  '''
903
906
  result = self._values.get("delete_autoresize_backup")
904
907
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -909,7 +912,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
909
912
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
910
913
  '''Sets if the storage is encrypted at rest.
911
914
 
912
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#encrypt Storage#encrypt}
915
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#encrypt Storage#encrypt}
913
916
  '''
914
917
  result = self._values.get("encrypt")
915
918
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -924,14 +927,14 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
924
927
  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
928
  Taking and keeping backups incure costs.
926
929
 
927
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
930
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
928
931
  '''
929
932
  result = self._values.get("filesystem_autoresize")
930
933
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
931
934
 
932
935
  @builtins.property
933
936
  def id(self) -> typing.Optional[builtins.str]:
934
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#id Storage#id}.
937
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#id Storage#id}.
935
938
 
936
939
  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
940
  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 +946,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
943
946
  def import_(self) -> typing.Optional["StorageImport"]:
944
947
  '''import block.
945
948
 
946
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#import Storage#import}
949
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#import Storage#import}
947
950
  '''
948
951
  result = self._values.get("import_")
949
952
  return typing.cast(typing.Optional["StorageImport"], result)
@@ -952,7 +955,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
952
955
  def tier(self) -> typing.Optional[builtins.str]:
953
956
  '''The storage tier to use.
954
957
 
955
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#tier Storage#tier}
958
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#tier Storage#tier}
956
959
  '''
957
960
  result = self._values.get("tier")
958
961
  return typing.cast(typing.Optional[builtins.str], result)
@@ -987,9 +990,9 @@ class StorageImport:
987
990
  source_hash: typing.Optional[builtins.str] = None,
988
991
  ) -> None:
989
992
  '''
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/5.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/5.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/5.1.0/docs/resources/storage#source_hash Storage#source_hash}
993
+ :param source: The mode of the import task. One of ``http_import`` or ``direct_upload``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#source Storage#source}
994
+ :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/5.2.1/docs/resources/storage#source_location Storage#source_location}
995
+ :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/5.2.1/docs/resources/storage#source_hash Storage#source_hash}
993
996
  '''
994
997
  if __debug__:
995
998
  type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
@@ -1007,7 +1010,7 @@ class StorageImport:
1007
1010
  def source(self) -> builtins.str:
1008
1011
  '''The mode of the import task. One of ``http_import`` or ``direct_upload``.
1009
1012
 
1010
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#source Storage#source}
1013
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#source Storage#source}
1011
1014
  '''
1012
1015
  result = self._values.get("source")
1013
1016
  assert result is not None, "Required property 'source' is missing"
@@ -1017,7 +1020,7 @@ class StorageImport:
1017
1020
  def source_location(self) -> builtins.str:
1018
1021
  '''The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file.
1019
1022
 
1020
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#source_location Storage#source_location}
1023
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#source_location Storage#source_location}
1021
1024
  '''
1022
1025
  result = self._values.get("source_location")
1023
1026
  assert result is not None, "Required property 'source_location' is missing"
@@ -1027,7 +1030,7 @@ class StorageImport:
1027
1030
  def source_hash(self) -> typing.Optional[builtins.str]:
1028
1031
  '''For ``direct_upload``; an optional hash of the file to upload.
1029
1032
 
1030
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/storage#source_hash Storage#source_hash}
1033
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/storage#source_hash Storage#source_hash}
1031
1034
  '''
1032
1035
  result = self._values.get("source_hash")
1033
1036
  return typing.cast(typing.Optional[builtins.str], result)
@@ -1,8 +1,11 @@
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/5.1.0/docs/resources/tag).
4
+ Refer to the Terraform Registry for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag).
5
5
  '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
6
9
  import abc
7
10
  import builtins
8
11
  import datetime
@@ -26,7 +29,7 @@ class Tag(
26
29
  metaclass=jsii.JSIIMeta,
27
30
  jsii_type="@cdktf/provider-upcloud.tag.Tag",
28
31
  ):
29
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag upcloud_tag}.'''
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag upcloud_tag}.'''
30
33
 
31
34
  def __init__(
32
35
  self,
@@ -45,14 +48,14 @@ class Tag(
45
48
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
46
49
  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
50
  ) -> None:
48
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag upcloud_tag} Resource.
51
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag upcloud_tag} Resource.
49
52
 
50
53
  :param scope: The scope in which to define this construct.
51
54
  :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/5.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/5.1.0/docs/resources/tag#description Tag#description}
54
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.1.0/docs/resources/tag#servers Tag#servers}
55
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#name Tag#name}
56
+ :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#description Tag#description}
57
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/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.
58
+ :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#servers Tag#servers}
56
59
  :param connection:
57
60
  :param count:
58
61
  :param depends_on:
@@ -94,7 +97,7 @@ class Tag(
94
97
 
95
98
  :param scope: The scope in which to define this construct.
96
99
  :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/5.1.0/docs/resources/tag#import import section} in the documentation of this resource for the id to use
100
+ :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/5.2.1/docs/resources/tag#import import section} in the documentation of this resource for the id to use
98
101
  :param provider: ? Optional instance of the provider where the Tag to import is found.
99
102
  '''
100
103
  if __debug__:
@@ -240,10 +243,10 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
240
243
  :param lifecycle:
241
244
  :param provider:
242
245
  :param provisioners:
243
- :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.1.0/docs/resources/tag#description Tag#description}
245
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.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/5.1.0/docs/resources/tag#servers Tag#servers}
246
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#name Tag#name}
247
+ :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#description Tag#description}
248
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/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.
249
+ :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#servers Tag#servers}
247
250
  '''
248
251
  if isinstance(lifecycle, dict):
249
252
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -352,7 +355,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
352
355
  def name(self) -> builtins.str:
353
356
  '''The value representing the tag.
354
357
 
355
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag#name Tag#name}
358
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#name Tag#name}
356
359
  '''
357
360
  result = self._values.get("name")
358
361
  assert result is not None, "Required property 'name' is missing"
@@ -362,14 +365,14 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
362
365
  def description(self) -> typing.Optional[builtins.str]:
363
366
  '''Free form text representing the meaning of the tag.
364
367
 
365
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag#description Tag#description}
368
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#description Tag#description}
366
369
  '''
367
370
  result = self._values.get("description")
368
371
  return typing.cast(typing.Optional[builtins.str], result)
369
372
 
370
373
  @builtins.property
371
374
  def id(self) -> typing.Optional[builtins.str]:
372
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag#id Tag#id}.
375
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#id Tag#id}.
373
376
 
374
377
  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
378
  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 +384,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
381
384
  def servers(self) -> typing.Optional[typing.List[builtins.str]]:
382
385
  '''A collection of servers that have been assigned the tag.
383
386
 
384
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.1.0/docs/resources/tag#servers Tag#servers}
387
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.1/docs/resources/tag#servers Tag#servers}
385
388
  '''
386
389
  result = self._values.get("servers")
387
390
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)