cdktf-cdktf-provider-upcloud 14.7.0__py3-none-any.whl → 14.8.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.
- cdktf_cdktf_provider_upcloud/__init__.py +3 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +2 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +83 -46
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +7 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +10 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +19 -59
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +41 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +37 -37
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +34 -34
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +61 -61
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +65 -65
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +42 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +64 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +215 -116
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +193 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +31 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +28 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +189 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +431 -330
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +300 -300
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +117 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +50 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +13 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +16 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +33 -33
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +23 -23
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +30 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +25 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +19 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +153 -153
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +22 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +58 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +16 -16
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/METADATA +4 -4
- cdktf_cdktf_provider_upcloud-14.8.0.dist-info/RECORD +61 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.7.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.7.0.dist-info/RECORD +0 -61
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.7.0.dist-info → cdktf_cdktf_provider_upcloud-14.8.0.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.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_networks`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class DataUpcloudNetworks(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudNetworks.DataUpcloudNetworks",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks upcloud_networks}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -47,13 +47,13 @@ class DataUpcloudNetworks(
|
|
|
47
47
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
48
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
49
|
) -> None:
|
|
50
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
50
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks upcloud_networks} Data Source.
|
|
51
51
|
|
|
52
52
|
:param scope: The scope in which to define this construct.
|
|
53
53
|
: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.
|
|
55
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.8.0/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.8.0/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.8.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
|
|
57
57
|
:param connection:
|
|
58
58
|
:param count:
|
|
59
59
|
:param depends_on:
|
|
@@ -94,7 +94,7 @@ class DataUpcloudNetworks(
|
|
|
94
94
|
|
|
95
95
|
:param scope: The scope in which to define this construct.
|
|
96
96
|
:param import_to_id: The construct id used in the generated config for the 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.
|
|
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.8.0/docs/data-sources/networks#import import section} in the documentation of this resource for the id to use
|
|
98
98
|
:param provider: ? Optional instance of the provider where the DataUpcloudNetworks to import is found.
|
|
99
99
|
'''
|
|
100
100
|
if __debug__:
|
|
@@ -226,9 +226,9 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
226
226
|
:param lifecycle:
|
|
227
227
|
:param provider:
|
|
228
228
|
: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.
|
|
230
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.8.0/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.8.0/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.8.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
|
|
232
232
|
'''
|
|
233
233
|
if isinstance(lifecycle, dict):
|
|
234
234
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -334,14 +334,14 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
334
334
|
def filter_name(self) -> typing.Optional[builtins.str]:
|
|
335
335
|
'''If specified, results will be filtered to match name using a regular expression.
|
|
336
336
|
|
|
337
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
337
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks#filter_name DataUpcloudNetworks#filter_name}
|
|
338
338
|
'''
|
|
339
339
|
result = self._values.get("filter_name")
|
|
340
340
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
341
341
|
|
|
342
342
|
@builtins.property
|
|
343
343
|
def id(self) -> typing.Optional[builtins.str]:
|
|
344
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
344
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks#id DataUpcloudNetworks#id}.
|
|
345
345
|
|
|
346
346
|
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
347
|
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 +353,7 @@ class DataUpcloudNetworksConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
353
353
|
def zone(self) -> typing.Optional[builtins.str]:
|
|
354
354
|
'''If specified, this data source will return only networks from this zone.
|
|
355
355
|
|
|
356
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
356
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/networks#zone DataUpcloudNetworks#zone}
|
|
357
357
|
'''
|
|
358
358
|
result = self._values.get("zone")
|
|
359
359
|
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.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class DataUpcloudStorage(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudStorage.DataUpcloudStorage",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage upcloud_storage}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -51,17 +51,17 @@ class DataUpcloudStorage(
|
|
|
51
51
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
52
52
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
53
53
|
) -> None:
|
|
54
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage upcloud_storage} Data Source.
|
|
55
55
|
|
|
56
56
|
:param scope: The scope in which to define this construct.
|
|
57
57
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
58
|
-
:param 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.
|
|
59
|
-
:param access_type: Storage access type (public, private). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
62
|
-
:param name: Exact name of the storage (same as title). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
-
:param name_regex: Use regular expression to match storage name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/docs/data-sources/storage#zone DataUpcloudStorage#zone}
|
|
65
65
|
:param connection:
|
|
66
66
|
:param count:
|
|
67
67
|
:param depends_on:
|
|
@@ -106,7 +106,7 @@ class DataUpcloudStorage(
|
|
|
106
106
|
|
|
107
107
|
:param scope: The scope in which to define this construct.
|
|
108
108
|
: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.
|
|
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.8.0/docs/data-sources/storage#import import section} in the documentation of this resource for the id to use
|
|
110
110
|
:param provider: ? Optional instance of the provider where the DataUpcloudStorage to import is found.
|
|
111
111
|
'''
|
|
112
112
|
if __debug__:
|
|
@@ -346,13 +346,13 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
346
346
|
:param lifecycle:
|
|
347
347
|
:param provider:
|
|
348
348
|
: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.
|
|
350
|
-
:param access_type: Storage access type (public, private). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
351
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
353
|
-
:param name: Exact name of the storage (same as title). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
354
|
-
:param name_regex: Use regular expression to match storage name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
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.
|
|
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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/docs/data-sources/storage#zone DataUpcloudStorage#zone}
|
|
356
356
|
'''
|
|
357
357
|
if isinstance(lifecycle, dict):
|
|
358
358
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -470,7 +470,7 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
470
470
|
def type(self) -> builtins.str:
|
|
471
471
|
'''Storage type (normal, backup, cdrom, template). Use 'favorite' as type to filter storages on the list of favorites.
|
|
472
472
|
|
|
473
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
473
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#type DataUpcloudStorage#type}
|
|
474
474
|
'''
|
|
475
475
|
result = self._values.get("type")
|
|
476
476
|
assert result is not None, "Required property 'type' is missing"
|
|
@@ -480,14 +480,14 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
480
480
|
def access_type(self) -> typing.Optional[builtins.str]:
|
|
481
481
|
'''Storage access type (public, private).
|
|
482
482
|
|
|
483
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
483
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#access_type DataUpcloudStorage#access_type}
|
|
484
484
|
'''
|
|
485
485
|
result = self._values.get("access_type")
|
|
486
486
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
487
487
|
|
|
488
488
|
@builtins.property
|
|
489
489
|
def id(self) -> typing.Optional[builtins.str]:
|
|
490
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
490
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#id DataUpcloudStorage#id}.
|
|
491
491
|
|
|
492
492
|
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
493
|
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,7 +503,7 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
503
503
|
|
|
504
504
|
This is only useful with private storages. Public storages might give unpredictable results.
|
|
505
505
|
|
|
506
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
506
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#most_recent DataUpcloudStorage#most_recent}
|
|
507
507
|
'''
|
|
508
508
|
result = self._values.get("most_recent")
|
|
509
509
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -512,7 +512,7 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
512
512
|
def name(self) -> typing.Optional[builtins.str]:
|
|
513
513
|
'''Exact name of the storage (same as title).
|
|
514
514
|
|
|
515
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
515
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#name DataUpcloudStorage#name}
|
|
516
516
|
'''
|
|
517
517
|
result = self._values.get("name")
|
|
518
518
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -521,7 +521,7 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
521
521
|
def name_regex(self) -> typing.Optional[builtins.str]:
|
|
522
522
|
'''Use regular expression to match storage name.
|
|
523
523
|
|
|
524
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
524
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#name_regex DataUpcloudStorage#name_regex}
|
|
525
525
|
'''
|
|
526
526
|
result = self._values.get("name_regex")
|
|
527
527
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -530,7 +530,7 @@ class DataUpcloudStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
530
530
|
def zone(self) -> typing.Optional[builtins.str]:
|
|
531
531
|
'''The zone in which the storage resides, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
532
532
|
|
|
533
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
533
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/storage#zone DataUpcloudStorage#zone}
|
|
534
534
|
'''
|
|
535
535
|
result = self._values.get("zone")
|
|
536
536
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -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.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_tags`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/tags).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class DataUpcloudTags(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudTags.DataUpcloudTags",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/tags upcloud_tags}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -45,11 +45,11 @@ class DataUpcloudTags(
|
|
|
45
45
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
46
46
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
47
47
|
) -> None:
|
|
48
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
48
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/tags upcloud_tags} Data Source.
|
|
49
49
|
|
|
50
50
|
:param scope: The scope in which to define this construct.
|
|
51
51
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
52
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/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
53
|
:param connection:
|
|
54
54
|
:param count:
|
|
55
55
|
:param depends_on:
|
|
@@ -88,7 +88,7 @@ class DataUpcloudTags(
|
|
|
88
88
|
|
|
89
89
|
:param scope: The scope in which to define this construct.
|
|
90
90
|
: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.
|
|
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.8.0/docs/data-sources/tags#import import section} in the documentation of this resource for the id to use
|
|
92
92
|
:param provider: ? Optional instance of the provider where the DataUpcloudTags to import is found.
|
|
93
93
|
'''
|
|
94
94
|
if __debug__:
|
|
@@ -174,7 +174,7 @@ class DataUpcloudTagsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
174
174
|
:param lifecycle:
|
|
175
175
|
:param provider:
|
|
176
176
|
:param provisioners:
|
|
177
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
177
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/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
178
|
'''
|
|
179
179
|
if isinstance(lifecycle, dict):
|
|
180
180
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -272,7 +272,7 @@ class DataUpcloudTagsConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
272
272
|
|
|
273
273
|
@builtins.property
|
|
274
274
|
def id(self) -> typing.Optional[builtins.str]:
|
|
275
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
275
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/tags#id DataUpcloudTags#id}.
|
|
276
276
|
|
|
277
277
|
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
278
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_zone`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_zone`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_zone`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,7 +29,7 @@ class DataUpcloudZone(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudZone.DataUpcloudZone",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone upcloud_zone}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
@@ -46,12 +46,12 @@ class DataUpcloudZone(
|
|
|
46
46
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
47
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
48
48
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
49
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone upcloud_zone} Data Source.
|
|
50
50
|
|
|
51
51
|
:param scope: The scope in which to define this construct.
|
|
52
52
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
-
:param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
53
|
+
:param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#id DataUpcloudZone#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.
|
|
54
|
+
:param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#name DataUpcloudZone#name}
|
|
55
55
|
:param connection:
|
|
56
56
|
:param count:
|
|
57
57
|
:param depends_on:
|
|
@@ -91,7 +91,7 @@ class DataUpcloudZone(
|
|
|
91
91
|
|
|
92
92
|
:param scope: The scope in which to define this construct.
|
|
93
93
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudZone to import.
|
|
94
|
-
:param import_from_id: The id of the existing DataUpcloudZone that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
94
|
+
:param import_from_id: The id of the existing DataUpcloudZone that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#import import section} in the documentation of this resource for the id to use
|
|
95
95
|
:param provider: ? Optional instance of the provider where the DataUpcloudZone to import is found.
|
|
96
96
|
'''
|
|
97
97
|
if __debug__:
|
|
@@ -210,8 +210,8 @@ class DataUpcloudZoneConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
210
210
|
:param lifecycle:
|
|
211
211
|
:param provider:
|
|
212
212
|
:param provisioners:
|
|
213
|
-
:param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
214
|
-
:param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
213
|
+
:param id: Identifier of the zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#id DataUpcloudZone#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.
|
|
214
|
+
:param name: Identifier of the zone. Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#name DataUpcloudZone#name}
|
|
215
215
|
'''
|
|
216
216
|
if isinstance(lifecycle, dict):
|
|
217
217
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -314,7 +314,7 @@ class DataUpcloudZoneConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
314
314
|
def id(self) -> typing.Optional[builtins.str]:
|
|
315
315
|
'''Identifier of the zone.
|
|
316
316
|
|
|
317
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
317
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#id DataUpcloudZone#id}
|
|
318
318
|
|
|
319
319
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
320
320
|
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.
|
|
@@ -328,7 +328,7 @@ class DataUpcloudZoneConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
328
328
|
|
|
329
329
|
Contains the same value as ``id``. If both ``id`` and ``name`` are set, ``id`` takes precedence.
|
|
330
330
|
|
|
331
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
331
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zone#name DataUpcloudZone#name}
|
|
332
332
|
'''
|
|
333
333
|
result = self._values.get("name")
|
|
334
334
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
r'''
|
|
2
2
|
# `data_upcloud_zones`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`data_upcloud_zones`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`data_upcloud_zones`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones).
|
|
5
5
|
'''
|
|
6
6
|
from pkgutil import extend_path
|
|
7
7
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -29,15 +29,14 @@ class DataUpcloudZones(
|
|
|
29
29
|
metaclass=jsii.JSIIMeta,
|
|
30
30
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudZones.DataUpcloudZones",
|
|
31
31
|
):
|
|
32
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones upcloud_zones}.'''
|
|
33
33
|
|
|
34
34
|
def __init__(
|
|
35
35
|
self,
|
|
36
36
|
scope: _constructs_77d1e7e8.Construct,
|
|
37
|
-
|
|
37
|
+
id: builtins.str,
|
|
38
38
|
*,
|
|
39
39
|
filter_type: typing.Optional[builtins.str] = None,
|
|
40
|
-
id: typing.Optional[builtins.str] = None,
|
|
41
40
|
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,
|
|
42
41
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
43
42
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -46,12 +45,11 @@ class DataUpcloudZones(
|
|
|
46
45
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
46
|
provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
|
|
48
47
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
48
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones upcloud_zones} Data Source.
|
|
50
49
|
|
|
51
50
|
:param scope: The scope in which to define this construct.
|
|
52
|
-
:param
|
|
53
|
-
:param filter_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/data-sources/zones#id DataUpcloudZones#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.
|
|
51
|
+
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
52
|
+
:param filter_type: Filter zones by type. Possible values are "all", "public" and "private". Default is "public". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
55
53
|
:param connection:
|
|
56
54
|
:param count:
|
|
57
55
|
:param depends_on:
|
|
@@ -63,10 +61,9 @@ class DataUpcloudZones(
|
|
|
63
61
|
if __debug__:
|
|
64
62
|
type_hints = typing.get_type_hints(_typecheckingstub__6b3ee0aae58ffb52e24c080cc14f8064c37660dcc8fd41bc301113bfdadfc848)
|
|
65
63
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
66
|
-
check_type(argname="argument
|
|
64
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
67
65
|
config = DataUpcloudZonesConfig(
|
|
68
66
|
filter_type=filter_type,
|
|
69
|
-
id=id,
|
|
70
67
|
connection=connection,
|
|
71
68
|
count=count,
|
|
72
69
|
depends_on=depends_on,
|
|
@@ -76,7 +73,7 @@ class DataUpcloudZones(
|
|
|
76
73
|
provisioners=provisioners,
|
|
77
74
|
)
|
|
78
75
|
|
|
79
|
-
jsii.create(self.__class__, self, [scope,
|
|
76
|
+
jsii.create(self.__class__, self, [scope, id, config])
|
|
80
77
|
|
|
81
78
|
@jsii.member(jsii_name="generateConfigForImport")
|
|
82
79
|
@builtins.classmethod
|
|
@@ -91,7 +88,7 @@ class DataUpcloudZones(
|
|
|
91
88
|
|
|
92
89
|
:param scope: The scope in which to define this construct.
|
|
93
90
|
:param import_to_id: The construct id used in the generated config for the DataUpcloudZones to import.
|
|
94
|
-
:param import_from_id: The id of the existing DataUpcloudZones that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
91
|
+
:param import_from_id: The id of the existing DataUpcloudZones that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones#import import section} in the documentation of this resource for the id to use
|
|
95
92
|
:param provider: ? Optional instance of the provider where the DataUpcloudZones to import is found.
|
|
96
93
|
'''
|
|
97
94
|
if __debug__:
|
|
@@ -106,10 +103,6 @@ class DataUpcloudZones(
|
|
|
106
103
|
def reset_filter_type(self) -> None:
|
|
107
104
|
return typing.cast(None, jsii.invoke(self, "resetFilterType", []))
|
|
108
105
|
|
|
109
|
-
@jsii.member(jsii_name="resetId")
|
|
110
|
-
def reset_id(self) -> None:
|
|
111
|
-
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
112
|
-
|
|
113
106
|
@jsii.member(jsii_name="synthesizeAttributes")
|
|
114
107
|
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
115
108
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
@@ -123,6 +116,11 @@ class DataUpcloudZones(
|
|
|
123
116
|
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
124
117
|
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
125
118
|
|
|
119
|
+
@builtins.property
|
|
120
|
+
@jsii.member(jsii_name="id")
|
|
121
|
+
def id(self) -> builtins.str:
|
|
122
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
123
|
+
|
|
126
124
|
@builtins.property
|
|
127
125
|
@jsii.member(jsii_name="zoneIds")
|
|
128
126
|
def zone_ids(self) -> typing.List[builtins.str]:
|
|
@@ -133,11 +131,6 @@ class DataUpcloudZones(
|
|
|
133
131
|
def filter_type_input(self) -> typing.Optional[builtins.str]:
|
|
134
132
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "filterTypeInput"))
|
|
135
133
|
|
|
136
|
-
@builtins.property
|
|
137
|
-
@jsii.member(jsii_name="idInput")
|
|
138
|
-
def id_input(self) -> typing.Optional[builtins.str]:
|
|
139
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
140
|
-
|
|
141
134
|
@builtins.property
|
|
142
135
|
@jsii.member(jsii_name="filterType")
|
|
143
136
|
def filter_type(self) -> builtins.str:
|
|
@@ -150,18 +143,6 @@ class DataUpcloudZones(
|
|
|
150
143
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
151
144
|
jsii.set(self, "filterType", value)
|
|
152
145
|
|
|
153
|
-
@builtins.property
|
|
154
|
-
@jsii.member(jsii_name="id")
|
|
155
|
-
def id(self) -> builtins.str:
|
|
156
|
-
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
157
|
-
|
|
158
|
-
@id.setter
|
|
159
|
-
def id(self, value: builtins.str) -> None:
|
|
160
|
-
if __debug__:
|
|
161
|
-
type_hints = typing.get_type_hints(_typecheckingstub__48d17f99626883c0afd498f218c39d76e7be7fe254e014b759f493dd4a9ef3b5)
|
|
162
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
163
|
-
jsii.set(self, "id", value)
|
|
164
|
-
|
|
165
146
|
|
|
166
147
|
@jsii.data_type(
|
|
167
148
|
jsii_type="@cdktf/provider-upcloud.dataUpcloudZones.DataUpcloudZonesConfig",
|
|
@@ -175,7 +156,6 @@ class DataUpcloudZones(
|
|
|
175
156
|
"provider": "provider",
|
|
176
157
|
"provisioners": "provisioners",
|
|
177
158
|
"filter_type": "filterType",
|
|
178
|
-
"id": "id",
|
|
179
159
|
},
|
|
180
160
|
)
|
|
181
161
|
class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
@@ -190,7 +170,6 @@ class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
190
170
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
191
171
|
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,
|
|
192
172
|
filter_type: typing.Optional[builtins.str] = None,
|
|
193
|
-
id: typing.Optional[builtins.str] = None,
|
|
194
173
|
) -> None:
|
|
195
174
|
'''
|
|
196
175
|
:param connection:
|
|
@@ -200,8 +179,7 @@ class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
200
179
|
:param lifecycle:
|
|
201
180
|
:param provider:
|
|
202
181
|
:param provisioners:
|
|
203
|
-
:param filter_type: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
204
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/data-sources/zones#id DataUpcloudZones#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.
|
|
182
|
+
:param filter_type: Filter zones by type. Possible values are "all", "public" and "private". Default is "public". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
205
183
|
'''
|
|
206
184
|
if isinstance(lifecycle, dict):
|
|
207
185
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -215,7 +193,6 @@ class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
215
193
|
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
216
194
|
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
217
195
|
check_type(argname="argument filter_type", value=filter_type, expected_type=type_hints["filter_type"])
|
|
218
|
-
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
219
196
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
220
197
|
if connection is not None:
|
|
221
198
|
self._values["connection"] = connection
|
|
@@ -233,8 +210,6 @@ class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
233
210
|
self._values["provisioners"] = provisioners
|
|
234
211
|
if filter_type is not None:
|
|
235
212
|
self._values["filter_type"] = filter_type
|
|
236
|
-
if id is not None:
|
|
237
|
-
self._values["id"] = id
|
|
238
213
|
|
|
239
214
|
@builtins.property
|
|
240
215
|
def connection(
|
|
@@ -302,18 +277,11 @@ class DataUpcloudZonesConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
302
277
|
|
|
303
278
|
@builtins.property
|
|
304
279
|
def filter_type(self) -> typing.Optional[builtins.str]:
|
|
305
|
-
'''
|
|
306
|
-
result = self._values.get("filter_type")
|
|
307
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
308
|
-
|
|
309
|
-
@builtins.property
|
|
310
|
-
def id(self) -> typing.Optional[builtins.str]:
|
|
311
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.7.0/docs/data-sources/zones#id DataUpcloudZones#id}.
|
|
280
|
+
'''Filter zones by type. Possible values are "all", "public" and "private". Default is "public".
|
|
312
281
|
|
|
313
|
-
|
|
314
|
-
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.
|
|
282
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.8.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type}
|
|
315
283
|
'''
|
|
316
|
-
result = self._values.get("
|
|
284
|
+
result = self._values.get("filter_type")
|
|
317
285
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
318
286
|
|
|
319
287
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
@@ -337,10 +305,9 @@ publication.publish()
|
|
|
337
305
|
|
|
338
306
|
def _typecheckingstub__6b3ee0aae58ffb52e24c080cc14f8064c37660dcc8fd41bc301113bfdadfc848(
|
|
339
307
|
scope: _constructs_77d1e7e8.Construct,
|
|
340
|
-
|
|
308
|
+
id: builtins.str,
|
|
341
309
|
*,
|
|
342
310
|
filter_type: typing.Optional[builtins.str] = None,
|
|
343
|
-
id: typing.Optional[builtins.str] = None,
|
|
344
311
|
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,
|
|
345
312
|
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
346
313
|
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
@@ -367,12 +334,6 @@ def _typecheckingstub__b34ebe3d44f243cf49fe377a365d9dc4f4d014c9ca8a2b3c0581e65b7
|
|
|
367
334
|
"""Type checking stubs"""
|
|
368
335
|
pass
|
|
369
336
|
|
|
370
|
-
def _typecheckingstub__48d17f99626883c0afd498f218c39d76e7be7fe254e014b759f493dd4a9ef3b5(
|
|
371
|
-
value: builtins.str,
|
|
372
|
-
) -> None:
|
|
373
|
-
"""Type checking stubs"""
|
|
374
|
-
pass
|
|
375
|
-
|
|
376
337
|
def _typecheckingstub__ed0c2173a3bcd65cdb4ab922d071075f345dcbcfd12063225242733644e965cc(
|
|
377
338
|
*,
|
|
378
339
|
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,
|
|
@@ -383,7 +344,6 @@ def _typecheckingstub__ed0c2173a3bcd65cdb4ab922d071075f345dcbcfd1206322524273364
|
|
|
383
344
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
384
345
|
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,
|
|
385
346
|
filter_type: typing.Optional[builtins.str] = None,
|
|
386
|
-
id: typing.Optional[builtins.str] = None,
|
|
387
347
|
) -> None:
|
|
388
348
|
"""Type checking stubs"""
|
|
389
349
|
pass
|