cdktf-cdktf-provider-upcloud 14.9.1__py3-none-any.whl → 14.10.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 (63) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +5 -3
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.10.1.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
  13. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
  14. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
  15. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
  16. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +7 -7
  18. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
  19. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
  20. cdktf_cdktf_provider_upcloud/gateway/__init__.py +38 -38
  21. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
  22. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
  23. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +32 -32
  24. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +242 -147
  25. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +43 -43
  26. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
  27. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +24 -67
  28. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
  29. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +24 -67
  30. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +33 -33
  31. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +24 -67
  33. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +30 -73
  34. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
  35. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
  36. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
  37. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +196 -196
  38. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +2543 -528
  39. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +310 -310
  40. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +124 -124
  41. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
  42. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +31 -31
  43. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +28 -69
  44. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
  47. cdktf_cdktf_provider_upcloud/network/__init__.py +34 -34
  48. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +24 -24
  49. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
  50. cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
  51. cdktf_cdktf_provider_upcloud/router/__init__.py +20 -20
  52. cdktf_cdktf_provider_upcloud/server/__init__.py +154 -154
  53. cdktf_cdktf_provider_upcloud/server_group/__init__.py +20 -20
  54. cdktf_cdktf_provider_upcloud/storage/__init__.py +631 -170
  55. cdktf_cdktf_provider_upcloud/storage_template/__init__.py +463 -0
  56. cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
  57. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.1.dist-info}/METADATA +4 -4
  58. cdktf_cdktf_provider_upcloud-14.10.1.dist-info/RECORD +62 -0
  59. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.9.1.jsii.tgz +0 -0
  60. cdktf_cdktf_provider_upcloud-14.9.1.dist-info/RECORD +0 -61
  61. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.1.dist-info}/LICENSE +0 -0
  62. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.1.dist-info}/WHEEL +0 -0
  63. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `upcloud_storage`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage).
4
+ Refer to the Terraform Registry for docs: [`upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -29,23 +29,23 @@ class Storage(
29
29
  metaclass=jsii.JSIIMeta,
30
30
  jsii_type="@cdktf/provider-upcloud.storage.Storage",
31
31
  ):
32
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage upcloud_storage}.'''
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage upcloud_storage}.'''
33
33
 
34
34
  def __init__(
35
35
  self,
36
36
  scope: _constructs_77d1e7e8.Construct,
37
- id_: builtins.str,
37
+ id: builtins.str,
38
38
  *,
39
39
  size: jsii.Number,
40
40
  title: builtins.str,
41
41
  zone: builtins.str,
42
- backup_rule: typing.Optional[typing.Union["StorageBackupRule", typing.Dict[builtins.str, typing.Any]]] = None,
43
- clone: typing.Optional[typing.Union["StorageClone", typing.Dict[builtins.str, typing.Any]]] = None,
42
+ backup_rule: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageBackupRule", typing.Dict[builtins.str, typing.Any]]]]] = None,
43
+ clone: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageClone", typing.Dict[builtins.str, typing.Any]]]]] = None,
44
44
  delete_autoresize_backup: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
45
45
  encrypt: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
46
46
  filesystem_autoresize: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
47
- id: typing.Optional[builtins.str] = None,
48
- import_: typing.Optional[typing.Union["StorageImport", typing.Dict[builtins.str, typing.Any]]] = None,
47
+ import_: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageImport", typing.Dict[builtins.str, typing.Any]]]]] = None,
48
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
49
49
  tier: typing.Optional[builtins.str] = None,
50
50
  connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
51
51
  count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
@@ -55,21 +55,21 @@ class Storage(
55
55
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
56
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,
57
57
  ) -> None:
58
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage upcloud_storage} Resource.
58
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage upcloud_storage} Resource.
59
59
 
60
60
  :param scope: The scope in which to define this construct.
61
- :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
62
- :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.1/docs/resources/storage#tier Storage#tier}
61
+ :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
62
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#size Storage#size}
63
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#title Storage#title}
64
+ :param zone: The zone the storage is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.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.10.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.10.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.10.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.10.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.10.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
70
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#import Storage#import}
71
+ :param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#labels Storage#labels}
72
+ :param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#tier Storage#tier}
73
73
  :param connection:
74
74
  :param count:
75
75
  :param depends_on:
@@ -81,7 +81,7 @@ class Storage(
81
81
  if __debug__:
82
82
  type_hints = typing.get_type_hints(_typecheckingstub__9bd49f2a434a513b68a524662cb122923af8f05e089aa4ea48c714fcf072d8f7)
83
83
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
84
- check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
84
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
85
85
  config = StorageConfig(
86
86
  size=size,
87
87
  title=title,
@@ -91,8 +91,8 @@ class Storage(
91
91
  delete_autoresize_backup=delete_autoresize_backup,
92
92
  encrypt=encrypt,
93
93
  filesystem_autoresize=filesystem_autoresize,
94
- id=id,
95
94
  import_=import_,
95
+ labels=labels,
96
96
  tier=tier,
97
97
  connection=connection,
98
98
  count=count,
@@ -103,7 +103,7 @@ class Storage(
103
103
  provisioners=provisioners,
104
104
  )
105
105
 
106
- jsii.create(self.__class__, self, [scope, id_, config])
106
+ jsii.create(self.__class__, self, [scope, id, config])
107
107
 
108
108
  @jsii.member(jsii_name="generateConfigForImport")
109
109
  @builtins.classmethod
@@ -118,7 +118,7 @@ class Storage(
118
118
 
119
119
  :param scope: The scope in which to define this construct.
120
120
  :param import_to_id: The construct id used in the generated config for the Storage to import.
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.9.1/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.10.1/docs/resources/storage#import import section} in the documentation of this resource for the id to use
122
122
  :param provider: ? Optional instance of the provider where the Storage to import is found.
123
123
  '''
124
124
  if __debug__:
@@ -132,46 +132,40 @@ class Storage(
132
132
  @jsii.member(jsii_name="putBackupRule")
133
133
  def put_backup_rule(
134
134
  self,
135
- *,
136
- interval: builtins.str,
137
- retention: jsii.Number,
138
- time: builtins.str,
135
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageBackupRule", typing.Dict[builtins.str, typing.Any]]]],
139
136
  ) -> None:
140
137
  '''
141
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.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.9.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.9.1/docs/resources/storage#time Storage#time}
138
+ :param value: -
144
139
  '''
145
- value = StorageBackupRule(interval=interval, retention=retention, time=time)
146
-
140
+ if __debug__:
141
+ type_hints = typing.get_type_hints(_typecheckingstub__bbe3cb3b69b7cc1723d7cf5578484737fc29a4a5ee5059d3c155fcb8375b8b7e)
142
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
147
143
  return typing.cast(None, jsii.invoke(self, "putBackupRule", [value]))
148
144
 
149
145
  @jsii.member(jsii_name="putClone")
150
- def put_clone(self, *, id: builtins.str) -> None:
146
+ def put_clone(
147
+ self,
148
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageClone", typing.Dict[builtins.str, typing.Any]]]],
149
+ ) -> None:
151
150
  '''
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.9.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.
151
+ :param value: -
153
152
  '''
154
- value = StorageClone(id=id)
155
-
153
+ if __debug__:
154
+ type_hints = typing.get_type_hints(_typecheckingstub__cb04c88ad09e546f98d281efb2dc693ef336d727deb1ae509156aa6dfd05092f)
155
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
156
156
  return typing.cast(None, jsii.invoke(self, "putClone", [value]))
157
157
 
158
158
  @jsii.member(jsii_name="putImport")
159
159
  def put_import(
160
160
  self,
161
- *,
162
- source: builtins.str,
163
- source_location: builtins.str,
164
- source_hash: typing.Optional[builtins.str] = None,
161
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageImport", typing.Dict[builtins.str, typing.Any]]]],
165
162
  ) -> None:
166
163
  '''
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.9.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.9.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.9.1/docs/resources/storage#source_hash Storage#source_hash}
164
+ :param value: -
170
165
  '''
171
- value = StorageImport(
172
- source=source, source_location=source_location, source_hash=source_hash
173
- )
174
-
166
+ if __debug__:
167
+ type_hints = typing.get_type_hints(_typecheckingstub__47ebccc41ede87ea1bf2ebb142a2f8e12f68702e19b94bb4f7d6cd617b9bfe69)
168
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
175
169
  return typing.cast(None, jsii.invoke(self, "putImport", [value]))
176
170
 
177
171
  @jsii.member(jsii_name="resetBackupRule")
@@ -194,14 +188,14 @@ class Storage(
194
188
  def reset_filesystem_autoresize(self) -> None:
195
189
  return typing.cast(None, jsii.invoke(self, "resetFilesystemAutoresize", []))
196
190
 
197
- @jsii.member(jsii_name="resetId")
198
- def reset_id(self) -> None:
199
- return typing.cast(None, jsii.invoke(self, "resetId", []))
200
-
201
191
  @jsii.member(jsii_name="resetImport")
202
192
  def reset_import(self) -> None:
203
193
  return typing.cast(None, jsii.invoke(self, "resetImport", []))
204
194
 
195
+ @jsii.member(jsii_name="resetLabels")
196
+ def reset_labels(self) -> None:
197
+ return typing.cast(None, jsii.invoke(self, "resetLabels", []))
198
+
205
199
  @jsii.member(jsii_name="resetTier")
206
200
  def reset_tier(self) -> None:
207
201
  return typing.cast(None, jsii.invoke(self, "resetTier", []))
@@ -221,28 +215,47 @@ class Storage(
221
215
 
222
216
  @builtins.property
223
217
  @jsii.member(jsii_name="backupRule")
224
- def backup_rule(self) -> "StorageBackupRuleOutputReference":
225
- return typing.cast("StorageBackupRuleOutputReference", jsii.get(self, "backupRule"))
218
+ def backup_rule(self) -> "StorageBackupRuleList":
219
+ return typing.cast("StorageBackupRuleList", jsii.get(self, "backupRule"))
226
220
 
227
221
  @builtins.property
228
222
  @jsii.member(jsii_name="clone")
229
- def clone(self) -> "StorageCloneOutputReference":
230
- return typing.cast("StorageCloneOutputReference", jsii.get(self, "clone"))
223
+ def clone(self) -> "StorageCloneList":
224
+ return typing.cast("StorageCloneList", jsii.get(self, "clone"))
225
+
226
+ @builtins.property
227
+ @jsii.member(jsii_name="id")
228
+ def id(self) -> builtins.str:
229
+ return typing.cast(builtins.str, jsii.get(self, "id"))
231
230
 
232
231
  @builtins.property
233
232
  @jsii.member(jsii_name="import")
234
- def import_(self) -> "StorageImportOutputReference":
235
- return typing.cast("StorageImportOutputReference", jsii.get(self, "import"))
233
+ def import_(self) -> "StorageImportList":
234
+ return typing.cast("StorageImportList", jsii.get(self, "import"))
235
+
236
+ @builtins.property
237
+ @jsii.member(jsii_name="systemLabels")
238
+ def system_labels(self) -> _cdktf_9a9027ec.StringMap:
239
+ return typing.cast(_cdktf_9a9027ec.StringMap, jsii.get(self, "systemLabels"))
240
+
241
+ @builtins.property
242
+ @jsii.member(jsii_name="type")
243
+ def type(self) -> builtins.str:
244
+ return typing.cast(builtins.str, jsii.get(self, "type"))
236
245
 
237
246
  @builtins.property
238
247
  @jsii.member(jsii_name="backupRuleInput")
239
- def backup_rule_input(self) -> typing.Optional["StorageBackupRule"]:
240
- return typing.cast(typing.Optional["StorageBackupRule"], jsii.get(self, "backupRuleInput"))
248
+ def backup_rule_input(
249
+ self,
250
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageBackupRule"]]]:
251
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageBackupRule"]]], jsii.get(self, "backupRuleInput"))
241
252
 
242
253
  @builtins.property
243
254
  @jsii.member(jsii_name="cloneInput")
244
- def clone_input(self) -> typing.Optional["StorageClone"]:
245
- return typing.cast(typing.Optional["StorageClone"], jsii.get(self, "cloneInput"))
255
+ def clone_input(
256
+ self,
257
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageClone"]]]:
258
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageClone"]]], jsii.get(self, "cloneInput"))
246
259
 
247
260
  @builtins.property
248
261
  @jsii.member(jsii_name="deleteAutoresizeBackupInput")
@@ -266,14 +279,18 @@ class Storage(
266
279
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], jsii.get(self, "filesystemAutoresizeInput"))
267
280
 
268
281
  @builtins.property
269
- @jsii.member(jsii_name="idInput")
270
- def id_input(self) -> typing.Optional[builtins.str]:
271
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
282
+ @jsii.member(jsii_name="importInput")
283
+ def import_input(
284
+ self,
285
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]]:
286
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]], jsii.get(self, "importInput"))
272
287
 
273
288
  @builtins.property
274
- @jsii.member(jsii_name="importInput")
275
- def import_input(self) -> typing.Optional["StorageImport"]:
276
- return typing.cast(typing.Optional["StorageImport"], jsii.get(self, "importInput"))
289
+ @jsii.member(jsii_name="labelsInput")
290
+ def labels_input(
291
+ self,
292
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
293
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
277
294
 
278
295
  @builtins.property
279
296
  @jsii.member(jsii_name="sizeInput")
@@ -345,16 +362,16 @@ class Storage(
345
362
  jsii.set(self, "filesystemAutoresize", value) # pyright: ignore[reportArgumentType]
346
363
 
347
364
  @builtins.property
348
- @jsii.member(jsii_name="id")
349
- def id(self) -> builtins.str:
350
- return typing.cast(builtins.str, jsii.get(self, "id"))
365
+ @jsii.member(jsii_name="labels")
366
+ def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
367
+ return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
351
368
 
352
- @id.setter
353
- def id(self, value: builtins.str) -> None:
369
+ @labels.setter
370
+ def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
354
371
  if __debug__:
355
- type_hints = typing.get_type_hints(_typecheckingstub__d6255ef9e12d2357d11075e2e1f641afadf8a8113b7d44a478ba0081c04e2cbe)
372
+ type_hints = typing.get_type_hints(_typecheckingstub__20d3dfd55ef351b29bb2ba1eee1a561904ac469c103e66161683ebe461589f4f)
356
373
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
357
- jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
374
+ jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
358
375
 
359
376
  @builtins.property
360
377
  @jsii.member(jsii_name="size")
@@ -419,9 +436,9 @@ class StorageBackupRule:
419
436
  time: builtins.str,
420
437
  ) -> None:
421
438
  '''
422
- :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.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.9.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.9.1/docs/resources/storage#time Storage#time}
439
+ :param interval: The weekday when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#interval Storage#interval}
440
+ :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.10.1/docs/resources/storage#retention Storage#retention}
441
+ :param time: The time of day when the backup is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#time Storage#time}
425
442
  '''
426
443
  if __debug__:
427
444
  type_hints = typing.get_type_hints(_typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b6d8319e)
@@ -438,7 +455,7 @@ class StorageBackupRule:
438
455
  def interval(self) -> builtins.str:
439
456
  '''The weekday when the backup is created.
440
457
 
441
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#interval Storage#interval}
458
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#interval Storage#interval}
442
459
  '''
443
460
  result = self._values.get("interval")
444
461
  assert result is not None, "Required property 'interval' is missing"
@@ -448,7 +465,7 @@ class StorageBackupRule:
448
465
  def retention(self) -> jsii.Number:
449
466
  '''The number of days before a backup is automatically deleted.
450
467
 
451
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#retention Storage#retention}
468
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#retention Storage#retention}
452
469
  '''
453
470
  result = self._values.get("retention")
454
471
  assert result is not None, "Required property 'retention' is missing"
@@ -458,7 +475,7 @@ class StorageBackupRule:
458
475
  def time(self) -> builtins.str:
459
476
  '''The time of day when the backup is created.
460
477
 
461
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#time Storage#time}
478
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#time Storage#time}
462
479
  '''
463
480
  result = self._values.get("time")
464
481
  assert result is not None, "Required property 'time' is missing"
@@ -476,6 +493,96 @@ class StorageBackupRule:
476
493
  )
477
494
 
478
495
 
496
+ class StorageBackupRuleList(
497
+ _cdktf_9a9027ec.ComplexList,
498
+ metaclass=jsii.JSIIMeta,
499
+ jsii_type="@cdktf/provider-upcloud.storage.StorageBackupRuleList",
500
+ ):
501
+ def __init__(
502
+ self,
503
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
504
+ terraform_attribute: builtins.str,
505
+ wraps_set: builtins.bool,
506
+ ) -> None:
507
+ '''
508
+ :param terraform_resource: The parent resource.
509
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
510
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
511
+ '''
512
+ if __debug__:
513
+ type_hints = typing.get_type_hints(_typecheckingstub__f47d9ab94c4382c477a1aa316bcdd00822de95cb10df64665e2bc7f56c218f2d)
514
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
515
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
516
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
517
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
518
+
519
+ @jsii.member(jsii_name="get")
520
+ def get(self, index: jsii.Number) -> "StorageBackupRuleOutputReference":
521
+ '''
522
+ :param index: the index of the item to return.
523
+ '''
524
+ if __debug__:
525
+ type_hints = typing.get_type_hints(_typecheckingstub__3dee83383344a5591cad62812b43dab07f02c2c39fabf01927fe0b1c6d816c52)
526
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
527
+ return typing.cast("StorageBackupRuleOutputReference", jsii.invoke(self, "get", [index]))
528
+
529
+ @builtins.property
530
+ @jsii.member(jsii_name="terraformAttribute")
531
+ def _terraform_attribute(self) -> builtins.str:
532
+ '''The attribute on the parent resource this class is referencing.'''
533
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
534
+
535
+ @_terraform_attribute.setter
536
+ def _terraform_attribute(self, value: builtins.str) -> None:
537
+ if __debug__:
538
+ type_hints = typing.get_type_hints(_typecheckingstub__ffde3d50c7b42ff58c2dd00db7597cf9e4b6b47d8b7b2f9a5ec3868fc469204d)
539
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
540
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
541
+
542
+ @builtins.property
543
+ @jsii.member(jsii_name="terraformResource")
544
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
545
+ '''The parent resource.'''
546
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
547
+
548
+ @_terraform_resource.setter
549
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
550
+ if __debug__:
551
+ type_hints = typing.get_type_hints(_typecheckingstub__da123e115b8d338a479ed772d561e4469918b96cc2afdefdf8123c6e89440b5c)
552
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
553
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
554
+
555
+ @builtins.property
556
+ @jsii.member(jsii_name="wrapsSet")
557
+ def _wraps_set(self) -> builtins.bool:
558
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
559
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
560
+
561
+ @_wraps_set.setter
562
+ def _wraps_set(self, value: builtins.bool) -> None:
563
+ if __debug__:
564
+ type_hints = typing.get_type_hints(_typecheckingstub__327c3ab237400f24965f6aa3d10ba75bd2c14546c770a96a40afb528010ff56e)
565
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
566
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
567
+
568
+ @builtins.property
569
+ @jsii.member(jsii_name="internalValue")
570
+ def internal_value(
571
+ self,
572
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]]:
573
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]], jsii.get(self, "internalValue"))
574
+
575
+ @internal_value.setter
576
+ def internal_value(
577
+ self,
578
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]],
579
+ ) -> None:
580
+ if __debug__:
581
+ type_hints = typing.get_type_hints(_typecheckingstub__2cd7f72f81f09e4eb7a5aa0cb1228d30c0aa55a016667f6c8329a4312310a68c)
582
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
583
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
584
+
585
+
479
586
  class StorageBackupRuleOutputReference(
480
587
  _cdktf_9a9027ec.ComplexObject,
481
588
  metaclass=jsii.JSIIMeta,
@@ -485,16 +592,22 @@ class StorageBackupRuleOutputReference(
485
592
  self,
486
593
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
487
594
  terraform_attribute: builtins.str,
595
+ complex_object_index: jsii.Number,
596
+ complex_object_is_from_set: builtins.bool,
488
597
  ) -> None:
489
598
  '''
490
599
  :param terraform_resource: The parent resource.
491
600
  :param terraform_attribute: The attribute on the parent resource this class is referencing.
601
+ :param complex_object_index: the index of this item in the list.
602
+ :param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
492
603
  '''
493
604
  if __debug__:
494
605
  type_hints = typing.get_type_hints(_typecheckingstub__79acd1f0570acd41d1d30a9b059d7a1f28492cd95c21fa3cfd1f76b8f6dae979)
495
606
  check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
496
607
  check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
497
- jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
608
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
609
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
610
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
498
611
 
499
612
  @builtins.property
500
613
  @jsii.member(jsii_name="intervalInput")
@@ -549,11 +662,16 @@ class StorageBackupRuleOutputReference(
549
662
 
550
663
  @builtins.property
551
664
  @jsii.member(jsii_name="internalValue")
552
- def internal_value(self) -> typing.Optional[StorageBackupRule]:
553
- return typing.cast(typing.Optional[StorageBackupRule], jsii.get(self, "internalValue"))
665
+ def internal_value(
666
+ self,
667
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageBackupRule]]:
668
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageBackupRule]], jsii.get(self, "internalValue"))
554
669
 
555
670
  @internal_value.setter
556
- def internal_value(self, value: typing.Optional[StorageBackupRule]) -> None:
671
+ def internal_value(
672
+ self,
673
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageBackupRule]],
674
+ ) -> None:
557
675
  if __debug__:
558
676
  type_hints = typing.get_type_hints(_typecheckingstub__9d4ff67358f7c246d5a3d3ab8a0cf15d38ffc63d05743333016fbd20dd59ab0a)
559
677
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
@@ -568,7 +686,7 @@ class StorageBackupRuleOutputReference(
568
686
  class StorageClone:
569
687
  def __init__(self, *, id: builtins.str) -> None:
570
688
  '''
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.9.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.
689
+ :param id: The unique identifier of the storage/template to clone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.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.
572
690
  '''
573
691
  if __debug__:
574
692
  type_hints = typing.get_type_hints(_typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e255d1e2)
@@ -581,7 +699,7 @@ class StorageClone:
581
699
  def id(self) -> builtins.str:
582
700
  '''The unique identifier of the storage/template to clone.
583
701
 
584
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#id Storage#id}
702
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#id Storage#id}
585
703
 
586
704
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
587
705
  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.
@@ -602,6 +720,96 @@ class StorageClone:
602
720
  )
603
721
 
604
722
 
723
+ class StorageCloneList(
724
+ _cdktf_9a9027ec.ComplexList,
725
+ metaclass=jsii.JSIIMeta,
726
+ jsii_type="@cdktf/provider-upcloud.storage.StorageCloneList",
727
+ ):
728
+ def __init__(
729
+ self,
730
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
731
+ terraform_attribute: builtins.str,
732
+ wraps_set: builtins.bool,
733
+ ) -> None:
734
+ '''
735
+ :param terraform_resource: The parent resource.
736
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
737
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
738
+ '''
739
+ if __debug__:
740
+ type_hints = typing.get_type_hints(_typecheckingstub__0f38f5f8d5521f6b71b773a08b50a096a8f7d3253675891119594a3f9fb013f2)
741
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
742
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
743
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
744
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
745
+
746
+ @jsii.member(jsii_name="get")
747
+ def get(self, index: jsii.Number) -> "StorageCloneOutputReference":
748
+ '''
749
+ :param index: the index of the item to return.
750
+ '''
751
+ if __debug__:
752
+ type_hints = typing.get_type_hints(_typecheckingstub__afde7eb7a2c0af1baeeb182a0e2cf1790614ed9b179298f959d04d068d7d87d5)
753
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
754
+ return typing.cast("StorageCloneOutputReference", jsii.invoke(self, "get", [index]))
755
+
756
+ @builtins.property
757
+ @jsii.member(jsii_name="terraformAttribute")
758
+ def _terraform_attribute(self) -> builtins.str:
759
+ '''The attribute on the parent resource this class is referencing.'''
760
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
761
+
762
+ @_terraform_attribute.setter
763
+ def _terraform_attribute(self, value: builtins.str) -> None:
764
+ if __debug__:
765
+ type_hints = typing.get_type_hints(_typecheckingstub__ee4175e30e831b4edf16aa42064977c04ebc99158e1696005b7c715e7edd784c)
766
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
767
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
768
+
769
+ @builtins.property
770
+ @jsii.member(jsii_name="terraformResource")
771
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
772
+ '''The parent resource.'''
773
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
774
+
775
+ @_terraform_resource.setter
776
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
777
+ if __debug__:
778
+ type_hints = typing.get_type_hints(_typecheckingstub__d9878c018103688badf2535c86a16dffc6728afcce231df9d5a66bddf7eb6d15)
779
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
780
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
781
+
782
+ @builtins.property
783
+ @jsii.member(jsii_name="wrapsSet")
784
+ def _wraps_set(self) -> builtins.bool:
785
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
786
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
787
+
788
+ @_wraps_set.setter
789
+ def _wraps_set(self, value: builtins.bool) -> None:
790
+ if __debug__:
791
+ type_hints = typing.get_type_hints(_typecheckingstub__af41c5f871642f7cbfe951cbc16c36889204cb9428a90f9e08eaf548618ae48d)
792
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
793
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
794
+
795
+ @builtins.property
796
+ @jsii.member(jsii_name="internalValue")
797
+ def internal_value(
798
+ self,
799
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]]:
800
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]], jsii.get(self, "internalValue"))
801
+
802
+ @internal_value.setter
803
+ def internal_value(
804
+ self,
805
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]],
806
+ ) -> None:
807
+ if __debug__:
808
+ type_hints = typing.get_type_hints(_typecheckingstub__3ba9bf556d399bfff171c442a9b57d9e0aab55fc5300d7e2fa41cd5360ddcc44)
809
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
810
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
811
+
812
+
605
813
  class StorageCloneOutputReference(
606
814
  _cdktf_9a9027ec.ComplexObject,
607
815
  metaclass=jsii.JSIIMeta,
@@ -611,16 +819,22 @@ class StorageCloneOutputReference(
611
819
  self,
612
820
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
613
821
  terraform_attribute: builtins.str,
822
+ complex_object_index: jsii.Number,
823
+ complex_object_is_from_set: builtins.bool,
614
824
  ) -> None:
615
825
  '''
616
826
  :param terraform_resource: The parent resource.
617
827
  :param terraform_attribute: The attribute on the parent resource this class is referencing.
828
+ :param complex_object_index: the index of this item in the list.
829
+ :param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
618
830
  '''
619
831
  if __debug__:
620
832
  type_hints = typing.get_type_hints(_typecheckingstub__48239a57eb75b22f505aac257715fcde0bbf96174431e3bee760b056e7444804)
621
833
  check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
622
834
  check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
623
- jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
835
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
836
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
837
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
624
838
 
625
839
  @builtins.property
626
840
  @jsii.member(jsii_name="idInput")
@@ -641,11 +855,16 @@ class StorageCloneOutputReference(
641
855
 
642
856
  @builtins.property
643
857
  @jsii.member(jsii_name="internalValue")
644
- def internal_value(self) -> typing.Optional[StorageClone]:
645
- return typing.cast(typing.Optional[StorageClone], jsii.get(self, "internalValue"))
858
+ def internal_value(
859
+ self,
860
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageClone]]:
861
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageClone]], jsii.get(self, "internalValue"))
646
862
 
647
863
  @internal_value.setter
648
- def internal_value(self, value: typing.Optional[StorageClone]) -> None:
864
+ def internal_value(
865
+ self,
866
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageClone]],
867
+ ) -> None:
649
868
  if __debug__:
650
869
  type_hints = typing.get_type_hints(_typecheckingstub__685a9b10adebb6f4461de509e7d2cbfa62368d279dc21b410a145ef92ea4d003)
651
870
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
@@ -671,8 +890,8 @@ class StorageCloneOutputReference(
671
890
  "delete_autoresize_backup": "deleteAutoresizeBackup",
672
891
  "encrypt": "encrypt",
673
892
  "filesystem_autoresize": "filesystemAutoresize",
674
- "id": "id",
675
893
  "import_": "import",
894
+ "labels": "labels",
676
895
  "tier": "tier",
677
896
  },
678
897
  )
@@ -690,13 +909,13 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
690
909
  size: jsii.Number,
691
910
  title: builtins.str,
692
911
  zone: builtins.str,
693
- backup_rule: typing.Optional[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]] = None,
694
- clone: typing.Optional[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]] = None,
912
+ backup_rule: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]]]] = None,
913
+ clone: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]]]] = None,
695
914
  delete_autoresize_backup: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
696
915
  encrypt: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
697
916
  filesystem_autoresize: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
698
- id: typing.Optional[builtins.str] = None,
699
- import_: typing.Optional[typing.Union["StorageImport", typing.Dict[builtins.str, typing.Any]]] = None,
917
+ import_: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["StorageImport", typing.Dict[builtins.str, typing.Any]]]]] = None,
918
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
700
919
  tier: typing.Optional[builtins.str] = None,
701
920
  ) -> None:
702
921
  '''
@@ -707,26 +926,20 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
707
926
  :param lifecycle:
708
927
  :param provider:
709
928
  :param provisioners:
710
- :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.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.9.1/docs/resources/storage#tier Storage#tier}
929
+ :param size: The size of the storage in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#size Storage#size}
930
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#title Storage#title}
931
+ :param zone: The zone the storage is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#zone Storage#zone}
932
+ :param backup_rule: backup_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#backup_rule Storage#backup_rule}
933
+ :param clone: clone block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#clone Storage#clone}
934
+ :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.10.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
935
+ :param encrypt: Sets if the storage is encrypted at rest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#encrypt Storage#encrypt}
936
+ :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.10.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
937
+ :param import_: import block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#import Storage#import}
938
+ :param labels: User defined key-value pairs to classify the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#labels Storage#labels}
939
+ :param tier: The tier of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#tier Storage#tier}
721
940
  '''
722
941
  if isinstance(lifecycle, dict):
723
942
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
724
- if isinstance(backup_rule, dict):
725
- backup_rule = StorageBackupRule(**backup_rule)
726
- if isinstance(clone, dict):
727
- clone = StorageClone(**clone)
728
- if isinstance(import_, dict):
729
- import_ = StorageImport(**import_)
730
943
  if __debug__:
731
944
  type_hints = typing.get_type_hints(_typecheckingstub__f3b997f8c0e1ba77540ed4dbe79f9ba129f5ad571ef561c377860e938a3004f0)
732
945
  check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
@@ -744,8 +957,8 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
744
957
  check_type(argname="argument delete_autoresize_backup", value=delete_autoresize_backup, expected_type=type_hints["delete_autoresize_backup"])
745
958
  check_type(argname="argument encrypt", value=encrypt, expected_type=type_hints["encrypt"])
746
959
  check_type(argname="argument filesystem_autoresize", value=filesystem_autoresize, expected_type=type_hints["filesystem_autoresize"])
747
- check_type(argname="argument id", value=id, expected_type=type_hints["id"])
748
960
  check_type(argname="argument import_", value=import_, expected_type=type_hints["import_"])
961
+ check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
749
962
  check_type(argname="argument tier", value=tier, expected_type=type_hints["tier"])
750
963
  self._values: typing.Dict[builtins.str, typing.Any] = {
751
964
  "size": size,
@@ -776,10 +989,10 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
776
989
  self._values["encrypt"] = encrypt
777
990
  if filesystem_autoresize is not None:
778
991
  self._values["filesystem_autoresize"] = filesystem_autoresize
779
- if id is not None:
780
- self._values["id"] = id
781
992
  if import_ is not None:
782
993
  self._values["import_"] = import_
994
+ if labels is not None:
995
+ self._values["labels"] = labels
783
996
  if tier is not None:
784
997
  self._values["tier"] = tier
785
998
 
@@ -851,7 +1064,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
851
1064
  def size(self) -> jsii.Number:
852
1065
  '''The size of the storage in gigabytes.
853
1066
 
854
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#size Storage#size}
1067
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#size Storage#size}
855
1068
  '''
856
1069
  result = self._values.get("size")
857
1070
  assert result is not None, "Required property 'size' is missing"
@@ -859,9 +1072,9 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
859
1072
 
860
1073
  @builtins.property
861
1074
  def title(self) -> builtins.str:
862
- '''A short, informative description.
1075
+ '''The title of the storage.
863
1076
 
864
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#title Storage#title}
1077
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#title Storage#title}
865
1078
  '''
866
1079
  result = self._values.get("title")
867
1080
  assert result is not None, "Required property 'title' is missing"
@@ -869,31 +1082,35 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
869
1082
 
870
1083
  @builtins.property
871
1084
  def zone(self) -> builtins.str:
872
- '''The zone in which the storage will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
1085
+ '''The zone the storage is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
873
1086
 
874
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#zone Storage#zone}
1087
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#zone Storage#zone}
875
1088
  '''
876
1089
  result = self._values.get("zone")
877
1090
  assert result is not None, "Required property 'zone' is missing"
878
1091
  return typing.cast(builtins.str, result)
879
1092
 
880
1093
  @builtins.property
881
- def backup_rule(self) -> typing.Optional[StorageBackupRule]:
1094
+ def backup_rule(
1095
+ self,
1096
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]]:
882
1097
  '''backup_rule block.
883
1098
 
884
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#backup_rule Storage#backup_rule}
1099
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#backup_rule Storage#backup_rule}
885
1100
  '''
886
1101
  result = self._values.get("backup_rule")
887
- return typing.cast(typing.Optional[StorageBackupRule], result)
1102
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]], result)
888
1103
 
889
1104
  @builtins.property
890
- def clone(self) -> typing.Optional[StorageClone]:
1105
+ def clone(
1106
+ self,
1107
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]]:
891
1108
  '''clone block.
892
1109
 
893
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#clone Storage#clone}
1110
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#clone Storage#clone}
894
1111
  '''
895
1112
  result = self._values.get("clone")
896
- return typing.cast(typing.Optional[StorageClone], result)
1113
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]], result)
897
1114
 
898
1115
  @builtins.property
899
1116
  def delete_autoresize_backup(
@@ -901,7 +1118,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
901
1118
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
902
1119
  '''If set to true, the backup taken before the partition and filesystem resize attempt will be deleted immediately after success.
903
1120
 
904
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
1121
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#delete_autoresize_backup Storage#delete_autoresize_backup}
905
1122
  '''
906
1123
  result = self._values.get("delete_autoresize_backup")
907
1124
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -912,7 +1129,7 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
912
1129
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
913
1130
  '''Sets if the storage is encrypted at rest.
914
1131
 
915
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#encrypt Storage#encrypt}
1132
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#encrypt Storage#encrypt}
916
1133
  '''
917
1134
  result = self._values.get("encrypt")
918
1135
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
@@ -923,39 +1140,39 @@ class StorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
923
1140
  ) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
924
1141
  '''If set to true, provider will attempt to resize partition and filesystem when the size of the storage changes.
925
1142
 
926
- 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
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).
1143
+ 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).
928
1144
  Taking and keeping backups incure costs.
929
1145
 
930
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
1146
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#filesystem_autoresize Storage#filesystem_autoresize}
931
1147
  '''
932
1148
  result = self._values.get("filesystem_autoresize")
933
1149
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
934
1150
 
935
1151
  @builtins.property
936
- def id(self) -> typing.Optional[builtins.str]:
937
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#id Storage#id}.
1152
+ def import_(
1153
+ self,
1154
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]]:
1155
+ '''import block.
938
1156
 
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.
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.
1157
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#import Storage#import}
941
1158
  '''
942
- result = self._values.get("id")
943
- return typing.cast(typing.Optional[builtins.str], result)
1159
+ result = self._values.get("import_")
1160
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["StorageImport"]]], result)
944
1161
 
945
1162
  @builtins.property
946
- def import_(self) -> typing.Optional["StorageImport"]:
947
- '''import block.
1163
+ def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
1164
+ '''User defined key-value pairs to classify the storage.
948
1165
 
949
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#import Storage#import}
1166
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#labels Storage#labels}
950
1167
  '''
951
- result = self._values.get("import_")
952
- return typing.cast(typing.Optional["StorageImport"], result)
1168
+ result = self._values.get("labels")
1169
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
953
1170
 
954
1171
  @builtins.property
955
1172
  def tier(self) -> typing.Optional[builtins.str]:
956
- '''The storage tier to use.
1173
+ '''The tier of the storage.
957
1174
 
958
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#tier Storage#tier}
1175
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#tier Storage#tier}
959
1176
  '''
960
1177
  result = self._values.get("tier")
961
1178
  return typing.cast(typing.Optional[builtins.str], result)
@@ -990,9 +1207,9 @@ class StorageImport:
990
1207
  source_hash: typing.Optional[builtins.str] = None,
991
1208
  ) -> None:
992
1209
  '''
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.9.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.9.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.9.1/docs/resources/storage#source_hash Storage#source_hash}
1210
+ :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.10.1/docs/resources/storage#source Storage#source}
1211
+ :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.10.1/docs/resources/storage#source_location Storage#source_location}
1212
+ :param source_hash: SHA256 hash of the source content. This hash is used to verify the integrity of the imported data by comparing it to ``sha256sum`` after the import has completed. Possible filename is automatically removed from the hash before comparison. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#source_hash Storage#source_hash}
996
1213
  '''
997
1214
  if __debug__:
998
1215
  type_hints = typing.get_type_hints(_typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b12e5aef)
@@ -1010,7 +1227,7 @@ class StorageImport:
1010
1227
  def source(self) -> builtins.str:
1011
1228
  '''The mode of the import task. One of ``http_import`` or ``direct_upload``.
1012
1229
 
1013
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#source Storage#source}
1230
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#source Storage#source}
1014
1231
  '''
1015
1232
  result = self._values.get("source")
1016
1233
  assert result is not None, "Required property 'source' is missing"
@@ -1020,7 +1237,7 @@ class StorageImport:
1020
1237
  def source_location(self) -> builtins.str:
1021
1238
  '''The location of the file to import. For ``http_import`` an accessible URL for ``direct_upload`` a local file.
1022
1239
 
1023
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#source_location Storage#source_location}
1240
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#source_location Storage#source_location}
1024
1241
  '''
1025
1242
  result = self._values.get("source_location")
1026
1243
  assert result is not None, "Required property 'source_location' is missing"
@@ -1028,9 +1245,11 @@ class StorageImport:
1028
1245
 
1029
1246
  @builtins.property
1030
1247
  def source_hash(self) -> typing.Optional[builtins.str]:
1031
- '''For ``direct_upload``; an optional hash of the file to upload.
1248
+ '''SHA256 hash of the source content.
1249
+
1250
+ This hash is used to verify the integrity of the imported data by comparing it to ``sha256sum`` after the import has completed. Possible filename is automatically removed from the hash before comparison.
1032
1251
 
1033
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/storage#source_hash Storage#source_hash}
1252
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/resources/storage#source_hash Storage#source_hash}
1034
1253
  '''
1035
1254
  result = self._values.get("source_hash")
1036
1255
  return typing.cast(typing.Optional[builtins.str], result)
@@ -1047,6 +1266,96 @@ class StorageImport:
1047
1266
  )
1048
1267
 
1049
1268
 
1269
+ class StorageImportList(
1270
+ _cdktf_9a9027ec.ComplexList,
1271
+ metaclass=jsii.JSIIMeta,
1272
+ jsii_type="@cdktf/provider-upcloud.storage.StorageImportList",
1273
+ ):
1274
+ def __init__(
1275
+ self,
1276
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1277
+ terraform_attribute: builtins.str,
1278
+ wraps_set: builtins.bool,
1279
+ ) -> None:
1280
+ '''
1281
+ :param terraform_resource: The parent resource.
1282
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
1283
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
1284
+ '''
1285
+ if __debug__:
1286
+ type_hints = typing.get_type_hints(_typecheckingstub__1ca036151dfe0d1afc332e267cc18a80a404d0edc171af0e383e640ebe934dfd)
1287
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
1288
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
1289
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
1290
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
1291
+
1292
+ @jsii.member(jsii_name="get")
1293
+ def get(self, index: jsii.Number) -> "StorageImportOutputReference":
1294
+ '''
1295
+ :param index: the index of the item to return.
1296
+ '''
1297
+ if __debug__:
1298
+ type_hints = typing.get_type_hints(_typecheckingstub__97c3f88fddeff4a1ea70e37124ec5871cc6be639f09ec1396b04f8073391d6fe)
1299
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
1300
+ return typing.cast("StorageImportOutputReference", jsii.invoke(self, "get", [index]))
1301
+
1302
+ @builtins.property
1303
+ @jsii.member(jsii_name="terraformAttribute")
1304
+ def _terraform_attribute(self) -> builtins.str:
1305
+ '''The attribute on the parent resource this class is referencing.'''
1306
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
1307
+
1308
+ @_terraform_attribute.setter
1309
+ def _terraform_attribute(self, value: builtins.str) -> None:
1310
+ if __debug__:
1311
+ type_hints = typing.get_type_hints(_typecheckingstub__3625bdd7a1190cdf248cd85b30feb17e29703f68752315459ad4ac8a409d2a81)
1312
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1313
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
1314
+
1315
+ @builtins.property
1316
+ @jsii.member(jsii_name="terraformResource")
1317
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
1318
+ '''The parent resource.'''
1319
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
1320
+
1321
+ @_terraform_resource.setter
1322
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
1323
+ if __debug__:
1324
+ type_hints = typing.get_type_hints(_typecheckingstub__75f451e88b83e0c57b08012682304f3d80856ad199341d4902d0bc421d53f4a4)
1325
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1326
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
1327
+
1328
+ @builtins.property
1329
+ @jsii.member(jsii_name="wrapsSet")
1330
+ def _wraps_set(self) -> builtins.bool:
1331
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
1332
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
1333
+
1334
+ @_wraps_set.setter
1335
+ def _wraps_set(self, value: builtins.bool) -> None:
1336
+ if __debug__:
1337
+ type_hints = typing.get_type_hints(_typecheckingstub__65e5caef326823348ae273036b0dae37d9a214bec9502dda62beb2a0755e5cfc)
1338
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1339
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
1340
+
1341
+ @builtins.property
1342
+ @jsii.member(jsii_name="internalValue")
1343
+ def internal_value(
1344
+ self,
1345
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageImport]]]:
1346
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageImport]]], jsii.get(self, "internalValue"))
1347
+
1348
+ @internal_value.setter
1349
+ def internal_value(
1350
+ self,
1351
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageImport]]],
1352
+ ) -> None:
1353
+ if __debug__:
1354
+ type_hints = typing.get_type_hints(_typecheckingstub__b86ab7d07c32f5565fbf5da790a2c0b162ad2bb6dadeaf1e2337dd491685b61d)
1355
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1356
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
1357
+
1358
+
1050
1359
  class StorageImportOutputReference(
1051
1360
  _cdktf_9a9027ec.ComplexObject,
1052
1361
  metaclass=jsii.JSIIMeta,
@@ -1056,16 +1365,22 @@ class StorageImportOutputReference(
1056
1365
  self,
1057
1366
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1058
1367
  terraform_attribute: builtins.str,
1368
+ complex_object_index: jsii.Number,
1369
+ complex_object_is_from_set: builtins.bool,
1059
1370
  ) -> None:
1060
1371
  '''
1061
1372
  :param terraform_resource: The parent resource.
1062
1373
  :param terraform_attribute: The attribute on the parent resource this class is referencing.
1374
+ :param complex_object_index: the index of this item in the list.
1375
+ :param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
1063
1376
  '''
1064
1377
  if __debug__:
1065
1378
  type_hints = typing.get_type_hints(_typecheckingstub__e66a7270222364c30997f790f7f23af2502ac2e8c8763949438baad140eea0d3)
1066
1379
  check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
1067
1380
  check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
1068
- jsii.create(self.__class__, self, [terraform_resource, terraform_attribute])
1381
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
1382
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
1383
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
1069
1384
 
1070
1385
  @jsii.member(jsii_name="resetSourceHash")
1071
1386
  def reset_source_hash(self) -> None:
@@ -1134,11 +1449,16 @@ class StorageImportOutputReference(
1134
1449
 
1135
1450
  @builtins.property
1136
1451
  @jsii.member(jsii_name="internalValue")
1137
- def internal_value(self) -> typing.Optional[StorageImport]:
1138
- return typing.cast(typing.Optional[StorageImport], jsii.get(self, "internalValue"))
1452
+ def internal_value(
1453
+ self,
1454
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageImport]]:
1455
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageImport]], jsii.get(self, "internalValue"))
1139
1456
 
1140
1457
  @internal_value.setter
1141
- def internal_value(self, value: typing.Optional[StorageImport]) -> None:
1458
+ def internal_value(
1459
+ self,
1460
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageImport]],
1461
+ ) -> None:
1142
1462
  if __debug__:
1143
1463
  type_hints = typing.get_type_hints(_typecheckingstub__d66141771f37780cb2aa71d3bf15bb4926c76a9eea26fb0083afa9c47b8c618d)
1144
1464
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
@@ -1148,11 +1468,14 @@ class StorageImportOutputReference(
1148
1468
  __all__ = [
1149
1469
  "Storage",
1150
1470
  "StorageBackupRule",
1471
+ "StorageBackupRuleList",
1151
1472
  "StorageBackupRuleOutputReference",
1152
1473
  "StorageClone",
1474
+ "StorageCloneList",
1153
1475
  "StorageCloneOutputReference",
1154
1476
  "StorageConfig",
1155
1477
  "StorageImport",
1478
+ "StorageImportList",
1156
1479
  "StorageImportOutputReference",
1157
1480
  ]
1158
1481
 
@@ -1160,18 +1483,18 @@ publication.publish()
1160
1483
 
1161
1484
  def _typecheckingstub__9bd49f2a434a513b68a524662cb122923af8f05e089aa4ea48c714fcf072d8f7(
1162
1485
  scope: _constructs_77d1e7e8.Construct,
1163
- id_: builtins.str,
1486
+ id: builtins.str,
1164
1487
  *,
1165
1488
  size: jsii.Number,
1166
1489
  title: builtins.str,
1167
1490
  zone: builtins.str,
1168
- backup_rule: typing.Optional[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]] = None,
1169
- clone: typing.Optional[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]] = None,
1491
+ backup_rule: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]]]] = None,
1492
+ clone: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]]]] = None,
1170
1493
  delete_autoresize_backup: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1171
1494
  encrypt: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1172
1495
  filesystem_autoresize: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1173
- id: typing.Optional[builtins.str] = None,
1174
- import_: typing.Optional[typing.Union[StorageImport, typing.Dict[builtins.str, typing.Any]]] = None,
1496
+ import_: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageImport, typing.Dict[builtins.str, typing.Any]]]]] = None,
1497
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1175
1498
  tier: typing.Optional[builtins.str] = None,
1176
1499
  connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
1177
1500
  count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
@@ -1193,6 +1516,24 @@ def _typecheckingstub__481856d5d7a7d582fe4a338e67bf071e997c3576553d68c4127445937
1193
1516
  """Type checking stubs"""
1194
1517
  pass
1195
1518
 
1519
+ def _typecheckingstub__bbe3cb3b69b7cc1723d7cf5578484737fc29a4a5ee5059d3c155fcb8375b8b7e(
1520
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]]],
1521
+ ) -> None:
1522
+ """Type checking stubs"""
1523
+ pass
1524
+
1525
+ def _typecheckingstub__cb04c88ad09e546f98d281efb2dc693ef336d727deb1ae509156aa6dfd05092f(
1526
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]]],
1527
+ ) -> None:
1528
+ """Type checking stubs"""
1529
+ pass
1530
+
1531
+ def _typecheckingstub__47ebccc41ede87ea1bf2ebb142a2f8e12f68702e19b94bb4f7d6cd617b9bfe69(
1532
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageImport, typing.Dict[builtins.str, typing.Any]]]],
1533
+ ) -> None:
1534
+ """Type checking stubs"""
1535
+ pass
1536
+
1196
1537
  def _typecheckingstub__82e9c6a5507cc90cebc8ac472e9dd0232026b4603054a7c2ecb59c00a7a6785a(
1197
1538
  value: typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable],
1198
1539
  ) -> None:
@@ -1211,8 +1552,8 @@ def _typecheckingstub__173705963bc967a175d1c32d3e8bff20d51685b6cd3b830c105292ade
1211
1552
  """Type checking stubs"""
1212
1553
  pass
1213
1554
 
1214
- def _typecheckingstub__d6255ef9e12d2357d11075e2e1f641afadf8a8113b7d44a478ba0081c04e2cbe(
1215
- value: builtins.str,
1555
+ def _typecheckingstub__20d3dfd55ef351b29bb2ba1eee1a561904ac469c103e66161683ebe461589f4f(
1556
+ value: typing.Mapping[builtins.str, builtins.str],
1216
1557
  ) -> None:
1217
1558
  """Type checking stubs"""
1218
1559
  pass
@@ -1250,9 +1591,49 @@ def _typecheckingstub__eee27a48ad2ef9945a89867effeeb18fc1f477a3f16c16ee7e3dc286b
1250
1591
  """Type checking stubs"""
1251
1592
  pass
1252
1593
 
1594
+ def _typecheckingstub__f47d9ab94c4382c477a1aa316bcdd00822de95cb10df64665e2bc7f56c218f2d(
1595
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1596
+ terraform_attribute: builtins.str,
1597
+ wraps_set: builtins.bool,
1598
+ ) -> None:
1599
+ """Type checking stubs"""
1600
+ pass
1601
+
1602
+ def _typecheckingstub__3dee83383344a5591cad62812b43dab07f02c2c39fabf01927fe0b1c6d816c52(
1603
+ index: jsii.Number,
1604
+ ) -> None:
1605
+ """Type checking stubs"""
1606
+ pass
1607
+
1608
+ def _typecheckingstub__ffde3d50c7b42ff58c2dd00db7597cf9e4b6b47d8b7b2f9a5ec3868fc469204d(
1609
+ value: builtins.str,
1610
+ ) -> None:
1611
+ """Type checking stubs"""
1612
+ pass
1613
+
1614
+ def _typecheckingstub__da123e115b8d338a479ed772d561e4469918b96cc2afdefdf8123c6e89440b5c(
1615
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1616
+ ) -> None:
1617
+ """Type checking stubs"""
1618
+ pass
1619
+
1620
+ def _typecheckingstub__327c3ab237400f24965f6aa3d10ba75bd2c14546c770a96a40afb528010ff56e(
1621
+ value: builtins.bool,
1622
+ ) -> None:
1623
+ """Type checking stubs"""
1624
+ pass
1625
+
1626
+ def _typecheckingstub__2cd7f72f81f09e4eb7a5aa0cb1228d30c0aa55a016667f6c8329a4312310a68c(
1627
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageBackupRule]]],
1628
+ ) -> None:
1629
+ """Type checking stubs"""
1630
+ pass
1631
+
1253
1632
  def _typecheckingstub__79acd1f0570acd41d1d30a9b059d7a1f28492cd95c21fa3cfd1f76b8f6dae979(
1254
1633
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1255
1634
  terraform_attribute: builtins.str,
1635
+ complex_object_index: jsii.Number,
1636
+ complex_object_is_from_set: builtins.bool,
1256
1637
  ) -> None:
1257
1638
  """Type checking stubs"""
1258
1639
  pass
@@ -1276,7 +1657,7 @@ def _typecheckingstub__9c52c078d21af8542570c2817d5b08637de26e42882b63544611277d3
1276
1657
  pass
1277
1658
 
1278
1659
  def _typecheckingstub__9d4ff67358f7c246d5a3d3ab8a0cf15d38ffc63d05743333016fbd20dd59ab0a(
1279
- value: typing.Optional[StorageBackupRule],
1660
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageBackupRule]],
1280
1661
  ) -> None:
1281
1662
  """Type checking stubs"""
1282
1663
  pass
@@ -1288,9 +1669,49 @@ def _typecheckingstub__efe8b26017a7929b77162de356dd088dc3adf3b5cf8edbcdd06aee07e
1288
1669
  """Type checking stubs"""
1289
1670
  pass
1290
1671
 
1672
+ def _typecheckingstub__0f38f5f8d5521f6b71b773a08b50a096a8f7d3253675891119594a3f9fb013f2(
1673
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1674
+ terraform_attribute: builtins.str,
1675
+ wraps_set: builtins.bool,
1676
+ ) -> None:
1677
+ """Type checking stubs"""
1678
+ pass
1679
+
1680
+ def _typecheckingstub__afde7eb7a2c0af1baeeb182a0e2cf1790614ed9b179298f959d04d068d7d87d5(
1681
+ index: jsii.Number,
1682
+ ) -> None:
1683
+ """Type checking stubs"""
1684
+ pass
1685
+
1686
+ def _typecheckingstub__ee4175e30e831b4edf16aa42064977c04ebc99158e1696005b7c715e7edd784c(
1687
+ value: builtins.str,
1688
+ ) -> None:
1689
+ """Type checking stubs"""
1690
+ pass
1691
+
1692
+ def _typecheckingstub__d9878c018103688badf2535c86a16dffc6728afcce231df9d5a66bddf7eb6d15(
1693
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1694
+ ) -> None:
1695
+ """Type checking stubs"""
1696
+ pass
1697
+
1698
+ def _typecheckingstub__af41c5f871642f7cbfe951cbc16c36889204cb9428a90f9e08eaf548618ae48d(
1699
+ value: builtins.bool,
1700
+ ) -> None:
1701
+ """Type checking stubs"""
1702
+ pass
1703
+
1704
+ def _typecheckingstub__3ba9bf556d399bfff171c442a9b57d9e0aab55fc5300d7e2fa41cd5360ddcc44(
1705
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageClone]]],
1706
+ ) -> None:
1707
+ """Type checking stubs"""
1708
+ pass
1709
+
1291
1710
  def _typecheckingstub__48239a57eb75b22f505aac257715fcde0bbf96174431e3bee760b056e7444804(
1292
1711
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1293
1712
  terraform_attribute: builtins.str,
1713
+ complex_object_index: jsii.Number,
1714
+ complex_object_is_from_set: builtins.bool,
1294
1715
  ) -> None:
1295
1716
  """Type checking stubs"""
1296
1717
  pass
@@ -1302,7 +1723,7 @@ def _typecheckingstub__ca78226c75d14e1601b7fb67b274c90d7c993635ef97e10dac32118b4
1302
1723
  pass
1303
1724
 
1304
1725
  def _typecheckingstub__685a9b10adebb6f4461de509e7d2cbfa62368d279dc21b410a145ef92ea4d003(
1305
- value: typing.Optional[StorageClone],
1726
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageClone]],
1306
1727
  ) -> None:
1307
1728
  """Type checking stubs"""
1308
1729
  pass
@@ -1319,13 +1740,13 @@ def _typecheckingstub__f3b997f8c0e1ba77540ed4dbe79f9ba129f5ad571ef561c377860e938
1319
1740
  size: jsii.Number,
1320
1741
  title: builtins.str,
1321
1742
  zone: builtins.str,
1322
- backup_rule: typing.Optional[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]] = None,
1323
- clone: typing.Optional[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]] = None,
1743
+ backup_rule: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageBackupRule, typing.Dict[builtins.str, typing.Any]]]]] = None,
1744
+ clone: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageClone, typing.Dict[builtins.str, typing.Any]]]]] = None,
1324
1745
  delete_autoresize_backup: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1325
1746
  encrypt: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1326
1747
  filesystem_autoresize: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
1327
- id: typing.Optional[builtins.str] = None,
1328
- import_: typing.Optional[typing.Union[StorageImport, typing.Dict[builtins.str, typing.Any]]] = None,
1748
+ import_: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[StorageImport, typing.Dict[builtins.str, typing.Any]]]]] = None,
1749
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1329
1750
  tier: typing.Optional[builtins.str] = None,
1330
1751
  ) -> None:
1331
1752
  """Type checking stubs"""
@@ -1340,9 +1761,49 @@ def _typecheckingstub__57190dc28106231e6a3ad0101dea1fddce123659be23a411969999c2b
1340
1761
  """Type checking stubs"""
1341
1762
  pass
1342
1763
 
1764
+ def _typecheckingstub__1ca036151dfe0d1afc332e267cc18a80a404d0edc171af0e383e640ebe934dfd(
1765
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1766
+ terraform_attribute: builtins.str,
1767
+ wraps_set: builtins.bool,
1768
+ ) -> None:
1769
+ """Type checking stubs"""
1770
+ pass
1771
+
1772
+ def _typecheckingstub__97c3f88fddeff4a1ea70e37124ec5871cc6be639f09ec1396b04f8073391d6fe(
1773
+ index: jsii.Number,
1774
+ ) -> None:
1775
+ """Type checking stubs"""
1776
+ pass
1777
+
1778
+ def _typecheckingstub__3625bdd7a1190cdf248cd85b30feb17e29703f68752315459ad4ac8a409d2a81(
1779
+ value: builtins.str,
1780
+ ) -> None:
1781
+ """Type checking stubs"""
1782
+ pass
1783
+
1784
+ def _typecheckingstub__75f451e88b83e0c57b08012682304f3d80856ad199341d4902d0bc421d53f4a4(
1785
+ value: _cdktf_9a9027ec.IInterpolatingParent,
1786
+ ) -> None:
1787
+ """Type checking stubs"""
1788
+ pass
1789
+
1790
+ def _typecheckingstub__65e5caef326823348ae273036b0dae37d9a214bec9502dda62beb2a0755e5cfc(
1791
+ value: builtins.bool,
1792
+ ) -> None:
1793
+ """Type checking stubs"""
1794
+ pass
1795
+
1796
+ def _typecheckingstub__b86ab7d07c32f5565fbf5da790a2c0b162ad2bb6dadeaf1e2337dd491685b61d(
1797
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[StorageImport]]],
1798
+ ) -> None:
1799
+ """Type checking stubs"""
1800
+ pass
1801
+
1343
1802
  def _typecheckingstub__e66a7270222364c30997f790f7f23af2502ac2e8c8763949438baad140eea0d3(
1344
1803
  terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
1345
1804
  terraform_attribute: builtins.str,
1805
+ complex_object_index: jsii.Number,
1806
+ complex_object_is_from_set: builtins.bool,
1346
1807
  ) -> None:
1347
1808
  """Type checking stubs"""
1348
1809
  pass
@@ -1366,7 +1827,7 @@ def _typecheckingstub__326f95ec068388f42e02dffa288f85df182af1ca76926619cf096ce61
1366
1827
  pass
1367
1828
 
1368
1829
  def _typecheckingstub__d66141771f37780cb2aa71d3bf15bb4926c76a9eea26fb0083afa9c47b8c618d(
1369
- value: typing.Optional[StorageImport],
1830
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, StorageImport]],
1370
1831
  ) -> None:
1371
1832
  """Type checking stubs"""
1372
1833
  pass