cdktf-cdktf-provider-upcloud 14.1.1__py3-none-any.whl → 14.2.2__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 +10 -3
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +5 -2
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.2.2.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_redis_sessions/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +28 -25
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +10 -7
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +13 -10
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +44 -41
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +254 -29
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1279 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1337 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +34 -31
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +50 -47
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +45 -42
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +67 -64
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +31 -28
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +42 -39
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +196 -193
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +34 -31
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +31 -28
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +192 -189
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +336 -333
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +348 -345
- cdktf_cdktf_provider_upcloud/managed_database_redis/__init__.py +120 -117
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +53 -50
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +16 -13
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +19 -16
- cdktf_cdktf_provider_upcloud/network/__init__.py +43 -40
- cdktf_cdktf_provider_upcloud/object_storage/__init__.py +33 -30
- cdktf_cdktf_provider_upcloud/provider/__init__.py +28 -25
- cdktf_cdktf_provider_upcloud/router/__init__.py +22 -19
- cdktf_cdktf_provider_upcloud/server/__init__.py +521 -149
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +25 -22
- cdktf_cdktf_provider_upcloud/storage/__init__.py +61 -58
- cdktf_cdktf_provider_upcloud/tag/__init__.py +19 -16
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.2.dist-info}/METADATA +5 -5
- cdktf_cdktf_provider_upcloud-14.2.2.dist-info/RECORD +60 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@14.1.1.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud-14.1.1.dist-info/RECORD +0 -58
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.2.dist-info}/LICENSE +0 -0
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.2.dist-info}/WHEEL +0 -0
- {cdktf_cdktf_provider_upcloud-14.1.1.dist-info → cdktf_cdktf_provider_upcloud-14.2.2.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_network`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_network`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network).
|
|
5
5
|
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
6
9
|
import abc
|
|
7
10
|
import builtins
|
|
8
11
|
import datetime
|
|
@@ -26,7 +29,7 @@ class Network(
|
|
|
26
29
|
metaclass=jsii.JSIIMeta,
|
|
27
30
|
jsii_type="@cdktf/provider-upcloud.network.Network",
|
|
28
31
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network upcloud_network}.'''
|
|
30
33
|
|
|
31
34
|
def __init__(
|
|
32
35
|
self,
|
|
@@ -46,15 +49,15 @@ class Network(
|
|
|
46
49
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
47
50
|
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
51
|
) -> None:
|
|
49
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
52
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network upcloud_network} Resource.
|
|
50
53
|
|
|
51
54
|
:param scope: The scope in which to define this construct.
|
|
52
55
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
53
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
-
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
56
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
57
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
56
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#ip_network Network#ip_network}
|
|
57
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#name Network#name}
|
|
58
|
+
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#zone Network#zone}
|
|
59
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#id Network#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
60
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#router Network#router}
|
|
58
61
|
:param connection:
|
|
59
62
|
:param count:
|
|
60
63
|
:param depends_on:
|
|
@@ -97,7 +100,7 @@ class Network(
|
|
|
97
100
|
|
|
98
101
|
:param scope: The scope in which to define this construct.
|
|
99
102
|
:param import_to_id: The construct id used in the generated config for the Network to import.
|
|
100
|
-
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
103
|
+
:param import_from_id: The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#import import section} in the documentation of this resource for the id to use
|
|
101
104
|
:param provider: ? Optional instance of the provider where the Network to import is found.
|
|
102
105
|
'''
|
|
103
106
|
if __debug__:
|
|
@@ -121,13 +124,13 @@ class Network(
|
|
|
121
124
|
gateway: typing.Optional[builtins.str] = None,
|
|
122
125
|
) -> None:
|
|
123
126
|
'''
|
|
124
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
125
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
126
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
127
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
128
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
129
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
130
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
127
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#address Network#address}
|
|
128
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp Network#dhcp}
|
|
129
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#family Network#family}
|
|
130
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
131
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
132
|
+
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
133
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#gateway Network#gateway}
|
|
131
134
|
'''
|
|
132
135
|
value = NetworkIpNetwork(
|
|
133
136
|
address=address,
|
|
@@ -289,11 +292,11 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
289
292
|
:param lifecycle:
|
|
290
293
|
:param provider:
|
|
291
294
|
:param provisioners:
|
|
292
|
-
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
293
|
-
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
294
|
-
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
295
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
296
|
-
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
295
|
+
:param ip_network: ip_network block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#ip_network Network#ip_network}
|
|
296
|
+
:param name: A valid name for the network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#name Network#name}
|
|
297
|
+
:param zone: The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#zone Network#zone}
|
|
298
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#id Network#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.
|
|
299
|
+
:param router: The UUID of a router. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#router Network#router}
|
|
297
300
|
'''
|
|
298
301
|
if isinstance(lifecycle, dict):
|
|
299
302
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -405,7 +408,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
405
408
|
def ip_network(self) -> "NetworkIpNetwork":
|
|
406
409
|
'''ip_network block.
|
|
407
410
|
|
|
408
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
411
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#ip_network Network#ip_network}
|
|
409
412
|
'''
|
|
410
413
|
result = self._values.get("ip_network")
|
|
411
414
|
assert result is not None, "Required property 'ip_network' is missing"
|
|
@@ -415,7 +418,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
415
418
|
def name(self) -> builtins.str:
|
|
416
419
|
'''A valid name for the network.
|
|
417
420
|
|
|
418
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
421
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#name Network#name}
|
|
419
422
|
'''
|
|
420
423
|
result = self._values.get("name")
|
|
421
424
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -425,7 +428,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
425
428
|
def zone(self) -> builtins.str:
|
|
426
429
|
'''The zone the network is in, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
427
430
|
|
|
428
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
431
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#zone Network#zone}
|
|
429
432
|
'''
|
|
430
433
|
result = self._values.get("zone")
|
|
431
434
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -433,7 +436,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
433
436
|
|
|
434
437
|
@builtins.property
|
|
435
438
|
def id(self) -> typing.Optional[builtins.str]:
|
|
436
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
439
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#id Network#id}.
|
|
437
440
|
|
|
438
441
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
439
442
|
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.
|
|
@@ -445,7 +448,7 @@ class NetworkConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
445
448
|
def router(self) -> typing.Optional[builtins.str]:
|
|
446
449
|
'''The UUID of a router.
|
|
447
450
|
|
|
448
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
451
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#router Network#router}
|
|
449
452
|
'''
|
|
450
453
|
result = self._values.get("router")
|
|
451
454
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -488,13 +491,13 @@ class NetworkIpNetwork:
|
|
|
488
491
|
gateway: typing.Optional[builtins.str] = None,
|
|
489
492
|
) -> None:
|
|
490
493
|
'''
|
|
491
|
-
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
492
|
-
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
493
|
-
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
494
|
-
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
495
|
-
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
496
|
-
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
497
|
-
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
494
|
+
:param address: The CIDR range of the subnet. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#address Network#address}
|
|
495
|
+
:param dhcp: Is DHCP enabled? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp Network#dhcp}
|
|
496
|
+
:param family: IP address family. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#family Network#family}
|
|
497
|
+
:param dhcp_default_route: Is the gateway the DHCP default route? Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
498
|
+
:param dhcp_dns: The DNS servers given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
499
|
+
:param dhcp_routes: The additional DHCP classless static routes given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
500
|
+
:param gateway: Gateway address given by DHCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#gateway Network#gateway}
|
|
498
501
|
'''
|
|
499
502
|
if __debug__:
|
|
500
503
|
type_hints = typing.get_type_hints(_typecheckingstub__a0ad6fbb444600379383ae462fe5ae2d8f24c848db9a320e7d111545c9b44b65)
|
|
@@ -523,7 +526,7 @@ class NetworkIpNetwork:
|
|
|
523
526
|
def address(self) -> builtins.str:
|
|
524
527
|
'''The CIDR range of the subnet.
|
|
525
528
|
|
|
526
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
529
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#address Network#address}
|
|
527
530
|
'''
|
|
528
531
|
result = self._values.get("address")
|
|
529
532
|
assert result is not None, "Required property 'address' is missing"
|
|
@@ -533,7 +536,7 @@ class NetworkIpNetwork:
|
|
|
533
536
|
def dhcp(self) -> typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]:
|
|
534
537
|
'''Is DHCP enabled?
|
|
535
538
|
|
|
536
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
539
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp Network#dhcp}
|
|
537
540
|
'''
|
|
538
541
|
result = self._values.get("dhcp")
|
|
539
542
|
assert result is not None, "Required property 'dhcp' is missing"
|
|
@@ -543,7 +546,7 @@ class NetworkIpNetwork:
|
|
|
543
546
|
def family(self) -> builtins.str:
|
|
544
547
|
'''IP address family.
|
|
545
548
|
|
|
546
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
549
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#family Network#family}
|
|
547
550
|
'''
|
|
548
551
|
result = self._values.get("family")
|
|
549
552
|
assert result is not None, "Required property 'family' is missing"
|
|
@@ -555,7 +558,7 @@ class NetworkIpNetwork:
|
|
|
555
558
|
) -> typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]]:
|
|
556
559
|
'''Is the gateway the DHCP default route?
|
|
557
560
|
|
|
558
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
561
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_default_route Network#dhcp_default_route}
|
|
559
562
|
'''
|
|
560
563
|
result = self._values.get("dhcp_default_route")
|
|
561
564
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _cdktf_9a9027ec.IResolvable]], result)
|
|
@@ -564,7 +567,7 @@ class NetworkIpNetwork:
|
|
|
564
567
|
def dhcp_dns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
565
568
|
'''The DNS servers given by DHCP.
|
|
566
569
|
|
|
567
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
570
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_dns Network#dhcp_dns}
|
|
568
571
|
'''
|
|
569
572
|
result = self._values.get("dhcp_dns")
|
|
570
573
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -573,7 +576,7 @@ class NetworkIpNetwork:
|
|
|
573
576
|
def dhcp_routes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
574
577
|
'''The additional DHCP classless static routes given by DHCP.
|
|
575
578
|
|
|
576
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
579
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#dhcp_routes Network#dhcp_routes}
|
|
577
580
|
'''
|
|
578
581
|
result = self._values.get("dhcp_routes")
|
|
579
582
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
@@ -582,7 +585,7 @@ class NetworkIpNetwork:
|
|
|
582
585
|
def gateway(self) -> typing.Optional[builtins.str]:
|
|
583
586
|
'''Gateway address given by DHCP.
|
|
584
587
|
|
|
585
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
588
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/network#gateway Network#gateway}
|
|
586
589
|
'''
|
|
587
590
|
result = self._values.get("gateway")
|
|
588
591
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `upcloud_object_storage`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_object_storage`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage).
|
|
5
5
|
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
6
9
|
import abc
|
|
7
10
|
import builtins
|
|
8
11
|
import datetime
|
|
@@ -26,7 +29,7 @@ class ObjectStorage(
|
|
|
26
29
|
metaclass=jsii.JSIIMeta,
|
|
27
30
|
jsii_type="@cdktf/provider-upcloud.objectStorage.ObjectStorage",
|
|
28
31
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage upcloud_object_storage}.'''
|
|
30
33
|
|
|
31
34
|
def __init__(
|
|
32
35
|
self,
|
|
@@ -49,18 +52,18 @@ class ObjectStorage(
|
|
|
49
52
|
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
50
53
|
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,
|
|
51
54
|
) -> None:
|
|
52
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
55
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage upcloud_object_storage} Resource.
|
|
53
56
|
|
|
54
57
|
:param scope: The scope in which to define this construct.
|
|
55
58
|
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
56
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
57
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
58
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
59
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
60
|
-
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
61
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
62
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
63
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
59
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
60
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
61
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
62
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
63
|
+
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
64
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
65
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
66
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#id ObjectStorage#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.
|
|
64
67
|
:param connection:
|
|
65
68
|
:param count:
|
|
66
69
|
:param depends_on:
|
|
@@ -106,7 +109,7 @@ class ObjectStorage(
|
|
|
106
109
|
|
|
107
110
|
:param scope: The scope in which to define this construct.
|
|
108
111
|
:param import_to_id: The construct id used in the generated config for the ObjectStorage to import.
|
|
109
|
-
:param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
112
|
+
:param import_from_id: The id of the existing ObjectStorage that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#import import section} in the documentation of this resource for the id to use
|
|
110
113
|
:param provider: ? Optional instance of the provider where the ObjectStorage to import is found.
|
|
111
114
|
'''
|
|
112
115
|
if __debug__:
|
|
@@ -315,7 +318,7 @@ class ObjectStorage(
|
|
|
315
318
|
class ObjectStorageBucket:
|
|
316
319
|
def __init__(self, *, name: builtins.str) -> None:
|
|
317
320
|
'''
|
|
318
|
-
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
321
|
+
:param name: The name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
319
322
|
'''
|
|
320
323
|
if __debug__:
|
|
321
324
|
type_hints = typing.get_type_hints(_typecheckingstub__76363c1fb14ca2363d352380e624359e962fa25498e592051a720a4f8b2e2470)
|
|
@@ -328,7 +331,7 @@ class ObjectStorageBucket:
|
|
|
328
331
|
def name(self) -> builtins.str:
|
|
329
332
|
'''The name of the bucket.
|
|
330
333
|
|
|
331
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
334
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
332
335
|
'''
|
|
333
336
|
result = self._values.get("name")
|
|
334
337
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -546,14 +549,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
546
549
|
:param lifecycle:
|
|
547
550
|
:param provider:
|
|
548
551
|
:param provisioners:
|
|
549
|
-
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
550
|
-
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
551
|
-
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
552
|
-
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
553
|
-
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
554
|
-
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
555
|
-
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
556
|
-
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
552
|
+
:param access_key: The access key used to identify user. Can be set to an empty string, which will tell the provider to get the access key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
553
|
+
:param name: The name of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
554
|
+
:param secret_key: The secret key used to authenticate user. Can be set to an empty string, which will tell the provider to get the secret key from environment variable. The environment variable should be "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_{name}". {name} is the name given to object storage instance (so not the resource label), it should be all uppercased and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
555
|
+
:param size: The size of the object storage instance in gigabytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
556
|
+
:param zone: The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
557
|
+
:param bucket: bucket block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
558
|
+
:param description: The description of the object storage instance to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
559
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#id ObjectStorage#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.
|
|
557
560
|
'''
|
|
558
561
|
if isinstance(lifecycle, dict):
|
|
559
562
|
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
@@ -676,7 +679,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
676
679
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
677
680
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_ACCESS_KEY_MY_FILES".
|
|
678
681
|
|
|
679
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
682
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#access_key ObjectStorage#access_key}
|
|
680
683
|
'''
|
|
681
684
|
result = self._values.get("access_key")
|
|
682
685
|
assert result is not None, "Required property 'access_key' is missing"
|
|
@@ -686,7 +689,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
686
689
|
def name(self) -> builtins.str:
|
|
687
690
|
'''The name of the object storage instance to be created.
|
|
688
691
|
|
|
689
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
692
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#name ObjectStorage#name}
|
|
690
693
|
'''
|
|
691
694
|
result = self._values.get("name")
|
|
692
695
|
assert result is not None, "Required property 'name' is missing"
|
|
@@ -702,7 +705,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
702
705
|
and all dashes (-) should be replaced with underscores (_). For example, object storage named "my-files" would
|
|
703
706
|
use environment variable named "UPCLOUD_OBJECT_STORAGE_SECRET_KEY_MY_FILES".
|
|
704
707
|
|
|
705
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
708
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#secret_key ObjectStorage#secret_key}
|
|
706
709
|
'''
|
|
707
710
|
result = self._values.get("secret_key")
|
|
708
711
|
assert result is not None, "Required property 'secret_key' is missing"
|
|
@@ -712,7 +715,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
712
715
|
def size(self) -> jsii.Number:
|
|
713
716
|
'''The size of the object storage instance in gigabytes.
|
|
714
717
|
|
|
715
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
718
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#size ObjectStorage#size}
|
|
716
719
|
'''
|
|
717
720
|
result = self._values.get("size")
|
|
718
721
|
assert result is not None, "Required property 'size' is missing"
|
|
@@ -722,7 +725,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
722
725
|
def zone(self) -> builtins.str:
|
|
723
726
|
'''The zone in which the object storage instance will be created, e.g. ``de-fra1``. You can list available zones with ``upctl zone list``.
|
|
724
727
|
|
|
725
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
728
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#zone ObjectStorage#zone}
|
|
726
729
|
'''
|
|
727
730
|
result = self._values.get("zone")
|
|
728
731
|
assert result is not None, "Required property 'zone' is missing"
|
|
@@ -734,7 +737,7 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
734
737
|
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]]:
|
|
735
738
|
'''bucket block.
|
|
736
739
|
|
|
737
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
740
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#bucket ObjectStorage#bucket}
|
|
738
741
|
'''
|
|
739
742
|
result = self._values.get("bucket")
|
|
740
743
|
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[ObjectStorageBucket]]], result)
|
|
@@ -743,14 +746,14 @@ class ObjectStorageConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
|
743
746
|
def description(self) -> typing.Optional[builtins.str]:
|
|
744
747
|
'''The description of the object storage instance to be created.
|
|
745
748
|
|
|
746
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
749
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#description ObjectStorage#description}
|
|
747
750
|
'''
|
|
748
751
|
result = self._values.get("description")
|
|
749
752
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
750
753
|
|
|
751
754
|
@builtins.property
|
|
752
755
|
def id(self) -> typing.Optional[builtins.str]:
|
|
753
|
-
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
756
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs/resources/object_storage#id ObjectStorage#id}.
|
|
754
757
|
|
|
755
758
|
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
756
759
|
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,8 +1,11 @@
|
|
|
1
1
|
'''
|
|
2
2
|
# `provider`
|
|
3
3
|
|
|
4
|
-
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs).
|
|
5
5
|
'''
|
|
6
|
+
from pkgutil import extend_path
|
|
7
|
+
__path__ = extend_path(__path__, __name__)
|
|
8
|
+
|
|
6
9
|
import abc
|
|
7
10
|
import builtins
|
|
8
11
|
import datetime
|
|
@@ -26,7 +29,7 @@ class UpcloudProvider(
|
|
|
26
29
|
metaclass=jsii.JSIIMeta,
|
|
27
30
|
jsii_type="@cdktf/provider-upcloud.provider.UpcloudProvider",
|
|
28
31
|
):
|
|
29
|
-
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
32
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs upcloud}.'''
|
|
30
33
|
|
|
31
34
|
def __init__(
|
|
32
35
|
self,
|
|
@@ -41,17 +44,17 @@ class UpcloudProvider(
|
|
|
41
44
|
retry_wait_min_sec: typing.Optional[jsii.Number] = None,
|
|
42
45
|
username: typing.Optional[builtins.str] = None,
|
|
43
46
|
) -> None:
|
|
44
|
-
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
47
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs upcloud} Resource.
|
|
45
48
|
|
|
46
49
|
:param scope: The scope in which to define this construct.
|
|
47
50
|
:param id: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
48
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
49
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
50
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
51
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
52
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
53
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
54
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
51
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#alias UpcloudProvider#alias}
|
|
52
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#password UpcloudProvider#password}
|
|
53
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
54
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_max UpcloudProvider#retry_max}
|
|
55
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
56
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
57
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#username UpcloudProvider#username}
|
|
55
58
|
'''
|
|
56
59
|
if __debug__:
|
|
57
60
|
type_hints = typing.get_type_hints(_typecheckingstub__786d7492fb6ccdc4fc75b22452f182f0009c6f7041f055f198f8ab4750003c16)
|
|
@@ -82,7 +85,7 @@ class UpcloudProvider(
|
|
|
82
85
|
|
|
83
86
|
:param scope: The scope in which to define this construct.
|
|
84
87
|
:param import_to_id: The construct id used in the generated config for the UpcloudProvider to import.
|
|
85
|
-
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
88
|
+
:param import_from_id: The id of the existing UpcloudProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#import import section} in the documentation of this resource for the id to use
|
|
86
89
|
:param provider: ? Optional instance of the provider where the UpcloudProvider to import is found.
|
|
87
90
|
'''
|
|
88
91
|
if __debug__:
|
|
@@ -280,13 +283,13 @@ class UpcloudProviderConfig:
|
|
|
280
283
|
username: typing.Optional[builtins.str] = None,
|
|
281
284
|
) -> None:
|
|
282
285
|
'''
|
|
283
|
-
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
284
|
-
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
285
|
-
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
286
|
-
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
287
|
-
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
288
|
-
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
289
|
-
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
286
|
+
:param alias: Alias name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#alias UpcloudProvider#alias}
|
|
287
|
+
:param password: Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#password UpcloudProvider#password}
|
|
288
|
+
:param request_timeout_sec: The duration (in seconds) that the provider waits for an HTTP request towards UpCloud API to complete. Defaults to 120 seconds Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
289
|
+
:param retry_max: Maximum number of retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_max UpcloudProvider#retry_max}
|
|
290
|
+
:param retry_wait_max_sec: Maximum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
291
|
+
:param retry_wait_min_sec: Minimum time to wait between retries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
292
|
+
:param username: UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#username UpcloudProvider#username}
|
|
290
293
|
'''
|
|
291
294
|
if __debug__:
|
|
292
295
|
type_hints = typing.get_type_hints(_typecheckingstub__e59a8dbe0e889be0d58fa19f6443e5c6def71ffe937d944a0b10dbe3c74b4005)
|
|
@@ -317,7 +320,7 @@ class UpcloudProviderConfig:
|
|
|
317
320
|
def alias(self) -> typing.Optional[builtins.str]:
|
|
318
321
|
'''Alias name.
|
|
319
322
|
|
|
320
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#alias UpcloudProvider#alias}
|
|
321
324
|
'''
|
|
322
325
|
result = self._values.get("alias")
|
|
323
326
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -326,7 +329,7 @@ class UpcloudProviderConfig:
|
|
|
326
329
|
def password(self) -> typing.Optional[builtins.str]:
|
|
327
330
|
'''Password for UpCloud API user. Can also be configured using the ``UPCLOUD_PASSWORD`` environment variable.
|
|
328
331
|
|
|
329
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
332
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#password UpcloudProvider#password}
|
|
330
333
|
'''
|
|
331
334
|
result = self._values.get("password")
|
|
332
335
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -337,7 +340,7 @@ class UpcloudProviderConfig:
|
|
|
337
340
|
|
|
338
341
|
Defaults to 120 seconds
|
|
339
342
|
|
|
340
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
343
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#request_timeout_sec UpcloudProvider#request_timeout_sec}
|
|
341
344
|
'''
|
|
342
345
|
result = self._values.get("request_timeout_sec")
|
|
343
346
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -346,7 +349,7 @@ class UpcloudProviderConfig:
|
|
|
346
349
|
def retry_max(self) -> typing.Optional[jsii.Number]:
|
|
347
350
|
'''Maximum number of retries.
|
|
348
351
|
|
|
349
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
352
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_max UpcloudProvider#retry_max}
|
|
350
353
|
'''
|
|
351
354
|
result = self._values.get("retry_max")
|
|
352
355
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -355,7 +358,7 @@ class UpcloudProviderConfig:
|
|
|
355
358
|
def retry_wait_max_sec(self) -> typing.Optional[jsii.Number]:
|
|
356
359
|
'''Maximum time to wait between retries.
|
|
357
360
|
|
|
358
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
361
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_max_sec UpcloudProvider#retry_wait_max_sec}
|
|
359
362
|
'''
|
|
360
363
|
result = self._values.get("retry_wait_max_sec")
|
|
361
364
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -364,7 +367,7 @@ class UpcloudProviderConfig:
|
|
|
364
367
|
def retry_wait_min_sec(self) -> typing.Optional[jsii.Number]:
|
|
365
368
|
'''Minimum time to wait between retries.
|
|
366
369
|
|
|
367
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
370
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#retry_wait_min_sec UpcloudProvider#retry_wait_min_sec}
|
|
368
371
|
'''
|
|
369
372
|
result = self._values.get("retry_wait_min_sec")
|
|
370
373
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -373,7 +376,7 @@ class UpcloudProviderConfig:
|
|
|
373
376
|
def username(self) -> typing.Optional[builtins.str]:
|
|
374
377
|
'''UpCloud username with API access. Can also be configured using the ``UPCLOUD_USERNAME`` environment variable.
|
|
375
378
|
|
|
376
|
-
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.
|
|
379
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.2.2/docs#username UpcloudProvider#username}
|
|
377
380
|
'''
|
|
378
381
|
result = self._values.get("username")
|
|
379
382
|
return typing.cast(typing.Optional[builtins.str], result)
|