cdktf-cdktf-provider-upcloud 14.10.1__py3-none-any.whl → 14.11.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 (65) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +23 -4
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +18 -3
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.11.1.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +23 -8
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +23 -8
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +23 -8
  7. cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +38 -23
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +29 -14
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +46 -31
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +38 -23
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +26 -11
  13. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +23 -8
  14. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +29 -14
  15. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +131 -54
  16. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +23 -8
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +26 -11
  18. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +23 -8
  19. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +57 -42
  20. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +32 -17
  21. cdktf_cdktf_provider_upcloud/gateway/__init__.py +53 -38
  22. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +50 -35
  23. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +77 -62
  24. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +47 -32
  25. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +74 -59
  26. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +58 -43
  27. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +245 -175
  28. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +29 -14
  29. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +44 -29
  30. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +29 -14
  31. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +49 -34
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +209 -194
  33. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +29 -14
  34. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +32 -17
  35. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +47 -32
  36. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +44 -29
  37. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +35 -20
  38. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +211 -196
  39. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +457 -442
  40. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +325 -310
  41. cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +139 -124
  42. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +66 -51
  43. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +46 -31
  44. cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +32 -17
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +29 -14
  47. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +32 -17
  48. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +32 -17
  49. cdktf_cdktf_provider_upcloud/network/__init__.py +49 -34
  50. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +39 -24
  51. cdktf_cdktf_provider_upcloud/object_storage/__init__.py +46 -31
  52. cdktf_cdktf_provider_upcloud/provider/__init__.py +41 -26
  53. cdktf_cdktf_provider_upcloud/router/__init__.py +35 -20
  54. cdktf_cdktf_provider_upcloud/server/__init__.py +169 -154
  55. cdktf_cdktf_provider_upcloud/server_group/__init__.py +35 -20
  56. cdktf_cdktf_provider_upcloud/storage/__init__.py +70 -53
  57. cdktf_cdktf_provider_upcloud/storage_template/__init__.py +29 -14
  58. cdktf_cdktf_provider_upcloud/tag/__init__.py +32 -17
  59. {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/METADATA +6 -6
  60. cdktf_cdktf_provider_upcloud-14.11.1.dist-info/RECORD +64 -0
  61. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.10.1.jsii.tgz +0 -0
  62. cdktf_cdktf_provider_upcloud-14.10.1.dist-info/RECORD +0 -62
  63. {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/LICENSE +0 -0
  64. {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/WHEEL +0 -0
  65. {cdktf_cdktf_provider_upcloud-14.10.1.dist-info → cdktf_cdktf_provider_upcloud-14.11.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `data_upcloud_networks`
3
3
 
4
- Refer to the Terraform Registry for docs: [`data_upcloud_networks`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks).
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_networks`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -16,7 +16,22 @@ import jsii
16
16
  import publication
17
17
  import typing_extensions
18
18
 
19
- from typeguard import check_type
19
+ import typeguard
20
+ from importlib.metadata import version as _metadata_package_version
21
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
22
+
23
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
24
+ if TYPEGUARD_MAJOR_VERSION <= 2:
25
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
26
+ else:
27
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
28
+ pass
29
+ else:
30
+ if TYPEGUARD_MAJOR_VERSION == 3:
31
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
32
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
33
+ else:
34
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
20
35
 
21
36
  from .._jsii import *
22
37
 
@@ -29,7 +44,7 @@ class DataUpcloudNetworks(
29
44
  metaclass=jsii.JSIIMeta,
30
45
  jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworks",
31
46
  ):
32
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks upcloud_networks}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks upcloud_networks}.'''
33
48
 
34
49
  def __init__(
35
50
  self,
@@ -47,13 +62,13 @@ class DataUpcloudNetworks(
47
62
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
48
63
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
49
64
  ) -> None:
50
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks upcloud_networks} Data Source.
65
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks upcloud_networks} Data Source.
51
66
 
52
67
  :param scope: The scope in which to define this construct.
53
68
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
54
- :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
55
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#id DataUpcloudNetworks#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
56
- :param zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
69
+ :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
70
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#id DataUpcloudNetworks#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 zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
57
72
  :param connection:
58
73
  :param count:
59
74
  :param depends_on:
@@ -94,7 +109,7 @@ class DataUpcloudNetworks(
94
109
 
95
110
  :param scope: The scope in which to define this construct.
96
111
  :param import_to_id: The construct id used in the generated config for the DataUpcloudNetworks to import.
97
- :param import_from_id: The id of the existing DataUpcloudNetworks that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#import import section} in the documentation of this resource for the id to use
112
+ :param import_from_id: The id of the existing DataUpcloudNetworks that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#import import section} in the documentation of this resource for the id to use
98
113
  :param provider: ? Optional instance of the provider where the DataUpcloudNetworks to import is found.
99
114
  '''
100
115
  if __debug__:
@@ -226,9 +241,9 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
226
241
  :param lifecycle:
227
242
  :param provider:
228
243
  :param provisioners:
229
- :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
230
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#id DataUpcloudNetworks#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.
231
- :param zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
244
+ :param filter_name: If specified, results will be filtered to match name using a regular expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
245
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#id DataUpcloudNetworks#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
246
+ :param zone: If specified, this data source will return only networks from this zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
232
247
  '''
233
248
  if isinstance(lifecycle, dict):
234
249
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -334,14 +349,14 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
334
349
  def filter_name(self) -> typing.Optional[builtins.str]:
335
350
  '''If specified, results will be filtered to match name using a regular expression.
336
351
 
337
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
352
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
338
353
  '''
339
354
  result = self._values.get("filter_name")
340
355
  return typing.cast(typing.Optional[builtins.str], result)
341
356
 
342
357
  @builtins.property
343
358
  def id(self) -> typing.Optional[builtins.str]:
344
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#id DataUpcloudNetworks#id}.
359
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#id DataUpcloudNetworks#id}.
345
360
 
346
361
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
347
362
  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.
@@ -353,7 +368,7 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
353
368
  def zone(self) -> typing.Optional[builtins.str]:
354
369
  '''If specified, this data source will return only networks from this zone.
355
370
 
356
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
371
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
357
372
  '''
358
373
  result = self._values.get("zone")
359
374
  return typing.cast(typing.Optional[builtins.str], result)
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `data_upcloud_storage`
3
3
 
4
- Refer to the Terraform Registry for docs: [`data_upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage).
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -16,7 +16,22 @@ import jsii
16
16
  import publication
17
17
  import typing_extensions
18
18
 
19
- from typeguard import check_type
19
+ import typeguard
20
+ from importlib.metadata import version as _metadata_package_version
21
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
22
+
23
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
24
+ if TYPEGUARD_MAJOR_VERSION <= 2:
25
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
26
+ else:
27
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
28
+ pass
29
+ else:
30
+ if TYPEGUARD_MAJOR_VERSION == 3:
31
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
32
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
33
+ else:
34
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
20
35
 
21
36
  from .._jsii import *
22
37
 
@@ -29,19 +44,20 @@ class DataUpcloudStorage(
29
44
  metaclass=jsii.JSIIMeta,
30
45
  jsii_type="@cdktf/provider-upcloud.dataUpcloudStorage.DataUpcloudStorage",
31
46
  ):
32
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage upcloud_storage}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage upcloud_storage}.'''
33
48
 
34
49
  def __init__(
35
50
  self,
36
51
  scope: _constructs_77d1e7e8.Construct,
37
52
  id_: builtins.str,
38
53
  *,
39
- type: builtins.str,
40
54
  access_type: typing.Optional[builtins.str] = None,
41
55
  id: typing.Optional[builtins.str] = None,
42
56
  most_recent: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
43
57
  name: typing.Optional[builtins.str] = None,
44
58
  name_regex: typing.Optional[builtins.str] = None,
59
+ title: typing.Optional[builtins.str] = None,
60
+ type: typing.Optional[builtins.str] = None,
45
61
  zone: typing.Optional[builtins.str] = None,
46
62
  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,
47
63
  count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
@@ -51,17 +67,18 @@ class DataUpcloudStorage(
51
67
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
52
68
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
53
69
  ) -> None:
54
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage upcloud_storage} Data Source.
70
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage upcloud_storage} Data Source.
55
71
 
56
72
  :param scope: The scope in which to define this construct.
57
73
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
58
- :param type: Storage type (normal, backup, cdrom, template). Use 'favorite' as type to filter storages on the list of favorites. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#type DataUpcloudStorage#type}
59
- :param access_type: Storage access type (public, private). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
60
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#id DataUpcloudStorage#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.
61
- :param most_recent: If more than one result is returned, use the most recent storage. This is only useful with private storages. Public storages might give unpredictable results. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
62
- :param name: Exact name of the storage (same as title). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name DataUpcloudStorage#name}
63
- :param name_regex: Use regular expression to match storage name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
64
- :param zone: The zone in which the storage resides, 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/data-sources/storage#zone DataUpcloudStorage#zone}
74
+ :param access_type: The access type of the storage, ``public`` or ``private``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
75
+ :param id: UUID of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#id DataUpcloudStorage#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.
76
+ :param most_recent: If more than one result is returned, use the most recent storage. This is only useful with private storages. Public storages might give unpredictable results. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
77
+ :param name: Exact name of the storage (same as title). Deprecated, use ``title`` instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name DataUpcloudStorage#name}
78
+ :param name_regex: Use regular expression to match storage name. Deprecated, use exact title or UUID instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
79
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#title DataUpcloudStorage#title}
80
+ :param type: The type of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#type DataUpcloudStorage#type}
81
+ :param zone: The zone the storage is in, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#zone DataUpcloudStorage#zone}
65
82
  :param connection:
66
83
  :param count:
67
84
  :param depends_on:
@@ -75,12 +92,13 @@ class DataUpcloudStorage(
75
92
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
76
93
  check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
77
94
  config = DataUpcloudStorageConfig(
78
- type=type,
79
95
  access_type=access_type,
80
96
  id=id,
81
97
  most_recent=most_recent,
82
98
  name=name,
83
99
  name_regex=name_regex,
100
+ title=title,
101
+ type=type,
84
102
  zone=zone,
85
103
  connection=connection,
86
104
  count=count,
@@ -106,7 +124,7 @@ class DataUpcloudStorage(
106
124
 
107
125
  :param scope: The scope in which to define this construct.
108
126
  :param import_to_id: The construct id used in the generated config for the DataUpcloudStorage to import.
109
- :param import_from_id: The id of the existing DataUpcloudStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#import import section} in the documentation of this resource for the id to use
127
+ :param import_from_id: The id of the existing DataUpcloudStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#import import section} in the documentation of this resource for the id to use
110
128
  :param provider: ? Optional instance of the provider where the DataUpcloudStorage to import is found.
111
129
  '''
112
130
  if __debug__:
@@ -137,6 +155,14 @@ class DataUpcloudStorage(
137
155
  def reset_name_regex(self) -> None:
138
156
  return typing.cast(None, jsii.invoke(self, "resetNameRegex", []))
139
157
 
158
+ @jsii.member(jsii_name="resetTitle")
159
+ def reset_title(self) -> None:
160
+ return typing.cast(None, jsii.invoke(self, "resetTitle", []))
161
+
162
+ @jsii.member(jsii_name="resetType")
163
+ def reset_type(self) -> None:
164
+ return typing.cast(None, jsii.invoke(self, "resetType", []))
165
+
140
166
  @jsii.member(jsii_name="resetZone")
141
167
  def reset_zone(self) -> None:
142
168
  return typing.cast(None, jsii.invoke(self, "resetZone", []))
@@ -154,6 +180,16 @@ class DataUpcloudStorage(
154
180
  def TF_RESOURCE_TYPE(cls) -> builtins.str:
155
181
  return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
156
182
 
183
+ @builtins.property
184
+ @jsii.member(jsii_name="encrypt")
185
+ def encrypt(self) -> _cdktf_9a9027ec.IResolvable:
186
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "encrypt"))
187
+
188
+ @builtins.property
189
+ @jsii.member(jsii_name="labels")
190
+ def labels(self) -> _cdktf_9a9027ec.StringMap:
191
+ return typing.cast(_cdktf_9a9027ec.StringMap, jsii.get(self, "labels"))
192
+
157
193
  @builtins.property
158
194
  @jsii.member(jsii_name="size")
159
195
  def size(self) -> jsii.Number:
@@ -164,16 +200,16 @@ class DataUpcloudStorage(
164
200
  def state(self) -> builtins.str:
165
201
  return typing.cast(builtins.str, jsii.get(self, "state"))
166
202
 
203
+ @builtins.property
204
+ @jsii.member(jsii_name="systemLabels")
205
+ def system_labels(self) -> _cdktf_9a9027ec.StringMap:
206
+ return typing.cast(_cdktf_9a9027ec.StringMap, jsii.get(self, "systemLabels"))
207
+
167
208
  @builtins.property
168
209
  @jsii.member(jsii_name="tier")
169
210
  def tier(self) -> builtins.str:
170
211
  return typing.cast(builtins.str, jsii.get(self, "tier"))
171
212
 
172
- @builtins.property
173
- @jsii.member(jsii_name="title")
174
- def title(self) -> builtins.str:
175
- return typing.cast(builtins.str, jsii.get(self, "title"))
176
-
177
213
  @builtins.property
178
214
  @jsii.member(jsii_name="accessTypeInput")
179
215
  def access_type_input(self) -> typing.Optional[builtins.str]:
@@ -201,6 +237,11 @@ class DataUpcloudStorage(
201
237
  def name_regex_input(self) -> typing.Optional[builtins.str]:
202
238
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameRegexInput"))
203
239
 
240
+ @builtins.property
241
+ @jsii.member(jsii_name="titleInput")
242
+ def title_input(self) -> typing.Optional[builtins.str]:
243
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "titleInput"))
244
+
204
245
  @builtins.property
205
246
  @jsii.member(jsii_name="typeInput")
206
247
  def type_input(self) -> typing.Optional[builtins.str]:
@@ -274,6 +315,18 @@ class DataUpcloudStorage(
274
315
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
275
316
  jsii.set(self, "nameRegex", value) # pyright: ignore[reportArgumentType]
276
317
 
318
+ @builtins.property
319
+ @jsii.member(jsii_name="title")
320
+ def title(self) -> builtins.str:
321
+ return typing.cast(builtins.str, jsii.get(self, "title"))
322
+
323
+ @title.setter
324
+ def title(self, value: builtins.str) -> None:
325
+ if __debug__:
326
+ type_hints = typing.get_type_hints(_typecheckingstub__e4dd32457dd3eee86af11d3e9a0d67c12d8393235ad5106bea1047f08a485ad0)
327
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
328
+ jsii.set(self, "title", value) # pyright: ignore[reportArgumentType]
329
+
277
330
  @builtins.property
278
331
  @jsii.member(jsii_name="type")
279
332
  def type(self) -> builtins.str:
@@ -310,12 +363,13 @@ class DataUpcloudStorage(
310
363
  "lifecycle": "lifecycle",
311
364
  "provider": "provider",
312
365
  "provisioners": "provisioners",
313
- "type": "type",
314
366
  "access_type": "accessType",
315
367
  "id": "id",
316
368
  "most_recent": "mostRecent",
317
369
  "name": "name",
318
370
  "name_regex": "nameRegex",
371
+ "title": "title",
372
+ "type": "type",
319
373
  "zone": "zone",
320
374
  },
321
375
  )
@@ -330,12 +384,13 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
330
384
  lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
331
385
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
332
386
  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,
333
- type: builtins.str,
334
387
  access_type: typing.Optional[builtins.str] = None,
335
388
  id: typing.Optional[builtins.str] = None,
336
389
  most_recent: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
337
390
  name: typing.Optional[builtins.str] = None,
338
391
  name_regex: typing.Optional[builtins.str] = None,
392
+ title: typing.Optional[builtins.str] = None,
393
+ type: typing.Optional[builtins.str] = None,
339
394
  zone: typing.Optional[builtins.str] = None,
340
395
  ) -> None:
341
396
  '''
@@ -346,13 +401,14 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
346
401
  :param lifecycle:
347
402
  :param provider:
348
403
  :param provisioners:
349
- :param type: Storage type (normal, backup, cdrom, template). Use 'favorite' as type to filter storages on the list of favorites. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#type DataUpcloudStorage#type}
350
- :param access_type: Storage access type (public, private). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
351
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#id DataUpcloudStorage#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.
352
- :param most_recent: If more than one result is returned, use the most recent storage. This is only useful with private storages. Public storages might give unpredictable results. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
353
- :param name: Exact name of the storage (same as title). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name DataUpcloudStorage#name}
354
- :param name_regex: Use regular expression to match storage name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
355
- :param zone: The zone in which the storage resides, 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/data-sources/storage#zone DataUpcloudStorage#zone}
404
+ :param access_type: The access type of the storage, ``public`` or ``private``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
405
+ :param id: UUID of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#id DataUpcloudStorage#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.
406
+ :param most_recent: If more than one result is returned, use the most recent storage. This is only useful with private storages. Public storages might give unpredictable results. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
407
+ :param name: Exact name of the storage (same as title). Deprecated, use ``title`` instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name DataUpcloudStorage#name}
408
+ :param name_regex: Use regular expression to match storage name. Deprecated, use exact title or UUID instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
409
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#title DataUpcloudStorage#title}
410
+ :param type: The type of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#type DataUpcloudStorage#type}
411
+ :param zone: The zone the storage is in, e.g. ``de-fra1``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#zone DataUpcloudStorage#zone}
356
412
  '''
357
413
  if isinstance(lifecycle, dict):
358
414
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -365,16 +421,15 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
365
421
  check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
366
422
  check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
367
423
  check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
368
- check_type(argname="argument type", value=type, expected_type=type_hints["type"])
369
424
  check_type(argname="argument access_type", value=access_type, expected_type=type_hints["access_type"])
370
425
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
371
426
  check_type(argname="argument most_recent", value=most_recent, expected_type=type_hints["most_recent"])
372
427
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
373
428
  check_type(argname="argument name_regex", value=name_regex, expected_type=type_hints["name_regex"])
429
+ check_type(argname="argument title", value=title, expected_type=type_hints["title"])
430
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
374
431
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
375
- self._values: typing.Dict[builtins.str, typing.Any] = {
376
- "type": type,
377
- }
432
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
378
433
  if connection is not None:
379
434
  self._values["connection"] = connection
380
435
  if count is not None:
@@ -399,6 +454,10 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
399
454
  self._values["name"] = name
400
455
  if name_regex is not None:
401
456
  self._values["name_regex"] = name_regex
457
+ if title is not None:
458
+ self._values["title"] = title
459
+ if type is not None:
460
+ self._values["type"] = type
402
461
  if zone is not None:
403
462
  self._values["zone"] = zone
404
463
 
@@ -466,28 +525,20 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
466
525
  result = self._values.get("provisioners")
467
526
  return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
468
527
 
469
- @builtins.property
470
- def type(self) -> builtins.str:
471
- '''Storage type (normal, backup, cdrom, template). Use 'favorite' as type to filter storages on the list of favorites.
472
-
473
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#type DataUpcloudStorage#type}
474
- '''
475
- result = self._values.get("type")
476
- assert result is not None, "Required property 'type' is missing"
477
- return typing.cast(builtins.str, result)
478
-
479
528
  @builtins.property
480
529
  def access_type(self) -> typing.Optional[builtins.str]:
481
- '''Storage access type (public, private).
530
+ '''The access type of the storage, ``public`` or ``private``.
482
531
 
483
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
532
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
484
533
  '''
485
534
  result = self._values.get("access_type")
486
535
  return typing.cast(typing.Optional[builtins.str], result)
487
536
 
488
537
  @builtins.property
489
538
  def id(self) -> typing.Optional[builtins.str]:
490
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#id DataUpcloudStorage#id}.
539
+ '''UUID of the storage.
540
+
541
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#id DataUpcloudStorage#id}
491
542
 
492
543
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
493
544
  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.
@@ -503,34 +554,52 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
503
554
 
504
555
  This is only useful with private storages. Public storages might give unpredictable results.
505
556
 
506
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
557
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
507
558
  '''
508
559
  result = self._values.get("most_recent")
509
560
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
510
561
 
511
562
  @builtins.property
512
563
  def name(self) -> typing.Optional[builtins.str]:
513
- '''Exact name of the storage (same as title).
564
+ '''Exact name of the storage (same as title). Deprecated, use ``title`` instead.
514
565
 
515
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name DataUpcloudStorage#name}
566
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name DataUpcloudStorage#name}
516
567
  '''
517
568
  result = self._values.get("name")
518
569
  return typing.cast(typing.Optional[builtins.str], result)
519
570
 
520
571
  @builtins.property
521
572
  def name_regex(self) -> typing.Optional[builtins.str]:
522
- '''Use regular expression to match storage name.
573
+ '''Use regular expression to match storage name. Deprecated, use exact title or UUID instead.
523
574
 
524
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
575
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
525
576
  '''
526
577
  result = self._values.get("name_regex")
527
578
  return typing.cast(typing.Optional[builtins.str], result)
528
579
 
580
+ @builtins.property
581
+ def title(self) -> typing.Optional[builtins.str]:
582
+ '''The title of the storage.
583
+
584
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#title DataUpcloudStorage#title}
585
+ '''
586
+ result = self._values.get("title")
587
+ return typing.cast(typing.Optional[builtins.str], result)
588
+
589
+ @builtins.property
590
+ def type(self) -> typing.Optional[builtins.str]:
591
+ '''The type of the storage.
592
+
593
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#type DataUpcloudStorage#type}
594
+ '''
595
+ result = self._values.get("type")
596
+ return typing.cast(typing.Optional[builtins.str], result)
597
+
529
598
  @builtins.property
530
599
  def zone(self) -> typing.Optional[builtins.str]:
531
- '''The zone in which the storage resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
600
+ '''The zone the storage is in, e.g. ``de-fra1``.
532
601
 
533
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/storage#zone DataUpcloudStorage#zone}
602
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/storage#zone DataUpcloudStorage#zone}
534
603
  '''
535
604
  result = self._values.get("zone")
536
605
  return typing.cast(typing.Optional[builtins.str], result)
@@ -558,12 +627,13 @@ def _typecheckingstub__039ab20792080076b79d7c009c33daad19d751b6de0de5df5c5d3102c
558
627
  scope: _constructs_77d1e7e8.Construct,
559
628
  id_: builtins.str,
560
629
  *,
561
- type: builtins.str,
562
630
  access_type: typing.Optional[builtins.str] = None,
563
631
  id: typing.Optional[builtins.str] = None,
564
632
  most_recent: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
565
633
  name: typing.Optional[builtins.str] = None,
566
634
  name_regex: typing.Optional[builtins.str] = None,
635
+ title: typing.Optional[builtins.str] = None,
636
+ type: typing.Optional[builtins.str] = None,
567
637
  zone: typing.Optional[builtins.str] = None,
568
638
  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,
569
639
  count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
@@ -615,6 +685,12 @@ def _typecheckingstub__600d8c2c85159f4e28c67546470c51a0ddbb2df44c08205f3c9b3cc9a
615
685
  """Type checking stubs"""
616
686
  pass
617
687
 
688
+ def _typecheckingstub__e4dd32457dd3eee86af11d3e9a0d67c12d8393235ad5106bea1047f08a485ad0(
689
+ value: builtins.str,
690
+ ) -> None:
691
+ """Type checking stubs"""
692
+ pass
693
+
618
694
  def _typecheckingstub__252f54234afff9bedab90401e88af6110a25dc97f86fb7a091b34b24cb3b1fb5(
619
695
  value: builtins.str,
620
696
  ) -> None:
@@ -636,12 +712,13 @@ def _typecheckingstub__fa213ec8cd9f5546c1b7692a48e06c0e229e1891b7e5764746b86f485
636
712
  lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
637
713
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
638
714
  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,
639
- type: builtins.str,
640
715
  access_type: typing.Optional[builtins.str] = None,
641
716
  id: typing.Optional[builtins.str] = None,
642
717
  most_recent: typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]] = None,
643
718
  name: typing.Optional[builtins.str] = None,
644
719
  name_regex: typing.Optional[builtins.str] = None,
720
+ title: typing.Optional[builtins.str] = None,
721
+ type: typing.Optional[builtins.str] = None,
645
722
  zone: typing.Optional[builtins.str] = None,
646
723
  ) -> None:
647
724
  """Type checking stubs"""
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `data_upcloud_tags`
3
3
 
4
- Refer to the Terraform Registry for docs: [`data_upcloud_tags`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags).
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_tags`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -16,7 +16,22 @@ import jsii
16
16
  import publication
17
17
  import typing_extensions
18
18
 
19
- from typeguard import check_type
19
+ import typeguard
20
+ from importlib.metadata import version as _metadata_package_version
21
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
22
+
23
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
24
+ if TYPEGUARD_MAJOR_VERSION <= 2:
25
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
26
+ else:
27
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
28
+ pass
29
+ else:
30
+ if TYPEGUARD_MAJOR_VERSION == 3:
31
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
32
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
33
+ else:
34
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
20
35
 
21
36
  from .._jsii import *
22
37
 
@@ -29,7 +44,7 @@ class DataUpcloudTags(
29
44
  metaclass=jsii.JSIIMeta,
30
45
  jsii_type="@cdktf/provider-upcloud.dataUpcloudTags.DataUpcloudTags",
31
46
  ):
32
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags upcloud_tags}.'''
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags upcloud_tags}.'''
33
48
 
34
49
  def __init__(
35
50
  self,
@@ -45,11 +60,11 @@ class DataUpcloudTags(
45
60
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
46
61
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
47
62
  ) -> None:
48
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags upcloud_tags} Data Source.
63
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags upcloud_tags} Data Source.
49
64
 
50
65
  :param scope: The scope in which to define this construct.
51
66
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
52
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags#id DataUpcloudTags#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.
67
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags#id DataUpcloudTags#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.
53
68
  :param connection:
54
69
  :param count:
55
70
  :param depends_on:
@@ -88,7 +103,7 @@ class DataUpcloudTags(
88
103
 
89
104
  :param scope: The scope in which to define this construct.
90
105
  :param import_to_id: The construct id used in the generated config for the DataUpcloudTags to import.
91
- :param import_from_id: The id of the existing DataUpcloudTags that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags#import import section} in the documentation of this resource for the id to use
106
+ :param import_from_id: The id of the existing DataUpcloudTags that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags#import import section} in the documentation of this resource for the id to use
92
107
  :param provider: ? Optional instance of the provider where the DataUpcloudTags to import is found.
93
108
  '''
94
109
  if __debug__:
@@ -174,7 +189,7 @@ class DataUpcloudTagsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
174
189
  :param lifecycle:
175
190
  :param provider:
176
191
  :param provisioners:
177
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags#id DataUpcloudTags#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.
192
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags#id DataUpcloudTags#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.
178
193
  '''
179
194
  if isinstance(lifecycle, dict):
180
195
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -272,7 +287,7 @@ class DataUpcloudTagsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
272
287
 
273
288
  @builtins.property
274
289
  def id(self) -> typing.Optional[builtins.str]:
275
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.1/docs/data-sources/tags#id DataUpcloudTags#id}.
290
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.11.1/docs/data-sources/tags#id DataUpcloudTags#id}.
276
291
 
277
292
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
278
293
  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.