cdktf-cdktf-provider-upcloud 14.9.1__py3-none-any.whl → 14.10.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (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.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +7 -7
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
  7. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_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.0.dist-info}/METADATA +4 -4
  58. cdktf_cdktf_provider_upcloud-14.10.0.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.0.dist-info}/LICENSE +0 -0
  62. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.0.dist-info}/WHEEL +0 -0
  63. {cdktf_cdktf_provider_upcloud-14.9.1.dist-info → cdktf_cdktf_provider_upcloud-14.10.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,463 @@
1
+ r'''
2
+ # `upcloud_storage_template`
3
+
4
+ Refer to the Terraform Registry for docs: [`upcloud_storage_template`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template).
5
+ '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
9
+ import abc
10
+ import builtins
11
+ import datetime
12
+ import enum
13
+ import typing
14
+
15
+ import jsii
16
+ import publication
17
+ import typing_extensions
18
+
19
+ from typeguard import check_type
20
+
21
+ from .._jsii import *
22
+
23
+ import cdktf as _cdktf_9a9027ec
24
+ import constructs as _constructs_77d1e7e8
25
+
26
+
27
+ class StorageTemplate(
28
+ _cdktf_9a9027ec.TerraformResource,
29
+ metaclass=jsii.JSIIMeta,
30
+ jsii_type="@cdktf/provider-upcloud.storageTemplate.StorageTemplate",
31
+ ):
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template upcloud_storage_template}.'''
33
+
34
+ def __init__(
35
+ self,
36
+ scope: _constructs_77d1e7e8.Construct,
37
+ id: builtins.str,
38
+ *,
39
+ source_storage: builtins.str,
40
+ title: builtins.str,
41
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
42
+ 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,
43
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
44
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
45
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
46
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
47
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
48
+ provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
49
+ ) -> None:
50
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template upcloud_storage_template} Resource.
51
+
52
+ :param scope: The scope in which to define this construct.
53
+ :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
54
+ :param source_storage: The source storage that is used as a base for this storage template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#source_storage StorageTemplate#source_storage}
55
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#title StorageTemplate#title}
56
+ :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.0/docs/resources/storage_template#labels StorageTemplate#labels}
57
+ :param connection:
58
+ :param count:
59
+ :param depends_on:
60
+ :param for_each:
61
+ :param lifecycle:
62
+ :param provider:
63
+ :param provisioners:
64
+ '''
65
+ if __debug__:
66
+ type_hints = typing.get_type_hints(_typecheckingstub__84adbb402f96863c3b7f1919a261aab20d039c7d2bf144539d11017d13dd741f)
67
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
68
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
69
+ config = StorageTemplateConfig(
70
+ source_storage=source_storage,
71
+ title=title,
72
+ labels=labels,
73
+ connection=connection,
74
+ count=count,
75
+ depends_on=depends_on,
76
+ for_each=for_each,
77
+ lifecycle=lifecycle,
78
+ provider=provider,
79
+ provisioners=provisioners,
80
+ )
81
+
82
+ jsii.create(self.__class__, self, [scope, id, config])
83
+
84
+ @jsii.member(jsii_name="generateConfigForImport")
85
+ @builtins.classmethod
86
+ def generate_config_for_import(
87
+ cls,
88
+ scope: _constructs_77d1e7e8.Construct,
89
+ import_to_id: builtins.str,
90
+ import_from_id: builtins.str,
91
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
92
+ ) -> _cdktf_9a9027ec.ImportableResource:
93
+ '''Generates CDKTF code for importing a StorageTemplate resource upon running "cdktf plan ".
94
+
95
+ :param scope: The scope in which to define this construct.
96
+ :param import_to_id: The construct id used in the generated config for the StorageTemplate to import.
97
+ :param import_from_id: The id of the existing StorageTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#import import section} in the documentation of this resource for the id to use
98
+ :param provider: ? Optional instance of the provider where the StorageTemplate to import is found.
99
+ '''
100
+ if __debug__:
101
+ type_hints = typing.get_type_hints(_typecheckingstub__841ec53d6dea5151334d99247fc89c94572a1177384a71f5357c32e863ea764f)
102
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
103
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
104
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
105
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
106
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
107
+
108
+ @jsii.member(jsii_name="resetLabels")
109
+ def reset_labels(self) -> None:
110
+ return typing.cast(None, jsii.invoke(self, "resetLabels", []))
111
+
112
+ @jsii.member(jsii_name="synthesizeAttributes")
113
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
114
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
115
+
116
+ @jsii.member(jsii_name="synthesizeHclAttributes")
117
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
118
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
119
+
120
+ @jsii.python.classproperty
121
+ @jsii.member(jsii_name="tfResourceType")
122
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
123
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
124
+
125
+ @builtins.property
126
+ @jsii.member(jsii_name="encrypt")
127
+ def encrypt(self) -> _cdktf_9a9027ec.IResolvable:
128
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "encrypt"))
129
+
130
+ @builtins.property
131
+ @jsii.member(jsii_name="id")
132
+ def id(self) -> builtins.str:
133
+ return typing.cast(builtins.str, jsii.get(self, "id"))
134
+
135
+ @builtins.property
136
+ @jsii.member(jsii_name="size")
137
+ def size(self) -> jsii.Number:
138
+ return typing.cast(jsii.Number, jsii.get(self, "size"))
139
+
140
+ @builtins.property
141
+ @jsii.member(jsii_name="systemLabels")
142
+ def system_labels(self) -> _cdktf_9a9027ec.StringMap:
143
+ return typing.cast(_cdktf_9a9027ec.StringMap, jsii.get(self, "systemLabels"))
144
+
145
+ @builtins.property
146
+ @jsii.member(jsii_name="tier")
147
+ def tier(self) -> builtins.str:
148
+ return typing.cast(builtins.str, jsii.get(self, "tier"))
149
+
150
+ @builtins.property
151
+ @jsii.member(jsii_name="type")
152
+ def type(self) -> builtins.str:
153
+ return typing.cast(builtins.str, jsii.get(self, "type"))
154
+
155
+ @builtins.property
156
+ @jsii.member(jsii_name="zone")
157
+ def zone(self) -> builtins.str:
158
+ return typing.cast(builtins.str, jsii.get(self, "zone"))
159
+
160
+ @builtins.property
161
+ @jsii.member(jsii_name="labelsInput")
162
+ def labels_input(
163
+ self,
164
+ ) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
165
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "labelsInput"))
166
+
167
+ @builtins.property
168
+ @jsii.member(jsii_name="sourceStorageInput")
169
+ def source_storage_input(self) -> typing.Optional[builtins.str]:
170
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceStorageInput"))
171
+
172
+ @builtins.property
173
+ @jsii.member(jsii_name="titleInput")
174
+ def title_input(self) -> typing.Optional[builtins.str]:
175
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "titleInput"))
176
+
177
+ @builtins.property
178
+ @jsii.member(jsii_name="labels")
179
+ def labels(self) -> typing.Mapping[builtins.str, builtins.str]:
180
+ return typing.cast(typing.Mapping[builtins.str, builtins.str], jsii.get(self, "labels"))
181
+
182
+ @labels.setter
183
+ def labels(self, value: typing.Mapping[builtins.str, builtins.str]) -> None:
184
+ if __debug__:
185
+ type_hints = typing.get_type_hints(_typecheckingstub__8dc34e4ef354a9c685afad467dd1e5012592555b77aed09edb76dd5f3731f97f)
186
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
187
+ jsii.set(self, "labels", value) # pyright: ignore[reportArgumentType]
188
+
189
+ @builtins.property
190
+ @jsii.member(jsii_name="sourceStorage")
191
+ def source_storage(self) -> builtins.str:
192
+ return typing.cast(builtins.str, jsii.get(self, "sourceStorage"))
193
+
194
+ @source_storage.setter
195
+ def source_storage(self, value: builtins.str) -> None:
196
+ if __debug__:
197
+ type_hints = typing.get_type_hints(_typecheckingstub__87efd2f025de647c21944df941ffbd5bae1a7e3e42a5e0bfab1bbfeda8a1e60e)
198
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
199
+ jsii.set(self, "sourceStorage", value) # pyright: ignore[reportArgumentType]
200
+
201
+ @builtins.property
202
+ @jsii.member(jsii_name="title")
203
+ def title(self) -> builtins.str:
204
+ return typing.cast(builtins.str, jsii.get(self, "title"))
205
+
206
+ @title.setter
207
+ def title(self, value: builtins.str) -> None:
208
+ if __debug__:
209
+ type_hints = typing.get_type_hints(_typecheckingstub__750e43e34d963bb79f84b7897051f5440bf6e265f4aa260ed1f6ed98a37c7ea7)
210
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
211
+ jsii.set(self, "title", value) # pyright: ignore[reportArgumentType]
212
+
213
+
214
+ @jsii.data_type(
215
+ jsii_type="@cdktf/provider-upcloud.storageTemplate.StorageTemplateConfig",
216
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
217
+ name_mapping={
218
+ "connection": "connection",
219
+ "count": "count",
220
+ "depends_on": "dependsOn",
221
+ "for_each": "forEach",
222
+ "lifecycle": "lifecycle",
223
+ "provider": "provider",
224
+ "provisioners": "provisioners",
225
+ "source_storage": "sourceStorage",
226
+ "title": "title",
227
+ "labels": "labels",
228
+ },
229
+ )
230
+ class StorageTemplateConfig(_cdktf_9a9027ec.TerraformMetaArguments):
231
+ def __init__(
232
+ self,
233
+ *,
234
+ 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,
235
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
236
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
237
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
238
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
239
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
240
+ 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,
241
+ source_storage: builtins.str,
242
+ title: builtins.str,
243
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
244
+ ) -> None:
245
+ '''
246
+ :param connection:
247
+ :param count:
248
+ :param depends_on:
249
+ :param for_each:
250
+ :param lifecycle:
251
+ :param provider:
252
+ :param provisioners:
253
+ :param source_storage: The source storage that is used as a base for this storage template. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#source_storage StorageTemplate#source_storage}
254
+ :param title: The title of the storage. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#title StorageTemplate#title}
255
+ :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.0/docs/resources/storage_template#labels StorageTemplate#labels}
256
+ '''
257
+ if isinstance(lifecycle, dict):
258
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
259
+ if __debug__:
260
+ type_hints = typing.get_type_hints(_typecheckingstub__178a6bfa1909de8f638e7d39583d3c1e81cf3109f496ec6bc3942a5849135a2f)
261
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
262
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
263
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
264
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
265
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
266
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
267
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
268
+ check_type(argname="argument source_storage", value=source_storage, expected_type=type_hints["source_storage"])
269
+ check_type(argname="argument title", value=title, expected_type=type_hints["title"])
270
+ check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
271
+ self._values: typing.Dict[builtins.str, typing.Any] = {
272
+ "source_storage": source_storage,
273
+ "title": title,
274
+ }
275
+ if connection is not None:
276
+ self._values["connection"] = connection
277
+ if count is not None:
278
+ self._values["count"] = count
279
+ if depends_on is not None:
280
+ self._values["depends_on"] = depends_on
281
+ if for_each is not None:
282
+ self._values["for_each"] = for_each
283
+ if lifecycle is not None:
284
+ self._values["lifecycle"] = lifecycle
285
+ if provider is not None:
286
+ self._values["provider"] = provider
287
+ if provisioners is not None:
288
+ self._values["provisioners"] = provisioners
289
+ if labels is not None:
290
+ self._values["labels"] = labels
291
+
292
+ @builtins.property
293
+ def connection(
294
+ self,
295
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
296
+ '''
297
+ :stability: experimental
298
+ '''
299
+ result = self._values.get("connection")
300
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
301
+
302
+ @builtins.property
303
+ def count(
304
+ self,
305
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
306
+ '''
307
+ :stability: experimental
308
+ '''
309
+ result = self._values.get("count")
310
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
311
+
312
+ @builtins.property
313
+ def depends_on(
314
+ self,
315
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
316
+ '''
317
+ :stability: experimental
318
+ '''
319
+ result = self._values.get("depends_on")
320
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
321
+
322
+ @builtins.property
323
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
324
+ '''
325
+ :stability: experimental
326
+ '''
327
+ result = self._values.get("for_each")
328
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
329
+
330
+ @builtins.property
331
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
332
+ '''
333
+ :stability: experimental
334
+ '''
335
+ result = self._values.get("lifecycle")
336
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
337
+
338
+ @builtins.property
339
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
340
+ '''
341
+ :stability: experimental
342
+ '''
343
+ result = self._values.get("provider")
344
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
345
+
346
+ @builtins.property
347
+ def provisioners(
348
+ self,
349
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
350
+ '''
351
+ :stability: experimental
352
+ '''
353
+ result = self._values.get("provisioners")
354
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
355
+
356
+ @builtins.property
357
+ def source_storage(self) -> builtins.str:
358
+ '''The source storage that is used as a base for this storage template.
359
+
360
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#source_storage StorageTemplate#source_storage}
361
+ '''
362
+ result = self._values.get("source_storage")
363
+ assert result is not None, "Required property 'source_storage' is missing"
364
+ return typing.cast(builtins.str, result)
365
+
366
+ @builtins.property
367
+ def title(self) -> builtins.str:
368
+ '''The title of the storage.
369
+
370
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#title StorageTemplate#title}
371
+ '''
372
+ result = self._values.get("title")
373
+ assert result is not None, "Required property 'title' is missing"
374
+ return typing.cast(builtins.str, result)
375
+
376
+ @builtins.property
377
+ def labels(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
378
+ '''User defined key-value pairs to classify the storage.
379
+
380
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/storage_template#labels StorageTemplate#labels}
381
+ '''
382
+ result = self._values.get("labels")
383
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
384
+
385
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
386
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
387
+
388
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
389
+ return not (rhs == self)
390
+
391
+ def __repr__(self) -> str:
392
+ return "StorageTemplateConfig(%s)" % ", ".join(
393
+ k + "=" + repr(v) for k, v in self._values.items()
394
+ )
395
+
396
+
397
+ __all__ = [
398
+ "StorageTemplate",
399
+ "StorageTemplateConfig",
400
+ ]
401
+
402
+ publication.publish()
403
+
404
+ def _typecheckingstub__84adbb402f96863c3b7f1919a261aab20d039c7d2bf144539d11017d13dd741f(
405
+ scope: _constructs_77d1e7e8.Construct,
406
+ id: builtins.str,
407
+ *,
408
+ source_storage: builtins.str,
409
+ title: builtins.str,
410
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
411
+ 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,
412
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
413
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
414
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
415
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
416
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
417
+ 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,
418
+ ) -> None:
419
+ """Type checking stubs"""
420
+ pass
421
+
422
+ def _typecheckingstub__841ec53d6dea5151334d99247fc89c94572a1177384a71f5357c32e863ea764f(
423
+ scope: _constructs_77d1e7e8.Construct,
424
+ import_to_id: builtins.str,
425
+ import_from_id: builtins.str,
426
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
427
+ ) -> None:
428
+ """Type checking stubs"""
429
+ pass
430
+
431
+ def _typecheckingstub__8dc34e4ef354a9c685afad467dd1e5012592555b77aed09edb76dd5f3731f97f(
432
+ value: typing.Mapping[builtins.str, builtins.str],
433
+ ) -> None:
434
+ """Type checking stubs"""
435
+ pass
436
+
437
+ def _typecheckingstub__87efd2f025de647c21944df941ffbd5bae1a7e3e42a5e0bfab1bbfeda8a1e60e(
438
+ value: builtins.str,
439
+ ) -> None:
440
+ """Type checking stubs"""
441
+ pass
442
+
443
+ def _typecheckingstub__750e43e34d963bb79f84b7897051f5440bf6e265f4aa260ed1f6ed98a37c7ea7(
444
+ value: builtins.str,
445
+ ) -> None:
446
+ """Type checking stubs"""
447
+ pass
448
+
449
+ def _typecheckingstub__178a6bfa1909de8f638e7d39583d3c1e81cf3109f496ec6bc3942a5849135a2f(
450
+ *,
451
+ 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,
452
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
453
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
454
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
455
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
456
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
457
+ 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,
458
+ source_storage: builtins.str,
459
+ title: builtins.str,
460
+ labels: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
461
+ ) -> None:
462
+ """Type checking stubs"""
463
+ pass
@@ -1,7 +1,7 @@
1
1
  r'''
2
2
  # `upcloud_tag`
3
3
 
4
- Refer to the Terraform Registry for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag).
4
+ Refer to the Terraform Registry for docs: [`upcloud_tag`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag).
5
5
  '''
6
6
  from pkgutil import extend_path
7
7
  __path__ = extend_path(__path__, __name__)
@@ -29,7 +29,7 @@ class Tag(
29
29
  metaclass=jsii.JSIIMeta,
30
30
  jsii_type="@cdktf/provider-upcloud.tag.Tag",
31
31
  ):
32
- '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag upcloud_tag}.'''
32
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag upcloud_tag}.'''
33
33
 
34
34
  def __init__(
35
35
  self,
@@ -48,14 +48,14 @@ class Tag(
48
48
  provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
49
49
  provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
50
50
  ) -> None:
51
- '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag upcloud_tag} Resource.
51
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag upcloud_tag} Resource.
52
52
 
53
53
  :param scope: The scope in which to define this construct.
54
54
  :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
55
- :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#name Tag#name}
56
- :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#description Tag#description}
57
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#id Tag#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
58
- :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#servers Tag#servers}
55
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#name Tag#name}
56
+ :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#description Tag#description}
57
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#id Tag#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
58
+ :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#servers Tag#servers}
59
59
  :param connection:
60
60
  :param count:
61
61
  :param depends_on:
@@ -97,7 +97,7 @@ class Tag(
97
97
 
98
98
  :param scope: The scope in which to define this construct.
99
99
  :param import_to_id: The construct id used in the generated config for the Tag to import.
100
- :param import_from_id: The id of the existing Tag that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#import import section} in the documentation of this resource for the id to use
100
+ :param import_from_id: The id of the existing Tag that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#import import section} in the documentation of this resource for the id to use
101
101
  :param provider: ? Optional instance of the provider where the Tag to import is found.
102
102
  '''
103
103
  if __debug__:
@@ -243,10 +243,10 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
243
243
  :param lifecycle:
244
244
  :param provider:
245
245
  :param provisioners:
246
- :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#name Tag#name}
247
- :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#description Tag#description}
248
- :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#id Tag#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
249
- :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#servers Tag#servers}
246
+ :param name: The value representing the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#name Tag#name}
247
+ :param description: Free form text representing the meaning of the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#description Tag#description}
248
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#id Tag#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
249
+ :param servers: A collection of servers that have been assigned the tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#servers Tag#servers}
250
250
  '''
251
251
  if isinstance(lifecycle, dict):
252
252
  lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
@@ -355,7 +355,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
355
355
  def name(self) -> builtins.str:
356
356
  '''The value representing the tag.
357
357
 
358
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#name Tag#name}
358
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#name Tag#name}
359
359
  '''
360
360
  result = self._values.get("name")
361
361
  assert result is not None, "Required property 'name' is missing"
@@ -365,14 +365,14 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
365
365
  def description(self) -> typing.Optional[builtins.str]:
366
366
  '''Free form text representing the meaning of the tag.
367
367
 
368
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#description Tag#description}
368
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#description Tag#description}
369
369
  '''
370
370
  result = self._values.get("description")
371
371
  return typing.cast(typing.Optional[builtins.str], result)
372
372
 
373
373
  @builtins.property
374
374
  def id(self) -> typing.Optional[builtins.str]:
375
- '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#id Tag#id}.
375
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#id Tag#id}.
376
376
 
377
377
  Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
378
378
  If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
@@ -384,7 +384,7 @@ class TagConfig(_cdktf_9a9027ec.TerraformMetaArguments):
384
384
  def servers(self) -> typing.Optional[typing.List[builtins.str]]:
385
385
  '''A collection of servers that have been assigned the tag.
386
386
 
387
- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.9.1/docs/resources/tag#servers Tag#servers}
387
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.10.0/docs/resources/tag#servers Tag#servers}
388
388
  '''
389
389
  result = self._values.get("servers")
390
390
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdktf-cdktf-provider-upcloud
3
- Version: 14.9.1
3
+ Version: 14.10.0
4
4
  Summary: Prebuilt upcloud Provider for Terraform CDK (cdktf)
5
5
  Home-page: https://github.com/cdktf/cdktf-provider-upcloud.git
6
6
  Author: HashiCorp
@@ -26,9 +26,9 @@ Requires-Dist: jsii<2.0.0,>=1.102.0
26
26
  Requires-Dist: publication>=0.0.3
27
27
  Requires-Dist: typeguard~=2.13.3
28
28
 
29
- # CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 5.9.1
29
+ # CDKTF prebuilt bindings for UpCloudLtd/upcloud provider version 5.10.0
30
30
 
31
- This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.9.1/docs) bindings for [CDK for Terraform](https://cdk.tf).
31
+ This repo builds and publishes the [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.10.0/docs) bindings for [CDK for Terraform](https://cdk.tf).
32
32
 
33
33
  ## Available Packages
34
34
 
@@ -90,7 +90,7 @@ This project is explicitly not tracking the Terraform upcloud provider version 1
90
90
  These are the upstream dependencies:
91
91
 
92
92
  * [CDK for Terraform](https://cdk.tf)
93
- * [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.9.1)
93
+ * [Terraform upcloud provider](https://registry.terraform.io/providers/UpCloudLtd/upcloud/5.10.0)
94
94
  * [Terraform Engine](https://terraform.io)
95
95
 
96
96
  If there are breaking changes (backward incompatible) in any of the above, the major version of this project will be bumped.